Bugzilla – Attachment 34781 Details for
Bug 12944
Search for creator of an order
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12944: Fix regression on translating
Bug-12944-Fix-regression-on-translating.patch (text/plain), 2.62 KB, created by
Jonathan Druart
on 2014-12-29 10:15:56 UTC
(
hide
)
Description:
Bug 12944: Fix regression on translating
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-12-29 10:15:56 UTC
Size:
2.62 KB
patch
obsolete
>From 3dc48bc5093e88e5d65f03f607bb4d04c7f3b903 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Mon, 29 Dec 2014 11:12:13 +0100 >Subject: [PATCH] Bug 12944: Fix regression on translating > >This patch fixes the translation for the "Remove" button. > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > koha-tmpl/intranet-tmpl/js/autocomplete/patrons.js | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt | 1 + > 3 files changed, 3 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/js/autocomplete/patrons.js b/koha-tmpl/intranet-tmpl/js/autocomplete/patrons.js >index fa041b0..909162b 100644 >--- a/koha-tmpl/intranet-tmpl/js/autocomplete/patrons.js >+++ b/koha-tmpl/intranet-tmpl/js/autocomplete/patrons.js >@@ -33,7 +33,7 @@ function patron_autocomplete(params) { > } > > function AddPatron( patron_name, value, container, input_name ) { >- div = "<div id='borrower_" + value + "'>" + patron_name + " ( <a href='#' class='removePatron'> " + _("Remove") + " </a> ) <input type='hidden' name='" + input_name + "' value='" + value + "' /></div>"; >+ div = "<div id='borrower_" + value + "'>" + patron_name + " ( <a href='#' class='removePatron'> " + MSG_REMOVE_PATRON + " </a> ) <input type='hidden' name='" + input_name + "' value='" + value + "' /></div>"; > $(container).append( div ); > > $(container).parent().show( 800 ); >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt >index 4266530..ebb9f74 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt >@@ -9,6 +9,7 @@ > <script type="text/javascript" src="[% interface %]/js/autocomplete/patrons.js"></script> > <script type="text/javascript"> > //<![CDATA[ >+var MSG_REMOVE_PATRON = _("Remove"); > $(document).ready(function() { > $("#histsearcht").dataTable($.extend(true, {}, dataTablesDefaults, { > "aoColumnDefs": [ >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt >index 8c45a45..0a14e77 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt >@@ -9,6 +9,7 @@ > <script type="text/javascript" src="[% interface %]/js/autocomplete/patrons.js"></script> > <script type="text/javascript"> > //<![CDATA[ >+var MSG_REMOVE_PATRON = _("Remove"); > $(document).ready(function() { > $('#patrons_to_add_fieldset').hide(); > >-- >2.1.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 12944
:
31682
|
31683
|
31824
|
31825
|
31987
|
31988
|
31989
|
32922
|
32931
|
33197
|
33198
|
33199
|
33200
|
34781
|
35589
|
35590
|
35591
|
35592
|
35593
|
35698