diff --git a/class/actions_subtotal.class.php b/class/actions_subtotal.class.php index 251d6180..1bab5b6f 100644 --- a/class/actions_subtotal.class.php +++ b/class/actions_subtotal.class.php @@ -1362,7 +1362,7 @@ function beforePDFCreation($parameters=array(), &$object, &$action) $l->product_type = 1; $l->special_code = ''; $l->qty = 1; - $l->desc = 'Montant HT soumis à '.$langs->trans('VAT').' '. price($tx) .' %'; + $l->desc = $langs->trans('AmountBeforeTaxesSubjectToVATX%', $langs->transnoentitiesnoconv('VAT'), price($tx)); $l->tva_tx = $tx; $l->total_ht = $val['total_ht']; $l->total_tva = $val['total_tva']; @@ -1413,7 +1413,7 @@ function beforePDFCreation($parameters=array(), &$object, &$action) $l->product_type = 1; $l->special_code = ''; $l->qty = 1; - $l->desc = 'Montant HT soumis à '.$langs->trans('VAT').' '. price($tx) .' %'; + $l->desc = $langs->trans('AmountBeforeTaxesSubjectToVATX%', $langs->transnoentitiesnoconv('VAT'), price($tx)); $l->tva_tx = $tx; $l->total_ht = $val['total_ht']; $l->total_tva = $val['total_tva']; diff --git a/langs/en_US/subtotal.lang b/langs/en_US/subtotal.lang index 1e184812..483911cb 100644 --- a/langs/en_US/subtotal.lang +++ b/langs/en_US/subtotal.lang @@ -64,4 +64,5 @@ SUBTOTAL_AUTO_ADD_SUBTOTAL_ON_ADDING_NEW_TITLE=Add a new title will add above th subtotalFreeLineDictionary=Pre-existing text line subtotalLabelForUnderTitle=Add into bloc: subtotalLabelForFreeText=Pre-existing text: -subtotalFreeTextOrDesc=or write a custom description \ No newline at end of file +subtotalFreeTextOrDesc=or write a custom description +AmountBeforeTaxesSubjectToVATX%=Amount before taxes subject to %s (%s %%) \ No newline at end of file diff --git a/langs/fr_FR/subtotal.lang b/langs/fr_FR/subtotal.lang index 20d6ec9f..5baa9208 100644 --- a/langs/fr_FR/subtotal.lang +++ b/langs/fr_FR/subtotal.lang @@ -73,4 +73,5 @@ subtotalLabelForUnderTitle=Ajouter dans le bloc : subtotalLabelForFreeText=Texte prédéfini : subtotalFreeTextOrDesc=ou saisir une description... showExtrafields=Editer les attributs complémentaires -hideExtrafields=Masquer les attributs complémentaires \ No newline at end of file +hideExtrafields=Masquer les attributs complémentaires +AmountBeforeTaxesSubjectToVATX%=Montant HT soumis à %s (%s %%) \ No newline at end of file