Bug 22490

Summary: Some strings in javascript files are untranslatable
Product: Koha Reporter: Josef Moravec <josef.moravec>
Component: I18N/L10NAssignee: Fridolin SOMERS <fridolin.somers>
Status: ASSIGNED --- QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low CC: black23, frederic, fridolin.somers, jonathan.druart
Version: master   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Who signed the patch off: Text to go in the release notes:
Version(s) released in:
Bug Depends on: 22114, 22904    
Bug Blocks:    

Description Josef Moravec 2019-03-11 11:20:14 UTC
You can find them easily with these commands:

git grep "_(" koha-tmpl/intranet-tmpl/prog/js

git grep "_(" koha-tmpl/opac-tmpl/bootstrap/js

They should be fixed, see https://wiki.koha-community.org/wiki/Coding_Guidelines#JS5:_Enabling_translation_of_language_strings_in_linked_JavaScript
Comment 1 Fridolin SOMERS 2019-03-28 09:04:59 UTC
*** Bug 22601 has been marked as a duplicate of this bug. ***
Comment 2 Fridolin SOMERS 2019-03-28 11:11:48 UTC
I will create a xxx-strings.inc for each js
Comment 3 Jonathan Druart 2019-06-23 15:47:06 UTC
A Koha test must be provided here.