@@ -121,19 +127,27 @@ const typeLabel = computed(() => {
- Cancel
+ {{ $t('general.cancel') }}
- {{ `Create ${typeLabel}` }}
+ {{
+ $t('general.createEntity', {
+ entity: typeLabel,
+ })
+ }}
- {{ `Creating ${typeLabel}` }}
+ {{
+ $t('general.creatingEntity', {
+ entity: typeLabel,
+ })
+ }}
diff --git a/packages/nc-gui/components/workspace/InviteCollabDlg.vue b/packages/nc-gui/components/workspace/InviteCollabDlg.vue
index 5f3e3c966d..f186bd1fdc 100644
--- a/packages/nc-gui/components/workspace/InviteCollabDlg.vue
+++ b/packages/nc-gui/components/workspace/InviteCollabDlg.vue
@@ -42,12 +42,18 @@ const validators = computed(() => {
{
validator: (rule: any, value: string, callback: (errMsg?: string) => void) => {
if (!value || value.length === 0) {
- callback('Email is required')
+ callback(t('msg.error.signUpRules.emailRequired'))
return
}
const invalidEmails = (value || '').split(/\s*,\s*/).filter((e: string) => !validateEmail(e))
if (invalidEmails.length > 0) {
- callback(`${invalidEmails.length > 1 ? ' Invalid emails:' : 'Invalid email:'} ${invalidEmails.join(', ')} `)
+ callback(
+ `${
+ invalidEmails.length > 1
+ ? `${t('msg.error.signUpRules.invalidEmails')}: `
+ : `${t('msg.error.signUpRules.invalidEmail')}: `
+ } ${invalidEmails.join(', ')} `,
+ )
} else {
callback()
}
@@ -119,8 +125,6 @@ const emailInput = ref((el) => {
wrap-class-name="nc-modal-invite-user"
@cancel="emit('closed')"
>
-
-
{{ $t('activity.inviteUser') }}
@@ -137,7 +141,7 @@ const emailInput = ref((el) => {
-
Copy Invite Token
+
{{ $t('title.copyInviteToken') }}
@@ -193,7 +197,7 @@ const emailInput = ref((el) => {
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') }}:
@@ -207,7 +211,7 @@ const emailInput = ref((el) => {
-
+
{{ $t('labels.selectUserRole') }}
diff --git a/packages/nc-gui/components/workspace/MoveProjectDlg.vue b/packages/nc-gui/components/workspace/MoveProjectDlg.vue
index c4d2eea619..050aec3ef5 100644
--- a/packages/nc-gui/components/workspace/MoveProjectDlg.vue
+++ b/packages/nc-gui/components/workspace/MoveProjectDlg.vue
@@ -55,8 +55,7 @@ const ownedWorkspaces = computed(() => {
{{ $t('activity.moveProject') }}
-
- Workspace
+ {{ $t('objects.workspace') }}
{{ workspace.title }}
diff --git a/packages/nc-gui/components/workspace/Settings.vue b/packages/nc-gui/components/workspace/Settings.vue
index b86adbc5c0..a343df3cab 100644
--- a/packages/nc-gui/components/workspace/Settings.vue
+++ b/packages/nc-gui/components/workspace/Settings.vue
@@ -1,5 +1,7 @@