From f3fcf7fc1bb472da81ad43fcb2181f4d3f6fa24a Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 23 Feb 2023 22:53:02 +0000 Subject: [PATCH] Bug 33001: (follow-up) Add spans for translatability This patch finds places in the updated breadcrumbs markup where a translatable string is isolated in a way that makes it hard for the translation script to find it, and wraps these strings with Signed-off-by: David Nind Signed-off-by: Katrin Fischer https://bugs.koha-community.org/show_bug.cgi?id=33005 Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 4e2871c2859e2c7453e1175aee7eafc60a5e1937) Signed-off-by: Jacob O'Mara --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt | 4 ++-- .../intranet-tmpl/prog/en/modules/acqui/invoice-files.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt | 2 +- .../intranet-tmpl/prog/en/modules/acqui/moddeliverydate.tt | 2 +- .../intranet-tmpl/prog/en/modules/acqui/modordernotes.tt | 6 +++++- .../intranet-tmpl/prog/en/modules/acqui/neworderempty.tt | 4 ++-- .../prog/en/modules/acqui/neworderempty_duplicate.tt | 2 +- .../prog/en/modules/acqui/newordersubscription.tt | 2 +- 9 files changed, 15 insertions(+), 11 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt index 4865bec71c..3ee9d7dc3b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt @@ -24,11 +24,11 @@ Orders search [% END %] [% WRAPPER breadcrumb_item bc_active= 1 %] - Search results + Search results [% END %] [% ELSE %] [% WRAPPER breadcrumb_item bc_active= 1 %] - Order search + Order search [% END %] [% END %] [% END #/ WRAPPER breadcrumbs %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice-files.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice-files.tt index dfc829b1a1..c86109b326 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice-files.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice-files.tt @@ -24,7 +24,7 @@ [% invoicenumber | html %] [% END %] [% WRAPPER breadcrumb_item bc_active= 1 %] - Files + Files [% END %] [% END #/ WRAPPER breadcrumbs %] [% END #/ WRAPPER sub-header.inc %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt index 160ea96563..dcf0c3e0c3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt @@ -21,7 +21,7 @@ Acquisitions [% END %] [% WRAPPER breadcrumb_item bc_active= 1 %] - Invoices + Invoices [% END %] [% END #/ WRAPPER breadcrumbs %] [% END #/ WRAPPER sub-header.inc %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt index 0700170fb6..1a502c41e7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt @@ -21,7 +21,7 @@ Acquisitions [% END %] [% WRAPPER breadcrumb_item bc_active= 1 %] - Late orders + Late orders [% END %] [% END #/ WRAPPER breadcrumbs %] [% END #/ WRAPPER sub-header.inc %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/moddeliverydate.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/moddeliverydate.tt index 1c718647cf..812e28b1bb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/moddeliverydate.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/moddeliverydate.tt @@ -21,7 +21,7 @@ Basket [% basketname | html %] ([% basketno | html %]) [% END %] [% WRAPPER breadcrumb_item bc_active= 1 %] - Change estimated delivery date + Change estimated delivery date [% END %] [% END #/ WRAPPER breadcrumbs %] [% END #/ WRAPPER sub-header.inc %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/modordernotes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/modordernotes.tt index 98e6742a63..6feb14b9a6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/modordernotes.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/modordernotes.tt @@ -24,7 +24,11 @@ Basket [% basketname | html %] ([% basketno | html %]) [% END %] [% WRAPPER breadcrumb_item bc_active=1 %] - Change order [% IF (type == "vendor") %]vendor[% ELSE %]internal[% END %] note + [% IF (type == "vendor") %] + Change order's vendor note + [% ELSE %] + Change order's internal note + [% END %] [% END %] [% END #/ WRAPPER breadcrumbs %] [% END #/ WRAPPER sub-header.inc %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt index 4e35ed156a..2eb84b61b9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt @@ -56,11 +56,11 @@ [% END %] [% IF ( ordernumber ) %] [% WRAPPER breadcrumb_item bc_active= 1 %] - Modify order details (line #[% ordernumber | html %]) + Modify order details (line #[% ordernumber | html %]) [% END %] [% ELSE %] [% WRAPPER breadcrumb_item bc_active= 1 %] - New order + New order [% END %] [% END %] [% END #/ WRAPPER breadcrumbs %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty_duplicate.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty_duplicate.tt index 2a87fe78ed..39833a96c6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty_duplicate.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty_duplicate.tt @@ -18,7 +18,7 @@ Basket [% basketno | html %] [% END %] [% WRAPPER breadcrumb_item bc_active= 1 %] - Duplicate warning + Duplicate warning [% END %] [% END #/ WRAPPER breadcrumbs %] [% END #/ WRAPPER sub-header.inc %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt index 86db364bba..e2558595fd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt @@ -27,7 +27,7 @@ Basket [% basketno | html %] [% END %] [% WRAPPER breadcrumb_item bc_active= 1 %] - Add order from a subscription + Add order from a subscription [% END %] [% END #/ WRAPPER breadcrumbs %] [% END #/ WRAPPER sub-header.inc %] -- 2.39.5