mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX Look for existing modules in vendor folder rather than base folder
This commit is contained in:
parent
04f9a80c0e
commit
e11820d44f
@ -372,7 +372,7 @@ class i18nTextCollector
|
||||
// For each module do a simple merge of the default yml with these strings
|
||||
foreach ($entitiesByModule as $module => $messages) {
|
||||
// Load existing localisations
|
||||
$masterFile = "{$this->basePath}/{$module}/lang/{$this->defaultLocale}.yml";
|
||||
$masterFile = "{$this->basePath}/vendor/{$module}/lang/{$this->defaultLocale}.yml";
|
||||
$existingMessages = $this->getReader()->read($this->defaultLocale, $masterFile);
|
||||
|
||||
// Merge
|
||||
|
Loading…
Reference in New Issue
Block a user