Bug 9216: make columns.def file translatable
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 29 Oct 2013 14:03:41 +0000 (15:03 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Sat, 19 Apr 2014 13:34:33 +0000 (13:34 +0000)
commitbece83f8ed59208e058dc87830cbab2aa19bb2f7
tree6ecc19985eddfbdf418d94d31caff66ed5396bb2
parentcc34a816a10ca76004e079032f1a46aec1ccb1c4
Bug 9216: make columns.def file translatable

The SQL column headers is stored into the columns.def file.
This file is not managed by the translation script.

This patch makes possible the headers translation.
Note: The translation xml tags were added to avoid all lines being put
on a single line.

Test plan:
1/ update your po file
cd misc/translate;
perl translate -f columns update LANG # Replace by another language here
2/ translate header columns (search "columns.def" in your po file).
3/ install the translated columns.def
perl translate -f columns install LANG # Replace by another language here
4/ go on the report module > create a new report > next > next
5/ change the language
on the 3rd step, you should see the column header translated.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Work as described, no koha-qa errors

[on es-ES about a third of the strings translated!! :-) ]

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described and fixes a long standing translation
problem.
Passes all tests and QA script.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Reports/Guided.pm
koha-tmpl/intranet-tmpl/prog/en/columns.def
misc/translator/tmpl_process3.pl