Fix apps without translations
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
31bb65fa36
commit
8e757b343d
|
@ -35,6 +35,10 @@ class LanguageParseChecker {
|
||||||
throw new \RuntimeException("No app with given id <$appId> known.");
|
throw new \RuntimeException("No app with given id <$appId> known.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!is_dir($appPath . '/l10n/')) {
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
|
||||||
$errors = [];
|
$errors = [];
|
||||||
$directory = new \DirectoryIterator($appPath . '/l10n/');
|
$directory = new \DirectoryIterator($appPath . '/l10n/');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue