Bugzilla – Attachment 103171 Details for
Bug 23349
Add batch operations to staff interface catalog search results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23349: (follow-up) Correct translation function
Bug-23349-follow-up-Correct-translation-function.patch (text/plain), 2.95 KB, created by
Owen Leonard
on 2020-04-17 15:29:06 UTC
(
hide
)
Description:
Bug 23349: (follow-up) Correct translation function
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2020-04-17 15:29:06 UTC
Size:
2.95 KB
patch
obsolete
>From b799a86d206c6c13836da5536b2caa7a482dfe2d Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 17 Apr 2020 13:32:35 +0000 >Subject: [PATCH] Bug 23349: (follow-up) Correct translation function > >This patch corrects the translation function inside results.js. It >should be two underscores instead of one. >--- > koha-tmpl/intranet-tmpl/prog/js/pages/results.js | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/pages/results.js b/koha-tmpl/intranet-tmpl/prog/js/pages/results.js >index 4eaf172125..2c40cf6c17 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/pages/results.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/pages/results.js >@@ -1,4 +1,4 @@ >-/* global KOHA biblionumber new_results_browser addMultiple vShelfAdd openWindow search_result SEARCH_RESULTS PREF_AmazonCoverImages PREF_LocalCoverImages PREF_IntranetCoce PREF_CoceProviders CoceHost CoceProviders addRecord delSingleRecord PREF_BrowseResultSelection resetSearchContext addBibToContext delBibToContext getContextBiblioNumbers MSG_NO_ITEM_SELECTED MSG_NO_ITEM_SELECTED holdfor_cardnumber holdforclub strQuery MSG_NON_RESERVES_SELECTED PREF_NotHighlightedWords PLACE_HOLD _ */ >+/* global KOHA biblionumber new_results_browser addMultiple vShelfAdd openWindow search_result SEARCH_RESULTS PREF_AmazonCoverImages PREF_LocalCoverImages PREF_IntranetCoce PREF_CoceProviders CoceHost CoceProviders addRecord delSingleRecord PREF_BrowseResultSelection resetSearchContext addBibToContext delBibToContext getContextBiblioNumbers MSG_NO_ITEM_SELECTED MSG_NO_ITEM_SELECTED holdfor_cardnumber holdforclub strQuery MSG_NON_RESERVES_SELECTED PREF_NotHighlightedWords PLACE_HOLD __ */ > > if( PREF_AmazonCoverImages ){ > $(window).load(function() { >@@ -338,7 +338,7 @@ function resultsBatchProcess( op ){ > if( op == "edit" ){ > // batch edit selected records > if ( selected.length < 1 ){ >- alert( _("You must select at least one record") ); >+ alert( __("You must select at least one record") ); > } else { > selected.each(function() { > params.push( $(this).val() ); >@@ -349,7 +349,7 @@ function resultsBatchProcess( op ){ > } else if( op == "delete" ){ > // batch delete selected records > if ( selected.length < 1) { >- alert( _("You must select at least one record") ); >+ alert( __("You must select at least one record") ); > } else { > selected.each(function() { > params.push( $(this).val() ); >@@ -360,7 +360,7 @@ function resultsBatchProcess( op ){ > } else if( op == "merge" ){ > // merge selected records > if ( selected.length < 2) { >- alert( _("At least two records must be selected for merging") ); >+ alert( __("At least two records must be selected for merging") ); > } else { > selected.each(function() { > params.push('biblionumber=' + $(this).val()); >-- >2.11.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 23349
:
102468
|
102620
|
102621
|
103171
|
103190
|
103191