From 3e2d57c19a52eaa158b34e42c06ba917c4bbf9cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Mon, 3 Mar 2025 10:05:07 +0100 Subject: [PATCH] add missing translation --- dev/translation/ignore_translation_keys.lst | 1 - htdocs/compta/facture/class/facture.class.php | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/dev/translation/ignore_translation_keys.lst b/dev/translation/ignore_translation_keys.lst index 4f73debc3c7..d4ae6fef13e 100644 --- a/dev/translation/ignore_translation_keys.lst +++ b/dev/translation/ignore_translation_keys.lst @@ -1005,7 +1005,6 @@ ErrorLDAPFunctionsAreDisabledOnThisPHP ErrorUpdating Exceptions Extra -Facture FailedToConnectToSFTPAfterSSHAuthentication FailedToLogin First diff --git a/htdocs/compta/facture/class/facture.class.php b/htdocs/compta/facture/class/facture.class.php index e0637070717..87806a770c7 100644 --- a/htdocs/compta/facture/class/facture.class.php +++ b/htdocs/compta/facture/class/facture.class.php @@ -5797,7 +5797,7 @@ class Facture extends CommonInvoice $langs->load("bills"); if (!isModEnabled('invoice')) { // Should not happen. If module disabled, cron job should not be visible. - $this->output .= $langs->trans('ModuleNotEnabled', $langs->transnoentitiesnoconv("Facture")); + $this->output .= $langs->trans('ModuleNotEnabled', $langs->transnoentitiesnoconv("Invoice")); return 0; } if (!in_array($datetouse, array('duedate', 'invoicedate'))) { @@ -5806,7 +5806,7 @@ class Facture extends CommonInvoice } /*if (empty($conf->global->FACTURE_REMINDER_EMAIL)) { $langs->load("bills"); - $this->output .= $langs->trans('EventRemindersByEmailNotEnabled', $langs->transnoentitiesnoconv("Facture")); + $this->output .= $langs->trans('EventRemindersByEmailNotEnabled', $langs->transnoentitiesnoconv("Invoice")); return 0; } */