Author: erwan
Date: Wed Sep 22 08:35:31 2010
New Revision: 999806

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


Reply via email to