Skip to content
Snippets Groups Projects
Commit e11d9d7e authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Reduce translation keys

parent bae1e69d
Branches main
No related tags found
No related merge requests found
...@@ -27,11 +27,7 @@ AllTime=From start ...@@ -27,11 +27,7 @@ AllTime=From start
Reconciliation=Reconciliation Reconciliation=Reconciliation
RIB=Bank Account Number RIB=Bank Account Number
IBAN=IBAN number IBAN=IBAN number
IbanValid=IBAN is Valid
IbanNotValid=IBAN is Not Valid
BIC=BIC/SWIFT number BIC=BIC/SWIFT number
SwiftValid=BIC/SWIFT is Valid
SwiftNotValid=BIC/SWIFT is Not Valid
StandingOrders=Direct Debit orders StandingOrders=Direct Debit orders
StandingOrder=Direct debit order StandingOrder=Direct debit order
AccountStatement=Account statement AccountStatement=Account statement
......
...@@ -241,7 +241,6 @@ ProfId6RU=- ...@@ -241,7 +241,6 @@ ProfId6RU=-
VATIntra=VAT number VATIntra=VAT number
VATIntraShort=VAT number VATIntraShort=VAT number
VATIntraSyntaxIsValid=Syntax is valid VATIntraSyntaxIsValid=Syntax is valid
VATIntraValueIsValid=Value is valid
ProspectCustomer=Prospect / Customer ProspectCustomer=Prospect / Customer
Prospect=Prospect Prospect=Prospect
CustomerCard=Customer Card CustomerCard=Customer Card
......
...@@ -572,6 +572,8 @@ BackToList=Back to list ...@@ -572,6 +572,8 @@ BackToList=Back to list
GoBack=Go back GoBack=Go back
CanBeModifiedIfOk=Can be modified if valid CanBeModifiedIfOk=Can be modified if valid
CanBeModifiedIfKo=Can be modified if not valid CanBeModifiedIfKo=Can be modified if not valid
ValueIsValid=Value is valid
ValueIsNotValid=Value is not valid
RecordModifiedSuccessfully=Record modified successfully RecordModifiedSuccessfully=Record modified successfully
RecordsModified=%s records modified RecordsModified=%s records modified
RecordsDeleted=%s records deleted RecordsDeleted=%s records deleted
......
...@@ -120,7 +120,7 @@ else ...@@ -120,7 +120,7 @@ else
{ {
if ($result['requestDate']) print $langs->trans("Date").': '.$result['requestDate'].'<br>'; if ($result['requestDate']) print $langs->trans("Date").': '.$result['requestDate'].'<br>';
print $langs->trans("VATIntraSyntaxIsValid").': <font class="error">'.$langs->trans("No").'</font> (Might be a non europeen VAT)<br>'; print $langs->trans("VATIntraSyntaxIsValid").': <font class="error">'.$langs->trans("No").'</font> (Might be a non europeen VAT)<br>';
print $langs->trans("VATIntraValueIsValid").': <font class="error">'.$langs->trans("No").'</font> (Might be a non europeen VAT)<br>'; print $langs->trans("ValueIsValid").': <font class="error">'.$langs->trans("No").'</font> (Might be a non europeen VAT)<br>';
//$messagetoshow=$soapclient->response; //$messagetoshow=$soapclient->response;
} }
else else
...@@ -128,7 +128,7 @@ else ...@@ -128,7 +128,7 @@ else
// Syntaxe ok // Syntaxe ok
if ($result['requestDate']) print $langs->trans("Date").': '.$result['requestDate'].'<br>'; if ($result['requestDate']) print $langs->trans("Date").': '.$result['requestDate'].'<br>';
print $langs->trans("VATIntraSyntaxIsValid").': <font class="ok">'.$langs->trans("Yes").'</font><br>'; print $langs->trans("VATIntraSyntaxIsValid").': <font class="ok">'.$langs->trans("Yes").'</font><br>';
print $langs->trans("VATIntraValueIsValid").': '; print $langs->trans("ValueIsValid").': ';
if (preg_match('/MS_UNAVAILABLE/i',$result['faultstring'])) if (preg_match('/MS_UNAVAILABLE/i',$result['faultstring']))
{ {
print '<font class="error">'.$langs->trans("ErrorVATCheckMS_UNAVAILABLE",$countryCode).'</font><br>'; print '<font class="error">'.$langs->trans("ErrorVATCheckMS_UNAVAILABLE",$countryCode).'</font><br>';
......
...@@ -374,9 +374,9 @@ if ($socid && $action != 'edit' && $action != "create") ...@@ -374,9 +374,9 @@ if ($socid && $action != 'edit' && $action != "create")
$content = $account->number; $content = $account->number;
if (! empty($account->label)) { if (! empty($account->label)) {
if (! checkBanForAccount($account)) { if (! checkBanForAccount($account)) {
$content.= ' '.img_picto($langs->trans("NotValid"),'warning'); $content.= ' '.img_picto($langs->trans("ValueIsNotValid"),'warning');
} else { } else {
$content.= ' '.img_picto($langs->trans("Valid"),'info'); $content.= ' '.img_picto($langs->trans("ValueIsValid"),'info');
} }
} }
} elseif ($val == 'BankAccountNumberKey') { } elseif ($val == 'BankAccountNumberKey') {
...@@ -385,18 +385,18 @@ if ($socid && $action != 'edit' && $action != "create") ...@@ -385,18 +385,18 @@ if ($socid && $action != 'edit' && $action != "create")
$content = $account->iban; $content = $account->iban;
if (! empty($account->iban)) { if (! empty($account->iban)) {
if (! checkIbanForAccount($account)) { if (! checkIbanForAccount($account)) {
$content.= ' '.img_picto($langs->trans("IbanNotValid"),'warning'); $content.= ' '.img_picto($langs->trans("ValueIsNotValid"),'warning');
} else { } else {
$content.= ' '.img_picto($langs->trans("IbanValid"),'info'); $content.= ' '.img_picto($langs->trans("ValueIsValid"),'info');
} }
} }
} elseif ($val == 'BIC') { } elseif ($val == 'BIC') {
$content = $account->bic; $content = $account->bic;
if (! empty($account->bic)) { if (! empty($account->bic)) {
if (! checkSwiftForAccount($account)) { if (! checkSwiftForAccount($account)) {
$content.= ' '.img_picto($langs->trans("SwiftNotValid"),'warning'); $content.= ' '.img_picto($langs->trans("ValueIsNotValid"),'warning');
} else { } else {
$content.= ' '.img_picto($langs->trans("SwiftValid"),'info'); $content.= ' '.img_picto($langs->trans("ValueIsValid"),'info');
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment