From d0cf13e73cdb45df111d336c1d0d0a0b5ea5d81f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Wed, 9 Apr 2025 15:56:34 +0200 Subject: [PATCH] add missing translation (#33782) * add missing translation * fix missing translation * fix missing translation * fix missing translation --- dev/translation/ignore_translation_keys.lst | 4 ---- .../movement/doc/pdf_standard_movementstock.modules.php | 6 +++--- htdocs/fourn/class/fournisseur.facture.class.php | 4 ++-- htdocs/langs/en_US/accountancy.lang | 1 + htdocs/langs/en_US/stocks.lang | 1 + 5 files changed, 7 insertions(+), 9 deletions(-) diff --git a/dev/translation/ignore_translation_keys.lst b/dev/translation/ignore_translation_keys.lst index 77aa88d0e65..d85ac6636da 100644 --- a/dev/translation/ignore_translation_keys.lst +++ b/dev/translation/ignore_translation_keys.lst @@ -1000,16 +1000,12 @@ INVOICE_USE_SITUATION INVOICE_USE_SITUATION_CREDIT_NOTE ImpossibleToContactAuthority InterDate -Inventory Code -InvoiceReplace ItemID JobApplications JobPosition Journal -Label Movement Labels Last -LedgerAccount LocalTax1IsNotUsedExample LocalTax1IsUsedExample LocalTax2IsNotUsedExample diff --git a/htdocs/core/modules/movement/doc/pdf_standard_movementstock.modules.php b/htdocs/core/modules/movement/doc/pdf_standard_movementstock.modules.php index 87b57896d5d..e4331a6d973 100644 --- a/htdocs/core/modules/movement/doc/pdf_standard_movementstock.modules.php +++ b/htdocs/core/modules/movement/doc/pdf_standard_movementstock.modules.php @@ -1,7 +1,7 @@ * Copyright (C) 2024-2025 MDW - * Copyright (C) 2024 Frédéric France + * Copyright (C) 2024-2025 Frédéric France * Copyright (C) 2024 Nick Fragoulis * * This program is free software; you can redistribute it and/or modify @@ -908,14 +908,14 @@ class pdf_standard_movementstock extends ModelePDFMovement //$pdf->line($this->posxup-1, $tab_top, $this->posxup-1, $tab_top + $tab_height); if (empty($hidetop)) { $pdf->SetXY($this->posxup - 1, $tab_top + 1); - $pdf->MultiCell($this->posxunit - $this->posxup, 2, $outputlangs->transnoentities("Inventory Code"), '', 'C'); + $pdf->MultiCell($this->posxunit - $this->posxup, 2, $outputlangs->transnoentities("InventoryCode"), '', 'C'); } //Label movement //$pdf->line($this->posxunit, $tab_top, $this->posxunit, $tab_top + $tab_height); if (empty($hidetop)) { $pdf->SetXY($this->posxunit, $tab_top + 1); - $pdf->MultiCell($this->posxdiscount - $this->posxunit, 2, $outputlangs->transnoentities("Label Movement"), '', 'C'); + $pdf->MultiCell($this->posxdiscount - $this->posxunit, 2, $outputlangs->transnoentities("LabelMovement"), '', 'C'); } //Origin diff --git a/htdocs/fourn/class/fournisseur.facture.class.php b/htdocs/fourn/class/fournisseur.facture.class.php index 335549585c6..c9f9ab00829 100644 --- a/htdocs/fourn/class/fournisseur.facture.class.php +++ b/htdocs/fourn/class/fournisseur.facture.class.php @@ -12,7 +12,7 @@ * Copyright (C) 2015-2022 Ferran Marcet * Copyright (C) 2016-2023 Alexandre Spangaro * Copyright (C) 2018 Nicolas ZABOURI - * Copyright (C) 2018-2024 Frédéric France + * Copyright (C) 2018-2025 Frédéric France * Copyright (C) 2022 Gauthier VERDOL * Copyright (C) 2023 Nick Fragoulis * Copyright (C) 2024-2025 MDW @@ -2812,7 +2812,7 @@ class FactureFournisseur extends CommonInvoice $datas['picto'] = img_picto('', $picto).' '.$langs->trans("SupplierInvoice").''; if ($this->type == self::TYPE_REPLACEMENT) { - $datas['picto'] .= ''.$langs->transnoentitiesnoconv("InvoiceReplace").''; + $datas['picto'] .= ''.$langs->transnoentitiesnoconv("InvoiceReplacement").''; } elseif ($this->type == self::TYPE_CREDIT_NOTE) { $datas['picto'] .= ''.$langs->transnoentitiesnoconv("CreditNote").''; } elseif ($this->type == self::TYPE_DEPOSIT) { diff --git a/htdocs/langs/en_US/accountancy.lang b/htdocs/langs/en_US/accountancy.lang index 5a698c6e186..d0914238f12 100644 --- a/htdocs/langs/en_US/accountancy.lang +++ b/htdocs/langs/en_US/accountancy.lang @@ -100,6 +100,7 @@ AccountAccounting=Accounting account AccountAccountingShort=Account SubledgerAccount=Subledger account SubledgerAccountLabel=Subledger account label +LedgerAccount=Ledger account ShowAccountingAccount=Show accounting account ShowAccountingJournal=Show accounting journal ShowAccountingAccountInLedger=Show accounting account in ledger diff --git a/htdocs/langs/en_US/stocks.lang b/htdocs/langs/en_US/stocks.lang index 40bbae6106a..62fecfd6151 100644 --- a/htdocs/langs/en_US/stocks.lang +++ b/htdocs/langs/en_US/stocks.lang @@ -160,6 +160,7 @@ MovementLabel=Label of movement TypeMovement=Direction of movement DateMovement=Date of movement InventoryCode=Movement or inventory code +LabelMovement=Label movement IsInPackage=Contained into package WarehouseAllowNegativeTransfer=Stock can be negative qtyToTranferIsNotEnough=You don't have enough stock from your source warehouse and your setup does not allow negative stocks.