Koha/koha-tmpl/opac-tmpl/bootstrap/js
Owen Leonard 599a6cb92e Bug 26619: Cart - The "Print" button is only translated when you are in "More details" mode
This patch adds the "Print" string to datatables.js so that it can be
picked up for translation.

To test, apply the patch and add some items to the cart in the OPAC.

- Open the cart. You should see a button labeled "Print."
- The print button should work correctly.

TESTING TRANSLATABILITY

- Update a translation, e.g. fr-FR:

  > cd misc/translator
  > perl translate update fr-FR

- Open the corresponding .po file for JavaScript strings,
  misc/translator/po/fr-FR-messages-js.po
- Locate strings pulled from
  koha-tmpl/opac-tmpl/bootstrap/js/datatables.js for translation:

  msgid "Print"
  msgstr ""

- Edit the "msgstr" string however you want (it's just for testing).
- Install the updated translation:

   > perl translate install fr-FR

- Switch to your newly translated language in the OPAC and
  repeat the test plan above. The translated strings should appear.

Signed-off-by: David Nind <david@davidnind.com>

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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-10-26 00:14:42 +01:00
..
amazonimages.js
authtoresults.js
bakertaylorimages.js
basket.js Bug 25351: Move cart-related strings out of opac-bottom.inc and into basket.js 2020-07-30 17:44:27 +02:00
browse.js
browserid_include.js
coce.js
datatables.js Bug 26619: Cart - The "Print" button is only translated when you are in "More details" mode 2020-10-26 00:14:42 +01:00
Gettext.js
global.js Bug 26505: Suspend hold modal broken in the OPAC 2020-09-28 11:08:03 +02:00
google-jackets.js
i18n.js
ill-availability.js
localcovers.js Bug 26145: Display the cover image at the OPAC 2020-10-12 11:28:41 +02:00
openlibrary.js Bug 26037: openlibrary.org is hit on every Koha requests 2020-08-06 11:37:07 +02:00
overdrive.js
ratings.js
recordedbooks.js
script.js Bug 20168: Update of the OPAC bootstrap template to bootstrap v4 2020-09-09 14:13:03 +02:00
tags.js
verovio.js