Skip to content

Commit

Permalink
move locales file to /resources/
Browse files Browse the repository at this point in the history
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
  • Loading branch information
georgehrke committed Jun 27, 2018
1 parent b17d256 commit 8c73b13
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/L10N/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ public function findAvailableLocales() {
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;
Expand Down
File renamed without changes.

0 comments on commit 8c73b13

Please sign in to comment.