From d259b2a65c4c67e2b9bfca100f066c09f3b5142d Mon Sep 17 00:00:00 2001 From: Alexandre SPANGARO Date: Mon, 17 Feb 2025 13:51:47 +0100 Subject: [PATCH] Update language --- htdocs/core/class/html.formfiscalyear.class.php | 4 ++-- htdocs/langs/en_US/compta.lang | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/core/class/html.formfiscalyear.class.php b/htdocs/core/class/html.formfiscalyear.class.php index 2cacad330ec..ed44ac4b736 100644 --- a/htdocs/core/class/html.formfiscalyear.class.php +++ b/htdocs/core/class/html.formfiscalyear.class.php @@ -91,8 +91,8 @@ class FormFiscalYear extends Form while ($i < $num) { $obj = $this->db->fetch_object($resql); - $titletoshowhtml = ($maxlen ? dol_trunc($obj->label, $maxlen) : $obj->label).' ('.$obj->date_start.' - '.$obj->date_end.')'; - $titletoshow = ($maxlen ? dol_trunc($obj->label, $maxlen) : $obj->label).' ('.$obj->date_start.' - '.$obj->date_end.')'; + $titletoshowhtml = ($maxlen ? dol_trunc($obj->label, $maxlen) : $obj->label).' ('.$obj->date_start . " - " . $obj->date_end.')'; + $titletoshow = ($maxlen ? dol_trunc($obj->label, $maxlen) : $obj->label).' ('.$langs->transnoentitiesnoconv("FiscalYearFromTo", $obj->date_start, $obj->date_end).')'; $out .= '