Bugzilla – Attachment 63599 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]
[SIGNED-OFF] Bug 18648 - Translatability: Get rid of tt directives in translation for macles.tt
SIGNED-OFF-Bug-18648---Translatability-Get-rid-of-.patch (text/plain), 1.88 KB, created by
Josef Moravec
on 2017-05-22 08:20:38 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 18648 - Translatability: Get rid of tt directives in translation for macles.tt
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2017-05-22 08:20:38 UTC
Size:
1.88 KB
patch
obsolete
>From 6e0b12dfc167e754d7df09203b77832d9f5229cc Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Sun, 21 May 2017 19:44:02 +0200 >Subject: [PATCH] [SIGNED-OFF] 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) >- If you know where / how this macles is used, verify that it behaves as before > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > .../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..575fc49 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 %][% lib.lib |html %] _ ' - ' 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