]> git.koha-community.org Git - koha.git/commit
Bug 36282: Chomp whitespace around opac i18n strings
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Fri, 8 Mar 2024 11:49:26 +0000 (11:49 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 26 Apr 2024 06:52:49 +0000 (08:52 +0200)
commitb9f97ec015e4f101546e308754db4ed532987fde
tree63793472f99944036410653fd4410443b122701a
parent7eb9807334135ab8554f6789f71357567a93bc63
Bug 36282: Chomp whitespace around opac i18n strings

Same logic as bug 26816 but to OPAC

Test plan:
1) Apply test plan patch only
2) Visit opac home:
<opac_url>/cgi-bin/koha/opac-main.pl
3) Notice there's a space between 'Translated string' and ':', even though the markup does not contain a whitespace
4) Apply 2nd patch
5) Notice the white space is gone

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/opac-tmpl/bootstrap/en/includes/i18n.inc