svn commit: r1132726 - in /ofbiz/trunk: applications/accounting/config/ applications/accounting/script/org/ofbiz/accounting/payment/ applications/product/script/org/ofbiz/product/storage/ applications/workeffort/config/ applications/workeffort/script/o...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1132726 - in /ofbiz/trunk: applications/accounting/config/ applications/accounting/script/org/ofbiz/accounting/payment/ applications/product/script/org/ofbiz/product/storage/ applications/workeffort/config/ applications/workeffort/script/o...

mrisaliti
Author: mrisaliti
Date: Mon Jun  6 19:08:00 2011
New Revision: 1132726

URL: http://svn.apache.org/viewvc?rev=1132726&view=rev
Log:
Hardcoded sentences in <default-message> tags (OFBIZ-3996)

Modified:
    ofbiz/trunk/applications/accounting/config/AccountingUiLabels.xml
    ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentMethodEvents.xml
    ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml
    ofbiz/trunk/applications/workeffort/config/WorkEffortUiLabels.xml
    ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml
    ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkflowSimpleEvents.xml
    ofbiz/trunk/specialpurpose/ecommerce/config/EcommerceUiLabels.xml
    ofbiz/trunk/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/misc/AffiliateSimpleEvents.xml

Modified: ofbiz/trunk/applications/accounting/config/AccountingUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/config/AccountingUiLabels.xml?rev=1132726&r1=1132725&r2=1132726&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/config/AccountingUiLabels.xml (original)
+++ ofbiz/trunk/applications/accounting/config/AccountingUiLabels.xml Mon Jun  6 19:08:00 2011
@@ -2959,6 +2959,10 @@
         <value xml:lang="it">Non è possibile creare la carta di credito (fallimento durante la generazione id)</value>
         <value xml:lang="pt">Não foi possível criar o cartão de crédito (Falha ao gerar ID)</value>
     </property>
+    <property key="AccountingCreditCardCreatedSuccessfully">
+        <value xml:lang="en">Credit Card successfully created.</value>
+        <value xml:lang="it">Carta di credito creato con succcesso.</value>
+    </property>
     <property key="AccountingCreditCardCreateWriteFailure">
         <value xml:lang="de">Es konnte keine Kreditkarte angelegt werden (Schreibfehler) : </value>
         <value xml:lang="en">Could not create credit card (write failure) : </value>
@@ -3047,6 +3051,10 @@
         <value xml:lang="it">Non è possibile leggere la carta di credito (fallimento in lettura) : </value>
         <value xml:lang="pt">Não foi possível obter o cartão de crédito para atualizar (erro de leitura):</value>
     </property>
+    <property key="AccountingCreditCardUpdatedSuccessfully">
+        <value xml:lang="en">Credit Card Info successfully updated.</value>
+        <value xml:lang="it">Informazioni sulla carta di credito aggiornati con succcesso.</value>
+    </property>
     <property key="AccountingCreditCardUpdateWithPaymentMethodId">
         <value xml:lang="en">ERROR: Could not find credit card to update with payment method id </value>
         <value xml:lang="it">Non è possibile trovare la carta di credito da aggiornare con il metodo di pagamento </value>
@@ -3483,6 +3491,10 @@
         <value xml:lang="zh">电子资金转账账户</value>
         <value xml:lang="zh_TW">電子資金轉賬賬戶</value>
     </property>
+    <property key="AccountingEFTAccountCreatedSuccessfully">
+        <value xml:lang="en">EFT Account successfully created.</value>
+        <value xml:lang="it">Conto EFT creato con successo.</value>
+    </property>
     <property key="AccountingEFTAccountInformation">
         <value xml:lang="de">Bankkonto Information</value>
         <value xml:lang="en">EFT Account Information</value>
@@ -3505,6 +3517,10 @@
         <value xml:lang="pt">ID de método Pagamento de Conta EFT está faltando</value>
         <value xml:lang="zh_TW">沒有EFT帳戶支付方式ID</value>
     </property>
+    <property key="AccountingEFTAccountUpdatedSuccessfully">
+        <value xml:lang="en">EFT Account Info successfully updated.</value>
+        <value xml:lang="it">Informazioni sul conto EFT aggiornate con successo.</value>
+    </property>
     <property key="AccountingEFTNotBelongToYou">
         <value xml:lang="de">Die angegebene Bankverbindung gehört nicht zu Ihnen. Daher dürfen Sie die Infomationen dieser Bankverbindung weder einsehen noch bearbeiten.</value>
         <value xml:lang="en">The EFT Account specified does not belong to you, you may not view or edit it</value>
@@ -9074,6 +9090,10 @@
         <value xml:lang="zh">支付方法指定账户类型</value>
         <value xml:lang="zh_TW">支付方法指定賬戶類型</value>
     </property>
+    <property key="AccountingPaymentMethodDeletedSuccessfully">
+        <value xml:lang="en">Payment Method successfully deleted.</value>
+        <value xml:lang="it">Metodo pagamento cancellato con successo.</value>
+    </property>
     <property key="AccountingPaymentMethodId">
         <value xml:lang="de">Zahlungsmethode</value>
         <value xml:lang="en">Payment Method Id</value>

Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentMethodEvents.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentMethodEvents.xml?rev=1132726&r1=1132725&r2=1132726&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentMethodEvents.xml (original)
+++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentMethodEvents.xml Mon Jun  6 19:08:00 2011
@@ -26,7 +26,8 @@ under the License.
                 processor-name="deletePaymentMethod" in-map-name="parameters" out-map-name="context"/>
         <check-errors/>
         <call-service service-name="deletePaymentMethod" in-map-name="context">
-            <default-message>Payment Method successfully deleted.</default-message></call-service>
+            <default-message resource="AccountingUiLabels" property="AccountingPaymentMethodDeletedSuccessfully"/>
+        </call-service>
     </simple-method>
 
     <!-- CreditCard events -->
@@ -35,7 +36,7 @@ under the License.
                 processor-name="createCreditCard" in-map-name="parameters" out-map-name="context"/>
         <check-errors/>
         <call-service service-name="createCreditCard" in-map-name="context">
-            <default-message>Credit Card successfully created.</default-message>
+            <default-message resource="AccountingUiLabels" property="AccountingCreditCardCreatedSuccessfully"/>
             <result-to-request result-name="paymentMethodId"/>
         </call-service>
         <if-compare field="parameters.contactMechId" operator="equals" value="_NEW_">
@@ -55,7 +56,7 @@ under the License.
                 processor-name="createCreditCard" in-map-name="parameters" out-map-name="context"/>
         <check-errors/>
         <call-service service-name="updateCreditCard" in-map-name="context">
-            <default-message>Credit Card Info successfully updated.</default-message>
+            <default-message resource="AccountingUiLabels" property="AccountingCreditCardUpdatedSuccessfully"/>
             <result-to-request result-name="paymentMethodId" request-name="paymentMethodId"/>
         </call-service>
         <if-compare field="parameters.contactMechId" operator="equals" value="_NEW_">
@@ -74,7 +75,7 @@ under the License.
                 processor-name="createEftAccount" in-map-name="parameters" out-map-name="context"/>
         <check-errors/>
         <call-service service-name="createEftAccount" in-map-name="context">
-            <default-message>EFT Account successfully created.</default-message>
+            <default-message resource="AccountingUiLabels" property="AccountingEFTAccountCreatedSuccessfully"/>
             <result-to-request result-name="paymentMethodId"/></call-service>
     </simple-method>
     <simple-method method-name="updateEftAccount" short-description="Update EFT Account">
@@ -85,7 +86,7 @@ under the License.
                 processor-name="createEftAccount" in-map-name="parameters" out-map-name="context"/>
         <check-errors/>
         <call-service service-name="updateEftAccount" in-map-name="context">
-            <default-message>EFT Account Info successfully updated.</default-message>
+            <default-message resource="AccountingUiLabels" property="AccountingEFTAccountUpdatedSuccessfully"/>
             <result-to-request result-name="paymentMethodId" request-name="paymentMethodId"/>
         </call-service>
     </simple-method>

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml?rev=1132726&r1=1132725&r2=1132726&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml Mon Jun  6 19:08:00 2011
@@ -33,7 +33,7 @@ under the License.
             <set-service-fields service-name="createContactMech" map="parameters" to-map="createContactMechMap"/>
             <set field="createContactMechMap.contactMechTypeId" from-field="parameters.contactMechTypeId"/>
             <call-service service-name="createContactMech" in-map-name="createContactMechMap">
-                <default-message>Contact Mechanism successfully created.</default-message>
+                <default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyCreated"/>
                 <result-to-field result-name="contactMechId" field="newValue.contactMechId"/>
             </call-service>
             <log level="info" message="ContactMech created"/>
@@ -89,7 +89,7 @@ under the License.
             <set-service-fields service-name="updateContactMech" map="parameters" to-map="updateContactMechMap"/>
             <set field="updateContactMechMap.contactMechTypeId" from-field="parameters.contactMechTypeId"/>
             <call-service service-name="updateContactMech" in-map-name="updateContactMechMap">
-                <default-message property="PartyContactMechanismSuccessfullyUpdated" resource="PartyUiLabels"/>
+                <default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyUpdated"/>
                 <result-to-field result-name="contactMechId" field="newFacilityContactMech.contactMechId"/>
             </call-service>
             <else>
@@ -164,8 +164,7 @@ under the License.
 
         <set-service-fields service-name="createPostalAddress" map="parameters" to-map="createPostalAddressMap"/>
         <call-service in-map-name="createPostalAddressMap" service-name="createPostalAddress">
-            <default-message>Postal Address successfully created</default-message>
-
+            <default-message resource="PartyUiLabels" property="PartyPostalAddressSuccessfullyCreated"/>
             <result-to-field result-name="contactMechId" field="newFacilityContactMech.contactMechId"/>
         </call-service>
 
@@ -175,8 +174,7 @@ under the License.
         <set-service-fields service-name="createFacilityContactMech" map="parameters" to-map="createFacilityContactMechMap"/>
 
         <call-service service-name="createFacilityContactMech" in-map-name="createFacilityContactMechMap" break-on-error="true">
-            <default-message>Facility Contact Mechanism successfully created</default-message>
-
+            <default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyCreated"/>
         </call-service>
         <field-to-request field="newFacilityContactMech.contactMechId" request-name="contactMechId"/>
         <field-to-result field="newFacilityContactMech.contactMechId" result-name="contactMechId"/>
@@ -191,7 +189,7 @@ under the License.
 
         <set-service-fields service-name="updatePostalAddress" map="parameters" to-map="updatePostalAddressMap"/>
         <call-service in-map-name="updatePostalAddressMap" service-name="updatePostalAddress">
-            <default-message>Postal Address successfully updated</default-message>
+            <default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyUpdated"/>
             <result-to-field result-name="contactMechId" field="newFacilityContactMech.contactMechId"/>
         </call-service>
 
@@ -201,7 +199,7 @@ under the License.
         <set field="updateFacilityContactMechMap.contactMechTypeId" value="POSTAL_ADDRESS"/>
         <log level="info" message="Copied id to updateFacilityContactMechMap: ${updateFacilityContactMechMap.newContactMechId}"/>
         <call-service service-name="updateFacilityContactMech" in-map-name="updateFacilityContactMechMap">
-            <default-message>Facility Contact Mechanism successfully updated</default-message>
+            <default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyUpdated"/>
         </call-service>
         <field-to-request field="newFacilityContactMech.contactMechId" request-name="contactMechId"/>
         <field-to-result field="newFacilityContactMech.contactMechId" result-name="contactMechId"/>
@@ -216,8 +214,7 @@ under the License.
         <log level="info" message="Creating telecom number"/>
         <set-service-fields service-name="createTelecomNumber" map="parameters" to-map="createTelecomNumberMap"/>
         <call-service in-map-name="createTelecomNumberMap" service-name="createTelecomNumber">
-            <default-message>Telecom number successfully created</default-message>
-
+            <default-message resource="PartyUiLabels" property="PartyTelecomNumberSuccessfullyCreated"/>
             <result-to-field result-name="contactMechId" field="newFacilityContactMech.contactMechId"/>
         </call-service>
 
@@ -226,8 +223,7 @@ under the License.
         <log level="info" message="Copied id to createFacilityContactMechMap: ${createFacilityContactMechMap.contactMechId}"/>
 
         <call-service service-name="createFacilityContactMech" in-map-name="createFacilityContactMechMap" break-on-error="true">
-            <default-message>Facility Contact Mechanism successfully created</default-message>
-
+            <default-message resource="PartyUiLabels" property="PartyTelecomNumberSuccessfullyCreated"/>
         </call-service>
         <field-to-request field="newFacilityContactMech.contactMechId" request-name="contactMechId"/>
         <field-to-result field="newFacilityContactMech.contactMechId" result-name="contactMechId"/>
@@ -242,7 +238,7 @@ under the License.
 
         <set-service-fields service-name="updateTelecomNumber" map="parameters" to-map="updateTelecomNumberMap"/>
         <call-service service-name="updateTelecomNumber" in-map-name="updateTelecomNumberMap">
-            <default-message>Telecom Number successfully updated</default-message>
+            <default-message resource="PartyUiLabels" property="PartyTelecomNumberSuccessfullyUpdated"/>
             <result-to-field result-name="contactMechId" field="newFacilityContactMech.contactMechId"/>
         </call-service>
 
@@ -253,7 +249,7 @@ under the License.
         <log level="info" message="Copied id to updateFacilityContactMechMap: ${updateFacilityContactMechMap.newContactMechId}"/>
 
         <call-service in-map-name="updateFacilityContactMechMap" service-name="updateFacilityContactMech">
-            <default-message>Facility Contact Mechanism successfully updated</default-message>
+            <default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyUpdated"/>
         </call-service>
         <log level="info" message="Setting result id: ${newFacilityContactMech.contactMechId}"/>
         <field-to-request field="newFacilityContactMech.contactMechId" request-name="contactMechId"/>
@@ -280,8 +276,7 @@ under the License.
         <set field="createFacilityContactMechMap.infoString" from-field="parameters.emailAddress"/>
         <set field="createFacilityContactMechMap.contactMechTypeId" value="EMAIL_ADDRESS"/>
         <call-service service-name="createFacilityContactMech" in-map-name="createFacilityContactMechMap">
-
-            <default-message>Facility Contact Mechanism successfully created.</default-message>
+            <default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyCreated"/>
             <result-to-result result-name="contactMechId"/>
             <result-to-request result-name="contactMechId"/>
         </call-service>
@@ -306,8 +301,7 @@ under the License.
         <set field="updateFacilityContactMechMap.infoString" from-field="parameters.emailAddress"/>
         <set field="updateFacilityContactMechMap.contactMechTypeId" value="EMAIL_ADDRESS"/>
         <call-service service-name="updateFacilityContactMech" in-map-name="updateFacilityContactMechMap">
-
-            <default-message>Facility Contact Mechanism successfully updated.</default-message>
+            <default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyUpdated"/>
             <result-to-result result-name="contactMechId"/>
             <result-to-request result-name="contactMechId"/>
         </call-service>

Modified: ofbiz/trunk/applications/workeffort/config/WorkEffortUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/config/WorkEffortUiLabels.xml?rev=1132726&r1=1132725&r2=1132726&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/config/WorkEffortUiLabels.xml (original)
+++ ofbiz/trunk/applications/workeffort/config/WorkEffortUiLabels.xml Mon Jun  6 19:08:00 2011
@@ -2010,6 +2010,10 @@
         <value xml:lang="zh">已创建</value>
         <value xml:lang="zh_TW">已創建</value>
     </property>
+    <property key="WorkEffortCreatedSuccessfully">
+        <value xml:lang="en">Work Effort successfully created.</value>
+        <value xml:lang="it">Impegno di lavoro creato con successo.</value>
+    </property>
     <property key="WorkEffortCustomerRating">
         <value xml:lang="de">Kundenbewertung</value>
         <value xml:lang="en">Customer Rating</value>
@@ -3016,6 +3020,10 @@
         <value xml:lang="zh">安全错误:要运行${resourceDescription},你必须以${roleTypeId}角色做人工服务:${workEffortId}</value>
         <value xml:lang="zh_TW">安全錯誤:要運行${resourceDescription},你必須以${roleTypeId}角色做工項:${workEffortId}</value>
     </property>
+    <property key="WorkEffortNoteCreatedSuccessfully">
+        <value xml:lang="en">Note is successfully created.</value>
+        <value xml:lang="it">Nota è stato creata con successo.</value>
+    </property>
     <property key="WorkEffortNoteMissing">
         <value xml:lang="de">Notiz fehlt</value>
         <value xml:lang="en">Note is missing</value>

Modified: ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml?rev=1132726&r1=1132725&r2=1132726&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml (original)
+++ ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml Mon Jun  6 19:08:00 2011
@@ -340,14 +340,14 @@ under the License.
             <if-not-empty field="parameters.partyId">
                 <set-service-fields service-name="createPartyContactMech" map="parameters" to-map="context"/>
                 <call-service service-name="createPartyContactMech" in-map-name="context">
-                    <default-message>Party Contact Mechanism successfully created.</default-message>
+                    <default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyCreated"/>
                     <result-to-field result-name="contactMechId" field="newValue.contactMechId"/>
                 </call-service>
                 <log level="info" message="Party ContactMech created"/>
                 <else>
                     <set-service-fields service-name="createContactMech" map="parameters" to-map="context"/>
                     <call-service service-name="createContactMech" in-map-name="context">
-                        <default-message>Contact Mechanism successfully created.</default-message>
+                        <default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyCreated"/>
                         <result-to-field result-name="contactMechId" field="newValue.contactMechId"/>
                     </call-service>
                     <log level="info" message="ContactMech created"/>
@@ -426,7 +426,7 @@ under the License.
             <call-map-processor xml-resource="component://party/script/org/ofbiz/party/contact/PartyContactMechMapProcs.xml"
                 processor-name="postalAddress" in-map-name="parameters" out-map-name="context"/>
             <call-service service-name="createPartyPostalAddress" in-map-name="context">
-                <default-message>Party Contact Mechanism successfully created.</default-message>
+                <default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyCreated"/>
                 <result-to-field result-name="contactMechId" field="newValue.contactMechId"/>
             </call-service>
             <log level="info" message="Party ContactMech created"/>
@@ -434,7 +434,7 @@ under the License.
                 <call-map-processor xml-resource="component://party/script/org/ofbiz/party/contact/ContactMechMapProcs.xml"
                     processor-name="postalAddress" in-map-name="parameters" out-map-name="context"/>
                 <call-service in-map-name="context" service-name="createPostalAddress">
-                    <default-message>Postal Address successfully created</default-message>
+                    <default-message resource="PartyUiLabels" property="PartyPostalAddressSuccessfullyCreated"/>
                     <result-to-field result-name="contactMechId" field="newValue.contactMechId"/>
                 </call-service>
             </else>
@@ -445,7 +445,7 @@ under the License.
         <set from-field="newValue.contactMechId" field="context2.contactMechId"/>
         <log level="info" message="Copied id to context2: ${context2.contactMechId}"/>
         <call-service in-map-name="context2" break-on-error="true" service-name="createWorkEffortContactMech">
-            <default-message>WorkEffort Contact Mechanism successfully created</default-message>
+            <default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyCreated"/>
         </call-service>
         <field-to-request field="newValue.contactMechId" request-name="contactMechId"/>
         <field-to-result field="newValue.contactMechId" result-name="contactMechId"/>
@@ -456,7 +456,7 @@ under the License.
         <call-map-processor xml-resource="component://party/script/org/ofbiz/party/contact/ContactMechMapProcs.xml"
                 processor-name="postalAddress" in-map-name="parameters" out-map-name="context"/>
         <call-service in-map-name="context" service-name="updatePostalAddress">
-            <default-message>Postal Address successfully updated</default-message>
+            <default-message resource="PartyUiLabels" property="PartyPostalAddressSuccessfullyUpdated"/>
             <result-to-field result-name="contactMechId" field="newValue.contactMechId"/>
         </call-service>
         <call-map-processor xml-resource="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkflowMapProcessors.xml"
@@ -465,7 +465,7 @@ under the License.
         <set field="context2.contactMechTypeId" value="POSTAL_ADDRESS"/>
         <log level="info" message="Copied id to context2: ${context2.newContactMechId}"/>
         <call-service in-map-name="context2" service-name="updateWorkEffortContactMech">
-            <default-message>WorkEffort Contact Mechanism successfully updated</default-message>
+            <default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyUpdated"/>
         </call-service>
         <field-to-request field="newValue.contactMechId" request-name="contactMechId"/>
         <field-to-result field="newValue.contactMechId" result-name="contactMechId"/>
@@ -478,7 +478,7 @@ under the License.
             <call-map-processor xml-resource="component://party/script/org/ofbiz/party/contact/PartyContactMechMapProcs.xml"
                 processor-name="telecomNumber" in-map-name="parameters" out-map-name="context"/>
             <call-service service-name="createPartyTelecomNumber" in-map-name="context">
-                <default-message>Party Contact Mechanism successfully created.</default-message>
+                <default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyCreated"/>
                 <result-to-field result-name="contactMechId" field="newValue.contactMechId"/>
             </call-service>
             <log level="info" message="Party ContactMech created"/>
@@ -486,7 +486,7 @@ under the License.
                 <call-map-processor xml-resource="component://party/script/org/ofbiz/party/contact/ContactMechMapProcs.xml"
                     processor-name="telecomNumber" in-map-name="parameters" out-map-name="context"/>
                 <call-service in-map-name="context" service-name="createTelecomNumber">
-                    <default-message>Telecom number successfully created</default-message>
+                    <default-message resource="PartyUiLabels" property="PartyTelecomNumberSuccessfullyCreated"/>
                     <result-to-field result-name="contactMechId" field="newValue.contactMechId"/>
                 </call-service>
             </else>
@@ -496,7 +496,7 @@ under the License.
         <set from-field="newValue.contactMechId" field="context2.contactMechId"/>
         <log level="info" message="Copied id to context2: ${context2.contactMechId}"/>
         <call-service in-map-name="context2" break-on-error="true" service-name="createWorkEffortContactMech">
-            <default-message>WorkEffort Contact Mechanism successfully created</default-message>
+            <default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyCreated"/>
         </call-service>
         <field-to-request field="newValue.contactMechId" request-name="contactMechId"/>
         <field-to-result field="newValue.contactMechId" result-name="contactMechId"/>
@@ -507,7 +507,7 @@ under the License.
         <call-map-processor xml-resource="component://party/script/org/ofbiz/party/contact/ContactMechMapProcs.xml"
                 processor-name="telecomNumber" in-map-name="parameters" out-map-name="context"/>
         <call-service in-map-name="context" service-name="updateTelecomNumber">
-            <default-message>Telecom Number successfully updated</default-message>
+            <default-message resource="PartyUiLabels" property="PartyTelecomNumberSuccessfullyUpdated"/>
             <result-to-field result-name="contactMechId" field="newValue.contactMechId"/>
         </call-service>
 
@@ -517,7 +517,7 @@ under the License.
         <set field="context2.contactMechTypeId" value="TELECOM_NUMBER"/>
         <log level="info" message="Copied id to context2: ${context2.newContactMechId}"/>
         <call-service in-map-name="context2" service-name="updateWorkEffortContactMech">
-            <default-message>Party Contact Mechanism successfully updated</default-message>
+            <default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyUpdated"/>
         </call-service>
         <log level="info" message="Setting result id: ${newValue.contactMechId}"/>
         <field-to-request field="newValue.contactMechId" request-name="contactMechId"/>
@@ -530,7 +530,7 @@ under the License.
         <check-errors/>
         <set field="cwecmMap.contactMechTypeId" value="EMAIL_ADDRESS"/>
         <call-service service-name="createWorkEffortContactMech" in-map-name="cwecmMap">
-            <default-message>WorkEffort Contact Mechanism successfully created.</default-message>
+            <default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyCreated"/>
             <result-to-result result-name="contactMechId"/>
             <result-to-request result-name="contactMechId"/>
         </call-service>
@@ -541,7 +541,7 @@ under the License.
         <check-errors/>
         <set field="uwecmMap.contactMechTypeId" value="EMAIL_ADDRESS"/>
         <call-service service-name="updateWorkEffortContactMech" in-map-name="uwecmMap">
-            <default-message>WorkEffort Contact Mechanism successfully updated.</default-message>
+            <default-message resource="PartyUiLabels" property="PartyTelecomNumberSuccessfullyUpdated"/>
             <result-to-result result-name="contactMechId"/>
             <result-to-request result-name="contactMechId"/>
         </call-service>

Modified: ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkflowSimpleEvents.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkflowSimpleEvents.xml?rev=1132726&r1=1132725&r2=1132726&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkflowSimpleEvents.xml (original)
+++ ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkflowSimpleEvents.xml Mon Jun  6 19:08:00 2011
@@ -25,7 +25,8 @@ under the License.
                 processor-name="assignmentMap" in-map-name="parameters" out-map-name="context"/>
         <check-errors/>
         <call-service service-name="wfAcceptAssignment" in-map-name="context">
-            <default-message>Work Effort successfully created.</default-message></call-service>
+            <default-message resource="WorkEffortUiLabels" property="WorkEffortCreatedSuccessfully"/>
+        </call-service>
     </simple-method>
 
     <simple-method method-name="acceptRoleAssignment" short-description="Accept a ROLE Assignment">
@@ -33,14 +34,15 @@ under the License.
                 processor-name="assignmentMap" in-map-name="parameters" out-map-name="context"/>
         <check-errors/>
         <call-service service-name="wfAcceptRoleAssignment" in-map-name="context">
-            <default-message>Work Effort successfully created.</default-message></call-service>
+            <default-message resource="WorkEffortUiLabels" property="WorkEffortCreatedSuccessfully"/>
+        </call-service>
     </simple-method>
     <simple-method method-name="createWorkEffort" short-description="Creates WorkEffort">
         <call-map-processor xml-resource="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkflowMapProcessors.xml"
                 processor-name="createWorkEffortMap" in-map-name="parameters" out-map-name="context"/>
         <check-errors/>
         <call-service service-name="createWorkEffort" in-map-name="context">
-            <default-message>Work Effort successfully created.</default-message>
+            <default-message resource="WorkEffortUiLabels" property="WorkEffortCreatedSuccessfully"/>
             <result-to-request result-name="workEffortId"/>
         </call-service>
     </simple-method>
@@ -52,7 +54,7 @@ under the License.
                 processor-name="createWorkEffortAssocMap" in-map-name="parameters" out-map-name="context"/>
         <check-errors/>
         <call-service service-name="createWorkEffortAndAssoc" in-map-name="context">
-            <default-message>Work Effort successfully created.</default-message>
+            <default-message resource="WorkEffortUiLabels" property="WorkEffortCreatedSuccessfully"/>
             <result-to-request result-name="workEffortId"/>
         </call-service>
     </simple-method>
@@ -61,7 +63,7 @@ under the License.
                 processor-name="createWorkEffortNoteMap" in-map-name="parameters" out-map-name="context"/>
         <check-errors/>
         <call-service service-name="createWorkEffortNote" in-map-name="context">
-            <default-message>Note is successfully created.</default-message>
+            <default-message resource="WorkEffortUiLabels" property="WorkEffortNoteCreatedSuccessfully"/>
             <result-to-request result-name="noteId"/>
         </call-service>
     </simple-method>

Modified: ofbiz/trunk/specialpurpose/ecommerce/config/EcommerceUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/config/EcommerceUiLabels.xml?rev=1132726&r1=1132725&r2=1132726&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/config/EcommerceUiLabels.xml (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/config/EcommerceUiLabels.xml Mon Jun  6 19:08:00 2011
@@ -244,6 +244,10 @@
         <value xml:lang="zh">调整</value>
         <value xml:lang="zh_TW">調整</value>
     </property>
+    <property key="EcommerceAffiliateCreatedSuccessfully">
+        <value xml:lang="en">Affiliate record successfully created.</value>
+        <value xml:lang="it">Record affiliato creato con successo.</value>
+    </property>
     <property key="EcommerceAlwaysViewCartAfterAddingAnItem">
         <value xml:lang="cs">Vždy se podívat do košíku, pokud byla přidána další položka</value>
         <value xml:lang="da">Check altid indkøbskurven nÃ¥r der er lagt en ny vare i den</value>

Modified: ofbiz/trunk/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/misc/AffiliateSimpleEvents.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/misc/AffiliateSimpleEvents.xml?rev=1132726&r1=1132725&r2=1132726&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/misc/AffiliateSimpleEvents.xml (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/misc/AffiliateSimpleEvents.xml Mon Jun  6 19:08:00 2011
@@ -124,7 +124,7 @@ under the License.
                 processor-name="newAffil" in-map-name="parameters" out-map-name="af_context"/>
         <check-errors/>
         <call-service service-name="createAffiliate" in-map-name="af_context">
-            <default-message>Affiliate record successfully created.</default-message>
+            <default-message resource="EcommerceUiLabels" property="EcommerceAffiliateCreatedSuccessfully"/>
         </call-service>
 
     </simple-method>