diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-10-23 16:09:47 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-10-23 16:09:47 +0200 |
commit | e26a16afea14df7428dd614906fc94521538dfe3 (patch) | |
tree | e5c6f7acc4c4f1cea119d43884037c9dd0cd0697 /core/js | |
parent | 770f643e5cf78493dde576f85fee9c4b66a31f38 (diff) | |
parent | fa9a7442005e66d73923a88ad905f21eb714291f (diff) | |
download | nextcloud-server-e26a16afea14df7428dd614906fc94521538dfe3.tar.gz nextcloud-server-e26a16afea14df7428dd614906fc94521538dfe3.zip |
Merge pull request #11549 from owncloud/add-more-localizations-master
implement localizations based on punic
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/config.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/config.php b/core/js/config.php index 6994f2ed8a2..52405725f23 100644 --- a/core/js/config.php +++ b/core/js/config.php @@ -39,7 +39,7 @@ $array = array( "oc_isadmin" => OC_User::isAdminUser(OC_User::getUser()) ? 'true' : 'false', "oc_webroot" => "\"".OC::$WEBROOT."\"", "oc_appswebroots" => str_replace('\\/', '/', json_encode($apps_paths)), // Ugly unescape slashes waiting for better solution - "datepickerFormatDate" => json_encode($l->l('jsdate', 'jsdate')), + "datepickerFormatDate" => json_encode($l->getDateFormat()), "dayNames" => json_encode( array( (string)$l->t('Sunday'), @@ -67,7 +67,7 @@ $array = array( (string)$l->t('December') ) ), - "firstDay" => json_encode($l->l('firstday', 'firstday')) , + "firstDay" => json_encode($l->getFirstWeekDay()) , "oc_config" => json_encode( array( 'session_lifetime' => min(\OCP\Config::getSystemValue('session_lifetime', ini_get('session.gc_maxlifetime')), ini_get('session.gc_maxlifetime')), |