From 0e476fe45713c51413445da22af50819856a6f02 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 --- 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 cf8c06ead2..4d4ec7437b 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('
  • 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