From 4091ff8e366b1a631248b77644dd159088b1c8c4 Mon Sep 17 00:00:00 2001 From: Pranay Prajapati Date: Fri, 1 Sep 2023 00:05:10 +0530 Subject: [PATCH] fix: corrected the preposition in "Save As New Collection" (#4070) --- .../collections/add-collection-button.tsx | 2 +- .../src/components/page-list/view/create-collection.tsx | 4 ++-- packages/i18n/src/resources/en.json | 2 +- packages/i18n/src/resources/fr.json | 2 +- packages/i18n/src/resources/zh-Hant.json | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/core/src/components/pure/workspace-slider-bar/collections/add-collection-button.tsx b/apps/core/src/components/pure/workspace-slider-bar/collections/add-collection-button.tsx index a4db2a288b..c2e0aef789 100644 --- a/apps/core/src/components/pure/workspace-slider-bar/collections/add-collection-button.tsx +++ b/apps/core/src/components/pure/workspace-slider-bar/collections/add-collection-button.tsx @@ -51,7 +51,7 @@ export const AddCollectionButton = ({ onConfirm={setting.saveCollection} open={show} onClose={() => showUpdateCollection(false)} - title={t['Save As New Collection']()} + title={t['Save as New Collection']()} init={defaultCollection} /> diff --git a/packages/component/src/components/page-list/view/create-collection.tsx b/packages/component/src/components/page-list/view/create-collection.tsx index 11405e6476..32bd9833ae 100644 --- a/packages/component/src/components/page-list/view/create-collection.tsx +++ b/packages/component/src/components/page-list/view/create-collection.tsx @@ -297,10 +297,10 @@ export const SaveCollectionButton = ({ size="large" style={{ padding: '7px 8px' }} > - {t['Save As New Collection']()} + {t['Save as New Collection']()}