Author: erwan
Date: Wed Sep 22 08:35:31 2010
New Revision: 999806
URL:
http://svn.apache.org/viewvc?rev=999806&view=revLog:
Adding i18n setCommunicationEventStatus service's UI message
Modified:
ofbiz/trunk/applications/party/config/PartyErrorUiLabels.xml
ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml
Modified: ofbiz/trunk/applications/party/config/PartyErrorUiLabels.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/config/PartyErrorUiLabels.xml?rev=999806&r1=999805&r2=999806&view=diff==============================================================================
--- ofbiz/trunk/applications/party/config/PartyErrorUiLabels.xml (original)
+++ ofbiz/trunk/applications/party/config/PartyErrorUiLabels.xml Wed Sep 22 08:35:31 2010
@@ -61,6 +61,10 @@
<value xml:lang="th">ERROR: à¸à¸´à¸à¸à¸¥à¸²à¸ ! à¹à¸¡à¹à¸à¸à¸à¸¥à¸à¸²à¸£à¸à¸´à¸à¸à¹à¸à¸ªà¸³à¸«à¸£à¸±à¸à¸£à¸«à¸±à¸ªà¸à¸¥à¸à¸²à¸£à¸à¸´à¸à¸à¹à¸</value>
<value xml:lang="zh">é误ï¼æ²¡ææ¾å°æ²éäºä»¶ï¼æ²éå®è·µæ è¯</value>
</property>
+ <property key="commeventservices.communication_event_status">
+ <value xml:lang="en">ERROR: Status is not a valid change; old Status: ${communicationEvent.statusId}, new status: ${parameters.statusId}</value>
+ <value xml:lang="fr">ERREUR : Le changement de ${communicationEvent.statusId} Ã ${parameters.statusId} n'est pas valide</value>
+ </property>
<property key="commeventservices.communication_event_to_contact_mech_must_be_email">
<value xml:lang="de">FEHLER: Kommunikationsereignis muss ein "Kontaktmechanismus an" besitzen das ein E-Mail als Kommunikationereignis ID ist</value>
<value xml:lang="en">ERROR: Communication event must have a to contact mech that is an email for comm event Id</value>
Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml?rev=999806&r1=999805&r2=999806&view=diff==============================================================================
--- ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml (original)
+++ ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml Wed Sep 22 08:35:31 2010
@@ -539,7 +539,7 @@ under the License.
<field-map field-name="statusIdTo" from-field="parameters.statusId"/>
</entity-one>
<if-empty field="statusChange">
- <add-error><fail-message message="Status is not a valid change; old Status: ${communicationEvent.statusId}, new status: ${parameters.statusId}"/></add-error>
+ <add-error><fail-property resource="PartyErrorUiLabels" property="commeventservices.communication_event_status"/></add-error>
<log level="error" message="Cannot change from ${communicationEvent.statusId} to ${parameters.statusId}"/>
<check-errors/>
<else>