summaryrefslogtreecommitdiffstats
path: root/core/js/config.php
diff options
context:
space:
mode:
authorHasso Tepper <hasso@zone.ee>2015-08-21 10:17:36 +0300
committerHasso Tepper <hasso@zone.ee>2015-08-21 10:17:36 +0300
commitacc5a7d6cc14f43051e327b5964f5c17b3c26412 (patch)
tree9ce620ec477a8c31612706a06b7e6c01e07cf5f6 /core/js/config.php
parent5f5c3520c9c48c4d0f5fbe2aa05f5d952b3607f6 (diff)
downloadnextcloud-server-acc5a7d6cc14f43051e327b5964f5c17b3c26412.tar.gz
nextcloud-server-acc5a7d6cc14f43051e327b5964f5c17b3c26412.zip
Make short versions of weekday/month names translatable
Diffstat (limited to 'core/js/config.php')
-rw-r--r--core/js/config.php38
1 files changed, 38 insertions, 0 deletions
diff --git a/core/js/config.php b/core/js/config.php
index cecbf27e4b2..95dd7330287 100644
--- a/core/js/config.php
+++ b/core/js/config.php
@@ -78,6 +78,28 @@ $array = array(
(string)$l->t('Saturday')
)
),
+ "dayNamesShort" => json_encode(
+ array(
+ (string)$l->t('Sun.'),
+ (string)$l->t('Mon.'),
+ (string)$l->t('Tue.'),
+ (string)$l->t('Wed.'),
+ (string)$l->t('Thu.'),
+ (string)$l->t('Fri.'),
+ (string)$l->t('Sat.')
+ )
+ ),
+ "dayNamesMin" => json_encode(
+ array(
+ (string)$l->t('Su'),
+ (string)$l->t('Mo'),
+ (string)$l->t('Tu'),
+ (string)$l->t('We'),
+ (string)$l->t('Th'),
+ (string)$l->t('Fr'),
+ (string)$l->t('Sa')
+ )
+ ),
"monthNames" => json_encode(
array(
(string)$l->t('January'),
@@ -94,6 +116,22 @@ $array = array(
(string)$l->t('December')
)
),
+ "monthNamesShort" => json_encode(
+ array(
+ (string)$l->t('Jan.'),
+ (string)$l->t('Feb.'),
+ (string)$l->t('Mar.'),
+ (string)$l->t('Apr.'),
+ (string)$l->t('May.'),
+ (string)$l->t('Jun.'),
+ (string)$l->t('Jul.'),
+ (string)$l->t('Aug.'),
+ (string)$l->t('Sep.'),
+ (string)$l->t('Oct.'),
+ (string)$l->t('Nov.'),
+ (string)$l->t('Dec.')
+ )
+ ),
"firstDay" => json_encode($l->getFirstWeekDay()) ,
"oc_config" => json_encode(
array(