cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raf...@apache.org
Subject [1/3] git commit: updated refs/heads/master to 7a9bfce
Date Thu, 25 Feb 2016 12:41:41 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 908b769ab -> 7a9bfce42


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

Fixed the hard coded string.
Added _l() to dictioanry keys.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/f2d3cc89
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/f2d3cc89
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/f2d3cc89

Branch: refs/heads/master
Commit: f2d3cc893c6c38cce2c6fccc5f7f1e04f50242ce
Parents: e5ef933
Author: Nitin Kumar Maharana <nitin.maharana@gmail.com>
Authored: Wed Feb 3 00:28:28 2016 +0530
Committer: Nitin Kumar Maharana <nitin.maharana@gmail.com>
Committed: Wed Feb 3 00:28:28 2016 +0530

----------------------------------------------------------------------
 ui/scripts/network.js                  | 8 ++++----
 ui/scripts/ui-custom/instanceWizard.js | 2 +-
 ui/scripts/ui-custom/projects.js       | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f2d3cc89/ui/scripts/network.js
----------------------------------------------------------------------
diff --git a/ui/scripts/network.js b/ui/scripts/network.js
index bb599fd..0ec275a 100755
--- a/ui/scripts/network.js
+++ b/ui/scripts/network.js
@@ -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',

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f2d3cc89/ui/scripts/ui-custom/instanceWizard.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui-custom/instanceWizard.js b/ui/scripts/ui-custom/instanceWizard.js
index 78f781f..f9f0781 100644
--- a/ui/scripts/ui-custom/instanceWizard.js
+++ b/ui/scripts/ui-custom/instanceWizard.js
@@ -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'
                                                     }))

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f2d3cc89/ui/scripts/ui-custom/projects.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui-custom/projects.js b/ui/scripts/ui-custom/projects.js
index 97c9b06..f6a2321 100644
--- a/ui/scripts/ui-custom/projects.js
+++ b/ui/scripts/ui-custom/projects.js
@@ -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();


Mime
View raw message