]> git.koha-community.org Git - koha.git/commit
Bug 10573: French translation for printing a basketgroup
authorChristophe Croullebois <christophe.croullebois@biblibre.com>
Wed, 10 Jul 2013 14:57:12 +0000 (16:57 +0200)
committerBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Sat, 14 Sep 2013 22:24:14 +0000 (19:24 -0300)
commitf1686f60c2fa3e1dbdcdc9a5e89a5d33ed60c098
tree7e04865a2a0b1b6a95226a388a10f21ea7d47790
parent805849e33e190416545cae9cfc4e690190765627
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@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@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.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit a7fe13a52f320e6aded1f3313f721bd7fd73fb52)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
I don't like the approach, but I wouldn't hold this one until a proper solution comes up.
(cherry picked from commit 5d3f5023019f0d09688ebb44d35259fd2ec9990a)
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
(cherry picked from commit 5d3f5023019f0d09688ebb44d35259fd2ec9990a)
acqui/basketgroup.pl
acqui/pdfformat/layout3pagesfr.pm [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/pdf/layout3pagesfr.odt [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/pdf/layout3pagesfr.pdf [new file with mode: 0644]