move locales file to /resources/

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
This commit is contained in:
Georg Ehrke 2018-06-27 21:22:42 +02:00
parent b17d256761
commit 8c73b13ac8
No known key found for this signature in database
GPG key ID: 9D98FD9380A1CB43
2 changed files with 1 additions and 1 deletions

View file

@ -301,7 +301,7 @@ class Factory implements IFactory {
return $this->availableLocales;
}
$localeData = file_get_contents(__DIR__ . '/locales.json');
$localeData = file_get_contents(\OC::$SERVERROOT . '/resources/locales.json');
$this->availableLocales = \json_decode($localeData, true);
return $this->availableLocales;