diff --git a/src/translation/en.json b/src/translation/en.json index 10ef96271..6c60aae64 100644 --- a/src/translation/en.json +++ b/src/translation/en.json @@ -171,7 +171,8 @@ "resetPasswordTooltip": "Reset password", "editUserTooltip": "Edit User", "removeUserTooltip": "Remove User", - "transferOwnershipTooltip": "Transfer Ownership" + "transferOwnershipTooltip": "Transfer Ownership", + "invitationTooltip": "Invite User" }, "groups": { "title": "Groups", @@ -297,6 +298,12 @@ "description": "This will make the selected user the owner and admin of this Cloudron and remove admin rights to the current owner.", "transferAction": "Transfer Ownership", "newOwner": "New Owner" + }, + "invitationDialog": { + "title": "Invite {{ username }}", + "inviteLinkExplanation": "Use this to generate a new invite link. The link will also be sent to the user and will reset the password.", + "newLinkAction": "Invite user now", + "description": "The following invite link was sent to {{ email }}:" } }, "profile": { diff --git a/src/views/users.html b/src/views/users.html index b89157565..ae39eac7d 100644 --- a/src/views/users.html +++ b/src/views/users.html @@ -334,7 +334,7 @@
-

{{ 'users.passwordResetDialog.description' | tr:{ username: (passwordReset.user.username || passwordReset.user.email) } }}

+

{{ 'users.passwordResetDialog.description' | tr:{ email: passwordReset.user.fallbackEmail } }}

@@ -363,7 +363,7 @@
-

{{ 'users.invitationDialog.description' | tr:{ username: (invitation.user.username || invitation.user.email) } }}

+

{{ 'users.invitationDialog.description' | tr:{ email: invitation.user.fallbackEmail } }}