Bug 12056: fix untranslatable strings in calendar
authorOwen Leonard <oleonard@myacpl.org>
Wed, 9 Apr 2014 13:08:27 +0000 (09:08 -0400)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 13 Aug 2014 13:40:08 +0000 (09:40 -0400)
commita950cb6a6bfdb51d8892653ad101f82a30df9f2d
treeae7025bcee0b4aa999a0c458f10e0cd4ed27ea46
parent805f823073f17927d88367858922e809f0c4c903
Bug 12056: fix untranslatable strings in calendar

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.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>

Works well. New strings on translation file. No koha-qa errors.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described, passes all tests and QA script.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 0837954cdda85549f5552dacefd3a5bc3e58292e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 754caccf77595840701fdad400fa02a298993344)
koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt