Koha/koha-tmpl/opac-tmpl/bootstrap/js
Owen Leonard 049bd2da23 Bug 13341 - Hard-coded "Preview" text in OPAC openlibrary.js
The OpenLibrary JavaScript includes an untranslated string, "Preview."
This patch move the string to the template so that it can be translated.

To test, apply the patch and test that the translator picks up the
string:

1. From misc/translator run 'perl translate update [lang]' (e.g. de-DE)
2. Edit misc/translator/po/[lang]-opac-bootstrap.po and add a
   translation for the updated "Preview" string
3. Remove the "#, fuzzy" marker from that entry
4. From misc/translator run 'perl translate install [lang]'
5. Enable the [lang] translation for the OPAC in system preferences
6. Enable the OpenLibraryCovers system preference.
7. In the OPAC switch to the [lang] translation.
7. View the detail page for a title for which there is an OpenLibrary
   cover image. Below it you should see a preview link with the
   translated string you added in step 2.

Works as expected.
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-12-28 20:44:26 -03:00
..
amazonimages.js Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
bakertaylorimages.js Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
basket.js Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
browserid_include.js Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
datatables.js Bug 10860: In-House Use 2014-11-03 10:26:19 -03:00
global.js Bug 4045 - No check for maximum number of allowed holds. 2014-08-07 11:47:08 -03:00
google-jackets.js Bug 10309: (follow-up) apply another follow-up for 10856, improve shelf browser 2013-10-14 23:23:44 +00:00
googleindictransliteration.js Bug 13144: Google transliteration does not work on bootstrap 2014-11-06 09:52:22 -03:00
localcovers.js Bug 10309: (follow-up) apply another follow-up for 10856, improve shelf browser 2013-10-14 23:23:44 +00:00
openlibrary.js Bug 13341 - Hard-coded "Preview" text in OPAC openlibrary.js 2014-12-28 20:44:26 -03:00
overdrive.js Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
script.js Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
tags.js Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00