|
Author: jleroux
Date: Tue Dec 29 06:59:58 2009 New Revision: 894318 URL: http://svn.apache.org/viewvc?rev=894318&view=rev Log: PartyUserNameInUse French localisation. Replaced a bunch of hardcoded error messages by PartyUserNameInUse Modified: ofbiz/trunk/applications/party/config/PartyUiLabels.xml ofbiz/trunk/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml ofbiz/trunk/applications/party/script/org/ofbiz/party/user/UserEvents.xml ofbiz/trunk/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml ofbiz/trunk/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/QuickAnonCustomerEvents.xml ofbiz/trunk/specialpurpose/myportal/script/org/ofbiz/myportal/Events.xml Modified: ofbiz/trunk/applications/party/config/PartyUiLabels.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/config/PartyUiLabels.xml?rev=894318&r1=894317&r2=894318&view=diff ============================================================================== --- ofbiz/trunk/applications/party/config/PartyUiLabels.xml (original) +++ ofbiz/trunk/applications/party/config/PartyUiLabels.xml Tue Dec 29 06:59:58 2009 @@ -10557,6 +10557,7 @@ </property> <property key="PartyUserNameInUse"> <value xml:lang="en">Username in use, please choose another.</value> + <value xml:lang="fr">Identifiant de connexion déjà utilisé, choisissez en un autre SVP.</value> <value xml:lang="it">Nome utente è già in uso, perfavore scegliere un'altro.</value> </property> <property key="PartyUserNameMissing"> Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml?rev=894318&r1=894317&r2=894318&view=diff ============================================================================== --- ofbiz/trunk/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml (original) +++ ofbiz/trunk/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml Tue Dec 29 06:59:58 2009 @@ -65,7 +65,7 @@ <set field="userLoginExistsMap.userLoginId" from-field="userLoginContext.userLoginId"/> <find-by-primary-key entity-name="UserLogin" map="userLoginExistsMap" value-field="existingUserLogin"/> <if-not-empty field="existingUserLogin"> - <set field="tempErrorMessage" value="Username in use, please choose another."/> + <set field="tempErrorMessage" value="${uiLabelMap.PartyUserNameInUse}"/> <field-to-list field="tempErrorMessage" list="error_list"/> </if-not-empty> </if-not-empty> Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/user/UserEvents.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/user/UserEvents.xml?rev=894318&r1=894317&r2=894318&view=diff ============================================================================== --- ofbiz/trunk/applications/party/script/org/ofbiz/party/user/UserEvents.xml (original) +++ ofbiz/trunk/applications/party/script/org/ofbiz/party/user/UserEvents.xml Tue Dec 29 06:59:58 2009 @@ -96,7 +96,7 @@ <set field="userLoginExistsMap.userLoginId" from-field="userLoginContext.userLoginId"/> <find-by-primary-key entity-name="UserLogin" map="userLoginExistsMap" value-field="existingUserLogin"/> <if-not-empty field="existingUserLogin"> - <set field="tempErrorMessage" value="Username in use, please choose another."/> + <set field="tempErrorMessage" value="${uiLabelMap.PartyUserNameInUse}"/> <field-to-list field="tempErrorMessage" list="error_list"/> </if-not-empty> </if-not-empty> 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=894318&r1=894317&r2=894318&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 Tue Dec 29 06:59:58 2009 @@ -977,7 +977,7 @@ <field-map field-name="userLoginId" value="${userLoginMap.userLoginId}"/> </entity-one> <if-not-empty field="existingUserLogin"> - <add-error error-list-name="error_list"><fail-message message="Username in use, please choose another."/></add-error> + <add-error error-list-name="error_list"><fail-property resource="PartyUiLabels" property="PartyUserNameInUse"/></add-error> </if-not-empty> </if-not-empty> <make-value entity-name="UserLogin" value-field="newUserLogin"/> Modified: ofbiz/trunk/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/QuickAnonCustomerEvents.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/QuickAnonCustomerEvents.xml?rev=894318&r1=894317&r2=894318&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/QuickAnonCustomerEvents.xml (original) +++ ofbiz/trunk/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/QuickAnonCustomerEvents.xml Tue Dec 29 06:59:58 2009 @@ -65,7 +65,7 @@ <set field=" userLoginExistsMap.userLoginId" from-field="userLoginContext.userLoginId"/> <find-by-primary-key entity-name="UserLogin" map="userLoginExistsMap" value-field="existingUserLogin"/> <if-not-empty field="existingUserLogin"> - <set field="tempErrorMessage" value="Username in use, please choose another."/> + <set field="tempErrorMessage" value="${uiLabelMap.PartyUserNameInUse}"/> <field-to-list field="tempErrorMessage" list="error_list"/> </if-not-empty> </if-not-empty> Modified: ofbiz/trunk/specialpurpose/myportal/script/org/ofbiz/myportal/Events.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/myportal/script/org/ofbiz/myportal/Events.xml?rev=894318&r1=894317&r2=894318&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/myportal/script/org/ofbiz/myportal/Events.xml (original) +++ ofbiz/trunk/specialpurpose/myportal/script/org/ofbiz/myportal/Events.xml Tue Dec 29 06:59:58 2009 @@ -64,7 +64,7 @@ </call-service> <set-current-user-login value-field="createdUserLogin"/> <else> - <set field="errorMessage" value="Username in use, please choose another."/> + <set field="errorMessage" value="${uiLabelMap.PartyUserNameInUse}"/> <field-to-list field="errorMessage" list="error_list"/> <check-errors error-list-name="error_list" error-code="resultPage"/> </else> |
| Free forum by Nabble | Edit this page |
