Bugzilla – Attachment 71247 Details for
Bug 20142
Allow translating offline circ message
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20142: Allow translating offline circ message
0001-Bug-20142-Allow-translating-offline-circ-message.patch (text/plain), 1.66 KB, created by
paxed
on 2018-02-06 11:31:10 UTC
(
hide
)
Description:
Bug 20142: Allow translating offline circ message
Filename:
MIME Type:
Creator:
paxed
Created:
2018-02-06 11:31:10 UTC
Size:
1.66 KB
patch
obsolete
>From 1cee60fff6eae05d2eb1bdce5acce1cb3ba438cf Mon Sep 17 00:00:00 2001 >From: Pasi Kallinen <pasi.kallinen@joensuu.fi> >Date: Tue, 6 Feb 2018 13:01:36 +0200 >Subject: [PATCH] Bug 20142: Allow translating offline circ message > >Allow translating the notification saying you cannot change branch or >logout while offline. > >Test plan: > >1) Enable AllowOfflineCirculation >2) Go to Home -> Circulation -> Built-in offline circulation interface >3) Try to change your branch. Note the notification message >4) Apply patch, install language, translate the notification >5) Repeat 2 and 3 in that language. The message should be translated > >Signed-off-by: Pasi Kallinen <pasi.kallinen@joensuu.fi> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt >index 49efd638a8..c6129fec19 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt >@@ -651,7 +651,7 @@ > kohadb.initialize(); > $('#header_search #circ_search .tip').text(_("Enter patron card number:")); > >- $('ul[aria-labelledby="logged-in-menu"]').html('<li><a class="toplinks">You cannot change your branch or logout while using offline circulation</a></li>'); >+ $('ul[aria-labelledby="logged-in-menu"]').html('<li><a class="toplinks">' + _("You cannot change your branch or logout while using offline circulation") + '</a></li>'); > > // Returns code > $('#checkin-form, #checkin_search form').submit(function (event) { >-- >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 20142
:
71247
|
72265