Merge pull request #1390 from nitin-maharana/CloudStack-Nitin24_4.7

CLOUDSTACK-9267: String is not localized on create instance wizards.Repro Steps:
==========
1. Setup basic environments as normal.
2. Open a browser, go to Web Console.
3. Upload a iso template.
4. Go to "Instances" page and add new instance.
5. Check the strings on create instance wizards.

Expected Result:
=============
All the strings should be localized on create instance wizards.

Actual Result:
===========
Some strings are not localized on create instance wizards.

Language:
========
JA -> Fail
SC -> Fail

Fix:
===
Fixed the hard coded string.

* pr/1390:
  CLOUDSTACK-9267: String is not localized on create instance wizards.

Signed-off-by: Rafael Weingärtner <rafael@apache.org>
This commit is contained in:
Rafael Weingärtner 2016-02-25 09:38:25 -03:00
commit 9610056fa5
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();