Bug 11227: remove some JavaScript from staff PO files
authorBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Thu, 3 Apr 2014 13:10:33 +0000 (10:10 -0300)
committerGalen Charlton <gmc@esilibrary.com>
Sun, 27 Apr 2014 21:35:34 +0000 (21:35 +0000)
commite64c52866be5f148874798de7c6fb050f3f0b454
tree6f2ed5e3b7a4b5b71427b0514c86005452e0aea8
parent9e9088049c343cc8676630cfd6a5cde7fa897f0f
Bug 11227: remove some JavaScript from staff PO files

This patch rewrites authorities_js.inc so translate
script will process it correctly. To do that I added
<script></script> at the file

To test:
1) Update po files for your preffered language

2) Check occurrence of mergeAuth on staff PO file
or try
egrep -n  "Merging with authority: |Cancel merge"
strings appear in a JS func

3) Apply the patch

4) Update translations again, check again, old
strings now begin with #~ (obsoleted) and there
are new entries for the messages

5) Check functionality provided by script

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described and fixes a translation difficulty.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/includes/authorities_js.inc
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities-home.tt
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt