From 2f26cf87b69cc6b131f98b75441dcdcef9738c4b Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Thu, 9 Feb 2012 14:52:13 -0800 Subject: [PATCH] Fix some message labels --- client/WEB-INF/classes/resources/messages.properties | 2 +- ui/scripts/ui/core.js | 2 +- ui/scripts/ui/dialog.js | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/WEB-INF/classes/resources/messages.properties b/client/WEB-INF/classes/resources/messages.properties index 12702af1f57..736f0ff1e6e 100644 --- a/client/WEB-INF/classes/resources/messages.properties +++ b/client/WEB-INF/classes/resources/messages.properties @@ -40,7 +40,7 @@ label.suspend.project=Suspend Project message.suspend.project=Are you sure you want to suspend this project? state.Suspended=Suspended label.edit.project.details=Edit project details -label.new.project +label.new.project=New Project state.Active=Active state.Disabled=Disabled label.projects=Projects diff --git a/ui/scripts/ui/core.js b/ui/scripts/ui/core.js index 5007137c806..ca087cc3261 100644 --- a/ui/scripts/ui/core.js +++ b/ui/scripts/ui/core.js @@ -272,7 +272,7 @@ .click(); // Validation - $.extend($.validator.messages, { required: 'label.required' }); + $.extend($.validator.messages, { required: _l('label.required') }); // Check for pending project invitations cloudStack.projects.invitationCheck({ diff --git a/ui/scripts/ui/dialog.js b/ui/scripts/ui/dialog.js index 3b18bcc1d06..1ea1252c4eb 100644 --- a/ui/scripts/ui/dialog.js +++ b/ui/scripts/ui/dialog.js @@ -1,4 +1,4 @@ -(function($, cloudStack, _l) { +(function($, cloudStack) { cloudStack.dialog = { /** * Error message form @@ -275,7 +275,7 @@ } $input.data('validation-rules', field.validation); - $('