mirror of
https://github.com/nocobase/nocobase.git
synced 2026-08-30 16:56:07 +08:00
Merge branch 'main' into next
This commit is contained in:
@@ -83,6 +83,10 @@ export class PluginLocalizationServer extends Plugin {
|
||||
name: `pm.${this.name}.localization`,
|
||||
actions: ['localization:*', 'localizationTexts:*', 'localizationTranslations:*'],
|
||||
});
|
||||
this.app.acl.registerSnippet({
|
||||
name: 'ui.localization',
|
||||
actions: ['localizationTexts:missing'],
|
||||
});
|
||||
|
||||
this.app.localeManager.registerResourceStorer('plugin-localization', {
|
||||
getResources: (lang: string) => this.resources.getResources(lang),
|
||||
|
||||
Reference in New Issue
Block a user