]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix language file detection
authorVincent Petry <pvince81@owncloud.com>
Tue, 28 Oct 2014 12:19:51 +0000 (13:19 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Wed, 29 Oct 2014 09:13:51 +0000 (10:13 +0100)
lib/private/l10n.php

index ab94d017a252b2a63a596527b019eec2ae808745..6ec4e967c7f47e244f078f082eae3b9c9bbdf1f0 100644 (file)
@@ -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;
        }