cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject git commit: updated refs/heads/4.3 to 5d8a276
Date Wed, 18 Dec 2013 21:29:13 GMT
Updated Branches:
  refs/heads/4.3 894d215f1 -> 5d8a2769b


Add missing strings for LDAP section, S3 fields


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

Branch: refs/heads/4.3
Commit: 5d8a2769b9459d3645584acc10794403d88497bb
Parents: 894d215
Author: Brian Federle <brian.federle@citrix.com>
Authored: Wed Dec 18 13:25:26 2013 -0800
Committer: Brian Federle <brian.federle@citrix.com>
Committed: Wed Dec 18 13:27:36 2013 -0800

----------------------------------------------------------------------
 .../classes/resources/messages.properties       | 11 +++++++
 ui/dictionary.jsp                               | 11 +++++++
 ui/scripts/configuration.js                     |  6 ++--
 ui/scripts/globalSettings.js                    | 33 ++++++++++----------
 ui/scripts/system.js                            |  6 ++--
 5 files changed, 44 insertions(+), 23 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5d8a2769/client/WEB-INF/classes/resources/messages.properties
----------------------------------------------------------------------
diff --git a/client/WEB-INF/classes/resources/messages.properties b/client/WEB-INF/classes/resources/messages.properties
index 9557de6..8bc76a6 100644
--- a/client/WEB-INF/classes/resources/messages.properties
+++ b/client/WEB-INF/classes/resources/messages.properties
@@ -14,6 +14,17 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
+label.port=Port
+label.remove.ldap=Remove LDAP
+message.remove.ldap=Are you sure you want to delete the LDAP configuration?
+label.configure.ldap=Configure LDAP
+message.configure.ldap=Please confirm you would like to configure LDAP.
+label.ldap.configuration=LDAP Configuration
+label.ldap.port=LDAP port
+label.create.nfs.secondary.staging.store=Create NFS secondary staging store
+label.volatile=Volatile
+label.planner.mode=Planner mode
+label.deployment.planner=Deployment planner
 label.quiesce.vm=Quiesce VM
 label.smb.username=SMB Username
 label.smb.password=SMB Password

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5d8a2769/ui/dictionary.jsp
----------------------------------------------------------------------
diff --git a/ui/dictionary.jsp b/ui/dictionary.jsp
index a42799f..a384d78 100644
--- a/ui/dictionary.jsp
+++ b/ui/dictionary.jsp
@@ -25,6 +25,17 @@ under the License.
 <% long now = System.currentTimeMillis(); %>
 <script type="text/javascript">
 dictionary = {
+'label.port': '<fmt:message key="label.port" />',
+'label.remove.ldap': '<fmt:message key="label.remove.ldap" />',
+'message.remove.ldap': '<fmt:message key="message.remove.ldap" />',
+'message.configure.ldap': '<fmt:message key="message.configure.ldap" />',
+'label.configure.ldap': '<fmt:message key="label.configure.ldap" />',
+'label.ldap.port': '<fmt:message key="label.ldap.port" />',
+'label.ldap.configuration': '<fmt:message key="label.ldap.configuration" />',
+'label.create.nfs.secondary.staging.store': '<fmt:message key="label.create.nfs.secondary.staging.store"
/>',
+'label.volatile': '<fmt:message key="label.volatile" />',
+'label.planner.mode': '<fmt:message key="label.planner.mode" />',
+'label.deployment.planner': '<fmt:message key="label.deployment.planner" />',
 'label.quiesce.vm': '<fmt:message key="label.quiesce.vm" />',
 'label.smb.username': '<fmt:message key="label.smb.username" />',
 'label.smb.password': '<fmt:message key="label.smb.password" />',

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5d8a2769/ui/scripts/configuration.js
----------------------------------------------------------------------
diff --git a/ui/scripts/configuration.js b/ui/scripts/configuration.js
index 9c05169..42ae5ee 100644
--- a/ui/scripts/configuration.js
+++ b/ui/scripts/configuration.js
@@ -197,14 +197,14 @@
                                     },
 
                                     isVolatile: {
-                                        label: 'isVolatile',
+                                        label: 'label.volatile',
                                         isBoolean: true,
                                         isChecked: false
 
                                     },
 
                                     deploymentPlanner: {
-                                        label: 'Deployment Planner',
+                                        label: 'label.deployment.planner',
                                         select: function(args) {
                                             $.ajax({
                                                 url: createURL('listDeploymentPlanners'),
@@ -233,7 +233,7 @@
 
                                     // plannerKey:{label:'Planner Key' , docID:'helpImplicitPlannerKey'},
                                     plannerMode: {
-                                        label: 'Planner Mode',
+                                        label: 'label.planner.mode',
                                         select: function(args) {
                                             var items = [];
                                             items.push({

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5d8a2769/ui/scripts/globalSettings.js
----------------------------------------------------------------------
diff --git a/ui/scripts/globalSettings.js b/ui/scripts/globalSettings.js
index 0e3d1ef..f5f150f 100644
--- a/ui/scripts/globalSettings.js
+++ b/ui/scripts/globalSettings.js
@@ -101,16 +101,16 @@
             },
             ldapConfiguration: {
                 type: 'select',
-                title: 'LDAP Configuration',
+                title: 'label.ldap.configuration',
                 listView: {
                     id: 'ldap',
-                    label: 'LDAP Configuration',
+                    label: 'label.ldap.configuration',
                     fields: {
                         hostname: {
-                            label: 'Hostname'
+                            label: 'label.host.name'
                         },
                         port: {
-                            label: 'LDAP Port'
+                            label: 'label.ldap.port'
                         }
                     },
                     dataProvider: function(args) {
@@ -134,13 +134,13 @@
                         name: 'label.details',
                         actions: {
                             remove: {
-                                label: 'Remove LDAP',
+                                label: 'label.remove.ldap',
                                 messages: {
                                     notification: function(args) {
-                                        return 'LDAP Configuration Deleted';
+                                        return 'label.remove.ldap';
                                     },
                                     confirm: function() {
-                                        return 'Are you sure you want to delete the LDAP
configuration?';
+                                        return 'message.remove.ldap';
                                     }
                                 },
                                 action: function(args) {
@@ -156,13 +156,13 @@
                         },
                         tabs: {
                             details: {
-                                title: 'LDAP Configuration Details',
+                                title: 'label.ldap.configuration',
                                 fields: [{
                                     hostname: {
-                                        label: 'Hostname'
+                                        label: 'label.host.name'
                                     },
                                     port: {
-                                        label: 'Port'
+                                        label: 'label.port'
                                     }
                                 }],
                                 dataProvider: function(args) {
@@ -185,27 +185,26 @@
                     },
                     actions: {
                         add: {
-                            label: 'Configure LDAP',
+                            label: 'label.configure.ldap',
                             messages: {
                                 confirm: function(args) {
-                                    return 'Do you really want to configure LDAP ? ';
+                                    return 'message.configure.ldap';
                                 },
                                 notification: function(args) {
-                                    console.log(args);
-                                    return 'Successfully added a new LDAP server';
+                                    return 'label.configure.ldap';
                                 }
                             },
                             createForm: {
-                                title: 'Configure LDAP',
+                                title: 'label.configure.ldap',
                                 fields: {
                                     hostname: {
-                                        label: 'Hostname',
+                                        label: 'label.host.name',
                                         validation: {
                                             required: true
                                         }
                                     },
                                     port: {
-                                        label: 'Port',
+                                        label: 'label.port',
                                         validation: {
                                             required: true
                                         }

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5d8a2769/ui/scripts/system.js
----------------------------------------------------------------------
diff --git a/ui/scripts/system.js b/ui/scripts/system.js
index a52c0d5..399fef9 100644
--- a/ui/scripts/system.js
+++ b/ui/scripts/system.js
@@ -13955,7 +13955,7 @@
 
 
                                     hypervisor: {
-                                        label: 'Hypervisor',
+                                        label: 'label.hypervisor',
                                         isHidden: true,
                                         select: function(args) {
                                             var items = [];
@@ -13976,7 +13976,7 @@
                                     },
 
                                     zoneid: {
-                                        label: 'Zone',
+                                        label: 'label.zone',
                                         docID: 'helpPrimaryStorageZone',
                                         validation: {
                                             required: true
@@ -15919,7 +15919,7 @@
                                             },
 
                                             createNfsCache: {
-                                                label: 'Create NFS Secondary Staging Store',
+                                                label: 'label.create.nfs.secondary.staging.store',
                                                 isBoolean: true,
                                                 isChecked: true
                                             },


Mime
View raw message