Make the new sign-out button translatable
This commit is contained in:
@@ -46,6 +46,10 @@
|
||||
"change_disabled": "Password changes are disabled by the administrator.",
|
||||
"label": "Password"
|
||||
},
|
||||
"sign_out": {
|
||||
"button": "Sign out of account",
|
||||
"dialog": "Sign out of this account?"
|
||||
},
|
||||
"title": "Your account"
|
||||
},
|
||||
"add_email_form": {
|
||||
|
||||
@@ -35,11 +35,11 @@ const SignOutButton: React.FC<{ id: string }> = ({ id }) => {
|
||||
<Dialog.Dialog
|
||||
trigger={
|
||||
<Button kind="primary" destructive size="lg" Icon={IconSignOut}>
|
||||
Sign out of account
|
||||
{t("frontend.account.sign_out.button")}
|
||||
</Button>
|
||||
}
|
||||
>
|
||||
<Dialog.Title>Sign out of your account?</Dialog.Title>
|
||||
<Dialog.Title>{t("frontend.account.sign_out.dialog")}</Dialog.Title>
|
||||
|
||||
<Button
|
||||
type="button"
|
||||
|
||||
Reference in New Issue
Block a user