From 3cb557ba7f8dcdafbd0235e182c8d8b1fb3a9ec5 Mon Sep 17 00:00:00 2001 From: Bernardo Gonzalez Kriegel Date: Wed, 2 Apr 2014 22:09:28 -0300 Subject: [PATCH] Bug 11726 - Untranslatable loading page overlay in offline circ This patch reformats a message to be catched by translation script. To test: 1) Grep for the offending string egrep -Rn "Loading page |\", please wait" * only occurrence on koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt 2) Apply the patch 3) Update your preferred language, ej. fi-FI (cd misc/translator; perl translate update fi-FI) 4) Repeat 1), there are 2 new strings on staff po file, out of context :), but now can be translated --- .../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 49f443e..d47c9a5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt @@ -193,7 +193,7 @@ function finishedLoading() { function loadRecords(page) { [% IF (AllowOfflineCirculation) %] - $(".loading-overlay div").text(_("Loading page " + page + ", please wait...")); + $(".loading-overlay div").text(_("Loading page ") + page + _(", please wait...")); $(".loading-overlay").show(); $.ajax({ type: "GET", -- 1.7.9.5