Bugzilla – Attachment 63853 Details for
Bug 18648
Translatability: Get rid of tt directives in translation for macles.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18648: Translatability: Get rid of tt directives in translation for macles.tt
Bug-18648-Translatability-Get-rid-of-tt-directives.patch (text/plain), 1.90 KB, created by
Marc Véron
on 2017-05-30 19:13:39 UTC
(
hide
)
Description:
Bug 18648: Translatability: Get rid of tt directives in translation for macles.tt
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2017-05-30 19:13:39 UTC
Size:
1.90 KB
patch
obsolete
>From e888e5f99021d4fdfc0a9d3e168e65df4f845e71 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Tue, 30 May 2017 21:10:32 +0200 >Subject: [PATCH] Bug 18648: Translatability: Get rid of tt directives in > translation for macles.tt > >koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/macles.tt contains >template directives inside a div tag: ><span title="[% FOREACH lib IN cell.libs %][% lib.lib |html %] - [% END %]"> >This is exposed in translation tool. > >To test: >- Carefully examine code changes >- Apply patch, verify that the directive is no longer exposed (picked for > po files), e.g. by creating a new "language" aa-AA and examing aa-AA-staff-prog.po >- If you know where / how this macles is used, verify that it behaves as before > >(Note: New patch, needs new sign off) >--- > .../intranet-tmpl/prog/en/modules/cataloguing/value_builder/macles.tt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/macles.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/macles.tt >index efa30fa..c137404 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/macles.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/macles.tt >@@ -53,7 +53,8 @@ > </th> > [% FOREACH cell IN line.cells %] > <td headers="[% cell.rowvalue %] [% cell.colvalue %]"> >- <span title="[% FOREACH lib IN cell.libs %][% lib.lib |html %] - [% END %]"> >+ [% BLOCK spantitle %][% FOREACH lib IN cell.libs %][% lib.lib |html %][% END %] >+ <span title="[% INCLUDE spantitle %]"> > [% cell.celvalue %] <br /><input type="checkbox" name="[% cell.celvalue %]" value="[% cell.celvalue %]" /> > </span> > </td> >-- >2.1.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 18648
:
63592
|
63599
|
63853
|
63987
|
64060
|
64160
|
64162