mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Fix apps without translations
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
31bb65fa36
commit
8e757b343d
1 changed files with 4 additions and 0 deletions
|
|
@ -35,6 +35,10 @@ class LanguageParseChecker {
|
|||
throw new \RuntimeException("No app with given id <$appId> known.");
|
||||
}
|
||||
|
||||
if (!is_dir($appPath . '/l10n/')) {
|
||||
return [];
|
||||
}
|
||||
|
||||
$errors = [];
|
||||
$directory = new \DirectoryIterator($appPath . '/l10n/');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue