Bug 26344 - Move translatable strings out of templates into patrons.js
Summary: Move translatable strings out of templates into patrons.js
Status: ASSIGNED
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on: 21156 27354
Blocks:
  Show dependency treegraph
 
Reported: 2020-09-01 16:14 UTC by Owen Leonard
Modified: 2024-04-24 17:17 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Owen Leonard 2020-09-01 16:14:14 UTC
Strings defined in templates for use in autocomplete/patrons.js can now be wrapped in the new translation function.
Comment 1 Owen Leonard 2020-09-01 18:23:00 UTC
I didn't notice it when I first started working on this, but the JavaScript in question is at this location:

koha-tmpl/intranet-tmpl/js/autocomplete/patrons.js

Whereas the translation script only process JavaScript in:

koha-tmpl/intranet-tmpl/prog/*

So my patch won't work! Is there a reason why we don't translate JS in intranet-tmpl/js ?