Author: nscavell
Date: 2012-01-27 16:43:08 -0500 (Fri, 27 Jan 2012)
New Revision: 8317
Modified:
epp/portal/branches/EPP_5_2_Branch/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetEditor.java
epp/portal/branches/EPP_5_2_Branch/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_en.properties
epp/portal/branches/EPP_5_2_Branch/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_it.properties
Log:
JBEPP-299: Change message when input name for gadget start by number
Modified:
epp/portal/branches/EPP_5_2_Branch/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetEditor.java
===================================================================
---
epp/portal/branches/EPP_5_2_Branch/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetEditor.java 2012-01-27
21:38:54 UTC (rev 8316)
+++
epp/portal/branches/EPP_5_2_Branch/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetEditor.java 2012-01-27
21:43:08 UTC (rev 8317)
@@ -83,7 +83,7 @@
addUIFormInput(new UIFormStringInput(FIELD_NAME, FIELD_NAME,
null).addValidator(MandatoryValidator.class)
.addValidator(StringLengthValidator.class, 2, 50)
.addValidator(ResourceValidator.class)
- .addValidator(ExpressionValidator.class,
"^[\\p{L}][\\p{L}._\\-\\d]+$","UIGadgetEditor.msg.Invalid-firstChar"));
+ .addValidator(ExpressionValidator.class,
"^[\\p{L}][\\p{L}._\\-\\d]+$","UIGadgetEditor.msg.Invalid"));
addUIFormInput(new UIFormTextAreaInput(FIELD_SOURCE, FIELD_SOURCE,
sample).addValidator(MandatoryValidator.class)
.addValidator(GadgetSpecValidator.class));
}
Modified:
epp/portal/branches/EPP_5_2_Branch/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_en.properties
===================================================================
---
epp/portal/branches/EPP_5_2_Branch/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_en.properties 2012-01-27
21:38:54 UTC (rev 8316)
+++
epp/portal/branches/EPP_5_2_Branch/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_en.properties 2012-01-27
21:43:08 UTC (rev 8317)
@@ -149,7 +149,7 @@
UIGadgetEditor.action.Cancel=#{word.cancel}
UIGadgetEditor.msg.invalidSpec=This source is invalid gadget specification.
UIGadgetEditor.gadget.msg.gadgetIsExist=This name already exists, please enter a
different name.
-UIGadgetEditor.msg.Invalid=The "{0}" field must not contains special
characters.
+UIGadgetEditor.msg.Invalid=The "{0}" field must not contain special
characters.
##package org.exoplatform.organization.webui.component.UIListPermissionSelector
UIListPermissionSelector.header.groupId=Group
UIListPermissionSelector.header.membership=Membership
Modified:
epp/portal/branches/EPP_5_2_Branch/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_it.properties
===================================================================
---
epp/portal/branches/EPP_5_2_Branch/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_it.properties 2012-01-27
21:38:54 UTC (rev 8316)
+++
epp/portal/branches/EPP_5_2_Branch/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_it.properties 2012-01-27
21:43:08 UTC (rev 8317)
@@ -23,7 +23,7 @@
label.description=Descrizione:
category.msg.changeNotExist=Non posso salvare le modifiche alla categoria non pi\u00F9
presente nel database.
application.msg.changeNotExist=Non posso salvare le modifiche all'applicazione non
pi\u00F9 presente nel database.
-gadget.msg.changeNotExist=Non posso salvare le modifiche al Gadget non pi� presente nel
database.
+gadget.msg.changeNotExist=Non posso salvare le modifiche al Gadget non pi� presente nel
database.
## org.exoplatform.applicationregistry.webui.component.UIApplicationRegistryPortlet
UIToolbar.label.organize=Categorie
UIToolbar.label.portlet=Portlet
@@ -149,7 +149,7 @@
UIGadgetEditor.action.Cancel=#{word.cancel}
UIGadgetEditor.msg.invalidSpec=Il sorgente non segue le specifiche del gadget.
UIGadgetEditor.gadget.msg.gadgetIsExist=Questo nome esiste gi\u00E0, inserisci un nome
diverso.
-UIGadgetEditor.msg.Invalid=The "{0}" field must not contains special
characters.
+UIGadgetEditor.msg.Invalid=Il campo "{0}" non deve contenere caratteri
speciali.
##package org.exoplatform.organization.webui.component.UIListPermissionSelector
UIListPermissionSelector.header.groupId=Gruppo
UIListPermissionSelector.header.membership=Membership