Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Owen Leonard 0381d9e524 Bug 27815: "Remove" in point of sale untranslatable
This patch modifies the Point of Sale template so that the "Remove"
button can be translated. The string in the JavaScript block wasn't
wrapped in the correct function.

To test, apply the patch and test that the correct strings are
translatable. In this example I'm testing fr-FR:

- Update a translation:

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

- Open the corresponding .po file for the strings pulled from
  the template: e.g. misc/translator/po/fr-FR-staff-prog.po
- Locate strings pulled from pos/pay.tt for translation to confirm the
  update, e.g.:

  #: koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt:189
  #, c-format
  msgid "Remove"
  msgstr "Enlever"

- Install the updated translation:

  > perl translate install fr-FR

- In the staff client, go to Point of Sale.
- Switch to the French translation and click the "Ajouter" button next
  to one of the items for purchase.
- In the "This sale" table, the item you added should have a
  corresponding "Enlever" button.

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>
2021-03-09 17:20:47 +01:00
..
acqui Bug 27795: Misalignment of TOTAL value in lateorders page 2021-03-05 13:48:31 +01:00
admin Bug 27652: Display patron's categories for sysprefs expecting them 2021-03-09 17:20:47 +01:00
authorities Bug 27886: Move non-rancor code into correct section 2021-03-08 15:15:45 +01:00
basket
batch
catalogue Bug 25846: (follow-up) Show "No cover image available" message 2021-03-04 08:38:09 +01:00
cataloguing Bug 24623: Phase out jquery.cookie.js: Advanced MARC editor 2021-03-04 16:18:42 +01:00
circ Bug 12224: (follow-up) Move button to patron column in checkins table 2021-03-05 13:49:03 +01:00
clubs Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
common Bug 27561: Remove type attribute from script tags: Various templates 2021-02-01 16:36:38 +01:00
course_reserves Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
errors Bug 21790: Switch error page template to Bootstrap grid 2018-12-26 20:47:03 +00:00
ill
installer Bug 27473: Remove the redirect after 10sec 2021-03-03 15:53:59 +01:00
labels Bug 27404: update labels/label-edit-range.tt for ACC2 2021-02-08 16:12:42 +01:00
mana
members Bug 27410: (follow-up) Updates to accommodate currency entry 2021-03-05 13:48:31 +01:00
offline_circ Bug 27561: Remove type attribute from script tags: Various templates 2021-02-01 16:36:38 +01:00
onboarding
patron_lists Bug 27605: Add floating toolbar to patron search page 2021-02-09 09:23:55 +01:00
patroncards Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
plugins Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
pos Bug 27815: "Remove" in point of sale untranslatable 2021-03-09 17:20:47 +01:00
reports Bug 27380: Add 'list' option to Koha report parameters 2021-02-12 12:22:08 +01:00
reserve Bug 27863: Use the /libraries route when AllowHoldsPolicyOverride is set 2021-03-09 09:50:44 +01:00
reviews Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
rotating_collections Bug 26618: (QA follow-up) Update messages syntax 2021-03-03 15:36:13 +01:00
serials Bug 27332: Hide branchcode and note is RenewSerialAddsSuggestion if off 2021-02-23 13:16:07 +01:00
services
suggestion Bug 27608: Corrects 'accepted by' inconsistency in suggestion.tt 2021-02-08 14:56:00 +01:00
tags Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
test
tools Bug 27766: Hide expired news items by default 2021-03-09 15:05:31 +01:00
virtualshelves Bug 27605: Add floating toolbar to patron search page 2021-02-09 09:23:55 +01:00
about.tt Bug 22824: Add warning to the about page 2021-03-04 16:18:42 +01:00
auth.tt Bug 18506: (QA follow-up) Indentation and more conditionals 2021-02-09 09:48:35 +01:00
intranet-main.tt Bug 27561: Remove type attribute from script tags: Various templates 2021-02-01 16:36:38 +01:00