Bug 41216: Adjust POD

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2026-02-09 12:59:48 +01:00 committed by Lucas Gass
parent f088e300f8
commit e8f473fb8f
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 8 additions and 3 deletions

View File

@ -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'