mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-21 22:50:59 -05:00
feat: translate account management options
This commit is contained in:
parent
bc604c0157
commit
be3565871c
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ export default function AccountManagement() {
|
||||||
<CategoryButton
|
<CategoryButton
|
||||||
icon={<Block size={24} color="var(--error)" />}
|
icon={<Block size={24} color="var(--error)" />}
|
||||||
description={
|
description={
|
||||||
"Disable your account. You won't be able to access it unless you contact support."
|
<Text id="app.settings.pages.account.manage.disable_description" />
|
||||||
}
|
}
|
||||||
action="chevron"
|
action="chevron"
|
||||||
onClick={callback("disable")}>
|
onClick={callback("disable")}>
|
||||||
|
@ -49,7 +49,7 @@ export default function AccountManagement() {
|
||||||
<CategoryButton
|
<CategoryButton
|
||||||
icon={<Trash size={24} color="var(--error)" />}
|
icon={<Trash size={24} color="var(--error)" />}
|
||||||
description={
|
description={
|
||||||
"Your account will be queued for deletion, a confirmation email will be sent."
|
<Text id="app.settings.pages.account.manage.delete_description" />
|
||||||
}
|
}
|
||||||
action="chevron"
|
action="chevron"
|
||||||
onClick={callback("delete")}>
|
onClick={callback("delete")}>
|
||||||
|
|
Loading…
Reference in a new issue