Hello Owen, changing of quotes in htdocs/intranet-tmpl/prog/ru-RU/modules/catalogue/itemsearch.tt solve this problem. Thank you very much!
Best regards Eugen Bastron > Owen Leonard <oleon...@myacpl.org> hat am 25.02.2025 13:27 CET geschrieben: > > > It looks like there is problem with the Russian translation which is > causing a JavaScript error on the item search page. The translation > file (ru-RU-staff-prog.po) has this: > > #: koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt:379 > #: koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt:100 > #, c-format > msgid "Not for loan status" > msgstr "Статус \"на дом не выдается\"" > > This creates double quotes in the JS section of the template which > trigger the error. In other parts of the templates this kind of string > might work with no problems, but because this generates JavaScript it > is a problem. I'm not sure how we could improve this process for > translators. > > A manual fix to the .po file (if you're able to rebuild the translated > templates) would look like this: > > msgstr "Статус 'на дом не выдается'" > > A manual fix to the template would change this line: > > + ' <th id="items_status" data-colname="notforloan_status">' + > _("Статус "на дом не выдается"") + '</th>' > > ...to this: > > + ' <th id="items_status" data-colname="notforloan_status">' + > _("Статус 'на дом не выдается'") + '</th>' > > -- Owen > > -- > Web Developer > Athens County Public Libraries > (740) 737-6006 > https://www.myacpl.org _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha