diff --git a/packages/nc-gui/components/dlg/share-and-collaborate/View.vue b/packages/nc-gui/components/dlg/share-and-collaborate/View.vue index 86d7eb8607..6a643517fc 100644 --- a/packages/nc-gui/components/dlg/share-and-collaborate/View.vue +++ b/packages/nc-gui/components/dlg/share-and-collaborate/View.vue @@ -118,11 +118,11 @@ watch(showShareModal, (val) => { >
- {{ $t('activity.copyInviteLink') }} + {{ $t('activity.copiedInviteLink') }}
- {{ $t('activity.copiedInviteLink') }} + {{ $t('activity.copyInviteLink') }}
diff --git a/packages/nc-gui/components/notification/Card.vue b/packages/nc-gui/components/notification/Card.vue index 125dcd6d6b..9bf9b3f621 100644 --- a/packages/nc-gui/components/notification/Card.vue +++ b/packages/nc-gui/components/notification/Card.vue @@ -33,7 +33,7 @@ const groupType = computed({ class="cursor-pointer text-xs text-gray-500 hover:text-primary" @click.stop="notificationStore.markAllAsRead" > - {{ $t('activity.maskAllAsRead') }} + {{ $t('activity.markAllAsRead') }} diff --git a/packages/nc-gui/components/workspace/CreateProjectDlg.vue b/packages/nc-gui/components/workspace/CreateProjectDlg.vue index 96b40bb863..d5236df858 100644 --- a/packages/nc-gui/components/workspace/CreateProjectDlg.vue +++ b/packages/nc-gui/components/workspace/CreateProjectDlg.vue @@ -3,7 +3,7 @@ import type { RuleObject } from 'ant-design-vue/es/form' import type { Form, Input } from 'ant-design-vue' import type { VNodeRef } from '@vue/runtime-core' import { computed } from '@vue/reactivity' -import { NcProjectType, baseTitleValidator, extractSdkResponseErrorMsg, ref, useGlobal, useVModel, useI18n } from '#imports' +import { NcProjectType, baseTitleValidator, extractSdkResponseErrorMsg, ref, useGlobal, useI18n, useVModel } from '#imports' const props = defineProps<{ modelValue: boolean @@ -26,7 +26,7 @@ const { navigateToProject } = useGlobal() const nameValidationRules = [ { required: true, - message: t('msg.dbNamerequired'), + message: t('msg.dbNameRequired'), }, baseTitleValidator, ] as RuleObject[] @@ -97,7 +97,7 @@ const typeLabel = computed(() => {
- {{ $t('general.create')+` ${typeLabel}` }} + {{ `${$t('general.create')} ${typeLabel}` }}
@@ -129,13 +129,13 @@ const typeLabel = computed(() => { data-testid="docs-create-proj-dlg-create-btn" :loading="creating" type="primary" - :label="$t('general.create')+` ${typeLabel}`" - :loading-label="`Creating ${typeLabel}`" + :label="`${$t('general.create')} ${typeLabel}`" + :loading-label="`${$t('general.creating')} ${typeLabel}`" @click="createProject" > - {{ $t('general.create')+` ${typeLabel}` }} + {{ `${$t('general.create')} ${typeLabel}` }}
diff --git a/packages/nc-gui/components/workspace/InviteCollabDlg.vue b/packages/nc-gui/components/workspace/InviteCollabDlg.vue index ba90013749..b39b30612c 100644 --- a/packages/nc-gui/components/workspace/InviteCollabDlg.vue +++ b/packages/nc-gui/components/workspace/InviteCollabDlg.vue @@ -42,7 +42,7 @@ const validators = computed(() => { { validator: (rule: any, value: string, callback: (errMsg?: string) => void) => { if (!value || value.length === 0) { - callback(t('error.signUpRules.emailReqd')) + callback(t('error.signUpRules.emailRequired')) return } const invalidEmails = (value || '').split(/\s*,\s*/).filter((e: string) => !validateEmail(e)) @@ -51,7 +51,7 @@ const validators = computed(() => { `${ invalidEmails.length > 1 ? `${t('error.signUpRules.invalidEmails')}: ` - : `${t('error.signUpRules.invalidEmails')}: ` + : `${t('error.signUpRules.invalidEmail')}: ` } ${invalidEmails.join(', ')} `, ) } else { diff --git a/packages/nc-gui/lang/en.json b/packages/nc-gui/lang/en.json index 0ce480dd62..db33003210 100644 --- a/packages/nc-gui/lang/en.json +++ b/packages/nc-gui/lang/en.json @@ -182,7 +182,8 @@ "useSurveyMode": "Use Survey Mode", "shift": "Shift", "enter": "Enter", - "seconds": "Seconds" + "seconds": "Seconds", + "todo": "todo" }, "objects": { "workspace": "Workspace", @@ -224,7 +225,7 @@ "commenter": "Commenter", "viewer": "Viewer", "noaccess":"No Access", - "super": "Super", + "superAdmin": "Super Admin", "orgLevelCreator": "Organization Level Creator", "orgLevelViewer": "Organization Level Viewer" }, @@ -388,6 +389,7 @@ "resetPasswordMenu": "Reset Password", "tokens": "Tokens", "userManagement": "User Management", + "accountManagement": "Account management", "licence": "Licence", "allowAllMimeTypes": "Allow All Mime Types", "defaultView": "Default View", @@ -787,7 +789,7 @@ "deleteRecord": "Delete Record", "fullWidth": "Full width", "exitFullWidth": "Full width", - "maskAllAsRead": "Mark all as read", + "markAllAsRead": "Mark all as read", "column":{ "delete": "Delete Column", "addNumber": "Add Number Column", @@ -1153,7 +1155,7 @@ "noMoreRecords": "No more records", "tokenNameNotEmpty": "Token name should not be empty", "tokenNameMaxLength": "Token name should not be more than 255 characters", - "dbNamerequired": "Database name is required", + "dbNameRequired": "Database name is required", "wsNameRequired":"Workspace name required", "wsNameMinLength":"Workspace name must be at least 3 characters long", "wsNameMaxLength":"Workspace name must be at most 50 characters long", @@ -1181,7 +1183,7 @@ "dbConnectionFailed": "Connection Failure:", "nullFilterExists": "Null filter exists. Please remove them", "signUpRules": { - "emailReqd": "Email is required", + "emailRequired": "Email is required", "emailInvalid": "Email must be valid", "passwdRequired": "Password is required", "passwdLength": "You password must be atleast 8 characters", diff --git a/packages/nc-gui/layouts/base.vue b/packages/nc-gui/layouts/base.vue index 01a59b354c..3da25f91f8 100644 --- a/packages/nc-gui/layouts/base.vue +++ b/packages/nc-gui/layouts/base.vue @@ -97,8 +97,8 @@ hooks.hook('page:finish', () => { - - -
@@ -99,7 +99,7 @@ export default { - +