summaryrefslogtreecommitdiffstats
path: root/core/templates/layout.user.php
diff options
context:
space:
mode:
authorscambra <sergio@entrecables.com>2012-09-21 08:11:11 +0200
committerscambra <sergio@entrecables.com>2012-10-19 13:56:19 +0200
commita24d8db4b25e99f92ebb2cb65a97672f39a2f85f (patch)
tree36592e6017512655d099fc2005614e12090e9674 /core/templates/layout.user.php
parent8a03abec0d8a44d24cc8ad63acb8faf6932a1b5e (diff)
downloadnextcloud-server-a24d8db4b25e99f92ebb2cb65a97672f39a2f85f.tar.gz
nextcloud-server-a24d8db4b25e99f92ebb2cb65a97672f39a2f85f.zip
translate datepicker
Diffstat (limited to 'core/templates/layout.user.php')
-rw-r--r--core/templates/layout.user.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index b6d8a7604a2..92d47cc51f8 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -13,6 +13,9 @@
var oc_current_user = '<?php echo OC_User::getUser() ?>';
var oc_requesttoken = '<?php echo $_['requesttoken']; ?>';
var oc_requestlifespan = '<?php echo $_['requestlifespan']; ?>';
+ var dayNames = <?php echo json_encode(array((string)$l->t('Sunday'), (string)$l->t('Monday'), (string)$l->t('Tuesday'), (string)$l->t('Wednesday'), (string)$l->t('Thursday'), (string)$l->t('Friday'), (string)$l->t('Saturday'))) ?>;
+ var monthNames = <?php echo json_encode(array((string)$l->t('January'), (string)$l->t('February'), (string)$l->t('March'), (string)$l->t('April'), (string)$l->t('May'), (string)$l->t('June'), (string)$l->t('July'), (string)$l->t('August'), (string)$l->t('September'), (string)$l->t('October'), (string)$l->t('November'), (string)$l->t('December'))) ?>;
+ var firstDay = <?php echo json_encode($l->l('firstday')) ?>;
</script>
<?php foreach($_['jsfiles'] as $jsfile): ?>
<script type="text/javascript" src="<?php echo $jsfile; ?>"></script>