From f38e4bcaa87a8d1f1c2945d5eea61903d1cc609f Mon Sep 17 00:00:00 2001 From: katherinehhh Date: Thu, 11 Jan 2024 15:19:44 +0800 Subject: [PATCH] refactor: local impeove (#3367) --- .../plugin-action-bulk-update/src/client/utils.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/plugins/@nocobase/plugin-action-bulk-update/src/client/utils.tsx b/packages/plugins/@nocobase/plugin-action-bulk-update/src/client/utils.tsx index 708364dc4..82f6eaa61 100644 --- a/packages/plugins/@nocobase/plugin-action-bulk-update/src/client/utils.tsx +++ b/packages/plugins/@nocobase/plugin-action-bulk-update/src/client/utils.tsx @@ -68,8 +68,11 @@ export const useCustomizeBulkUpdateActionProps = () => { await Promise.all(waitList); modal.confirm({ - title: t('Bulk update'), - content: updateMode === 'selected' ? t('Update selected data?') : t('Update all data?'), + title: t('Bulk update', { ns: 'client' }), + content: + updateMode === 'selected' + ? t('Update selected data?', { ns: 'client' }) + : t('Update all data?', { ns: 'client' }), async onOk() { const { filter } = service.params?.[0] ?? {}; const updateData: { filter?: any; values: any; forceUpdate: boolean } = {