Bug 12056: fix untranslatable strings in calendar
authorOwen Leonard <oleonard@myacpl.org>
Wed, 9 Apr 2014 13:08:27 +0000 (09:08 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 9 Apr 2014 22:09:09 +0000 (22:09 +0000)
commit0837954cdda85549f5552dacefd3a5bc3e58292e
tree6139ab4be3539745ccb18d32b0055d2214785f72
parent7382bee7cdcf289487dd8770add5412b7d44d11e
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>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt