Bug 26816: Chomp whitespace around i18n strings
authorOwen Leonard <oleonard@myacpl.org>
Mon, 26 Oct 2020 11:55:57 +0000 (11:55 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 2 Nov 2020 10:03:09 +0000 (11:03 +0100)
commit190f7155f1e9b3100a0dfb91279228033fc28546
tree6b89b806e67022fb1b3bf8e95de03e54f4306172
parentd2af19dd31d0846ee0c852304b01f1d060e0ba48
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>
koha-tmpl/intranet-tmpl/prog/en/includes/i18n.inc