From 8f5446e389249383281ee57aaa6a46ca80cdfac2 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen 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 Signed-off-by: Jonathan Druart Conflicts: koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt --- 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 d86fade07b..5eac258f29 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt @@ -446,7 +446,7 @@ $(document).ready(function () { kohadb.initialize(); $('#header_search #circ_search .tip').text(_("Enter patron card number:")); - $('ul[aria-labelledby="logged-in-menu"]').html('
  • You cannot change your branch or logout while using offline circulation
  • '); + $('ul[aria-labelledby="logged-in-menu"]').html('
  • ' + _("You cannot change your branch or logout while using offline circulation") + '
  • '); // Returns code $('#checkin-form, #checkin_search form').submit(function (event) { -- 2.39.5