Reduce translation keys

This commit is contained in:
Laurent Destailleur 2016-10-10 00:31:26 +02:00
parent bae1e69da3
commit e11d9d7e4c
5 changed files with 10 additions and 13 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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>';

View File

@ -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');
}
}
}