https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15395 --- Comment #116 from Julian Maurice <julian.maurice@biblibre.com> --- (In reply to Jonathan Druart from comment #107)
(In reply to Julian Maurice from comment #105)
3. The content from the .inc files are added to the .po because they contain TT blocks on several lines. Maybe we should have a list of files to skip and copy as it (?) I don't understand. My .po file is clean after an 'update'. Why would we want to skip .inc files ? Can you give an example of what gets wrongly added to the .po ?
#: opac-tmpl/bootstrap/en/includes/i18n.inc:1 #, c-format msgid "" "[%% USE I18N; MACRO t(msgid) BLOCK; I18N.t(msgid); END; MACRO tx(msgid, " "vars) BLOCK; I18N.tx(msgid, vars); END; MACRO tn(msgid, msgid_plural, count) " "BLOCK; I18N.tn(msgid, msgid_plural, count); END; MACRO tnx(msgid, " "msgid_plural, count, vars) BLOCK; I18N.tnx(msgid, msgid_plural, count, " "vars); END; MACRO txn(msgid, msgid_plural, count, vars) BLOCK; I18N." "txn(msgid, msgid_plural, count, vars); END; MACRO tp(msgctxt, msgid) BLOCK; " "I18N.tp(msgctxt, msgid); END; MACRO tpx(msgctxt, msgid, vars) BLOCK; I18N." "tpx(msgctxt, msgid, vars); END; MACRO tnp(msgctxt, msgid, msgid_plural, " "count) BLOCK; I18N.tnp(msgctxt, msgid, msgid_plural, count); END; MACRO " "tnpx(msgctxt, msgid, msgid_plural, count, vars) BLOCK; I18N.tnpx(msgctxt, " "msgid, msgid_plural, count, vars); END; %%] " msgstr ""
And there is nothing to translate in this file, there are just TT tags. It happens when TT tags are split on several lines.
Ah I thought you were talking about xx-XX-messages.po but this is in xx-XX-opac-bootstrap.po right ? This should be fixed by attachment 81157 -- You are receiving this mail because: You are watching all bug changes.