]> git.koha-community.org Git - koha.git/commit
Bug 26816: Chomp whitespace around i18n strings
authorOwen Leonard <oleonard@myacpl.org>
Mon, 26 Oct 2020 11:55:57 +0000 (11:55 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 16 Nov 2020 18:36:36 +0000 (18:36 +0000)
commit2fa997f9a947aced8ae7ab7337a27e127909d5d3
tree530964ab0219724869312607093e9f0d73ac5c92
parent17571f824d391989247465c7ae18c92c744464c2
Bug 26816: Chomp whitespace around i18n strings

This patch adds the chomp shorthand [%- -%] to the output of i18n.inc to
prevent extra spaces from being inserted.

To test, apply the patch and perform a catalog search in the staff
interface which will return results with multiple items.

In the items column, the availability information should not have
unwanted spaces:

3 items, 3 available:

...instead of

3 items , 3 available:

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 190f7155f1e9b3100a0dfb91279228033fc28546)
koha-tmpl/intranet-tmpl/prog/en/includes/i18n.inc