From 192bddfc0c92a91c50b83bd95b3bd49f408f6ab1 Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Tue, 15 Feb 2022 18:51:13 +0530 Subject: [PATCH] refactor: i18n- new user & shared view translation Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> --- packages/nc-gui/components/auth/roles.vue | 6 +- .../nc-gui/components/auth/userManagement.vue | 62 ++++++++++------ packages/nc-gui/components/base/shareBase.vue | 72 +++++++++++++++---- 3 files changed, 102 insertions(+), 38 deletions(-) diff --git a/packages/nc-gui/components/auth/roles.vue b/packages/nc-gui/components/auth/roles.vue index 92fb74678b..f1b2d69b3c 100644 --- a/packages/nc-gui/components/auth/roles.vue +++ b/packages/nc-gui/components/auth/roles.vue @@ -23,11 +23,11 @@ - + refresh - Reload + {{ $t('general.reload')}} + refresh - Reload + + {{ $t('general.reload')}} + mdi-plus - New User + + {{ $t('activity.newUser')}} @@ -91,17 +95,20 @@ mdi-email-outline - Email + + {{ $t('labels.email')}} mdi-drama-masks - Roles + + {{ $t('objects.roles')}} - Actions + + {{ $t('labels.actions')}} @@ -145,9 +152,10 @@ + --> + mdi-delete-outline - + + + +
mdi-plus - New User + + {{ $t('activity.newUser') }}
@@ -313,7 +326,7 @@ - Share : {{ $store.getters['project/GtrProjectName'] }} + {{ $t('activity.share') }} : {{ $store.getters['project/GtrProjectName'] }} + {{ $t('activity.inviteTeam') }}
@@ -366,9 +380,10 @@

- Looks like you have not configured mailer yet!
Please copy above - invite - link and send it to + {{ $t('msg.info.userInviteNoSMTP') }} + + + {{ invite_token && (invite_token.email || invite_token.emails && invite_token.emails.join(', ')) }}.

@@ -407,7 +422,10 @@ @input="edited=true" > @@ -442,6 +460,8 @@ + +
{{ selectedUser.id ? 'save' : 'mdi-send' }} - {{ selectedUser.id ? 'Save' : 'Invite' }} + {{ selectedUser.id ? $t('general.save') : $t('activity.invite') }}
diff --git a/packages/nc-gui/components/base/shareBase.vue b/packages/nc-gui/components/base/shareBase.vue index 088ca49716..19466797cc 100644 --- a/packages/nc-gui/components/base/shareBase.vue +++ b/packages/nc-gui/components/base/shareBase.vue @@ -3,23 +3,46 @@ mdi-open-in-new - Shared base link + + + {{ $t('activity.shareBase.link') }} +
{{ url }} - + + + mdi-reload - + + + mdi-content-copy - + + + mdi-open-in-new - + + + mdi-xml
@@ -31,8 +54,14 @@