Author: nscavell
Date: 2012-01-27 16:38:54 -0500 (Fri, 27 Jan 2012)
New Revision: 8316
Modified:
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetEditor.java
portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_en.properties
portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_it.properties
Log:
GTNPORTAL-1033: Change message when input name for gadget start by number
Modified:
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetEditor.java
===================================================================
---
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetEditor.java 2012-01-27
15:43:30 UTC (rev 8315)
+++
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetEditor.java 2012-01-27
21:38:54 UTC (rev 8316)
@@ -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:
portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_en.properties
===================================================================
---
portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_en.properties 2012-01-27
15:43:30 UTC (rev 8315)
+++
portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_en.properties 2012-01-27
21:38:54 UTC (rev 8316)
@@ -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:
portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_it.properties
===================================================================
---
portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_it.properties 2012-01-27
15:43:30 UTC (rev 8315)
+++
portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_it.properties 2012-01-27
21:38:54 UTC (rev 8316)
@@ -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
Show replies by date