diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-10-28 13:19:51 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-10-29 10:13:51 +0100 |
commit | c682b1f0c17df0f59a1c18b8948547cd1d70bb48 (patch) | |
tree | 129c86feff5ce1c89878dd926319b0c05e504813 | |
parent | 9f7c571e401b5a1a59c0ae9faa119da98aa4a184 (diff) | |
download | nextcloud-server-c682b1f0c17df0f59a1c18b8948547cd1d70bb48.tar.gz nextcloud-server-c682b1f0c17df0f59a1c18b8948547cd1d70bb48.zip |
Fix language file detection
-rw-r--r-- | lib/private/l10n.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/l10n.php b/lib/private/l10n.php index ab94d017a25..6ec4e967c7f 100644 --- a/lib/private/l10n.php +++ b/lib/private/l10n.php @@ -501,7 +501,7 @@ class OC_L10N implements \OCP\IL10N { } $dir = self::findI18nDir($app); if(is_dir($dir)) { - return file_exists($dir.'/'.$lang.'.php'); + return file_exists($dir.'/'.$lang.'.json'); } return false; } |