Bugzilla – Attachment 128463 Details for
Bug 29688
Incorrect use of _() in holds.js
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29688: Incorrect use of _() in holds.js
Bug-29688-Incorrect-use-of--in-holdsjs.patch (text/plain), 1.19 KB, created by
Tomás Cohen Arazi (tcohen)
on 2021-12-13 13:42:00 UTC
(
hide
)
Description:
Bug 29688: Incorrect use of _() in holds.js
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2021-12-13 13:42:00 UTC
Size:
1.19 KB
patch
obsolete
>From 16da1d2631601975ed145d17e69e916199f7d216 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 13 Dec 2021 10:40:18 -0300 >Subject: [PATCH] Bug 29688: Incorrect use of _() in holds.js > >Bug 29404 moved code from request.tt into holds.js, and I didn't know >about the _() vs. __(). > >This patch fixes that. > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > koha-tmpl/intranet-tmpl/prog/js/holds.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/holds.js b/koha-tmpl/intranet-tmpl/prog/js/holds.js >index 5570716f52..8276fb5df2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/holds.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/holds.js >@@ -3,7 +3,7 @@ function display_pickup_location (state) { > if ( state.needs_override === true ) { > $text = $( > '<span>' + state.text + '</span> <span style="float:right;" title="' + >- _("This pickup location is not allowed according to circulation rules") + >+ __("This pickup location is not allowed according to circulation rules") + > '"><i class="fa fa-exclamation-circle" aria-hidden="true"></i></span>' > ); > } >-- >2.32.0
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 29688
:
128463
|
129234