mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-03 12:47:44 +08:00
fix(i18n): incorrect namespaces of plugins (#4771)
This commit is contained in:
parent
405a6eef81
commit
04015596df
@ -10,7 +10,7 @@
|
||||
import { i18n } from '@nocobase/client';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
export const NAMESPACE = '@nocobase/plugin-bulk-edit';
|
||||
export const NAMESPACE = 'action-bulk-edit';
|
||||
|
||||
export function lang(key: string) {
|
||||
return i18n.t(key, { ns: NAMESPACE });
|
||||
|
@ -10,7 +10,7 @@
|
||||
import { i18n } from '@nocobase/client';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
export const NAMESPACE = 'bulk-update';
|
||||
export const NAMESPACE = 'action-bulk-update';
|
||||
|
||||
export function lang(key: string) {
|
||||
return i18n.t(key, { ns: NAMESPACE });
|
||||
|
Loading…
Reference in New Issue
Block a user