Bugzilla – Attachment 148235 Details for
Bug 33151
Improve translation of strings in cities and circulation desk administration pages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33151: Improve translation of string in cities.tt and desks.tt
Bug-33151-Improve-translation-of-string-in-citiest.patch (text/plain), 1.94 KB, created by
Martin Renvoize (ashimema)
on 2023-03-15 17:54:41 UTC
(
hide
)
Description:
Bug 33151: Improve translation of string in cities.tt and desks.tt
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2023-03-15 17:54:41 UTC
Size:
1.94 KB
patch
obsolete
>From 11c6abdee160a256c94bc5826a0b75db9810c55f Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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 <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> >--- > 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 @@ > > <h1>Cities</h1> > [% IF city_name_filter %] >- Searching: [% city_name_filter | html %] >+ <span>Searching: [% city_name_filter | html %]</span> > [% 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 @@ > > <h1>Desks</h1> > [% IF searchfield %] >- Searching: [% searchfield | html %] >+ <span>Searching: [% searchfield | html %]</span> > [% END %] > > [% IF desks.count %] >-- >2.39.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33151
:
147796
|
147900
| 148235