https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41216
Victor Grousset/tuxayo <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA --- Comment #18 from Victor Grousset/tuxayo <[email protected]> --- > The translation is done on the fly/at runtime, you won't see the translated > version in the template. Thanks Jonathan. I managed to display the string and the translation works :) In the mean time, a file was introduced that make the test fail: # Failed test at xt/author/tt_valid.t line 93. # got: '1' # expected: '0' # t/lib/plugins/Koha/Plugin/TestValuebuilder/test_valuebuilder_popup.tt: 8 content of the file: ================= <!DOCTYPE html> <!-- prettier-ignore-start --> <html> <head> <title>[% plugin_name | html %] - Valuebuilder</title> <meta charset="UTF-8" /> </head> <body> <h1>[% plugin_name | html %]</h1> <p>This is a test valuebuilder popup for field: [% field_id | html %]</p> <form> <label for="test_value">Enter a value:</label> <input type="text" id="test_value" value="Test Value from Plugin" /> [...] ================= hmmm, where would the "we cannot have TT tags to construct HTML tags IF one of the attribute contains a translatable string." be? ---------- I think this part of the POD is obsolete: ``` [1] Test if TT files contain TT directive within HTML tag. For example: <li[% IF This kind of construction MUST be avoided because it breaks Koha translation process. ``` -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
