From 292bbd0fdaede00bd7948e2b9cbb85e9e4442d7d Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 16 May 2024 12:03:11 +0000 Subject: [PATCH] Bug 36876: Correct s around translatable strings in table settings This patch corrects the way translatable strings are handled in the table settings template. The switch to Bootstrap WRAPPERs for the accordion widget included several errors. To test, apply the patch and go to Administration -> Table settings. - Confirm that the sections expand and collapse correctly. - Test the translation process with a language, e.g. fr-FR: - In KTD, run: gulp po:update --lang fr-FR - Check fr-FR-staff-prog.po for the line referring to koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt:298 - It should show the whole string "Interlibrary loans" --- .../prog/en/modules/admin/columns_settings.tt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt index efb664fc91..14210dfe2b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt @@ -275,7 +275,7 @@ [% WRAPPER accordion_item %] [% WRAPPER accordion_heading panel_id="coursereserves" %] - Course reserves + Course reserves [% END %] [% WRAPPER accordion_panel panel_id="coursereserves" %]

Course reserves tables

@@ -285,7 +285,7 @@ [% WRAPPER accordion_item %] [% WRAPPER accordion_heading panel_id="erm" %] - E-resource management + E-resource management [% END %] [% WRAPPER accordion_panel panel_id="erm" %]

E-resource management tables

@@ -295,7 +295,7 @@ [% WRAPPER accordion_item %] [% WRAPPER accordion_heading panel_id="illrequests" %] - Interlibrary loans + Interlibrary loans [% END %] [% WRAPPER accordion_panel panel_id="illrequests" %]

Interlibrary loans tables

@@ -315,7 +315,7 @@ [% WRAPPER accordion_item %] [% WRAPPER accordion_heading panel_id="pos" %] - Point of sale + Point of sale [% END %] [% WRAPPER accordion_panel panel_id="pos" %]

Point of sale tables

-- 2.39.2