From 8bd30b03b4ae8533eae9945d587ec1a2b11117ff Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 19 Nov 2021 14:48:49 +0000 Subject: [PATCH] Bug 29529: Fix \n in hint on Koha to MARC mappings This patch breaks up a translatable string so that "\n" is excluded from what is translated. Unrelated: Capitalization is corrected on an instance of the phrase "Koha to MARC Mappings." To test, apply the patch and go to Administration -> Koha to MARC mapping. - The breadcrumb for the current page should have correct capitalization ("mapping" instead of "Mapping"). - Click the "Add" button for any Koha field. The dialog should display correctly: Adding a mapping for: biblio.abstract. Please enter field tag and subfield code, separated by a comma. (For control fields: add '@' as subfield code.) The change will be applied immediately. Test the way the po file is updated: > cd misc/translator > perl translate update en-GB (for example) - Open the updated po file, en-GB-staff-prog.po - You should find these lines: SCRIPT koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tt:86 msgid "The change will be applied immediately." msgstr "" Signed-off-by: David Nind Signed-off-by: Marcel de Rooy Signed-off-by: Fridolin Somers --- .../intranet-tmpl/prog/en/modules/admin/koha2marclinks.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tt index efdea290c8..c3aa75586e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tt @@ -19,7 +19,7 @@ Administration
  • - Koha to MARC Mapping + Koha to MARC mapping
  • @@ -85,7 +85,7 @@ [% Asset.js("js/admin-menu.js") | $raw %]