[MM-1915] Add Deactivate Account - server side (#8699)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
b6d5cc4f69
Коммит
c3e9c41440
20
i18n/en.json
20
i18n/en.json
@@ -2750,6 +2750,22 @@
|
||||
"id": "api.templates.welcome_subject",
|
||||
"translation": "[{{ .SiteName }}] You joined {{ .ServerURL }}"
|
||||
},
|
||||
{
|
||||
"id": "api.templates.deactivate_subject",
|
||||
"translation": "[{{ .SiteName }}] Your account at {{ .ServerURL }} has been deactivated"
|
||||
},
|
||||
{
|
||||
"id": "api.templates.deactivate_body.title",
|
||||
"translation": "Your account has been deactivated at {{ .ServerURL }}"
|
||||
},
|
||||
{
|
||||
"id": "api.templates.deactivate_body.info",
|
||||
"translation": "You deactivated your account on {{ .SiteURL }}.<br>If this change wasn't initiated by you or you want to reactivate your account, contact your system administrator."
|
||||
},
|
||||
{
|
||||
"id": "api.user.send_deactivate_email_and_forget.failed.error",
|
||||
"translation": "Failed to send the deactivate account email successfully"
|
||||
},
|
||||
{
|
||||
"id": "api.user.activate_mfa.email_and_ldap_only.app_error",
|
||||
"translation": "MFA is not available for this account type"
|
||||
@@ -3074,6 +3090,10 @@
|
||||
"id": "api.user.update_active.permissions.app_error",
|
||||
"translation": "You do not have the appropriate permissions"
|
||||
},
|
||||
{
|
||||
"id": "api.user.update_active.not_enable.app_error",
|
||||
"translation": "You cannot deactivate yourself because this feature is not enabled. Please contact your System Administrator."
|
||||
},
|
||||
{
|
||||
"id": "api.user.update_mfa.not_available.app_error",
|
||||
"translation": "MFA not configured or available on this server"
|
||||
|
||||
Ссылка в новой задаче
Block a user