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

Reduce translation keys

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