Bug 33151: Improve translation of string in cities.tt and desks.tt

This patch adds a <span> 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 <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 2894003792)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
This commit is contained in:
Owen Leonard 2023-03-06 18:02:28 +00:00 committed by Matt Blenkinsop
parent 7bb845b3a5
commit fdc10bcbf8
2 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@
<h1>Cities</h1>
[% IF city_name_filter %]
Searching: [% city_name_filter | html %]
<span>Searching: [% city_name_filter | html %]</span>
[% END %]
[% IF cities_count > 0 %]

View File

@ -167,7 +167,7 @@
<h1>Desks</h1>
[% IF searchfield %]
Searching: [% searchfield | html %]
<span>Searching: [% searchfield | html %]</span>
[% END %]
[% IF desks.count %]