Bug 28180: Fix some non-translatable strings
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 11 Aug 2021 12:46:29 +0000 (14:46 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 21 Oct 2021 10:24:04 +0000 (12:24 +0200)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt

index 79224de..487864c 100644 (file)
                                     // 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 (<a href='%s'>see the original image</a>)").format($(img).data('link')));
                             } else if( div.attr("id") == "openlibrary-coverimg" ){
                                 // 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 ){