Fix trans

This commit is contained in:
Laurent Destailleur 2024-11-26 19:18:43 +01:00
parent c5ea16ad6c
commit b9976a2429
4 changed files with 4 additions and 5 deletions

View File

@ -580,7 +580,6 @@ NewProperty
NoActiveEstablishmentDefined
NoAddMember
NoAuthorityURLDefined
NoBankAccountFound
NoCurrencyRateSelected
NoEntriesToShow
NoEstablishmentFound

View File

@ -5233,7 +5233,7 @@ class Form
$out = '';
$langs->load("admin");
$langs->loadLangs(array("admin", "banks"));
$num = 0;
$sql = "SELECT rowid, label, bank, status, iban_prefix, bic";
@ -5252,7 +5252,7 @@ class Form
$out .= '<select id="select' . $htmlname . '" class="flat selectbankaccount' . ($morecss ? ' ' . $morecss : '') . '" name="' . $htmlname . '"' . ($moreattrib ? ' ' . $moreattrib : '') . '>';
if ($num == 0) {
$out .= '<option class="opacitymedium" value="-1">' . $langs->trans("NoBankAccountFound") . '</span>';
$out .= '<option class="opacitymedium" value="-1">' . $langs->trans("NoBankAccountDefined") . '</span>';
} else {
if (!empty($useempty) && !is_numeric($useempty)) {
$out .= '<option value="-1">'.$langs->trans($useempty).'</option>';

View File

@ -188,7 +188,7 @@ BankColorizeMovementDesc=If this function is enable, you can choose specific bac
BankColorizeMovementName1=Background color for debit movement
BankColorizeMovementName2=Background color for credit movement
IfYouDontReconcileDisableProperty=If you don't make the bank reconciliations on some bank accounts, disable the property "%s" on them to remove this warning.
NoBankAccountDefined=No bank account defined
NoBankAccountDefined=No bank account found
NoRecordFoundIBankcAccount=No record found in bank account. Commonly, this occurs when a record has been deleted manually from the list of transaction in the bank account (for example during a reconciliation of the bank account). Another reason is that the payment was recorded when the module "%s" was disabled.
AlreadyOneBankAccount=Already one bank account defined
SEPAXMLPlacePaymentTypeInformationInCreditTransfertransactionInformation=SEPA file variant

View File

@ -53,7 +53,7 @@ if (isModEnabled('project')) {
*/
// Load translation files required by the page
$langs->loadLangs(array("bills", "compta", "loan"));
$langs->loadLangs(array("banks", "bills", "compta", "loan"));
$id = GETPOSTINT('id');
$action = GETPOST('action', 'aZ09');