Browse Source
move locales file to /resources/
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
pull/5623/head
Georg Ehrke
8 years ago
No known key found for this signature in database
GPG Key ID: 9D98FD9380A1CB43
2 changed files with
1 additions and
1 deletions
-
lib/private/L10N/Factory.php
-
resources/locales.json
|
|
|
@ -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; |
|
|
|
|