Chore: defaults localizationForPlugins behavior (#109778)
* Chore: defaults localizationForPlugins behavior * chore: fixes backend tests * chore: fix backend tests * chore: fix some more backend tests
This commit is contained in:
@@ -78,10 +78,8 @@ func (f *DefaultPluginFactory) newPlugin(p plugins.FoundPlugin, class plugins.Cl
|
||||
return nil, err
|
||||
}
|
||||
|
||||
if f.features.LocalizationForPlugins {
|
||||
if err := setTranslations(plugin, f.assetPath, info); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if err := setTranslations(plugin, f.assetPath, info); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return plugin, nil
|
||||
|
||||
Reference in New Issue
Block a user