]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 28 May 2024 20:15:44 +0000 (20:15 +0000)
commitc82a677a4caa4b5aed585c4493b9ed1945b875dd
treed6bcde198c43835d061dd822503931f95bf894fd
parent8f521bdb3c29ef8a54668c15fa936b5b963079eb
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>
(cherry picked from commit b9f97ec015e4f101546e308754db4ed532987fde)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 5559ebc3bf8a6d3a3462e1367ce3901084cc7501)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/includes/i18n.inc