From 4448c38763c94415c64f51b2de6cda90a88fc6c0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc=20V=C3=A9ron?= Date: Wed, 9 Dec 2015 18:36:21 +0100 Subject: [PATCH] Bug 15345: Translatability: fix issue in facets (Availability') MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This patch fixes an issue with a splitted sentence in facets (Avalability) that leads to weird translations e.g.: German: 'Zeige nur Verfügbar Exemplare' French: 'Montrer seulement disponible exemplaires' Additionally, the link "Show all items" gets it's own li tags to display nicely like the other links in the facets column and it removes superfluous dots. To test in OPAC and Staff client: - Apply patch - Do a search that results in more than one available items - In column "Refine your search", click on "Limit to currently available items" - Verify that the message "Showing only available items" and the link "Show all items" display nicely. Signed-off-by: Hector Castro use_zebra_facets set to 0 in koha-conf.xml to test. Works as described Signed-off-by: Katrin Fischer Signed-off-by: Brendan A Gallagher (cherry picked from commit 5e80a64ea39140c9918335fc472a441bb3fa9c6a) Signed-off-by: Julian Maurice (cherry picked from commit 3951a8fffd4d9b6ecb22a8382878c79225e6d2ca) Signed-off-by: Frédéric Demians --- koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc index d0abde9097..3d0d15e036 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc @@ -3,7 +3,7 @@

Refine your search

    -
  • Availability +
  • Availability [% IF ( related ) %]
  • (related searches: [% FOREACH relate IN related %][% relate.related_search %][% END %])
  • [% END %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc index 3d503aab0e..e83243e598 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc @@ -6,7 +6,7 @@