Bugzilla – Attachment 192746 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
1ec69a6.patch (text/plain), 1.10 KB, created by
Jonathan Druart
on 2026-02-09 12:03:04 UTC
(
hide
)
Description:
Bug 41216: Adjust POD
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2026-02-09 12:03:04 UTC
Size:
1.10 KB
patch
obsolete
>From 1ec69a67f5bfd2250d99d2f809f078a8efb4ab0e 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 > >--- > 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.43.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