From e2121f5b5e52b7f06177b4cbe5c8fa1a2ce55180 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 (cherry picked from commit fdc10bcbf81b42a2340f6fef2a1b4345d940145e) Signed-off-by: Lucas Gass --- 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 032f6fe9cb..acf37fdd6e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt @@ -174,7 +174,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 40314562a0..067ce0b1f9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/desks.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/desks.tt @@ -175,7 +175,7 @@

Desks

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