Bugzilla – Attachment 53179 Details for
Bug 16701
Translatability: Fix problem with isolated ' in currency.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF]Bug 16701: Translatability: Fix problem with isolated ' in currency.tt
SIGNED-OFFBug-16701-Translatability-Fix-problem-wi.patch (text/plain), 2.44 KB, created by
Héctor Eduardo Castro Avalos
on 2016-07-07 15:31:30 UTC
(
hide
)
Description:
[SIGNED-OFF]Bug 16701: Translatability: Fix problem with isolated ' in currency.tt
Filename:
MIME Type:
Creator:
Héctor Eduardo Castro Avalos
Created:
2016-07-07 15:31:30 UTC
Size:
2.44 KB
patch
obsolete
>From 578bbdc47f129ec0c8ac27cf552d36a5ce4c1355 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Tue, 21 Jun 2016 09:08:06 +0200 >Subject: [PATCH] [SIGNED-OFF]Bug 16701: Translatability: Fix problem with > isolated ' in currency.tt > >This patch moves markup <span class="ex"> into template variables to >avoid sentence splitting. > >To test: >- Apply patch >- Verify that currency administration works as before > (Home > Administration > Currencies & Exchange rates > Currencies) >- Examine code changes > >Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt >index 63713fb..c21468a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt >@@ -49,7 +49,7 @@ > > > <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> › <a href="/cgi-bin/koha/admin/currency.pl">Currencies & Exchange rates</a> › [% IF op == 'add_form' %][% IF currency %]Modify currency '[% currency.currency %]'[% ELSE %]New currency[% END %][% END %] >-[% IF op == 'delete_confirm' %]Confirm deletion of currency '<span class="ex">[% searchfield %]</span>' >+[% IF op == 'delete_confirm' %]Confirm deletion of currency '[% '<span class="ex">' _ searchfield _ '</span>' %]' > [% ELSIF op == 'list' %]Currencies > [% END %] > </div> >@@ -149,7 +149,7 @@ > [% IF op =='delete_confirm' %] > [% IF nb_of_orders or nb_of_vendors %] > <div class="dialog alert"> >- <h3>Cannot delete currency <span class="ex">'[% currency.currency %]'</span></h3> >+ <h3>Cannot delete currency [% '<span class="ex">' _ currency.currency _ '</span>' %]'</h3> > <p> > [% IF nb_of_orders %] > This currency is used by [% nb_of_orders %] orders. >@@ -164,7 +164,7 @@ > </div> > [% ELSE %] > <div class="dialog alert"> >- <h3>Confirm deletion of currency <span class="ex">'[% currency.currency %]'</span></h3> >+ <h3>Confirm deletion of currency '[% '<span class="ex">' _ currency.currency _ '</span>' %]'</h3> > <table> > <tr><th>Currency</th> > <td>[% currency.currency %]</td> >-- >1.7.10.4
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 16701
:
52635
|
53178
|
53179
|
53180
|
53253
|
53283
|
53284