From 87b771c882a88a32e8f4c63073946047e9878f10 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 11 Aug 2021 14:46:29 +0200 Subject: [PATCH] Bug 28180: Fix some non-translatable strings Signed-off-by: Katrin Fischer --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt index 79224de9ee..487864c5b7 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -1423,10 +1423,10 @@ // Remove the container div.remove(); } else { - lightbox_descriptions.push("Custom cover image"); + lightbox_descriptions.push(_("Custom cover image")); } } else if( div.attr("id") == "syndetics-coverimg" ){ - lightbox_descriptions.push("Image from Syndetics") + lightbox_descriptions.push(_("Image from Syndetics")) } else if( div.attr("id") == "googlejacket-coverimg" ){ lightbox_descriptions.push(_("Image from Google Books (see the original image)").format($(img).data('link'))); } else if( div.attr("id") == "openlibrary-coverimg" ){ @@ -1435,7 +1435,7 @@ // Identify which service's image is being loaded by Coce var coce_description; if( $(img).attr("src").indexOf('amazon.com') >= 0 ){ - coce_description = ("Coce image from Amazon.com"); + coce_description = _("Coce image from Amazon.com"); } else if( $(img).attr("src").indexOf('google.com') >= 0 ){ coce_description = _("Coce image from Google Books"); } else if( $(img).attr("src").indexOf('openlibrary.org') >= 0 ){ -- 2.11.0