[Koha-patches] [PATCH] [SIGNED-OFF] Add markers to text in Javascript variable in order to be translate.

Owen Leonard oleonard at myacpl.org
Tue Feb 8 15:14:36 CET 2011


From: koha-preprod <koha-preprod at sys-tech.net>


Signed-off-by: Owen Leonard <oleonard at myacpl.org>
---
 .../prog/en/modules/tools/holidays.tmpl            |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tmpl
index 38b12dd..cc501b4 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tmpl
@@ -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');
-- 
1.7.3



More information about the Koha-patches mailing list