diff options
author | Bart Visscher <bartv@thisnet.nl> | 2011-10-18 20:42:22 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2011-10-20 23:49:27 +0200 |
commit | 4fe48a50f0ae41f52e2b064f057462ffde324b5d (patch) | |
tree | e63669440601ecef90568aae702f7fedd28f65e7 /apps/calendar/templates/calendar.php | |
parent | 2e6ec6ce0bd697377fa9d9a35aa2ca007d92f9be (diff) | |
download | nextcloud-server-4fe48a50f0ae41f52e2b064f057462ffde324b5d.tar.gz nextcloud-server-4fe48a50f0ae41f52e2b064f057462ffde324b5d.zip |
Translation of calendar interface
Diffstat (limited to 'apps/calendar/templates/calendar.php')
-rw-r--r-- | apps/calendar/templates/calendar.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/calendar/templates/calendar.php b/apps/calendar/templates/calendar.php index d09a5d45a1a..58f61661ce3 100644 --- a/apps/calendar/templates/calendar.php +++ b/apps/calendar/templates/calendar.php @@ -1,5 +1,11 @@ <script type='text/javascript'> +var defaultView = '<?php echo OC_Preferences::getValue(OC_USER::getUser(), 'calendar', 'currentview', 'month') ?>'; var eventSources = <?php echo json_encode($_['eventSources']) ?>; +var dayNames = <?php echo json_encode($l->tA(array('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'))) ?>; +var dayNamesShort = <?php echo json_encode($l->tA(array('Sun.', 'Mon.', 'Tue.', 'Wed.', 'Thu.', 'Fri.', 'Sat.'))) ?>; +var monthNames = <?php echo json_encode($l->tA(array('January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'))) ?>; +var monthNamesShort = <?php echo json_encode($l->tA(array('Jan.', 'Feb.', 'Mar.', 'Apr.', 'May.', 'Jun.', 'Jul.', 'Aug.', 'Sep.', 'Oct.', 'Nov.', 'Dec.'))) ?>; +var allDayText = '<?php echo $l->t('All day') ?>'; </script> <div id="sysbox"></div> <div id="controls"> |