mirror of
https://github.com/etkecc/synapse-admin.git
synced 2024-11-21 23:35:22 +03:00
reword managed user error
This commit is contained in:
parent
e328380c77
commit
52a2f1c936
8 changed files with 12 additions and 10 deletions
|
@ -150,9 +150,9 @@ const de: SynapseTranslationMessages = {
|
|||
helper: {
|
||||
password: "Durch die Änderung des Passworts wird der Benutzer von allen Sitzungen abgemeldet.",
|
||||
deactivate: "Sie müssen ein Passwort angeben, um ein Konto wieder zu aktivieren.",
|
||||
erase: "DSGVO konformes Löschen der Benutzerdaten",
|
||||
erase_admin_error: "Das Löschen des eigenen Benutzers ist nicht erlaubt",
|
||||
erase_managed_user_error: "Die Löschung eines vom System verwalteten Benutzers ist nicht zulässig",
|
||||
erase: "DSGVO konformes Löschen der Benutzerdaten.",
|
||||
erase_admin_error: "Das Löschen des eigenen Benutzers ist nicht erlaubt.",
|
||||
modify_managed_user_error: "Das Ändern eines vom System verwalteten Benutzers ist nicht zulässig.",
|
||||
},
|
||||
action: {
|
||||
erase: "Lösche Benutzerdaten",
|
||||
|
|
|
@ -143,7 +143,7 @@ const en: SynapseTranslationMessages = {
|
|||
deactivate: "You must provide a password to re-activate an account.",
|
||||
erase: "Mark the user as GDPR-erased",
|
||||
erase_admin_error: "Deleting own user is not allowed.",
|
||||
erase_managed_user_error: "Deleting a system-managed user is not allowed.",
|
||||
modify_managed_user_error: "Modifying a system-managed user is not allowed.",
|
||||
},
|
||||
action: {
|
||||
erase: "Erase user data",
|
||||
|
|
|
@ -138,6 +138,8 @@ const fa: SynapseTranslationMessages = {
|
|||
password: "با تغییر رمز عبور کاربر از تمام دستگاه ها خارج می شود.",
|
||||
deactivate: "برای فعالسازی مجدد حساب باید رمز عبور وارد کنید.",
|
||||
erase: "کاربر را به عنوان GDPR پاک شده علامت گذاری کنید",
|
||||
erase_admin_error: "حذف المستخدم الخاص غير مسموح به.",
|
||||
modify_managed_user_error: "لا يُسمح بتغيير المستخدم الذي يديره النظام.",
|
||||
},
|
||||
action: {
|
||||
erase: "پاک کردن اطلاعات کاربر",
|
||||
|
|
|
@ -141,7 +141,7 @@ const fr: SynapseTranslationMessages = {
|
|||
deactivate: "Vous devrez fournir un mot de passe pour réactiver le compte.",
|
||||
erase: "Marquer l'utilisateur comme effacé conformément au RGPD",
|
||||
erase_admin_error: "La suppression de son propre utilisateur n'est pas autorisée.",
|
||||
erase_managed_user_error: "La suppression d'un utilisateur géré n'est pas autorisée.",
|
||||
modify_managed_user_error: "La modification d'un utilisateur géré par le système n'est pas autorisée.",
|
||||
},
|
||||
action: {
|
||||
erase: "Effacer les données de l'utilisateur",
|
||||
|
|
|
@ -143,7 +143,7 @@ const it: SynapseTranslationMessages = {
|
|||
action: {
|
||||
erase: "Cancella i dati dell'utente",
|
||||
erase_admin_error: "Non è consentito eliminare il proprio utente.",
|
||||
erase_managed_user_error: "Non è consentito eliminare un utente gestito.",
|
||||
modify_managed_user_error: "La modifica di un utente gestito dal sistema non è consentita.",
|
||||
},
|
||||
},
|
||||
rooms: {
|
||||
|
|
|
@ -160,7 +160,7 @@ const ru: SynapseTranslationMessages = {
|
|||
deactivate: "Вы должны предоставить пароль для реактивации учётной записи.",
|
||||
erase: "Пометить пользователя как удалённого в соответствии с GDPR",
|
||||
erase_admin_error: "Удаление собственного пользователя запрещено.",
|
||||
erase_managed_user_error: "Удаление управляемого системой пользователя запрещено.",
|
||||
modify_managed_user_error: "Изменение пользователя, управляемого системой, не допускается.",
|
||||
},
|
||||
action: {
|
||||
erase: "Удалить данные пользователя",
|
||||
|
|
|
@ -144,7 +144,7 @@ const zh: SynapseTranslationMessages = {
|
|||
deactivate: "您必须提供一串密码来激活账户。",
|
||||
erase: "将用户标记为根据 GDPR 的要求抹除了",
|
||||
erase_admin_error: "不允许删除自己的用户",
|
||||
erase_managed_user_error: "不允许删除受管理的用户",
|
||||
modify_managed_user_error: "不允许修改系统管理的用户。",
|
||||
},
|
||||
action: {
|
||||
erase: "抹除用户信息",
|
||||
|
|
|
@ -115,7 +115,7 @@ const UserPreventSelfDelete: React.FC<{ children: React.ReactNode; ownUserIsSele
|
|||
notify(<Alert severity="error">{translate("resources.users.helper.erase_admin_error")}</Alert>);
|
||||
ev.stopPropagation();
|
||||
} else if (asManagedUserIsSelected) {
|
||||
notify(<Alert severity="error">{translate("resources.users.helper.erase_managed_user_error")}</Alert>);
|
||||
notify(<Alert severity="error">{translate("resources.users.helper.modify_managed_user_error")}</Alert>);
|
||||
ev.stopPropagation();
|
||||
}
|
||||
};
|
||||
|
@ -308,7 +308,7 @@ const UserPasswordInput = props => {
|
|||
}
|
||||
|
||||
return (
|
||||
<PasswordInput {...props} helperText="resources.users.helper.erase_managed_user_error" disabled={asManagedUserIsSelected} />
|
||||
<PasswordInput {...props} helperText="resources.users.helper.modify_managed_user_error" disabled={asManagedUserIsSelected} />
|
||||
);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue