Fix: Not loading langs correctly (#33441)
This commit is contained in:
parent
abd95b1681
commit
82a598d60c
2 changed files with 2 additions and 2 deletions
|
|
@ -2043,7 +2043,7 @@ class pdf_crabe extends ModelePDFFactures
|
|||
$title = $outputlangs->transnoentities("InvoiceProForma");
|
||||
}
|
||||
if ($this->situationinvoice) {
|
||||
$langs->loadLangs(array("other"));
|
||||
$outputlangs->loadLangs(array("other"));
|
||||
$title = $outputlangs->transnoentities("PDFInvoiceSituation") . " " . $outputlangs->transnoentities("NumberingShort") . $object->situation_counter . " -";
|
||||
}
|
||||
if (getDolGlobalString('PDF_USE_ALSO_LANGUAGE_CODE') && is_object($outputlangsbis)) {
|
||||
|
|
|
|||
|
|
@ -2290,7 +2290,7 @@ class pdf_sponge extends ModelePDFFactures
|
|||
$title = $outputlangs->transnoentities("InvoiceProForma");
|
||||
}
|
||||
if ($this->situationinvoice) {
|
||||
$langs->loadLangs(array("other"));
|
||||
$outputlangs->loadLangs(array("other"));
|
||||
$title = $outputlangs->transnoentities("PDFInvoiceSituation") . " " . $outputlangs->transnoentities("NumberingShort") . $object->situation_counter . " -";
|
||||
}
|
||||
if (getDolGlobalString('PDF_USE_ALSO_LANGUAGE_CODE') && is_object($outputlangsbis)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue