From 5d2131069c853944abb845825b71ec61ffe94265 Mon Sep 17 00:00:00 2001 From: reenphygeorge Date: Sun, 8 Oct 2023 23:09:18 +0530 Subject: [PATCH 1/9] fix: i18n --- .../nc-gui/components/account/UsersModal.vue | 4 +- .../components/cell/attachment/RenameFile.vue | 6 ++- .../settings/data-sources/CreateBase.vue | 2 +- .../nc-gui/components/dlg/AirtableImport.vue | 2 +- .../dlg/share-and-collaborate/Collaborate.vue | 4 +- .../dlg/share-and-collaborate/SharePage.vue | 5 --- .../dlg/share-and-collaborate/View.vue | 4 +- .../nc-gui/components/general/FullScreen.vue | 3 +- .../nc-gui/components/general/JoinCloud.vue | 2 +- .../nc-gui/components/notification/Card.vue | 7 ++-- packages/nc-gui/components/roles/Badge.vue | 5 +-- .../smartsheet/expanded-form/index.vue | 15 ++++--- .../smartsheet/toolbar/ShareView.vue | 19 +++------ .../tabs/auth/user-management/UsersModal.vue | 8 ++-- .../nc-gui/components/template/Editor.vue | 29 +++++--------- .../components/workspace/CreateProjectDlg.vue | 16 ++++---- .../components/workspace/InviteCollabDlg.vue | 6 +-- packages/nc-gui/lang/en.json | 39 +++++++++++++++++-- packages/nocodb-sdk/src/lib/enums.ts | 28 ++++++------- 19 files changed, 106 insertions(+), 98 deletions(-) diff --git a/packages/nc-gui/components/account/UsersModal.vue b/packages/nc-gui/components/account/UsersModal.vue index 489508d9f8..7ebbe9001e 100644 --- a/packages/nc-gui/components/account/UsersModal.vue +++ b/packages/nc-gui/components/account/UsersModal.vue @@ -175,7 +175,7 @@ const emailInput: VNodeRef = (el) => (el as HTMLInputElement)?.focus() v-bind="validateInfos.emails" validate-trigger="onBlur" name="emails" - :rules="[{ required: true, message: 'Please input email' }]" + :rules="[{ required: true, message: $t('msg.plsInputEmail') }]" >
{{ $t('datatype.Email') }}:
@@ -190,7 +190,7 @@ const emailInput: VNodeRef = (el) => (el as HTMLInputElement)?.focus()
- +
{{ $t('labels.selectUserRole') }}
diff --git a/packages/nc-gui/components/cell/attachment/RenameFile.vue b/packages/nc-gui/components/cell/attachment/RenameFile.vue index 0eb8289627..7218a15f56 100644 --- a/packages/nc-gui/components/cell/attachment/RenameFile.vue +++ b/packages/nc-gui/components/cell/attachment/RenameFile.vue @@ -1,5 +1,7 @@