Trad: Traduction des types de paiements

This commit is contained in:
Laurent Destailleur 2006-06-18 12:16:25 +00:00
parent 0e207772df
commit ced19de515
3 changed files with 31 additions and 1 deletions

View File

@ -1015,7 +1015,7 @@ class Form
$obj = $this->db->fetch_object($resql);
// Si traduction existe, on l'utilise, sinon on prend le libellé par défaut
$libelle=($langs->trans($obj->code)!=$obj->code?$langs->trans($obj->code):($obj->libelle!='-'?$obj->libelle:''));
$libelle=($langs->trans("PaymentTypeShort".$obj->code)!=("PaymentTypeShort".$obj->code)?$langs->trans("PaymentTypeShort".$obj->code):($obj->libelle!='-'?$obj->libelle:''));
$this->cache_types_paiements_code[$obj->id]=$obj->code;
$this->cache_types_paiements_libelle[$obj->id]=$libelle;
$this->cache_types_paiements_type[$obj->id]=$obj->type;

View File

@ -149,6 +149,21 @@ PaymentConditionShort60D=60 days
PaymentCondition60D=Payment after 60 days
PaymentConditionShort60DENDMONTH=60 days end of month
PaymentCondition60DENDMONTH=Payment after 60 days end of month
# PaymentType
PaymentTypeTYP=TIP
PaymentTypeShortTYP=TIP
PaymentTypeVIR=Bank withdraw
PaymentTypeShortVIR=Bank withdraw
PaymentTypePRE=Standing order
PaymentTypeShortPRE=Standing order
PaymentTypeLIQ=Cash
PaymentTypeShortLIQ=Cash
PaymentTypeVAD=On line payment
PaymentTypeShortVAD=On line payment
PaymentTypeCB=Credit card
PaymentTypeShortCB=Credit card
PaymentTypeCHQ=Cheque
PaymentTypeShortCHQ=Cheque
BankDetails=Bank details
BankCode=Bank code

View File

@ -149,6 +149,21 @@ PaymentConditionShort60D=60 jours
PaymentCondition60D=Règlement à 60 jours
PaymentConditionShort60DENDMONTH=60 jours fin de mois
PaymentCondition60DENDMONTH=Règlement à 60 jours fin de mois
# PaymentType
PaymentTypeTYP=TIP
PaymentTypeShortTYP=TIP
PaymentTypeVIR=Virement bancaire
PaymentTypeShortVIR=Virement
PaymentTypePRE=Prélèvement bancaire
PaymentTypeShortPRE=Prélèvement
PaymentTypeLIQ=Liquide
PaymentTypeShortLIQ=Liquide
PaymentTypeVAD=Paiement en ligne
PaymentTypeShortVAD=Paiement en ligne
PaymentTypeCB=Carte bancaire
PaymentTypeShortCB=Carte bancaire
PaymentTypeCHQ=Cheque
PaymentTypeShortCHQ=Cheque
BankDetails=Coordonnées bancaires
BankCode=Code banque