|
6065 | 6065 | }, |
6066 | 6066 |
|
6067 | 6067 | detailView: { |
6068 | | - name: "Primary storage details", //Jes |
| 6068 | + name: "Primary storage details", |
6069 | 6069 | actions: { |
6070 | 6070 | edit: { |
6071 | 6071 | label: 'label.edit', |
|
6190 | 6190 |
|
6191 | 6191 | tabs: { |
6192 | 6192 | details: { |
6193 | | - title: 'label.details', //Jes |
| 6193 | + title: 'label.details', |
6194 | 6194 | fields: [ |
6195 | 6195 | { |
6196 | 6196 | name: { label: 'label.name' } |
|
6241 | 6241 | } |
6242 | 6242 | }, |
6243 | 6243 |
|
6244 | | - 'secondary-storage': { //Jes |
6245 | | - title: 'Secondary Storage', |
| 6244 | + 'secondary-storage': { |
| 6245 | + title: 'label.secondary.storage', |
6246 | 6246 | id: 'secondarystorages', |
6247 | 6247 | listView: { |
6248 | 6248 | id: 'secondarystorages', |
|
6281 | 6281 |
|
6282 | 6282 | actions: { |
6283 | 6283 | add: { |
6284 | | - label: 'Add secondary storage', |
| 6284 | + label: 'label.add.secondary.storage', |
6285 | 6285 |
|
6286 | 6286 | createForm: { |
6287 | | - title: 'Add new secondary storage', |
6288 | | - desc: 'Please fill in the following information to add a new secondary storage', |
| 6287 | + title: 'label.add.secondary.storage', |
6289 | 6288 | fields: { |
6290 | 6289 | nfsServer: { |
6291 | | - label: 'NFS Server', |
| 6290 | + label: 'label.nfs.server', |
6292 | 6291 | validation: { required: true } |
6293 | 6292 | }, |
6294 | 6293 | path: { |
6295 | | - label: 'Path', |
| 6294 | + label: 'label.path', |
6296 | 6295 | validation: { required: true } |
6297 | 6296 | } |
6298 | 6297 | } |
|
6330 | 6329 |
|
6331 | 6330 | messages: { |
6332 | 6331 | notification: function(args) { |
6333 | | - return 'Added new secondary storage'; |
| 6332 | + return 'label.add.secondary.storage'; |
6334 | 6333 | } |
6335 | 6334 | } |
6336 | 6335 | } |
|
6340 | 6339 | name: 'Secondary storage details', |
6341 | 6340 | actions: { |
6342 | 6341 | 'delete': { |
6343 | | - label: 'label.delete' , |
| 6342 | + label: 'label.action.delete.secondary.storage' , |
6344 | 6343 | messages: { |
6345 | 6344 | confirm: function(args) { |
6346 | | - return 'Please confirm that you want to delete this secondary storage.'; |
6347 | | - }, |
6348 | | - success: function(args) { |
6349 | | - return 'Secondary storage is being deleted.'; |
6350 | | - }, |
| 6345 | + return 'message.action.delete.secondary.storage'; |
| 6346 | + }, |
6351 | 6347 | notification: function(args) { |
6352 | | - return 'Deleting secondary storage'; |
6353 | | - }, |
6354 | | - complete: function(args) { |
6355 | | - return 'Secondary storage has been deleted.'; |
| 6348 | + return 'label.action.delete.secondary.storage'; |
6356 | 6349 | } |
6357 | 6350 | }, |
6358 | 6351 | action: function(args) { |
|
6373 | 6366 | }, |
6374 | 6367 | tabs: { |
6375 | 6368 | details: { |
6376 | | - title: 'label.details', |
| 6369 | + title: 'label.details', |
6377 | 6370 | fields: [ |
6378 | 6371 | { |
6379 | 6372 | name: { label: 'label.name' } |
|
6397 | 6390 | }, |
6398 | 6391 |
|
6399 | 6392 | guestIpRanges: { |
6400 | | - title: 'Guest IP Range', |
| 6393 | + title: 'label.guest.ip.range', //Jes |
6401 | 6394 | id: 'guestIpRanges', |
6402 | 6395 | listView: { |
6403 | 6396 | section: 'guest-IP-range', |
|
6423 | 6416 |
|
6424 | 6417 | actions: { |
6425 | 6418 | add: { |
6426 | | - label: 'Add IP range', |
| 6419 | + label: 'label.add.ip.range', |
6427 | 6420 |
|
6428 | 6421 | createForm: { |
6429 | | - title: 'Add IP range', |
| 6422 | + title: 'label.add.ip.range', |
6430 | 6423 |
|
6431 | 6424 | preFilter: function(args) { |
6432 | 6425 | if(selectedZoneObj.networktype == "Basic") { |
|
0 commit comments