CLOUDSTACK-9267: String is not localized on create instance wizards.

Fixed the hard coded string.
Added _l() to dictioanry keys.
This commit is contained in:
Nitin Kumar Maharana 2016-02-03 00:28:28 +05:30
parent e5ef9336e1
commit f2d3cc893c
3 changed files with 6 additions and 6 deletions

View File

@ -6051,7 +6051,7 @@
var items = [];
items.push({
id: '',
description: 'label.none'
description: _l('label.none')
});
items.push({
id: 'modp1024',
@ -6119,7 +6119,7 @@
var items = [];
items.push({
id: '',
description: 'label.none'
description: _l('label.none')
});
items.push({
id: 'modp1024',
@ -6400,7 +6400,7 @@
var items = [];
items.push({
id: '',
description: 'label.none'
description: _l('label.none')
});
items.push({
id: 'modp1024',
@ -6468,7 +6468,7 @@
var items = [];
items.push({
id: '',
description: 'label.none'
description: _l('label.none')
});
items.push({
id: 'modp1024',

View File

@ -372,7 +372,7 @@
$select.addClass('selected').append(
$('<div>').addClass('hypervisor')
.append($('<label>').html('Hypervisor:'))
.append($('<label>').html(_l('label.hypervisor') + ':'))
.append($('<select>').attr({
name: 'hypervisorid'
}))

View File

@ -706,7 +706,7 @@
*/
var addProject = function() {
pageElems.newProjectForm().dialog({
title: 'label.new.project',
title: _l('label.new.project'),
closeOnEscape: false,
width: 760
}).closest('.ui-dialog').overlay();