From f719cf47283dcdbdaea02917de85ea4c11209323 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 Signed-off-by: Kyle M Hall (cherry picked from commit edf3c3bfa8d366ee7d2c77faf33210d7bdff9088) Signed-off-by: Andrew Fuerste-Henry --- .../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 %]