Merge pull request #25264 from bloxera/fix_translation
Fix: missing translation of key 'Sens' (was used directly)
This commit is contained in:
commit
f90d1c2b77
1 changed files with 2 additions and 1 deletions
|
|
@ -2,6 +2,7 @@
|
|||
/* Copyright (C) 2017-2021 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
||||
* Copyright (C) 2018-2020 Frédéric France <frederic.france@netlogic.fr>
|
||||
* Copyright (C) 2023 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2023 Joachim Kueter <git-jk@bloxera.com>
|
||||
*
|
||||
* 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 '<tr><td>';
|
||||
$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).'</td><td>';
|
||||
$sensarray = array('0' => $langs->trans("Debit"), '1' => $langs->trans("Credit"));
|
||||
print $form->selectarray('sens', $sensarray, $sens, 1, 0, 0, '', 0, 0, 0, '', 'minwidth100', 1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue