From fdc10bcbf81b42a2340f6fef2a1b4345d940145e Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 6 Mar 2023 18:02:28 +0000 Subject: [PATCH] Bug 33151: Improve translation of string in cities.tt and desks.tt This patch adds a tag around a string in both cities.tt and desks.tt in order to improve translatability. To test apply the patch and run the translation script to update the .po files, e.g. perl misc/translator/translate update fr-FR Check the updated .po files: - Before the patch you would have found 'msgid "%s Searching: %s %s %s' - After the patch you should find 'msgid "Searching: %s' Signed-off-by: Matt Blenkinsop Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 289400379213dea3169ba30196ff4ef8f87a4b03) Signed-off-by: Matt Blenkinsop --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/admin/desks.tt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt index d34ba5e63a..56b6a06bc4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt @@ -167,7 +167,7 @@

Cities

[% IF city_name_filter %] - Searching: [% city_name_filter | html %] + Searching: [% city_name_filter | html %] [% END %] [% IF cities_count > 0 %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/desks.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/desks.tt index fd78a11301..2804c609f6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/desks.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/desks.tt @@ -167,7 +167,7 @@

Desks

[% IF searchfield %] - Searching: [% searchfield | html %] + Searching: [% searchfield | html %] [% END %] [% IF desks.count %] -- 2.39.5