Author: mrisaliti
Date: Thu Nov 12 21:39:10 2009
New Revision: 835571
URL:
http://svn.apache.org/viewvc?rev=835571&view=revLog:
An error message that now can be translated
Modified:
ofbiz/trunk/applications/party/config/PartyUiLabels.xml
ofbiz/trunk/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml
Modified: ofbiz/trunk/applications/party/config/PartyUiLabels.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/config/PartyUiLabels.xml?rev=835571&r1=835570&r2=835571&view=diff==============================================================================
--- ofbiz/trunk/applications/party/config/PartyUiLabels.xml (original)
+++ ofbiz/trunk/applications/party/config/PartyUiLabels.xml Thu Nov 12 21:39:10 2009
@@ -10569,6 +10569,10 @@
<value xml:lang="th">à¸à¸·à¹à¸à¸à¸¹à¹à¹à¸à¹</value>
<value xml:lang="zh">ç¨æ·å</value>
</property>
+ <property key="PartyUserNameInUse">
+ <value xml:lang="en">Username in use, please choose another.</value>
+ <value xml:lang="it">Nome utente è già in uso, perfavore scegliere un'altro.</value>
+ </property>
<property key="PartyUserNameMissing">
<value xml:lang="de">Benutzername fehlt</value>
<value xml:lang="en">Username is missing</value>
Modified: ofbiz/trunk/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml?rev=835571&r1=835570&r2=835571&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml Thu Nov 12 21:39:10 2009
@@ -77,7 +77,8 @@
<set from-field="userLoginContext.userLoginId" field="userLoginExistsMap.userLoginId"/>
<find-by-primary-key entity-name="UserLogin" map="userLoginExistsMap" value-field="existingUserLogin"/>
<if-not-empty field="existingUserLogin">
- <string-to-list string="Username in use, please choose another." message-field="USERNAME" list="error_list"/>
+ <property-to-field field="tempErrorMessage" resource="PartyUiLabels" property="PartyUserNameInUse"/>
+ <string-to-list string="${tempErrorMessage}" message-field="USERNAME" list="error_list"/>
</if-not-empty>
</if-not-empty>