fix themes localization namespace (#5348)
This commit is contained in:
parent
061d35e5fd
commit
3590571642
|
|
@ -298,7 +298,7 @@ class ServiceProvider extends ModuleServiceProvider
|
|||
$langPath = $theme->getPath() . '/lang';
|
||||
|
||||
if (File::isDirectory($langPath)) {
|
||||
Lang::addNamespace("theme.{$theme->getId()}", $langPath);
|
||||
Lang::addNamespace("themes.{$theme->getId()}", $langPath);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue