From 1ec69a67f5bfd2250d99d2f809f078a8efb4ab0e Mon Sep 17 00:00:00 2001 From: Jonathan Druart 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: - 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 %] + [2] Test tag tags have both attributes 'id' and 'class' -- 2.43.0