diff --git a/src/lang/en.js b/src/lang/en.js index d631bc8d..51269dc3 100644 --- a/src/lang/en.js +++ b/src/lang/en.js @@ -96,7 +96,7 @@ export default { logInViaPleromaFE: 'Log in via PleromaFE', username: 'username@host', password: 'password', - omitHostname: 'omit hostname if Pleroma is located on this domain', + omitHostname: 'Omit hostname if Pleroma is located on this domain', errorMessage: 'Username must contain username and host, e.g. john@pleroma.social', any: 'any', thirdparty: 'Or connect with', @@ -487,7 +487,8 @@ export default { invalidEmailError: 'Please input valid e-mail', emailSent: 'Invite was sent', submitFormError: 'There are invalid values in the form. Please fix them before continuing.', - inviteViaEmailAlert: 'To send invite via email make sure to enable `invites_enabled` and disable `registrations_open`' + inviteViaEmailAlert: 'To send invite via email make sure to enable `invites_enabled` and disable `registrations_open`', + copyLink: 'Copy link' }, emoji: { emojiPacks: 'Emoji packs', diff --git a/src/router/index.js b/src/router/index.js index d151daeb..d5f6e53a 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -97,7 +97,7 @@ const moderationLog = { children: [ { path: 'index', - component: () => import('@/views/moderation_log/index'), + component: () => import('@/views/moderationLog/index'), name: 'Moderation Log', meta: { title: 'moderationLog', icon: 'list', noCache: true } } diff --git a/src/utils/clipboard.js b/src/utils/clipboard.js index e916a44d..66f018ec 100644 --- a/src/utils/clipboard.js +++ b/src/utils/clipboard.js @@ -3,7 +3,7 @@ import Clipboard from 'clipboard' function clipboardSuccess() { Vue.prototype.$message({ - message: 'Copy successfully', + message: 'Copied!', type: 'success', duration: 1500 }) diff --git a/src/views/invites/index.vue b/src/views/invites/index.vue index 5ed51462..4fce11ec 100644 --- a/src/views/invites/index.vue +++ b/src/views/invites/index.vue @@ -22,6 +22,7 @@ :visible.sync="createTokenDialogVisible" :show-close="false" :title="$t('invites.createInviteToken')" + :width="isTokenCreated ? '60%' : '30%'" custom-class="create-new-token-dialog"> @@ -51,9 +52,12 @@ - - {{ inviteLink }} - + {{ newToken.token }} @@ -156,6 +160,7 @@