aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Template/JSConfigHelper.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Template/JSConfigHelper.php')
-rw-r--r--lib/private/Template/JSConfigHelper.php90
1 files changed, 45 insertions, 45 deletions
diff --git a/lib/private/Template/JSConfigHelper.php b/lib/private/Template/JSConfigHelper.php
index 69624825ae4..b228cae6ffb 100644
--- a/lib/private/Template/JSConfigHelper.php
+++ b/lib/private/Template/JSConfigHelper.php
@@ -207,59 +207,59 @@ class JSConfigHelper {
'nc_lastLogin' => $lastConfirmTimestamp,
'nc_pageLoad' => time(),
"dayNames" => json_encode([
- (string)$this->l->t('Sunday'),
- (string)$this->l->t('Monday'),
- (string)$this->l->t('Tuesday'),
- (string)$this->l->t('Wednesday'),
- (string)$this->l->t('Thursday'),
- (string)$this->l->t('Friday'),
- (string)$this->l->t('Saturday')
+ $this->l->t('Sunday'),
+ $this->l->t('Monday'),
+ $this->l->t('Tuesday'),
+ $this->l->t('Wednesday'),
+ $this->l->t('Thursday'),
+ $this->l->t('Friday'),
+ $this->l->t('Saturday')
]),
"dayNamesShort" => json_encode([
- (string)$this->l->t('Sun.'),
- (string)$this->l->t('Mon.'),
- (string)$this->l->t('Tue.'),
- (string)$this->l->t('Wed.'),
- (string)$this->l->t('Thu.'),
- (string)$this->l->t('Fri.'),
- (string)$this->l->t('Sat.')
+ $this->l->t('Sun.'),
+ $this->l->t('Mon.'),
+ $this->l->t('Tue.'),
+ $this->l->t('Wed.'),
+ $this->l->t('Thu.'),
+ $this->l->t('Fri.'),
+ $this->l->t('Sat.')
]),
"dayNamesMin" => json_encode([
- (string)$this->l->t('Su'),
- (string)$this->l->t('Mo'),
- (string)$this->l->t('Tu'),
- (string)$this->l->t('We'),
- (string)$this->l->t('Th'),
- (string)$this->l->t('Fr'),
- (string)$this->l->t('Sa')
+ $this->l->t('Su'),
+ $this->l->t('Mo'),
+ $this->l->t('Tu'),
+ $this->l->t('We'),
+ $this->l->t('Th'),
+ $this->l->t('Fr'),
+ $this->l->t('Sa')
]),
"monthNames" => json_encode([
- (string)$this->l->t('January'),
- (string)$this->l->t('February'),
- (string)$this->l->t('March'),
- (string)$this->l->t('April'),
- (string)$this->l->t('May'),
- (string)$this->l->t('June'),
- (string)$this->l->t('July'),
- (string)$this->l->t('August'),
- (string)$this->l->t('September'),
- (string)$this->l->t('October'),
- (string)$this->l->t('November'),
- (string)$this->l->t('December')
+ $this->l->t('January'),
+ $this->l->t('February'),
+ $this->l->t('March'),
+ $this->l->t('April'),
+ $this->l->t('May'),
+ $this->l->t('June'),
+ $this->l->t('July'),
+ $this->l->t('August'),
+ $this->l->t('September'),
+ $this->l->t('October'),
+ $this->l->t('November'),
+ $this->l->t('December')
]),
"monthNamesShort" => json_encode([
- (string)$this->l->t('Jan.'),
- (string)$this->l->t('Feb.'),
- (string)$this->l->t('Mar.'),
- (string)$this->l->t('Apr.'),
- (string)$this->l->t('May.'),
- (string)$this->l->t('Jun.'),
- (string)$this->l->t('Jul.'),
- (string)$this->l->t('Aug.'),
- (string)$this->l->t('Sep.'),
- (string)$this->l->t('Oct.'),
- (string)$this->l->t('Nov.'),
- (string)$this->l->t('Dec.')
+ $this->l->t('Jan.'),
+ $this->l->t('Feb.'),
+ $this->l->t('Mar.'),
+ $this->l->t('Apr.'),
+ $this->l->t('May.'),
+ $this->l->t('Jun.'),
+ $this->l->t('Jul.'),
+ $this->l->t('Aug.'),
+ $this->l->t('Sep.'),
+ $this->l->t('Oct.'),
+ $this->l->t('Nov.'),
+ $this->l->t('Dec.')
]),
"firstDay" => json_encode($this->l->l('firstday', null)),
"_oc_config" => json_encode($config),