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)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 00d3a883b5)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
2861d291c3
commit
e7cf94446e
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue