diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-10-22 23:53:24 -0700 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-10-22 23:53:24 -0700 |
commit | b66dd3ebef605e0cd681c5621706e880c7d38571 (patch) | |
tree | 96833b868494b5de4d9a15676cb2ba9c80fd3ab7 /lib | |
parent | bc2a648f2d18537a8e9d20bbf9eb468325a84c7f (diff) | |
parent | 41b597e179a694973c709613cdf41e2b379c8df9 (diff) | |
download | nextcloud-server-b66dd3ebef605e0cd681c5621706e880c7d38571.tar.gz nextcloud-server-b66dd3ebef605e0cd681c5621706e880c7d38571.zip |
Merge pull request #38 from scambra/datepicker-l10n
Translate Datepicker
Diffstat (limited to 'lib')
-rw-r--r-- | lib/l10n.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/l10n.php b/lib/l10n.php index ac57115da4e..6667747b885 100644 --- a/lib/l10n.php +++ b/lib/l10n.php @@ -58,9 +58,11 @@ class OC_L10N{ * Localization */ private $localizations = array( + 'jsdate' => 'dd.mm.yy', 'date' => '%d.%m.%Y', 'datetime' => '%d.%m.%Y %H:%M:%S', - 'time' => '%H:%M:%S'); + 'time' => '%H:%M:%S', + 'firstday' => 0); /** * get an L10N instance @@ -223,6 +225,9 @@ class OC_L10N{ setlocale(LC_TIME, $locales); return strftime($this->localizations[$type], $data); break; + case 'firstday': + case 'jsdate': + return $this->localizations[$type]; default: return false; } |