You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mr...@apache.org on 2009/11/12 22:39:10 UTC

svn commit: r835571 - in /ofbiz/trunk: applications/party/config/PartyUiLabels.xml specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml

Author: mrisaliti
Date: Thu Nov 12 21:39:10 2009
New Revision: 835571

URL: http://svn.apache.org/viewvc?rev=835571&view=rev
Log:
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>