From c19e9f562cd8973d2031d5772b3c5bb13e24d10c 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 Signed-off-by: Jonathan Druart --- 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.39.5