mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #10179 from creative-commoners/pulls/4.8/textcollect
FIX Look for existing modules in vendor folder rather than base folder
This commit is contained in:
commit
dfd57a7217
@ -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