fix missing translation (#35314)

This commit is contained in:
Frédéric FRANCE 2025-09-12 01:52:18 +02:00 committed by GitHub
parent 97bd4852af
commit e4cafd3428
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 2 additions and 2 deletions

View file

@ -806,7 +806,6 @@ Templates
TestPrinterTemplate
TestTemplateToPrinter
Theme
ThirdpartyHasNoDefaultBanAccount
ThisIsInformationOnDocumentToSign
ThisScreenAllowsYouToSignDocFrom
TicketCategoryShort

View file

@ -1352,7 +1352,7 @@ abstract class CommonInvoice extends CommonObject
$bac = new CompanyBankAccount($this->db); // Table societe_rib
$result = $bac->fetch(0, '', $this->socid, 1, 'ban');
if ($result <= 0 || empty($bac->id)) {
$this->error = $langs->trans("ThirdpartyHasNoDefaultBanAccount");
$this->error = $langs->trans("ThirdpartyHasNoDefaultBankAccount");
$this->errors[] = $this->error;
dol_syslog(get_class($this)."::makeStripeSepaRequest ".$this->error);
return -1;

View file

@ -90,6 +90,7 @@ PaymentMode=Payment method
PaymentModes=Payment methods
DefaultPaymentMode=Default Payment method
DefaultBankAccount=Default Bank Account
ThirdpartyHasNoDefaultBankAccount=No default bank account is set for the third party
IdPaymentMode=Payment method (id)
CodePaymentMode=Payment method (code)
LabelPaymentMode=Payment method (label)