Compare commits

...
2 Commits
Author SHA1 Message Date
caouecs eaa1e26eb6 Merge branch 'json' 2018-07-13 10:44:04 +02:00
caouecs 09d6718c60 feature: json files in json directory 2018-07-10 15:48:52 +02:00
9 changed files with 1 additions and 1 deletions

No files matched your search

View File
File renamed without changes.
View File
File renamed without changes.
View File
File renamed without changes.
View File
File renamed without changes.
View File
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1 -1
View File
@@ -87,7 +87,7 @@ class TodoGenerator
private function getTranslations($directory, $language)
{
$contentJson = '';
$fileJson = $directory.'/'.$language.'/'.$language.'.json';
$fileJson = $directory.'/../json/'.$language.'.json';
if (file_exists($fileJson)) {
$contentJson = json_decode(file_get_contents($fileJson), true);