From 3d2f0fb34e172dfbb9568c78e4864d5d1c5675b4 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 --- 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 6b3d7b7176a..03f41fe8317 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -1589,10 +1589,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" ){ @@ -1601,7 +1601,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.25.1