Bug 26344

Summary: Move translatable strings out of templates into patrons.js
Product: Koha Reporter: Owen Leonard <oleonard>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: ASSIGNED --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: testopia
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 21156, 27354    
Bug Blocks:    

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 ?