Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Owen Leonard 983feccf64 Bug 27644: (follow-up) Wrap strings in translation function
This patch updates the in-template JavaScript so that some English
strings which were previously untranslatable. This patch wraps them in
the _() 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:

  > gulp po:update
  > cd misc/translator
  > perl translate update fr-FR

- Open the corresponding .po file for the strings pulled from
  JavaScript  e.g.  misc/translator/po/fr-FR-staff-prog.po
- Locate strings pulled from reports/guided_reports_start.tt for
  translation, e.g.:

  #: koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt:1324
  #, fuzzy, c-format
  msgid "Authorized value category:"
  msgstr "Catégorie de valeur autorisée : "

- Edit the "msgstr" string if necessary, or remove the "fuzzy," before
  "c-format"
- Install the updated translation:

  > perl translate install fr-FR

In the staff interface, switch to the language you're testing. Confirm
that your translated strings appear. In this case, test in particular:

 - The controls on the modal window when you preview a report's SQL from
   the list of saved reports.
 - The controls and modal dialog for inserting a runtime parameter.

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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-04-21 15:25:07 +02:00
..
acqui Bug 26703: modules and modules/acqui folders 2021-04-21 11:16:33 +02:00
admin Bug 27465: Add column visibility to admin/cities.pl 2021-04-21 15:25:07 +02:00
authorities Bug 26703: authorities, basket and batch folders 2021-04-21 11:16:33 +02:00
basket Bug 26703: authorities, basket and batch folders 2021-04-21 11:16:33 +02:00
batch Bug 26703: authorities, basket and batch folders 2021-04-21 11:16:33 +02:00
catalogue Bug 26703: catalogue folder 2021-04-21 11:16:33 +02:00
cataloguing Bug 26703: cataloguing folder 2021-04-21 11:16:33 +02:00
circ Bug 21883: Show authorized value description for withdrawn in check-in 2021-04-21 15:25:07 +02:00
clubs Bug 26703: clubs, common & course_reserves folders 2021-04-21 11:16:34 +02:00
common Bug 26703: clubs, common & course_reserves folders 2021-04-21 11:16:34 +02:00
course_reserves Bug 26703: clubs, common & course_reserves folders 2021-04-21 11:16:34 +02:00
errors Bug 26703: errors, ill and installer folders 2021-04-21 11:16:34 +02:00
ill Bug 26703: errors, ill and installer folders 2021-04-21 11:16:34 +02:00
installer Bug 26703: errors, ill and installer folders 2021-04-21 11:16:34 +02:00
labels Bug 26703: labels folder 2021-04-21 11:16:34 +02:00
mana Bug 22250: Clean up Mana KB integration with serials and reports 2019-04-11 11:34:14 +00:00
members Bug 26703: members folder 2021-04-21 11:16:34 +02:00
offline_circ Bug 26703: offline_circ and onboarding folders 2021-04-21 11:16:34 +02:00
onboarding Bug 26703: offline_circ and onboarding folders 2021-04-21 11:16:34 +02:00
patron_lists Bug 26703: patroncards and patron_lists folders 2021-04-21 11:16:35 +02:00
patroncards Bug 26703: patroncards and patron_lists folders 2021-04-21 11:16:35 +02:00
plugins Bug 26703: plugins and pos folders 2021-04-21 11:16:35 +02:00
pos Bug 28127: add transaction timestamp to register details tables 2021-04-21 15:25:07 +02:00
reports Bug 27644: (follow-up) Wrap strings in translation function 2021-04-21 15:25:07 +02:00
reserve Bug 26703: reserve, reviews & rotating_collections folders 2021-04-21 11:16:35 +02:00
reviews Bug 26703: reserve, reviews & rotating_collections folders 2021-04-21 11:16:35 +02:00
rotating_collections Bug 26703: reserve, reviews & rotating_collections folders 2021-04-21 11:16:35 +02:00
serials Bug 23243: (follow-up) Update wording as requested 2021-04-21 15:25:07 +02:00
services Bug 28066: Remove select tag's size attribute where it is 1 2021-04-06 15:56:31 +02:00
suggestion Bug 26703: suggestion and tags folders 2021-04-21 11:16:35 +02:00
tags Bug 26703: suggestion and tags folders 2021-04-21 11:16:35 +02:00
test
tools Bug 26703: (follow-up) remove starting separator from csv profiles title 2021-04-21 11:16:35 +02:00
virtualshelves Bug 26703: virtualshelves folder 2021-04-21 11:16:35 +02:00
about.tt Bug 26703: modules and modules/acqui folders 2021-04-21 11:16:33 +02:00
auth.tt Bug 18506: (QA follow-up) Indentation and more conditionals 2021-02-09 09:48:35 +01:00
intranet-main.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00