Add markers to text in Javascript variable in order to be translate.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
koha-preprod 2011-02-08 09:14:36 -05:00 committed by Chris Cormack
parent b5c58f964a
commit de491849ac

View file

@ -6,8 +6,7 @@
<script language="JavaScript" type="text/javascript">
//<![CDATA[
var weekdays = new Array("Sundays", "Mondays", "Tuesdays",
"Wednesdays", "Thursdays", "Fridays", "Saturdays");
var weekdays = new Array(_("Sundays"),_("Mondays"),_("Tuesdays"),_("Wednesdays"),_("Thursdays"),_("Fridays"),_("Saturdays"));
function holidayOperation(formObject, opType) {
var op = document.getElementsByName('operation');