Bugzilla – Attachment 129234 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.24 KB, created by
Katrin Fischer
on 2022-01-09 11:16:51 UTC
(
hide
)
Description:
Bug 29688: Incorrect use of _() in holds.js
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-01-09 11:16:51 UTC
Size:
1.24 KB
patch
obsolete
>From b16d40e1aece1c6b172639da915435e466750715 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> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > 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.30.2
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