| Summary: | Error on the label creator home page | ||
|---|---|---|---|
| Product: | Koha | Reporter: | sergeinik <sergeinik> |
| Component: | Tools | Assignee: | Bugs List <koha-bugs> |
| Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
| Severity: | normal | ||
| Priority: | P5 - low | CC: | jonathan.druart |
| Version: | 20.11 | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Attachments: | This error appears when prompted to create stickers. | ||
I can't reproduce this problem in version 20.11.03. If this happened after a recent upgrade I wonder if something happened that prevented the upgrade from completing properly? This problem appears when we switch the interface to Russian localization, in English localization everything works correctly. But I would like to have working tools in Russian localization, since not all of our employees speak English. The problem appeared after the last update. Edit koha-tmpl/intranet-tmpl/prog/ru-RU/includes/tools-menu.inc
There is a missing [ at the beginning of line 8
8 [% IF ( CAN_user_tools_manage_patron_lists || CAN_user_clubs || CAN_user_tools_moderate_comments || CAN_user_tools_import_patrons || CAN_user_tools_edit_notices || CAN_user_tools_edit_notice_status_triggers || CAN_user_tools_label_creator || CAN_user_tools_delete_anonymize_patrons || CAN_user_tools_edit_patrons || CAN_user_tools_moderate_tags || ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('pa tronimages') ) ) %] <h5>Читатели и книговыдача</h5>
I fixed it there: https://translate.koha-community.org/ru/20.11/translate/ru-RU-staff-prog.po#search=CAN_user_tools_manage_patron_lists&sfields=source&unit=16304968&offset=0 Another workaround is to apply this change and run the translate install command
@ misc/translator/po/ru-RU-staff-prog.po:64363 @ msgid ""
"( CAN_user_tools_batch_upload_patron_images && Koha."
"Preference('patronimages') ) ) %%] "
msgstr ""
-"%% IF ( CAN_user_tools_manage_patron_lists || CAN_user_clubs || "
+"[%% IF ( CAN_user_tools_manage_patron_lists || CAN_user_clubs || "
"CAN_user_tools_moderate_comments || CAN_user_tools_import_patrons || "
"CAN_user_tools_edit_notices || CAN_user_tools_edit_notice_status_triggers || "
"CAN_user_tools_label_creator || CAN_user_tools_delete_anonymize_patrons || "
Thanks it worked |
Created attachment 118362 [details] This error appears when prompted to create stickers. No tool works after the last update.