From 3f34d72d68fee759b7a25652e4426b4a24697bea Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 9 Apr 2014 09:08:27 -0400 Subject: [PATCH] Bug 12056 - Untranslatable strings in calendar Content-Type: text/plain; charset="utf-8" In the calendar there are some strings in a JavaScript function which are not properly wrapped in a function for translation. This patch corrects this. This patch also corrects some minor validation issues and spelling and grammar issues, including those covered by Bug 12055. To test, apply the patch and view the calendar in Tools -> Calendar. When you hover your mouse over a day in the calendar you should see a title tooltip indicating what kind of day/holiday it is and showing the title of the holiday, if any. To test that the strings are now being picked up for translation, run translate update on a po file and confirm that the affected strings are now present: "Weekly holiday," "Yearly holiday," etc. --- .../prog/en/modules/tools/holidays.tt | 35 ++++++++++---------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt index 850c59b..ea001e4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt @@ -4,11 +4,11 @@ [% INCLUDE 'calendar.inc' %] [% INCLUDE 'datatables.inc' %] -