svn commit: r440990 - in /incubator/ofbiz/trunk/applications: ecommerce/config/ order/script/org/ofbiz/order/customer/ workeffort/config/ workeffort/script/org/ofbiz/workeffort/workeffort/

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

svn commit: r440990 - in /incubator/ofbiz/trunk/applications: ecommerce/config/ order/script/org/ofbiz/order/customer/ workeffort/config/ workeffort/script/org/ofbiz/workeffort/workeffort/

jleroux@apache.org
Author: jleroux
Date: Wed Sep  6 23:17:30 2006
New Revision: 440990

URL: http://svn.apache.org/viewvc?view=rev&rev=440990
Log:
CustomerEvents.xml & WorkflowMapProcessor.xml was not localized (like a lot of others where messages are only in English).
Marco Risaliti proposed this path in https://issues.apache.org/jira/browse/OFBIZ-205.

Modified:
    incubator/ofbiz/trunk/applications/ecommerce/config/EcommerceUiLabels.properties
    incubator/ofbiz/trunk/applications/ecommerce/config/EcommerceUiLabels_it.properties
    incubator/ofbiz/trunk/applications/order/script/org/ofbiz/order/customer/CustomerEvents.xml
    incubator/ofbiz/trunk/applications/workeffort/config/WorkEffortUiLabels.properties
    incubator/ofbiz/trunk/applications/workeffort/config/WorkEffortUiLabels_it.properties
    incubator/ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkflowMapProcessors.xml

Modified: incubator/ofbiz/trunk/applications/ecommerce/config/EcommerceUiLabels.properties
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/ecommerce/config/EcommerceUiLabels.properties?view=diff&rev=440990&r1=440989&r2=440990
==============================================================================
--- incubator/ofbiz/trunk/applications/ecommerce/config/EcommerceUiLabels.properties (original)
+++ incubator/ofbiz/trunk/applications/ecommerce/config/EcommerceUiLabels.properties Wed Sep  6 23:17:30 2006
@@ -564,6 +564,8 @@
 PartyHeight=Height
 PartyHideOld=Hide Old
 PartyHomePhone=Home phone
+PartyHomePhoneAreaCodeMissing=Home Phone Area Code is missing.
+PartyHomePhoneContactNumberMissing=Home Phone Contact Number is missing.
 PartyInformationNotBelongToYou=This information does not belong to you and you do not have permission to view it
 PartyLastName=Last name
 PartyLastNameMissingError=Lastname is Missing
@@ -582,6 +584,7 @@
 PartyNoBillingAddress=No Billing Address Selected
 PartyNoContactInformation=No contact information on file
 PartyNoPartyForCurrentUserName=No party found for current user with user name
+PartyNoPartyForUpdateCustomer=No partyId passed, cannot Update Customer
 PartyNoState=No State/Province
 PartyOldPassword=Current (Old) Password
 PartyPassportExpireDate=Passport Expire Date
@@ -648,7 +651,6 @@
 ProductLastSearch=Last Search
 ProductListPrice=List Price
 ProductNewArticle=New Article
-ProductNewSearch=New Search
 ProductNoLongerAvailable=No Longer Available
 ProductNoProductsInThisCategory=There are no products in this category
 ProductNoResultsFound=No results found
@@ -666,7 +668,6 @@
 ProductPromoCodes=Promotion/Coupon Codes
 ProductPromoCodesEntered=Entered Codes:
 ProductQuickReorder=Quick Reorder
-ProductRefineSearch=Refine Search
 ProductRegularPrice=Regular Price
 ProductReviewThisProduct=Review This Product!
 ProductSearchCatalog=Search Catalog

Modified: incubator/ofbiz/trunk/applications/ecommerce/config/EcommerceUiLabels_it.properties
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/ecommerce/config/EcommerceUiLabels_it.properties?view=diff&rev=440990&r1=440989&r2=440990
==============================================================================
--- incubator/ofbiz/trunk/applications/ecommerce/config/EcommerceUiLabels_it.properties (original)
+++ incubator/ofbiz/trunk/applications/ecommerce/config/EcommerceUiLabels_it.properties Wed Sep  6 23:17:30 2006
@@ -158,7 +158,7 @@
 EcommerceGiftWrapAllItems=Omaggio Ingloba Tutte le Righe
 EcommerceGoToList=Vai Alla Lista
 EcommerceGold=Oro
-EcommerceHighToLow=Da Alto A Basso
+EcommerceHighToLow=Dall'Alto al Basso
 EcommerceImage=Immagine
 EcommerceImageCenteredAbove=Immagine centrata sotto
 EcommerceImageCenteredAboveFile=Immagine centrata sotto il file
@@ -195,7 +195,7 @@
 EcommerceLookupWhitepages=lookup:whitepages.com
 EcommerceLookupWhitepagesLink=http://www.whitepages.com/find_person_results.pl?fid=a&s_n=${addressNum}&s_a=${addressOther}&c=${postalAddress.city?if_exists}&s=${postalAddress.stateProvinceGeoId?if_exists}&x=29&y=18
 EcommerceLosePassword=Se hai perso la password, tu puoi richiederne una nuova ogni volta.
-EcommerceLowToHigh=Da Basso Ad Alto
+EcommerceLowToHigh=Dal Basso all'Alto
 EcommerceLoyaltyPoints=Punti Fedelt\u00e0
 EcommerceMakeBooking=Fai una prenotazione
 EcommerceMessage1=Spiacente, sembra che il prodotto specificato
@@ -524,7 +524,7 @@
 PartyBillingAddress=Indirizzo Fatturazione
 PartyBillingAddressNotSelected=Indirizzo Fatturazione Non Ancora Selezionato
 PartyBirthDate=Date Nascita
-PartyBirthDateMissingError=Data Nascita non \u00e8 formattato correttamente: dovrebbe essere yyyy-mm-dd, come 1982-07-21
+PartyBirthDateMissingError=Data Nascita non \u00e8 formattata correttamente: dovrebbe essere yyyy-mm-dd, come 1982-07-21
 PartyBusinessPhone=Telefono di Lavoro
 PartyChangePassword=Cambio Password
 PartyCity=Citt\u00e0
@@ -563,6 +563,8 @@
 PartyHeight=Altezza
 PartyHideOld=Nascondi Vecchio
 PartyHomePhone=Telefono di Casa
+PartyHomePhoneAreaCodeMissing=Codice Area Telefono di Casa \u00e8 mancante.
+PartyHomePhoneContactNumberMissing=Numero Telefono di Casa Contatto \u00e8 mancante.
 PartyInformationNotBelongToYou=Questa informazione non corrisponde a te e non hai il permesso di aggiornarlo
 PartyLastName=Cognome
 PartyLastNameMissingError=Cognome \u00e8 Mancante
@@ -581,6 +583,7 @@
 PartyNoBillingAddress=Nessun Indirizzo Fatturazione Selezionato
 PartyNoContactInformation=Nessuna informazione contatto sul file
 PartyNoPartyForCurrentUserName=Nessun Soggetto trovato per l'utente attuale con il nome dell'utente
+PartyNoPartyForUpdateCustomer=Nessun soggetto passato, non \u00e8 possibile Aggiornare il Cliente
 PartyNoState=Nessun Stato/Provincia
 PartyOldPassword=Password Attuale (Vecchia)
 PartyPassportExpireDate=Data Scadenza Passaporto
@@ -647,7 +650,6 @@
 ProductLastSearch=Ultima Ricerca
 ProductListPrice=Prezzo di Listino
 ProductNewArticle=Nuovo Articolo
-ProductNewSearch=Nuova Ricerca
 ProductNoLongerAvailable=Non Pi\u00f9 Disponibile
 ProductNoProductsInThisCategory=Non ci sono prodotti in questa categoria
 ProductNoResultsFound=Nessun risultato trovato
@@ -665,13 +667,12 @@
 ProductPromoCodes=Promozione/Codici Buoni
 ProductPromoCodesEntered=Inserisci Codici:
 ProductQuickReorder=Riordino Veloce
-ProductRefineSearch=Raffina Ricerca
 ProductRegularPrice=Prezzo Abituale
 ProductReviewThisProduct=Recensire Questo Prodotto!
 ProductSearchCatalog=Ricerca Catalogo
 ProductSearchinCategory=Ricerca in Categoria
-ProductSortOrder=Ordinamento Ordine
-ProductSortedBy=Ordinamento per
+ProductSortOrder=Tipo Ordinamento
+ProductSortedBy=Ordinato Per
 ProductUsuallyShipsIn=Normalmente spedito in
 ProductYouSearchedFor=Ricerca di
 RequestHistory=Storia Richieste

Modified: incubator/ofbiz/trunk/applications/order/script/org/ofbiz/order/customer/CustomerEvents.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/order/script/org/ofbiz/order/customer/CustomerEvents.xml?view=diff&rev=440990&r1=440989&r2=440990
==============================================================================
--- incubator/ofbiz/trunk/applications/order/script/org/ofbiz/order/customer/CustomerEvents.xml (original)
+++ incubator/ofbiz/trunk/applications/order/script/org/ofbiz/order/customer/CustomerEvents.xml Wed Sep  6 23:17:30 2006
@@ -87,12 +87,16 @@
             </call-map-processor>
             <if-compare value="USA" operator="equals" field-name="countryGeoId" map-name="parameters">
                 <if-empty field-name="stateProvinceGeoId" map-name="parameters">
-                    <string-to-list string="State is missing, and is required for an address in the United States." message-field-name="CUSTOMER_STATE" list-name="error_list"/>
+                    <add-error>
+                        <fail-property resource="PartyUiLabels" property="PartyStateInUsMissing"/>
+                    </add-error>  
                 </if-empty>
             </if-compare>
             <if-compare value="CAN" operator="equals" field-name="countryGeoId" map-name="parameters">
                 <if-empty field-name="stateProvinceGeoId" map-name="parameters">
-                    <string-to-list string="State is missing, and is required for an address in the Canada." message-field-name="CUSTOMER_STATE" list-name="error_list"/>
+                    <add-error>
+                        <fail-property resource="PartyUiLabels" property="PartyProveinceInCanadaMissing"/>
+                    </add-error>
                 </if-empty>
             </if-compare>
         </if-compare>
@@ -103,11 +107,11 @@
                 <process field="homeCountryCode"><copy to-field="countryCode"/></process>
                 <process field="homeAreaCode">
                     <copy to-field="areaCode"/>
-                    <not-empty><fail-message message="Home Phone Area Code is missing."/></not-empty>
+                    <not-empty><fail-property resource="EcommerceUiLabels" property="PartyHomePhoneAreaCodeMissing"/></not-empty>
                 </process>
                 <process field="homeContactNumber">
                     <copy to-field="contactNumber"/>
-                    <not-empty><fail-message message="Home Phone Contact Number is missing."/></not-empty>
+                    <not-empty><fail-property resource="EcommerceUiLabels" property="PartyHomePhoneContactNumberMissing"/></not-empty>
                 </process>
                 <process field="homeExt"><copy to-field="extension"/></process>
                 <process field="homeSol"><copy to-field="allowSolicitation"/></process>
@@ -255,7 +259,7 @@
     </simple-method>
     
     <simple-method method-name="updateCustomer" short-description="Update Customer" login-required="true">
-        <if-empty field-name="parameters.partyId"><add-error><fail-message message="No partyId passed, cannot Update Customer"/></add-error></if-empty>
+        <if-empty field-name="parameters.partyId"><add-error><fail-property resource="EcommerceUiLabels" property="PartyNoPartyForUpdateCustomer"/></add-error></if-empty>
         
         <call-simple-method method-name="validateCustomerInfo"/>
         

Modified: incubator/ofbiz/trunk/applications/workeffort/config/WorkEffortUiLabels.properties
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/workeffort/config/WorkEffortUiLabels.properties?view=diff&rev=440990&r1=440989&r2=440990
==============================================================================
--- incubator/ofbiz/trunk/applications/workeffort/config/WorkEffortUiLabels.properties (original)
+++ incubator/ofbiz/trunk/applications/workeffort/config/WorkEffortUiLabels.properties Wed Sep  6 23:17:30 2006
@@ -107,6 +107,7 @@
 PartyEmailAddress=Email Address
 PartyErrorContactInformation=The contact information specified does not belong to you, you may not view or edit it.
 PartyGroupPartyId=Group Party ID
+PartyIdMissing=Party ID is missing.
 PartyName=Name
 PartyNoContactInformationParty=No contact information was found for the party with ID ${partyId}
 PartyNoteNewContactInformation=Note: this new contact information will have the purpose
@@ -118,6 +119,7 @@
 PartyPurposeTypeNotFound=Purpose Type not found with ID
 PartyRoleId=Role ID
 PartyRoleTypeId=RoleType ID
+PartyRoleTypeIdMissing=Role Type ID is missing.
 PartySendEmail=Send Email
 PartyStateProvince=State/Province
 PartyToName=To Name
@@ -178,6 +180,8 @@
 WorkEffortCreate=Create Work Effort
 WorkEffortRequestItems=Request Items
 WorkEffortDayView=Day View
+WorkEffortEmailAddressIsMissing=Email Address is missing
+WorkEffortEmailAddressNotFormatted=Email Address is not formatted correctly, must be like [hidden email]
 WorkEffortErrorNotFindActivityId=ERROR\: Could not find activity with ID
 WorkEffortErrorNotFindEventId=Error\: Could not find Event with ID
 WorkEffortErrorNotFindTaskId=ERROR\: Could not find task with ID
@@ -193,7 +197,9 @@
 WorkEffortExpectation=Expectation
 WorkEffortFailedCalendarEntries=Failed to get calendar entries
 WorkEffortForRequirement=For Requirement
+WorkEffortFromDateIsNotValid=From Date is not a valid Date-Time.
 WorkEffortGeneral=General
+WorkEffortIdMissing=Work Effort ID is missing.
 WorkEffortInterestingSure=For something interesting make sure, you are logged in try : Username;Admin;Password Ofbiz
 WorkEffortGeneral=General
 WorkEffortInformation=Information
@@ -211,6 +217,7 @@
 WorkEffortMyStatus=My Status
 WorkEffortMyTimesheets=My Timesheets
 WorkEffortName=Name
+WorkEffortNameIsMissing=Work Effort Name is missing.
 WorkEffortNewEvent=New Event
 WorkEffortNewNote=New Note
 WorkEffortNewPhase=New Phase
@@ -284,6 +291,7 @@
 WorkEffortShowAllNotes=Show All Notes
 WorkEffortShowThisItemsNotes=Show This Item's Notes
 WorkEffortStatus=Status
+WorkEffortStatusIdMissing=Current Status ID is missing.
 WorkEffortSummary=Summary
 WorkEffortTask=Task
 WorkEffortTasks=Tasks

Modified: incubator/ofbiz/trunk/applications/workeffort/config/WorkEffortUiLabels_it.properties
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/workeffort/config/WorkEffortUiLabels_it.properties?view=diff&rev=440990&r1=440989&r2=440990
==============================================================================
--- incubator/ofbiz/trunk/applications/workeffort/config/WorkEffortUiLabels_it.properties (original)
+++ incubator/ofbiz/trunk/applications/workeffort/config/WorkEffortUiLabels_it.properties Wed Sep  6 23:17:30 2006
@@ -107,6 +107,7 @@
 PartyEmailAddress=Indirizzo Email
 PartyErrorContactInformation=L'informazione contatto specificata non corrisponde a te, tu non puoi vederla o modificarla.
 PartyGroupPartyId=Codice Gruppo Soggetto
+PartyIdMissing=Soggetto \u00e8 mancante.
 PartyName=Nome
 PartyNoContactInformationParty=Nessuna informazione contatto \u00e8 stata trovata per il Soggetto con Codice ${partyId}
 PartyNoteNewContactInformation=Nota: questo nuova informazione contatto che avr\u00e0 la funzione
@@ -118,6 +119,7 @@
 PartyPurposeTypeNotFound=Tipo Funzione non trovato con Codice
 PartyRoleId=Codice Ruolo
 PartyRoleTypeId=Tipo Ruolo
+PartyRoleTypeIdMissing=Tipo Ruolo \u00e8 mancante.
 PartySendEmail=Invia Email
 PartyStateProvince=Stato/Provincia
 PartyToName=Al Nome
@@ -176,6 +178,8 @@
 WorkEffortCreate=Creato Impegno di Lavoro
 WorkEffortRequestItems=Righe Richiesta
 WorkEffortDayView=Mostra Giorno
+WorkEffortEmailAddressIsMissing=Indirizzo Email \u00e8 mancante
+WorkEffortEmailAddressNotFormatted=Indirizzo Email non \u00e8 formattato correttamente, deve essere simile a [hidden email]
 WorkEffortErrorNotFindActivityId=ERRORE\: Non \u00e8 possibile trovare attivit\u00e0 con Codice
 WorkEffortErrorNotFindEventId=Errore\: Non \u00e8 possibile trovare Evento con Codice
 WorkEffortErrorNotFindTaskId=ERRORE\: Non \u00e8 possibile trovare compito con Codice
@@ -191,7 +195,9 @@
 WorkEffortExpectation=Aspettativa
 WorkEffortFailedCalendarEntries=Fallita la lettura delle voci calendario
 WorkEffortForRequirement=Per Fabbisogno
+WorkEffortFromDateIsNotValid=Dalla Data non \u00e8 una data valida.
 WorkEffortGeneral=Generale
+WorkEffortIdMissing=Impegno di Lavoro \u00e8 mancante.
 WorkEffortInterestingSure=Per qualsiasi interese, tu sei autenticato e prova : Nome Utente;Admin;Password Ofbiz
 WorkEffortInformation=Informazione
 WorkEffortItem=Riga
@@ -208,6 +214,7 @@
 WorkEffortMyStatus=Mio Stato
 WorkEffortMyTimesheets=Mie Timbrature
 WorkEffortName=Nome
+WorkEffortNameIsMissing=Nome Impegno di Lavoro \u00e8 mancante.
 WorkEffortNewEvent=Nuovo Evento
 WorkEffortNewNote=Nuova Nota
 WorkEffortNewPhase=Nuova Fase
@@ -279,6 +286,7 @@
 WorkEffortShowAllNotes=Mostra Tutte Note
 WorkEffortShowThisItemsNotes=Mostra Questa Riga Nota
 WorkEffortStatus=Stato
+WorkEffortStatusIdMissing=Stato Attuale \u00e8 mancante.
 WorkEffortSummary=Sommario
 WorkEffortTask=Compito
 WorkEffortTasks=Compiti

Modified: incubator/ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkflowMapProcessors.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkflowMapProcessors.xml?view=diff&rev=440990&r1=440989&r2=440990
==============================================================================
--- incubator/ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkflowMapProcessors.xml (original)
+++ incubator/ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkflowMapProcessors.xml Wed Sep  6 23:17:30 2006
@@ -19,22 +19,22 @@
 <simple-map-processors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/simple-methods.xsd">
   <simple-map-processor name="assignmentMap">
-    <process field="workEffortId"><copy/><not-empty><fail-message message="Work Effort ID is missing."/></not-empty></process>
-    <process field="partyId"><copy/><not-empty><fail-message message="Party ID is missing."/></not-empty></process>
-    <process field="roleTypeId"><copy/><not-empty><fail-message message="Role Type ID is missing."/></not-empty></process>
+    <process field="workEffortId"><copy/><not-empty><fail-property resource="WorkEffortUiLabels" property="WorkEffortIdMissing"/></not-empty></process>
+    <process field="partyId"><copy/><not-empty><fail-property resource="WorkEffortUiLabels" property="PartyIdMissing"/></not-empty></process>
+    <process field="roleTypeId"><copy/><not-empty><fail-property resource="WorkEffortUiLabels" property="PartyRoleTypeIdMissing"/></not-empty></process>
     <process field="fromDate">
-        <convert type="Timestamp"><fail-message message="From Date is not a valid Date-Time."/></convert></process>
+        <convert type="Timestamp"><fail-property resource="WorkEffortUiLabels" property="WorkEffortFromDateIsNotValid"/></convert></process>
   </simple-map-processor>
   <simple-map-processor name="createWorkEffortMap">
-    <process field="workEffortTypeId"><copy/><not-empty><fail-message message="Work Effort ID is missing."/></not-empty></process>
+    <process field="workEffortTypeId"><copy/><not-empty><fail-property resource="WorkEffortUiLabels" property="WorkEffortIdMissing"/></not-empty></process>
     <process field="workEffortPurposeTypeId"><copy/></process>
     <process field="workEffortParentId"><copy/></process>
-    <process field="currentStatusId"><copy/><not-empty><fail-message message="Current Status ID is missing."/></not-empty></process>
+    <process field="currentStatusId"><copy/><not-empty><fail-property resource="WorkEffortUiLabels" property="WorkEffortStatusIdMissing"/></not-empty></process>
     <process field="universalId"><copy/></process>
     <process field="scopeEnumId"><copy/></process>
     <process field="priority"><copy/></process>
     <process field="percentComplete"><copy/></process>
-    <process field="workEffortName"><copy/><not-empty><fail-message message="Work Effort Name is missing."/></not-empty></process>
+    <process field="workEffortName"><copy/><not-empty><fail-property resource="WorkEffortUiLabels" property="WorkEffortNameIsMissing"/></not-empty></process>
     <process field="description"><copy/></process>
     <process field="locationDesc"><copy/></process>
     <process field="fixedAssetId"><copy/></process>
@@ -63,7 +63,7 @@
     <process field="quickAssignPartyId"><copy/></process>
   </simple-map-processor>
   <simple-map-processor name="workEffortContactMech">
-    <process field="workEffortId"><copy/><not-empty><fail-message message="WorkEffort Id is missing."/></not-empty></process>
+    <process field="workEffortId"><copy/><not-empty><fail-property resource="WorkEffortUiLabels" property="WorkEffortIdMissing"/></not-empty></process>
     <process field="contactMechId"><copy/></process>
     <process field="comments"><copy/></process>
   </simple-map-processor>
@@ -72,7 +72,7 @@
     <process field="workEffortId"><copy/></process>
     <process field="emailAddress">
         <copy to-field="infoString"/>
-        <not-empty><fail-message message="Email Address is missing"/></not-empty>
-        <validate-method method="isEmail"><fail-message message="Email Address is not formatted correctly, must be like [hidden email]"/></validate-method></process>
+        <not-empty><fail-property resource="WorkEffortUiLabels" property="WorkEffortEmailAddressIsMissing"/></not-empty>
+        <validate-method method="isEmail"><fail-property resource="WorkEffortUiLabels" property="WorkEffortEmailAddressNotFormatted"/></validate-method></process>
   </simple-map-processor>  
 </simple-map-processors>