Bugzilla – Attachment 14289 Details for
Bug 9323
Untranslatable string in serials search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9323: Untranslatable string in serial search
Bug-9323-Untranslatable-string-in-serial-search.patch (text/plain), 2.51 KB, created by
Jonathan Druart
on 2012-12-27 10:32:04 UTC
(
hide
)
Description:
Bug 9323: Untranslatable string in serial search
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2012-12-27 10:32:04 UTC
Size:
2.51 KB
patch
obsolete
>From 8aac328a8dd1f1a2cfd804005630dca10ce9c0d0 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Thu, 27 Dec 2012 11:28:50 +0100 >Subject: [PATCH] Bug 9323: Untranslatable string in serial search > >Test plan: >- translate update LANG >- Check in your po file that the string "Are you sure you want to reopen this > subscription?" does not exist. >- Apply the patch >- translate update LANG >- Check in your po file that the string is translatable >--- > koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >index 558f988..1e2d9a9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >@@ -9,6 +9,8 @@ > <script type="text/javascript"> > //<![CDATA[ > $(document).ready(function() { >+ var MSG_CONFIRM_REOPEN = _('Are you sure you want to reopen this subscription?'); >+ > var osrlt = $("#osrlt").dataTable($.extend(true, {}, dataTablesDefaults, { > "aoColumnDefs": [ > { "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false }, >@@ -233,7 +235,7 @@ > </td> > <td> > [% UNLESS subscription.cannotedit %] >- <a href="/cgi-bin/koha/serials/serials-search.pl?subscriptionid=[% subscription.subscriptionid %]&op=reopen&routing=[% subscription.routing %]&searched=1&title_filter=[% title_filter %]&ISSN_filter=[% ISSN_filter %]&EAN_filter=[% EAN_filter %]&published_filter=[% publisher_filter %]&bookseller_filter=[% bookseller_filter %]&branch_filter=[% branch_filter %]" onclick="return confirm(_('Are you sure you want to reopen this subscription?'));">Reopen</a> >+ <a href="/cgi-bin/koha/serials/serials-search.pl?subscriptionid=[% subscription.subscriptionid %]&op=reopen&routing=[% subscription.routing %]&searched=1&title_filter=[% title_filter %]&ISSN_filter=[% ISSN_filter %]&EAN_filter=[% EAN_filter %]&published_filter=[% publisher_filter %]&bookseller_filter=[% bookseller_filter %]&branch_filter=[% branch_filter %]" onclick="return confirm(MSG_CONFIRM_REOPEN);">Reopen</a> > [% ELSE %] > Cannot edit > [% END %] >-- >1.7.10.4
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 9323
:
14289
|
14298
|
14307
|
15213