svn commit: r481569 - in /incubator/ofbiz/trunk/applications/party: config/ script/org/ofbiz/party/contact/ script/org/ofbiz/party/party/

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

svn commit: r481569 - in /incubator/ofbiz/trunk/applications/party: config/ script/org/ofbiz/party/contact/ script/org/ofbiz/party/party/

jleroux@apache.org
Author: jleroux
Date: Sat Dec  2 07:54:55 2006
New Revision: 481569

URL: http://svn.apache.org/viewvc?view=rev&rev=481569
Log:
A patch from Ismail Cansiz :i18n/i10n and better PartyContactMechServices.xml messages  (https://issues.apache.org/jira/browse/OFBIZ-504) + french labels


Modified:
    incubator/ofbiz/trunk/applications/party/config/PartyUiLabels.properties
    incubator/ofbiz/trunk/applications/party/config/PartyUiLabels_fr.properties
    incubator/ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml
    incubator/ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml
    incubator/ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartySimpleEvents.xml

Modified: incubator/ofbiz/trunk/applications/party/config/PartyUiLabels.properties
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/party/config/PartyUiLabels.properties?view=diff&rev=481569&r1=481568&r2=481569
==============================================================================
--- incubator/ofbiz/trunk/applications/party/config/PartyUiLabels.properties (original)
+++ incubator/ofbiz/trunk/applications/party/config/PartyUiLabels.properties Sat Dec  2 07:54:55 2006
@@ -250,6 +250,8 @@
 PartyEmailAddress=E-Mail Address
 PartyEmailAddressMissing=Email Address is missing
 PartyEmailAddressNotFormattedCorrectly=Email Address is not formatted correctly, must be like [hidden email]
+PartyEmailAddressSuccessfullyCreated=Email Address successfully created.
+PartyEmailAddressSuccessfullyUpdated=Email Address successfully updated.
 PartyEnabled=ENABLED
 PartyEnteredDate=Entered Date
 PartyEnterPasswordTwice=You must enter your password twice
@@ -367,6 +369,8 @@
 PartyPartyCurrentInTheRoleOf=The current party in the role of
 PartyPartyGroupInformation=Party Group Information
 PartyPartyGroupName=Party Group Name
+PartyPartyGroupSuccessfullyCreated=Party Group successfully created.
+PartyPartyGroupSuccessfullyUpdated=Party Group successfully updated.
 PartyParty=Party
 PartyPartyFrom=Party From
 PartyPartyOfTheRoleParty=of the current party in the role of
@@ -374,6 +378,9 @@
 PartyPartyIDUserLoginID=PartyID/UserLoginID
 PartyPartyInTheRoleOf=in the role of
 PartyPartyNotDefined=Party not defined
+PartyPersonSuccessfullyCreated=Person successfully created.
+PartyPersonSuccessfullyUpdated=Person successfully updated.
+PartyPartySuccessfullyDeleted=Party successfully deleted.
 PartyPartyTo=Party To
 PartyPartyWithId=of the Party with ID
 PartyPassportExpire=Passport Expire

Modified: incubator/ofbiz/trunk/applications/party/config/PartyUiLabels_fr.properties
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/party/config/PartyUiLabels_fr.properties?view=diff&rev=481569&r1=481568&r2=481569
==============================================================================
--- incubator/ofbiz/trunk/applications/party/config/PartyUiLabels_fr.properties (original)
+++ incubator/ofbiz/trunk/applications/party/config/PartyUiLabels_fr.properties Sat Dec  2 07:54:55 2006
@@ -127,6 +127,8 @@
 PartyEmailAddress=Adresse E-mail
 PartyEmailAddressMissing=Adresse E-mail manquante
 PartyEmailAddressNotFormattedCorrectly=Format de l'adresse E-mail incorrect, il doit \u00eatre similaire \u00e0 [hidden email]
+PartyEmailAddressSuccessfullyCreated=Adresse courriel créée.
+PartyEmailAddressSuccessfullyUpdated=Adresse courriel mise à jour.
 PartyEnabled=VALIDE
 PartyEnteredDate=Date de saisie
 PartyEnterPasswordTwice=Vous devez entrer votre mot de passe deux fois
@@ -193,11 +195,16 @@
 PartyPartiesFound=Acteurs trouv\u00e9s
 PartyPartyGroupInformation=Information groupe d'acteurs
 PartyPartyGroupName=Nom du groupe d'acteurs
+PartyPartyGroupSuccessfullyCreated=Groupe d'acteurs créé.
+PartyPartyGroupSuccessfullyUpdated=Groupe d'acteurs mis à jour.
 PartyParty=Acteur
 PartyPartyFrom=De l'acteur
 PartyPartyId=R\u00e9f. de l'acteur
 PartyPartyIDUserLoginID=R\u00e9f. de l'acteur et ident. de connexion
 PartyPartyNotDefined=Acteur non d\u00e9fini
+PartyPersonSuccessfullyCreated=Acteur créé.
+PartyPersonSuccessfullyUpdated=Acteur mis à jour.
+PartyPartySuccessfullyDeleted=Acteur supprimé.
 PartyPartyTo=\u00e0 l'acteur
 PartyPassportExpire=Date d'expiration du passeport
 PartyPassportExpireDateNotValidDate=La date d'expiration du passeport n'est pas une date valide

Modified: incubator/ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml?view=diff&rev=481569&r1=481568&r2=481569
==============================================================================
--- incubator/ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml (original)
+++ incubator/ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml Sat Dec  2 07:54:55 2006
@@ -51,7 +51,7 @@
             <set field="context.contactMechTypeId" from-field="parameters.contactMechTypeId"/>
             <set field="context.infoString" from-field="parameters.infoString"/>
             <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" map-name="newValue"/>
             </call-service>                                        
             <field-to-result map-name="newValue" field-name="contactMechId"/>
@@ -85,7 +85,7 @@
             processor-name="contactMech" in-map-name="parameters" out-map-name="context"/>
         <set field="context.contactMechTypeId" value="POSTAL_ADDRESS"/>
         <call-service service-name="createContactMech" in-map-name="context">
-            <default-message>Contact Mechanism successfully created.</default-message>
+            <default-message resource="PartyUiLabels" property="PartyPostalAddressSuccessfullyCreated"/>
             <result-to-field result-name="contactMechId" map-name="newValue"/>
         </call-service>
         <set-nonpk-fields map-name="parameters" value-name="newValue"/>
@@ -122,14 +122,14 @@
         <if-compare-field field-name="oldValue" to-field-name="newValue" operator="not-equals" type="Object">
             <log level="info" message="Postal address need updating"/>
             <call-service service-name="createContactMech" in-map-name="context">
-                <default-message>Contact Mechanism successfully updated.</default-message>
+                <default-message resource="PartyUiLabels" property="PartyPostalAddressSuccessfullyUpdated"/>
                 <result-to-field result-name="contactMechId" map-name="newValue"/>
             </call-service>
             <create-value value-name="newValue"/>
             <else>
                 <set field="context.contactMechId" from-field="parameters.contactMechId"/>
                 <call-service service-name="updateContactMech" in-map-name="context">
-                    <default-message>Contact Mechanism successfully updated.</default-message>
+                    <default-message resource="PartyUiLabels" property="PartyPostalAddressSuccessfullyUpdated"/>
                     <result-to-field result-name="contactMechId" map-name="newValue"/>
                 </call-service>
                 <if-compare-field map-name="oldValue" to-map-name="newValue" field-name="contactMechId" operator="not-equals">
@@ -152,7 +152,7 @@
             processor-name="contactMech" in-map-name="parameters" out-map-name="context"/>
         <set field="context.contactMechTypeId" value="TELECOM_NUMBER"/>
         <call-service service-name="createContactMech" in-map-name="context">
-            <default-message>Contact Mechanism successfully created.</default-message>
+            <default-message resource="PartyUiLabels" property="PartyTelecomNumberSuccessfullyCreated"/>
             <result-to-field result-name="contactMechId" map-name="newValue"/>
         </call-service>
         <set-nonpk-fields map-name="parameters" value-name="newValue"/>
@@ -175,14 +175,14 @@
         <if-compare-field field-name="oldValue" to-field-name="newValue" operator="not-equals" type="Object">
             <log level="info" message="Telecom number needs updating"/>
             <call-service service-name="createContactMech" in-map-name="context">
-                <default-message>Contact Mechanism successfully updated.</default-message>
+                <default-message resource="PartyUiLabels" property="PartyTelecomNumberSuccessfullyUpdated"/>
                 <result-to-field result-name="contactMechId" map-name="newValue"/>
             </call-service>
             <create-value value-name="newValue"/>
             <else>
                 <set field="context.contactMechId" from-field="parameters.contactMechId"/>
                 <call-service service-name="updateContactMech" in-map-name="context">
-                    <default-message>Contact Mechanism successfully updated.</default-message>
+                    <default-message resource="PartyUiLabels" property="PartyTelecomNumberSuccessfullyUpdated"/>
                     <result-to-field result-name="contactMechId" map-name="newValue"/>
                 </call-service>
                 <if-compare-field map-name="oldValue" to-map-name="newValue" field-name="contactMechId" operator="not-equals">
@@ -204,7 +204,7 @@
         <check-errors/>
         <set field="context.contactMechTypeId" value="EMAIL_ADDRESS"/>
         <call-service service-name="createContactMech" in-map-name="context">
-            <default-message>Contact Mechanism successfully created.</default-message>
+            <default-message resource="PartyUiLabels" property="PartyEmailAddressSuccessfullyCreated"/>
             <result-to-result result-name="contactMechId"/>
             <result-to-request result-name="contactMechId"/>
         </call-service>
@@ -215,7 +215,7 @@
         <check-errors/>
         <set field="context.contactMechTypeId" value="EMAIL_ADDRESS"/>
         <call-service service-name="updateContactMech" in-map-name="context">
-            <default-message>Contact Mechanism successfully updated.</default-message>
+            <default-message resource="PartyUiLabels" property="PartyEmailAddressSuccessfullyUpdated"/>
             <result-to-result result-name="contactMechId"/>
             <result-to-request result-name="contactMechId"/>
         </call-service>

Modified: incubator/ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml?view=diff&rev=481569&r1=481568&r2=481569
==============================================================================
--- incubator/ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml (original)
+++ incubator/ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml Sat Dec  2 07:54:55 2006
@@ -166,7 +166,7 @@
         <set-service-fields service-name="createPartyContactMech" map-name="parameters" to-map-name="createPartyContactMechMap"/>
         
         <call-service service-name="createPartyContactMech" in-map-name="createPartyContactMechMap" break-on-error="true">
-            <default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyCreated"/>
+            <default-message resource="PartyUiLabels" property="PartyPostalAddressSuccessfullyCreated"/>
         </call-service>
         <field-to-request field-name="contactMechId" map-name="newPartyContactMech"/>
         <field-to-result field-name="contactMechId" map-name="newPartyContactMech"/>
@@ -195,7 +195,7 @@
         <set field="updatePartyContactMechMap.contactMechTypeId" value="POSTAL_ADDRESS"/>
         <log level="info" message="Copied id to updatePartyContactMechMap: ${updatePartyContactMechMap.newContactMechId}"/>
         <call-service service-name="updatePartyContactMech" in-map-name="updatePartyContactMechMap">
-            <default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyUpdated"/>
+            <default-message resource="PartyUiLabels" property="PartyPostalAddressSuccessfullyUpdated"/>
         </call-service>
         <field-to-request field-name="contactMechId" map-name="newPartyContactMech"/>
         <field-to-result field-name="contactMechId" map-name="newPartyContactMech"/>                      
@@ -224,7 +224,7 @@
         <log level="info" message="Copied id to createPartyContactMechMap: ${createPartyContactMechMap.contactMechId}"/>
 
         <call-service service-name="createPartyContactMech" in-map-name="createPartyContactMechMap" break-on-error="true">
-            <default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyCreated"/>
+            <default-message resource="PartyUiLabels" property="PartyTelecomNumberSuccessfullyCreated"/>
         </call-service>
         <field-to-request field-name="contactMechId" map-name="newPartyContactMech"/>
         <field-to-result field-name="contactMechId" map-name="newPartyContactMech"/>
@@ -254,7 +254,7 @@
         <log level="info" message="Copied id to updatePartyContactMechMap: ${updatePartyContactMechMap.newContactMechId}"/>
 
         <call-service in-map-name="updatePartyContactMechMap" service-name="updatePartyContactMech">
-            <default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyUpdated"/>
+            <default-message resource="PartyUiLabels" property="PartyTelecomNumberSuccessfullyUpdated"/>
         </call-service>
         <log level="info" message="Setting result id: ${newPartyContactMech.contactMechId}"/>
         <field-to-request field-name="contactMechId" map-name="newPartyContactMech"/>
@@ -280,7 +280,7 @@
         <set field="createPartyContactMechMap.infoString" from-field="parameters.emailAddress"/>
         <set field="createPartyContactMechMap.contactMechTypeId" value="EMAIL_ADDRESS"/>
         <call-service service-name="createPartyContactMech" in-map-name="createPartyContactMechMap">
-            <default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyCreated"/>
+            <default-message resource="PartyUiLabels" property="PartyEmailAddressSuccessfullyCreated"/>
             <result-to-result result-name="contactMechId"/>
             <result-to-request result-name="contactMechId"/>
         </call-service>
@@ -305,7 +305,7 @@
         <set field="updatePartyContactMechMap.infoString" from-field="parameters.emailAddress"/>
         <set field="updatePartyContactMechMap.contactMechTypeId" value="EMAIL_ADDRESS"/>
         <call-service service-name="updatePartyContactMech" in-map-name="updatePartyContactMechMap">
-            <default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyUpdated"/>            
+            <default-message resource="PartyUiLabels" property="PartyEmailAddressSuccessfullyUpdated"/>
             <result-to-result result-name="contactMechId"/>
             <result-to-request result-name="contactMechId"/>
         </call-service>

Modified: incubator/ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartySimpleEvents.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartySimpleEvents.xml?view=diff&rev=481569&r1=481568&r2=481569
==============================================================================
--- incubator/ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartySimpleEvents.xml (original)
+++ incubator/ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartySimpleEvents.xml Sat Dec  2 07:54:55 2006
@@ -27,7 +27,7 @@
         </call-map-processor>
         <check-errors/>
         <call-service service-name="deleteParty" in-map-name="context">
-            <default-message>Party successfully deleted.</default-message>
+            <default-message resource="PartyUiLabels" property="PartyPartySuccessfullyDeleted"/>
         </call-service>
     </simple-method>
 
@@ -37,7 +37,7 @@
                 processor-name="person" in-map-name="parameters" out-map-name="context"/>
         <check-errors/>
         <call-service service-name="createPerson" in-map-name="context">
-            <default-message>Person successfully created.</default-message>
+            <default-message resource="PartyUiLabels" property="PartyPersonSuccessfullyCreated"/>
             <result-to-request result-name="partyId"/>
         </call-service>
     </simple-method>
@@ -47,7 +47,7 @@
                 processor-name="person" in-map-name="parameters" out-map-name="context"/>
         <check-errors/>
         <call-service service-name="updatePerson" in-map-name="context">
-            <default-message>Person successfully updated.</default-message>
+            <default-message resource="PartyUiLabels" property="PartyPersonSuccessfullyUpdated"/>
         </call-service>
     </simple-method>
 
@@ -57,7 +57,7 @@
                 processor-name="partyGroup" in-map-name="parameters" out-map-name="context"/>
         <check-errors/>
         <call-service service-name="createPartyGroup" in-map-name="context">
-            <default-message>Party Group successfully created.</default-message>
+            <default-message resource="PartyUiLabels" property="PartyPartyGroupSuccessfullyCreated"/>
             <result-to-request result-name="partyId"/>
         </call-service>
     </simple-method>
@@ -67,7 +67,7 @@
                 processor-name="partyGroup" in-map-name="parameters" out-map-name="context"/>
         <check-errors/>
         <call-service service-name="updatePartyGroup" in-map-name="context">
-            <default-message>Party Group successfully updated.</default-message>
+            <default-message resource="PartyUiLabels" property="PartyPartyGroupSuccessfullyUpdated"/>
         </call-service>
     </simple-method>
 </simple-methods>