From 3b20d250ef02b587acda34b5f6b02ede82278441 Mon Sep 17 00:00:00 2001 From: priojk Date: Tue, 4 Jul 2023 12:21:54 +0200 Subject: [PATCH] fix missing translation of key 'Sens' (was used directly) --- htdocs/compta/bank/various_payment/card.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/compta/bank/various_payment/card.php b/htdocs/compta/bank/various_payment/card.php index 7fbf2774e85..35ebaa3b126 100644 --- a/htdocs/compta/bank/various_payment/card.php +++ b/htdocs/compta/bank/various_payment/card.php @@ -2,6 +2,7 @@ /* Copyright (C) 2017-2021 Alexandre Spangaro * Copyright (C) 2018-2020 Frédéric France * Copyright (C) 2023 Laurent Destailleur + * Copyright (C) 2023 Joachim Kueter * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -498,7 +499,7 @@ if ($action == 'create') { // Sens print ''; - $labelsens = $form->textwithpicto('Sens', $langs->trans("AccountingDirectionHelp")); + $labelsens = $form->textwithpicto($langs->trans('Sens'), $langs->trans("AccountingDirectionHelp")); print $form->editfieldkey($labelsens, 'sens', '', $object, 0, 'string', '', 1).''; $sensarray = array('0' => $langs->trans("Debit"), '1' => $langs->trans("Credit")); print $form->selectarray('sens', $sensarray, $sens, 1, 0, 0, '', 0, 0, 0, '', 'minwidth100', 1);