|
1 | 1 | (function(cloudStack) { |
2 | 2 | cloudStack.sections['global-settings'] = { |
3 | | - title: 'Global Settings', |
| 3 | + title: 'label.menu.global.settings', |
4 | 4 | id: 'global-settings', |
5 | 5 | listView: { |
6 | | - label: 'Global Settings', |
| 6 | + label: 'label.menu.global.settings', |
7 | 7 | actions: { |
8 | 8 | edit: { |
9 | | - label: 'Change value', |
| 9 | + label: 'label.change.value', |
10 | 10 | action: function(args) { |
11 | 11 | var name = args.data.jsonObj.name; |
12 | 12 | var value = args.data.value; |
|
19 | 19 | async: true, |
20 | 20 | success: function(json) { |
21 | 21 | var item = json.updateconfigurationresponse.configuration; |
22 | | - cloudStack.dialog.notice({ message: 'Please restart your management server for your change to take effect.' }); |
| 22 | + cloudStack.dialog.notice({ message: _l('message.restart.mgmt.server') }); |
23 | 23 | args.response.success({data: item}); |
24 | 24 | }, |
25 | 25 | error: function(json) { |
|
30 | 30 | } |
31 | 31 | }, |
32 | 32 | fields: { |
33 | | - name: { label: 'Name', id: true }, |
34 | | - description: { label: 'Description' }, |
35 | | - value: { label: 'Value', editable: true } |
| 33 | + name: { label: 'label.name', id: true }, |
| 34 | + description: { label: 'label.description' }, |
| 35 | + value: { label: 'label.value', editable: true } |
36 | 36 | }, |
37 | 37 | dataProvider: function(args) { |
38 | 38 | var data = { |
|
0 commit comments