Author: erwan
Date: Tue Feb 23 07:17:49 2010 New Revision: 915217 URL: http://svn.apache.org/viewvc?rev=915217&view=rev Log: Support of UiLabels in PaymentMapProcs.xml OFBIZ-3472 (https://issues.apache.org/jira/browse/OFBIZ-3472) Modified: ofbiz/trunk/applications/accounting/config/AccountingUiLabels.xml ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentMapProcs.xml Modified: ofbiz/trunk/applications/accounting/config/AccountingUiLabels.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/config/AccountingUiLabels.xml?rev=915217&r1=915216&r2=915217&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/config/AccountingUiLabels.xml (original) +++ ofbiz/trunk/applications/accounting/config/AccountingUiLabels.xml Tue Feb 23 07:17:49 2010 @@ -100,6 +100,10 @@ <value xml:lang="th">à¹à¸¥à¸à¸à¸µà¹à¸à¸±à¸à¸à¸µ</value> <value xml:lang="zh">è´¦æ·å·ç </value> </property> + <property key="AccountingAccountNumberMissing"> + <value xml:lang="de">Kontonummer fehlt</value> + <value xml:lang="en">Account Number is missing</value> + </property> <property key="AccountingAccountTransactionId"> <value xml:lang="en">Account Transaction Id</value> <value xml:lang="hi_IN">लà¥à¤à¤¾ à¤à¤¤à¤¿à¤µà¤¿à¤§à¤¿ à¤à¥à¤°à¤®à¤¾à¤à¤</value> @@ -121,6 +125,10 @@ <value xml:lang="th">à¸à¸£à¸°à¹à¸ à¸à¸à¸±à¸à¸à¸µ</value> <value xml:lang="zh">è´¦æ·ç±»å</value> </property> + <property key="AccountingAccountTypeMissing"> + <value xml:lang="de">Kontotyp fehlt</value> + <value xml:lang="en">Account Type is missing</value> + </property> <property key="AccountingAccounting"> <value xml:lang="en">Accounting</value> <value xml:lang="de">Buchhaltung</value> @@ -1284,6 +1292,10 @@ <value xml:lang="th">à¸à¸·à¹à¸à¸à¸à¸²à¸à¸²à¸£</value> <value xml:lang="zh">é¶è¡å称</value> </property> + <property key="AccountingBankNameMissing"> + <value xml:lang="de">Bankname fehlt</value> + <value xml:lang="en">Bank Name is missing</value> + </property> <property key="AccountingBankReconciliation"> <value xml:lang="en">Bank Reconciliation</value> <value xml:lang="hi_IN">बà¥à¤¨à¥à¤ पà¥à¤¨à¤°à¥à¤®à¤¿à¤²à¤¾à¤¨</value> @@ -1784,6 +1796,10 @@ <value xml:lang="th">หมายà¹à¸¥à¸à¸à¸±à¸à¸£</value> <value xml:lang="zh">å¡å·</value> </property> + <property key="AccountingCardNumberMissing"> + <value xml:lang="de">Kartennummer fehlt</value> + <value xml:lang="en">Card Number is missing</value> + </property> <property key="AccountingCardSecurityCode"> <value xml:lang="cs">BezpeÄnostnà kód karty</value> <value xml:lang="de">Sicherheitscode der Karte</value> @@ -1817,6 +1833,10 @@ <value xml:lang="th">à¸à¸£à¸°à¹à¸ à¸à¸à¸±à¸à¸£</value> <value xml:lang="zh">å¡ç±»å</value> </property> + <property key="AccountingCardTypeMissing"> + <value xml:lang="de">Kartentyp fehlt</value> + <value xml:lang="en">Card Type is missing</value> + </property> <property key="AccountingCashBalance"> <value xml:lang="en">Cash Balance</value> <value xml:lang="fr">Solde de trésorerie</value> @@ -2484,6 +2504,10 @@ <value xml:lang="th">à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸±à¸à¸£à¹à¸à¸£à¸à¸´à¸</value> <value xml:lang="zh">ä¿¡ç¨å¡ä¿¡æ¯</value> </property> + <property key="AccountingCreditCardPaymentMethodIdMissing"> + <value xml:lang="de">Kreditkarten-Zahlungsmethoden-Nummer fehlt</value> + <value xml:lang="en">Credit Card Payment Method ID is missing</value> + </property> <property key="AccountingCreditCardManualAuthFailedError"> <value xml:lang="de">Kreditkarte wurde nicht erstellt. Kreditkarte nicht überprüft, Authentifizierung fehlgeschlagen.</value> <value xml:lang="en">Not creating credit card. Credit card not verified, authentication failed.</value> @@ -2850,6 +2874,10 @@ <value xml:lang="th">à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸±à¸à¸à¸µà¸à¸à¸²à¸à¸²à¸£</value> <value xml:lang="zh">çµåèµé转账账æ·ä¿¡æ¯</value> </property> + <property key="AccountingEFTAccountPaymentMethodIdMissing"> + <value xml:lang="de">Lastschrift-Zahlungsmethoden-Nummer fehlt</value> + <value xml:lang="en">EFT Account Payment Method ID is missing</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> @@ -3266,6 +3294,18 @@ <value xml:lang="th">วัà¸à¸«à¸¡à¸à¸à¸²à¸¢à¸¸</value> <value xml:lang="zh">æææ</value> </property> + <property key="AccountingExpirationDateIsBeforeToday"> + <value xml:lang="de">Ablaufdatum liegt in der Vergangenheit</value> + <value xml:lang="en">The expiration date is before today</value> + </property> + <property key="AccountingExpirationMonthMissing"> + <value xml:lang="de">Ablaufmonat fehlt</value> + <value xml:lang="en">Expiration Month is missing</value> + </property> + <property key="AccountingExpirationYearMissing"> + <value xml:lang="de">Ablaufjahr fehlt</value> + <value xml:lang="en">Expiration Year is missing</value> + </property> <property key="AccountingExportAsCsv"> <value xml:lang="en">Export as CSV</value> <value xml:lang="hi_IN">सà¥à¤à¤¸à¤µà¥ à¤à¥ रà¥à¤ª मà¥à¤ à¤à¤°à¥ निरà¥à¤¯à¤¾à¤¤</value> @@ -3478,6 +3518,10 @@ <value xml:lang="th">à¸à¸·à¹à¸ (à¸à¸±à¸à¸£)</value> <value xml:lang="zh">å¡ä¸å§åç第ä¸ç»åæ¯</value> </property> + <property key="AccountingFirstNameOnCardMissing"> + <value xml:lang="de">Vorname des Karteninhabers fehlt</value> + <value xml:lang="en">First Name on Card is missing</value> + </property> <property key="AccountingFiscalMonth01"> <value xml:lang="ar">01-ÙÙاÙر</value> <value xml:lang="de">01-Jan</value> @@ -5511,6 +5555,10 @@ <value xml:lang="th">à¸à¸²à¸¡à¸ªà¸à¸¸à¸¥ (à¸à¸±à¸à¸£)</value> <value xml:lang="zh">å¡ä¸å§åçæåä¸ç»åæ¯</value> </property> + <property key="AccountingLastNameOnCardMissing"> + <value xml:lang="de">Nachname des Karteninhabers fehlt</value> + <value xml:lang="en">Last Name on Card is missing</value> + </property> <property key="AccountingLeaveEmptyForMaximumAmount"> <value xml:lang="ar">أتر٠Ùارغا ٠٠أج٠أÙص٠ÙÙÙ Ø©</value> <value xml:lang="de">Für maximalen Betrag leer lassen</value> @@ -5859,6 +5907,10 @@ <value xml:lang="th">à¸à¸·à¹à¸à¸à¸à¸à¸±à¸à¸à¸µ</value> <value xml:lang="zh">è´¦æ·å称</value> </property> + <property key="AccountingNameOnAccountMissing"> + <value xml:lang="de">Name des Kontoinhabers fehlt</value> + <value xml:lang="en">Name on Account is missing</value> + </property> <property key="AccountingNameOnCard"> <value xml:lang="cs">Majitel karty</value> <value xml:lang="de">Name der Karte</value> @@ -7452,6 +7504,10 @@ <value xml:lang="th">รหัสวิà¸à¸µà¸à¸²à¸£à¸à¸³à¸£à¸°à¹à¸à¸´à¸............???</value> <value xml:lang="zh">ä¼è®¡æ¯ä»æ¹æ³æ è¯........</value> </property> + <property key="AccountingPaymentMethodIdMissing"> + <value xml:lang="de">Zahlungsmethode fehlt</value> + <value xml:lang="en">Payment Method ID is missing</value> + </property> <property key="AccountingPaymentMethodIdPaymentMethodTypeIdNullError"> <value xml:lang="de">Für 'paymentMethodId' und 'paymentMethodTypeId' wurden keine Werte übergeben. Es wird mindestens 'paymentMethodId' benötigt.</value> <value xml:lang="en">No values are passed for paymentMethodId or paymentMethodTypeId. At least pass paymentMethodId.</value> @@ -8408,6 +8464,10 @@ <value xml:lang="th">หมายà¹à¸¥à¸ Routing</value> <value xml:lang="zh">è·¯ç±å·ç </value> </property> + <property key="AccountingRoutingNumberMissing"> + <value xml:lang="de">Bankleitzahl fehlt</value> + <value xml:lang="en">Routing Number is missing</value> + </property> <property key="AccountingRunningTotal"> <value xml:lang="de">Laufender Kontostand</value> <value xml:lang="en">Running Total</value> Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentMapProcs.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentMapProcs.xml?rev=915217&r1=915216&r2=915217&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentMapProcs.xml (original) +++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentMapProcs.xml Tue Feb 23 07:17:49 2010 @@ -21,7 +21,7 @@ <simple-map-processors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/simple-methods.xsd"> <simple-map-processor name="deletePaymentMethod"> - <process field="paymentMethodId"><copy/><not-empty><fail-message message="Payment Method ID is missing"/></not-empty></process> + <process field="paymentMethodId"><copy/><not-empty><fail-property resource="AccountingUiLabels" property="AccountingPaymentMethodIdMissing"/></not-empty></process> </simple-map-processor> <!-- CreditCard map procs --> @@ -34,22 +34,22 @@ <process field="partyId"><copy/></process> <process field="companyNameOnCard"><copy/></process> <process field="titleOnCard"><copy/></process> - <process field="firstNameOnCard"><copy/><not-empty><fail-message message="First Name on Card is missing"/></not-empty></process> + <process field="firstNameOnCard"><copy/><not-empty><fail-property resource="AccountingUiLabels" property="AccountingFirstNameOnCardMissing"/></not-empty></process> <process field="middleNameOnCard"><copy/></process> - <process field="lastNameOnCard"><copy/><not-empty><fail-message message="Last Name on Card is missing"/></not-empty></process> + <process field="lastNameOnCard"><copy/><not-empty><fail-property resource="AccountingUiLabels" property="AccountingLastNameOnCardMissing"/></not-empty></process> <process field="suffixOnCard"><copy/></process> - <process field="cardType"><copy/><not-empty><fail-message message="Card Type is missing"/></not-empty></process> - <process field="cardNumber"><copy/><not-empty><fail-message message="Card Number is missing"/></not-empty></process> + <process field="cardType"><copy/><not-empty><fail-property resource="AccountingUiLabels" property="AccountingCardTypeMissing"/></not-empty></process> + <process field="cardNumber"><copy/><not-empty><fail-property resource="AccountingUiLabels" property="AccountingCardNumberMissing"/></not-empty></process> <process field="contactMechId"><copy/></process> <process field="description"><copy/></process> - <process field="expMonth"><not-empty><fail-message message="Expiration Month is missing"/></not-empty></process> - <process field="expYear"><not-empty><fail-message message="Expiration Year is missing"/></not-empty></process> + <process field="expMonth"><not-empty><fail-property resource="AccountingUiLabels" property="AccountingExpirationMonthMissing"/></not-empty></process> + <process field="expYear"><not-empty><fail-property resource="AccountingUiLabels" property="AccountingExpirationYearMissing"/></not-empty></process> <process field="expireDate"> <copy/> - <validate-method method="isDateAfterToday"><fail-message message="The expiration date is before today"/></validate-method></process> + <validate-method method="isDateAfterToday"><fail-property resource="AccountingUiLabels" property="AccountingExpirationDateIsBeforeToday"/></validate-method></process> </simple-map-processor> <simple-map-processor name="updateCreditCard"> - <process field="paymentMethodId"><copy/><not-empty><fail-message message="Credit Card Payment Method ID is missing"/></not-empty></process> + <process field="paymentMethodId"><copy/><not-empty><fail-property resource="AccountingUiLabels" property="AccountingCreditCardPaymentMethodIdMissing"/></not-empty></process> <process field="description"><copy/></process> <!-- also call createCreditCard after calling updateCreditCard --> </simple-map-processor> @@ -58,16 +58,16 @@ <simple-map-processor name="createEftAccount"> <process field="partyId"><copy/></process> <process field="description"><copy/></process> - <process field="bankName"><copy/><not-empty><fail-message message="Bank Name is missing"/></not-empty></process> - <process field="routingNumber"><copy/><not-empty><fail-message message="Routing Number is missing"/></not-empty></process> - <process field="accountType"><copy/><not-empty><fail-message message="Account Type is missing"/></not-empty></process> - <process field="accountNumber"><copy/><not-empty><fail-message message="Account Number is missing"/></not-empty></process> - <process field="nameOnAccount"><copy/><not-empty><fail-message message="Name on Account is missing"/></not-empty></process> + <process field="bankName"><copy/><not-empty><fail-property resource="AccountingUiLabels" property="AccountingBankNameMissing"/></not-empty></process> + <process field="routingNumber"><copy/><not-empty><fail-property resource="AccountingUiLabels" property="AccountingRoutingNumberMissing"/></not-empty></process> + <process field="accountType"><copy/><not-empty><fail-property resource="AccountingUiLabels" property="AccountingAccountTypeMissing"/></not-empty></process> + <process field="accountNumber"><copy/><not-empty><fail-property resource="AccountingUiLabels" property="AccountingAccountNumberMissing"/></not-empty></process> + <process field="nameOnAccount"><copy/><not-empty><fail-property resource="AccountingUiLabels" property="AccountingNameOnAccountMissing"/></not-empty></process> <process field="companyNameOnAccount"><copy/></process> <process field="contactMechId"><copy/></process> </simple-map-processor> <simple-map-processor name="updateEftAccount"> - <process field="paymentMethodId"><copy/><not-empty><fail-message message="EFT Account Payment Method ID is missing"/></not-empty></process> + <process field="paymentMethodId"><copy/><not-empty><fail-property resource="AccountingUiLabels" property="AccountingEFTAccountPaymentMethodIdMissing"/></not-empty></process> <process field="description"><copy/></process> <!-- also call createEftAccount after calling updateEftAccount --> </simple-map-processor> |
Free forum by Nabble | Edit this page |