From a5ff626228b35ef587f6b9493998184e3e8354fe Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 4 Nov 2026 14:29:35 -0700 Subject: settings: let users delete their account A Delete account entry on the security tab leads to /settings/delete, which warns what's lost, asks for the username (and PIN when set) and calls the server's POST /delete, then logs out. The page resets to the (app) layout so its form isn't nested in the settings save form. Co-Authored-By: Claude Opus 5.5 --- src/locales/zh.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/locales/zh.json') diff --git a/src/locales/zh.json b/src/locales/zh.json index f72ac733..e899debf 100644 --- a/src/locales/zh.json +++ b/src/locales/zh.json @@ -325,7 +325,13 @@ "continueSettingUp": "账户设置", "publishOffer": "发布到节点", "offerPublished": "发表!", - "offerPublishFailed": "发布要约失败" + "offerPublishFailed": "发布要约失败", + "deleteAccount": "删除账户", + "deleteAccountDescription": "永久删除您的账户和所有数据 .", + "deleteAccountWarning": "这将永久删除您的账户、 支付历史、 发票、 子账户、 联系人和连接的应用程序 。 您的用户名和闪电地址将停止工作 。 这一点是无法消除的.", + "deleteAccountBalance": "先收回你的余额 持有超过一万个卫星的账户不能被删除.", + "deleteAccountConfirm": "输入您的用户名以确认", + "deleteAccountButton": "永远删除我的账户" }, "support": { "header": "支持", -- cgit v1.2.3