diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-10-13 17:44:57 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-10-20 15:04:42 +0200 |
commit | c8e8945efbac31605b6cb80723992b8bfdbd259c (patch) | |
tree | 788fc8bf9df146602b8bc0517e0c6106020169f6 /core/js | |
parent | 8da6e4b9f09d6d7a03fb602c6d5fe73e87b96a87 (diff) | |
download | nextcloud-server-c8e8945efbac31605b6cb80723992b8bfdbd259c.tar.gz nextcloud-server-c8e8945efbac31605b6cb80723992b8bfdbd259c.zip |
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')), |