Bugzilla – Attachment 10754 Details for
Bug 6394
purchase order has french hard coded in
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 6394: purchase order has French strings hard coded in
SIGNED-OFF-Bug-6394-purchase-order-has-French-stri.patch (text/plain), 2.99 KB, created by
Nicole C. Engard
on 2012-07-10 15:24:54 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 6394: purchase order has French strings hard coded in
Filename:
MIME Type:
Creator:
Nicole C. Engard
Created:
2012-07-10 15:24:54 UTC
Size:
2.99 KB
patch
obsolete
>From cf83327f592effb2390801c99d12582883f0a51b Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Mon, 9 Jul 2012 22:23:27 +0200 >Subject: [PATCH] [SIGNED-OFF] Bug 6394: purchase order has French strings hard coded in >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >On the purchase order it said 'publieÌ par' - instead of 'published by'. > >The layout files for PDF generation in basket groups contain lots of English >strings, this change makes the template more consistent. > >Currently the files are not translatable. The only way is to add translated >files to your installation. > >To test: >Print a basket group as PDF. Verify string is ok for both possible settings >of system preference OrderPdfFormat: >- pdfformat::layout3pages >- pdfformat::layout2pages > >Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> >--- > acqui/pdfformat/layout2pages.pm | 2 +- > acqui/pdfformat/layout3pages.pm | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/acqui/pdfformat/layout2pages.pm b/acqui/pdfformat/layout2pages.pm >index 148394a..6d5925e 100644 >--- a/acqui/pdfformat/layout2pages.pm >+++ b/acqui/pdfformat/layout2pages.pm >@@ -93,7 +93,7 @@ sub printorders { > $arrbasket = undef; > push( @$arrbasket, > $basket->{basketno}, >- @$line[3]." / ".@$line[2].(@$line[0]?" ISBN : ".@$line[0]:'').(@$line[10]?" EN : ".@$line[10]:'').", ".@$line[1].(@$line[4]?' publié par '.@$line[4]:''), >+ @$line[3]." / ".@$line[2].(@$line[0]?" ISBN : ".@$line[0]:'').(@$line[10]?" EN : ".@$line[10]:'').", ".@$line[1].(@$line[4]?' published by '.@$line[4]:''), > @$line[5], > $num->format_price(@$line[6]), > $num->format_price(@$line[8]).'%', >diff --git a/acqui/pdfformat/layout3pages.pm b/acqui/pdfformat/layout3pages.pm >index 7dab18f..324b88e 100644 >--- a/acqui/pdfformat/layout3pages.pm >+++ b/acqui/pdfformat/layout3pages.pm >@@ -104,7 +104,7 @@ sub printorders { > # @{$orders->{$basket->{basketno}}}); > foreach my $line (@{$orders->{$basket->{basketno}}}) { > $arrbasket = undef; >- push(@$arrbasket, @$line[3]." / ".@$line[2].(@$line[0]?" ISBN : ".@$line[0]:'').(@$line[10]?" EN : ".@$line[10]:'').", ".@$line[1].(@$line[4]?' publié par '.@$line[4]:''), @$line[5],$num->format_price(@$line[6]),$num->format_price(@$line[8]).'%',$num->format_price(@$line[7]/(1+@$line[9]/100)),$num->format_price(@$line[9]).'%',$num->format_price($num->round(@$line[7])*@$line[5])); >+ push(@$arrbasket, @$line[3]." / ".@$line[2].(@$line[0]?" ISBN : ".@$line[0]:'').(@$line[10]?" EN : ".@$line[10]:'').", ".@$line[1].(@$line[4]?' published by '.@$line[4]:''), @$line[5],$num->format_price(@$line[6]),$num->format_price(@$line[8]).'%',$num->format_price(@$line[7]/(1+@$line[9]/100)),$num->format_price(@$line[9]).'%',$num->format_price($num->round(@$line[7])*@$line[5])); > push(@$abaskets, $arrbasket); > } > >-- >1.7.2.3
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6394
:
4235
|
10731
|
10752
|
10753
|
10754