Bug 12110: (follow-up) add French and German translation
This followup
- translates "vendor note" in French and German.
- replaces "Notes for vendor" with "Note for vendor" in English template
(as there can only be 1 note)
- fixes a typo in French template (Qte => Qté, for "Quantité")
Test plan :
[1] set OrderPdfFormat preference to "French 3-pages"
[2] Print a basketgroup containing an order with a vendornote, and check
the note is displayed and introduced by "Notes pour le fournisseur"
[3] set OrderPdfFormat preference to "German 2-pages"
[4] Print a basketgroup containing an order with a vendornote, and check
the note is displayed and introduced by "Lieferantennotiz"
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
2dab2cc223
commit
b2499288cd
|
|
@ -113,7 +113,7 @@ sub printorders {
|
|||
}
|
||||
push( @$arrbasket,
|
||||
$basket->{basketno},
|
||||
$titleinfo. ($line->{order_vendornote} ? "\n----------------\nNotes for vendor : " . $line->{order_vendornote} : '' ),
|
||||
$titleinfo. ($line->{order_vendornote} ? "\n----------------\nNote for vendor : " . $line->{order_vendornote} : '' ),
|
||||
$line->{quantity},
|
||||
$num->format_price($line->{rrpgsti}),
|
||||
$num->format_price($line->{discount}).'%',
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@ sub printorders {
|
|||
}
|
||||
push( @$arrbasket,
|
||||
$basket->{basketno},
|
||||
$titleinfo,
|
||||
$titleinfo. ($line->{order_vendornote} ? "\n----------------\nLieferantennotiz : ". $line->{order_vendornote} : '' ), $line->{quantity},
|
||||
$line->{quantity},
|
||||
$num->format_price($line->{rrpgsti}),
|
||||
$num->format_price($line->{discount}).'%',
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@ sub printorders {
|
|||
( $line->{copyrightdate} ? ' '. $line->{copyrightdate} : '');
|
||||
}
|
||||
push( @$arrbasket,
|
||||
$titleinfo. ($line->{order_vendornote} ? "\n----------------\nNotes for vendor : " . $line->{order_vendornote} : '' ),
|
||||
$titleinfo. ($line->{order_vendornote} ? "\n----------------\nNote for vendor : " . $line->{order_vendornote} : '' ),
|
||||
$line->{quantity},
|
||||
$num->format_price($line->{rrpgste}),
|
||||
$num->format_price($line->{rrpgsti}),
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ sub printorders {
|
|||
my $pdftable = new PDF::Table();
|
||||
my $abaskets;
|
||||
my $arrbasket;
|
||||
my @keys = ('Document', 'Qte', 'Prix', 'Prix net', '% Remise', 'Remise', 'Taux TVA', 'Total HT', 'Total TTC');
|
||||
my @keys = ('Document', 'Qté', 'Prix', 'Prix net', '% Remise', 'Remise', 'Taux TVA', 'Total HT', 'Total TTC');
|
||||
for my $bkey (@keys) {
|
||||
push(@$arrbasket, $bkey);
|
||||
}
|
||||
|
|
@ -132,8 +132,7 @@ sub printorders {
|
|||
}
|
||||
|
||||
push( @$arrbasket,
|
||||
$titleinfo,
|
||||
$line->{quantity},
|
||||
$titleinfo. ($line->{order_vendornote} ? "\n----------------\nNote pour le fournisseur : ". $line->{order_vendornote} : '' ), $line->{quantity},
|
||||
$num->format_price($line->{rrpgste}),
|
||||
$num->format_price($line->{rrpgsti}),
|
||||
$num->format_price($line->{discount}).'%',
|
||||
|
|
|
|||
Loading…
Reference in New Issue