Skip to content

Commit

Permalink
FIX: langs
Browse files Browse the repository at this point in the history
  • Loading branch information
ATM-Marc committed Apr 16, 2018
1 parent fd62c26 commit ed1798c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions class/actions_subtotal.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down Expand Up @@ -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'];
Expand Down
3 changes: 2 additions & 1 deletion langs/en_US/subtotal.lang
Original file line number Diff line number Diff line change
Expand Up @@ -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
subtotalFreeTextOrDesc=or write a custom description
AmountBeforeTaxesSubjectToVATX%=Amount before taxes subject to %s (%s %%)
3 changes: 2 additions & 1 deletion langs/fr_FR/subtotal.lang
Original file line number Diff line number Diff line change
Expand Up @@ -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
hideExtrafields=Masquer les attributs complémentaires
AmountBeforeTaxesSubjectToVATX%=Montant HT soumis à %s (%s %%)

0 comments on commit ed1798c

Please sign in to comment.