Koha/koha-tmpl/intranet-tmpl/prog/en/includes/xslt-handler.inc
Jonathan Druart e08629b68b Bug 29602: Surround strings with span tag
To be nicer with translators.

Update the PO files for whichever languages will show how this is
useful.

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Rebased-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-19 21:25:51 -10:00

16 lines
636 B
HTML

[% SWITCH code %]
[% CASE 'XSLTH_ERR_NO_FILE' %]
<span>No XSLT file passed.</span>
[% CASE 'XSLTH_ERR_FILE_NOT_FOUND' %]
<span>XSLT file not found.</span>
[% CASE 'XSLTH_ERR_LOADING' %]
<span>Error while loading stylesheet.</span>
[% CASE 'XSLTH_ERR_PARSING_CODE' %]
<span>Error while parsing stylesheet.</span>
[% CASE 'XSLTH_ERR_PARSING_DATA' %]
<span>Error while parsing input.</span>
[% CASE 'XSLTH_ERR_TRANSFORMING' %]
<span>Error while transforming input.</span>
[% CASE 'XSLTH_NO_STRING_PASSED' %]
<span>No string to transform.</span>
[% END %]