[Koha-bugs] [Bug 10573] French translation for printing a basketgroup

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Aug 17 17:17:09 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10573

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #20186|0                           |1
        is obsolete|                            |
  Attachment #20187|0                           |1
        is obsolete|                            |

--- Comment #11 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 20432
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20432&action=edit
[PASSED QA] Bug 10573: French translation for printing a basketgroup

If you want to print a basketgroup with pdf format, it will be in english.
The pdf is done with layout2pages.pm or layout3pages.pm which call
layout2pages.pdf or layout3pages.pdf.
This patch adds layout3pagesfr.pm in src/acqui/pdfformat/ which calls
layout3pagesfr.pdf.
And adds in basketgroup.pl the check for layout3pagesfr
To use it you have to change the systempreferences to 
pdfformat::layout3pagesfr

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>

Comment: Work as described, koha-qa reports some tab errors.
Corrected in a followup.

Please, always add a test plan, it's easier to test.

Test:
1) apply the patch
2) change syspref OrderPdfFormat to pdfformat::layout3pagesfr
3) select a vendor
4) create a basket group (empty works)
5) close basket group
6) print basket group
7) PDF is in french

Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
This works nicely, although it would be better if we could
find a more general solution to make the templates editable
and translatable.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list