You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mb...@apache.org on 2020/02/01 18:08:30 UTC
[ofbiz-framework] branch trunk updated: Improved: Translate invoice
type dropdown (OFBIZ-10191)
This is an automated email from the ASF dual-hosted git repository.
mbrohl pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new db92854 Improved: Translate invoice type dropdown (OFBIZ-10191)
db92854 is described below
commit db92854bcef2f47a733555b6a819c081eb72518a
Author: Michael Brohl <mi...@ecomify.de>
AuthorDate: Sat Feb 1 19:07:58 2020 +0100
Improved: Translate invoice type dropdown
(OFBIZ-10191)
Thanks Ingo Wolfmayr for reporting and providing the patch.
---
.../accounting/config/AccountingEntityLabels.xml | 17 +++++++++++++++++
applications/accounting/widget/InvoiceForms.xml | 4 ++--
2 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/applications/accounting/config/AccountingEntityLabels.xml b/applications/accounting/config/AccountingEntityLabels.xml
index 9dfb49f..fa41cda 100644
--- a/applications/accounting/config/AccountingEntityLabels.xml
+++ b/applications/accounting/config/AccountingEntityLabels.xml
@@ -2602,6 +2602,23 @@
<value xml:lang="zh">佣金发票调整</value>
<value xml:lang="zh-TW">佣金發票調整</value>
</property>
+ <property key="InvoiceItemType.description.SINVOICE_ITM_ADJ">
+ <value xml:lang="ar">تعديل بند الفاتورة</value>
+ <value xml:lang="de">Rechnungspostenanpassung</value>
+ <value xml:lang="en">Invoice Item Adjustment (Sales)</value>
+ <value xml:lang="fr">Régularisation de ligne de facturation</value>
+ <value xml:lang="hi-IN">चालान मद समायोजन</value>
+ <value xml:lang="it">Fattura Riga Aggiustamento</value>
+ <value xml:lang="ja">請求 アイテム調整</value>
+ <value xml:lang="nl">Aanpassing factuurregel</value>
+ <value xml:lang="pt">Ajuste de Item de fatura</value>
+ <value xml:lang="ro">Factura Linie Actualizare</value>
+ <value xml:lang="ru">Поправка позиции накладной</value>
+ <value xml:lang="th">การปรับปรุงรายการใบกำกับสินค้า</value>
+ <value xml:lang="vi">Điều chỉnh hạng mục</value>
+ <value xml:lang="zh">发票明细调整</value>
+ <value xml:lang="zh-TW">發票細項調整</value>
+ </property>
<property key="InvoiceItemType.description.COMM_INV_ITEM">
<value xml:lang="ar">بند السطر لفاتورة العمولة</value>
<value xml:lang="de">Provisions-Rechnungsposten</value>
diff --git a/applications/accounting/widget/InvoiceForms.xml b/applications/accounting/widget/InvoiceForms.xml
index 864afbf..620f4c9 100644
--- a/applications/accounting/widget/InvoiceForms.xml
+++ b/applications/accounting/widget/InvoiceForms.xml
@@ -375,7 +375,7 @@ under the License.
<field name="quantity"><text size="10"/></field>
<field name="invoiceItemTypeId">
<drop-down allow-empty="false">
- <list-options list-name="invoiceItemTypes" key-name="invoiceItemTypeId"/>
+ <list-options list-name="invoiceItemTypes" key-name="invoiceItemTypeId" description="${groovy:uiLabelMap.get('InvoiceItemType.description.'+invoiceItemTypeId)}"/>
</drop-down>
</field>
<field name="productId"><lookup target-form-name="LookupProduct" size="20"/></field>
@@ -403,7 +403,7 @@ under the License.
<field name="invoiceId"><hidden/></field>
<field position="1" name="invoiceItemTypeId">
<drop-down allow-empty="false">
- <list-options list-name="invoiceItemTypes" key-name="invoiceItemTypeId"/>
+ <list-options list-name="invoiceItemTypes" key-name="invoiceItemTypeId" description="${groovy:uiLabelMap.get('InvoiceItemType.description.'+invoiceItemTypeId)}"/>
</drop-down>
</field>
<field position="1" name="description"><text size="80"/></field>