Koha/koha-tmpl/opac-tmpl
Bernardo Gonzalez Kriegel d3a36c6612 Bug 11497: remove TT construct for picking a default string that i18n toolchain fails to pick up
The i18n toolchain fails to pick up constant text defined inside
[% ... %].  In particular, in a construct like this

  [% var OR "string" %]

the string "string" will not be available to be translated.

This patch fixes all the cases I could find.

To test:
1. Update your preferred language
(cd misc/translator; perl translate update fi-FI)

2. Count headers for example
egrep "^msgid.*Koha online" misc/translator/po/fi-FI-* | wc -l

3. Apply the patch

4. Repeat 1 and 2, now there are more lines
Or translate to some lang and visit every touched page and look the title

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described. Template changes only.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-04-27 21:23:01 +00:00
..
bootstrap Bug 11497: remove TT construct for picking a default string that i18n toolchain fails to pick up 2014-04-27 21:23:01 +00:00
ccsr Bug 11649 - Always use words "copy number" - opac prog 2014-02-18 23:52:10 +00:00
lib
prog Bug 11497: remove TT construct for picking a default string that i18n toolchain fails to pick up 2014-04-27 21:23:01 +00:00