fix(i18n): incorrect namespaces of plugins (#4771)

This commit is contained in:
YANG QIA 2024-06-27 18:12:51 +08:00 committed by GitHub
parent 405a6eef81
commit 04015596df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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 });

View File

@ -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 });