[Koha-bugs] [Bug 17827] Untranslatable "by" in MARC21slim2intranetResults.xsl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 22 16:31:50 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17827

Serhij Dubyk <dubyk at ukr.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #59578|0                           |1
        is obsolete|                            |

--- Comment #6 from Serhij Dubyk <dubyk at ukr.net> ---
Created attachment 66345
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66345&action=edit
new patch

Perhaps the comment "!-- #13383 --" after the text term removed this term from
translation...

Test:

Before this patch in file en-GB-marc-MARC21.po present next paragraph:

#:
/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl:457
#, fuzzy, c-format
msgid "by "
msgstr " by "

According string "by " in the file MARC21slim2intranetResults.xsl can not be
translated (in other languages).

After applying this patch performed next command:
cd /usr/share/koha/misc/translator
sudo env KOHA_CONF=/etc/koha/sites/mykohainstance/koha-conf.xml
PERL5LIB=/usr/share/koha/lib perl -I /usr/share/koha/lib "./translate" update

Now in the file en-GB-marc-MARC21.po present the following (modified)
paragraph:

#:
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl:349
#:
/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl:457
#, fuzzy, c-format
msgid "by "
msgstr " by "

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


More information about the Koha-bugs mailing list