mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-09 10:15:26 +00:00
feat: translate account management options
This commit is contained in:
@@ -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")}>
|
||||||
|
|||||||
Reference in New Issue
Block a user