Bug 24808: enable translation on results.js
commit3d953d7988df792ca83a13872a39f49480c7e39f
authorBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Tue, 28 Apr 2020 22:37:52 +0000 (28 19:37 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 4 May 2020 07:23:55 +0000 (4 08:23 +0100)
tree88542ac5de4fd28ff1cabea6cbf34d2baddb989b
parent219f000069377f8a6b2790e42870083236b66bd0
Bug 24808: enable translation on results.js

String sorrounded by "__()"

To test:
1) create translation files for a language
(cd misc/translator; ./translate create xx-YY)

2) Check string
egrep -l "No cover image available" misc/translator/po/xx-YY-*
present in 2 files, opac-bootstrap and staf-prog

3) Apply patch

4) Create files again
(cd misc/translator; rm -f po/xx-YY*; ./translate create xx-YY)

5) Check again
egrep -l "No cover image available" misc/translator/po/xx-YY-*
present in 3 files, new in messages-js

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/js/pages/results.js