Bugzilla – Attachment 192961 Details for
Bug 41216
Resurrect tt_valid.t
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41216: Adjust POD
Bug-41216-Adjust-POD.patch (text/plain), 1.16 KB, created by
Victor Grousset/tuxayo
on 2026-02-11 04:27:32 UTC
(
hide
)
Description:
Bug 41216: Adjust POD
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2026-02-11 04:27:32 UTC
Size:
1.16 KB
patch
obsolete
>From 65a5dc40d4040f6a9f10268cd0657721795c8fdf Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 9 Feb 2026 12:59:48 +0100 >Subject: [PATCH] Bug 41216: Adjust POD > >Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> >--- > xt/author/tt_valid.t | 11 ++++++++--- > 1 file changed, 8 insertions(+), 3 deletions(-) > >diff --git a/xt/author/tt_valid.t b/xt/author/tt_valid.t >index eafb30e29c7..6feff268743 100755 >--- a/xt/author/tt_valid.t >+++ b/xt/author/tt_valid.t >@@ -106,12 +106,17 @@ This test validates .tt files. > > For the time being, two validations are done: > >-[1] Test if TT files contain TT directive within HTML tag. For example: >+[1] Test if TT files contain TT tags that contain a translatable string. For example: > >- <li[% IF >+ <tr [% IF warning %]title="hello"[% END %]> > > This kind of construction MUST be avoided because it breaks Koha translation >-process. >+process. Use a TT variable instead to store the translatable string: >+ >+ [% IF warning %] >+ [% SET tr_warning = I18N.t("hello"); >+ [% END %] >+ <tr title="[% title | html %]"> > > [2] Test tag <body> tags have both attributes 'id' and 'class' > >-- >2.53.0
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 41216
:
189316
|
189317
|
189318
|
189328
|
189329
|
189330
|
190046
|
190047
|
192744
|
192745
|
192746
|
192955
|
192956
|
192957
|
192958
|
192959
|
192960
| 192961 |
192962