Bugzilla – Attachment 123792 Details for
Bug 28180
Use a lightbox gallery to display the images on the detail pages in OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28180: Fix some non-translatable strings
Bug-28180-Fix-some-non-translatable-strings.patch (text/plain), 2.29 KB, created by
Jonathan Druart
on 2021-08-11 12:47:27 UTC
(
hide
)
Description:
Bug 28180: Fix some non-translatable strings
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-08-11 12:47:27 UTC
Size:
2.29 KB
patch
obsolete
>From 3d2f0fb34e172dfbb9568c78e4864d5d1c5675b4 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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 (<a href='%s'>see the original image</a>)").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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 28180
:
119918
|
119919
|
119920
|
119921
|
119922
|
119923
|
119924
|
120444
|
120445
|
120446
|
120447
|
120448
|
120449
|
120450
|
120464
|
120465
|
120466
|
120467
|
120468
|
120469
|
120470
|
120753
|
120754
|
120805
|
122783
|
122784
|
123178
|
123790
|
123792
|
123793
|
123794
|
124819
|
125666
|
126041
|
126042
|
126506
|
126507
|
126508
|
126509
|
126510
|
126511
|
126512
|
126513
|
126514
|
126515
|
126516
|
126517
|
126518
|
126519
|
126520
|
126596
|
126597
|
126598
|
126599
|
126600
|
126601
|
126602
|
126603
|
126604
|
126605
|
126606
|
126607
|
126608
|
126609
|
126610