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; } */