]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 23 May 2024 14:55:36 +0000 (16:55 +0200)
commit5559ebc3bf8a6d3a3462e1367ce3901084cc7501
treedffea863d72e1a1ca991bfe384e9190bc521b144
parent61c8fc97fc37d59407d2d2d8b48b63838a13e790
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>
koha-tmpl/opac-tmpl/bootstrap/en/includes/i18n.inc