Bugzilla – Attachment 147796 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.81 KB, created by
Owen Leonard
on 2023-03-06 18:07:22 UTC
(
hide
)
Description:
Bug 33151: Improve translation of string in cities.tt and desks.tt
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2023-03-06 18:07:22 UTC
Size:
1.81 KB
patch
obsolete
>From bf24546b17641a58494fbf10ccfd002d30d9c51d 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' >--- > 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 98235c8215..aa1464a5c4 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 d283a57e50..1d78b5569e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/desks.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/desks.tt >@@ -178,7 +178,7 @@ > > <h1>Desks</h1> > [% IF searchfield %] >- Searching: [% searchfield | html %] >+ <span>Searching: [% searchfield | html %]</span> > [% END %] > > [% IF desks.count %] >-- >2.30.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