|
1 | 1 | (function(cloudStack) { |
2 | 2 | cloudStack.sections.events = { |
3 | | - title: 'Events', |
| 3 | + title: 'label.menu.events', |
4 | 4 | id: 'events', |
5 | 5 | sectionSelect: { |
6 | 6 | preFilter: function(args) { |
|
9 | 9 | else |
10 | 10 | return ["events"]; |
11 | 11 | }, |
12 | | - label: 'Select view' |
| 12 | + label: 'label.select-view' |
13 | 13 | }, |
14 | 14 | sections: { |
15 | 15 | events: { |
16 | 16 | type: 'select', |
17 | | - title: 'Events', |
| 17 | + title: 'label.menu.events', |
18 | 18 | listView: { |
19 | 19 | id: 'events', |
20 | | - label: 'Events', |
| 20 | + label: 'label.menu.events', |
21 | 21 | fields: { |
22 | | - type: { label: 'Type' }, |
23 | | - description: { label: 'Description' }, |
24 | | - username: { label: 'Initiated By' }, |
25 | | - created: { label: 'Date', converter: cloudStack.converters.toLocalDate } |
| 22 | + type: { label: 'label.type' }, |
| 23 | + description: { label: 'label.description' }, |
| 24 | + username: { label: 'label.initiated.by' }, |
| 25 | + created: { label: 'label.date', converter: cloudStack.converters.toLocalDate } |
26 | 26 | }, |
27 | 27 | dataProvider: function(args) { |
28 | 28 | var array1 = []; |
|
48 | 48 | }); |
49 | 49 | }, |
50 | 50 | detailView: { |
51 | | - name: 'Event details', |
| 51 | + name: 'label.details', |
52 | 52 | tabs: { |
53 | 53 | details: { |
54 | | - title: 'Details', |
| 54 | + title: 'label.details', |
55 | 55 | fields: [ |
56 | 56 | { |
57 | | - type: { label: 'Type' }, |
58 | | - description: { label: 'Description' }, |
59 | | - created: { label: 'Date', converter: cloudStack.converters.toLocalDate } |
| 57 | + type: { label: 'label.type' }, |
| 58 | + description: { label: 'label.description' }, |
| 59 | + created: { label: 'label.date', converter: cloudStack.converters.toLocalDate } |
60 | 60 | } |
61 | 61 | ], |
62 | 62 | dataProvider: function(args) { |
|
69 | 69 | }, |
70 | 70 | alerts: { |
71 | 71 | type: 'select', |
72 | | - title: 'Alerts', |
| 72 | + title: 'label.menu.alerts', |
73 | 73 | listView: { |
74 | 74 | id: 'alerts', |
75 | | - label: 'Alerts', |
| 75 | + label: 'label.menu.alerts', |
76 | 76 | fields: { |
77 | | - description: { label: 'Description' }, |
78 | | - sent: { label: 'Date', converter: cloudStack.converters.toLocalDate } |
| 77 | + description: { label: 'label.description' }, |
| 78 | + sent: { label: 'label.date', converter: cloudStack.converters.toLocalDate } |
79 | 79 | }, |
80 | 80 | dataProvider: function(args) { |
81 | 81 | var array1 = []; |
|
103 | 103 | name: 'Alert details', |
104 | 104 | tabs: { |
105 | 105 | details: { |
106 | | - title: 'Details', |
| 106 | + title: 'label.details', |
107 | 107 | fields: [ |
108 | 108 | { |
109 | 109 | id: { label: 'ID' }, |
110 | | - description: { label: 'Description' }, |
111 | | - sent: { label: 'Date', converter: cloudStack.converters.toLocalDate } |
| 110 | + description: { label: 'label.description' }, |
| 111 | + sent: { label: 'label.date', converter: cloudStack.converters.toLocalDate } |
112 | 112 | } |
113 | 113 | ], |
114 | 114 | dataProvider: function(args) { |
|
0 commit comments