Drop core locales

This commit is contained in:
Johannes Meyer 2021-12-14 10:52:31 +01:00
parent ffaf6e5f04
commit c42653a9b0
17 changed files with 2 additions and 30336 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -751,7 +751,7 @@ abstract class ApplicationBootstrap
if (file_exists($L10nLocales) && is_dir($L10nLocales)) {
$this->localeDir = $L10nLocales;
} else {
$this->localeDir = $this->getApplicationDir('locale');
$this->localeDir = false;
}
}
@ -764,7 +764,7 @@ abstract class ApplicationBootstrap
public function hasLocales()
{
$localedir = $this->getLocaleDir();
return file_exists($localedir) && is_dir($localedir);
return $localedir !== false && file_exists($localedir) && is_dir($localedir);
}
/**