mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-10 01:51:49 -05:00
fix an i18n-related bug that affects non-English hipchat users
see: https://github.com/ansible/tower/issues/951
This commit is contained in:
@@ -122,7 +122,14 @@ export default ['Rest', 'Wait',
|
||||
multiple: false
|
||||
});
|
||||
|
||||
$scope.hipchatColors = [i18n._('Gray'), i18n._('Green'), i18n._('Purple'), i18n._('Red'), i18n._('Yellow'), i18n._('Random')];
|
||||
$scope.hipchatColors = [
|
||||
{'id': 'gray', 'name': i18n._('Gray')},
|
||||
{'id': 'green', 'name': i18n._('Green')},
|
||||
{'id': 'purple', 'name': i18n._('Purple')},
|
||||
{'id': 'red', 'name': i18n._('Red')},
|
||||
{'id': 'yellow', 'name': i18n._('Yellow')},
|
||||
{'id': 'random', 'name': i18n._('Random')}
|
||||
];
|
||||
CreateSelect2({
|
||||
element: '#notification_template_color',
|
||||
multiple: false
|
||||
|
||||
Reference in New Issue
Block a user