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/th.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/locales/th.json') diff --git a/src/locales/th.json b/src/locales/th.json index 1fc20cc3..207db8b4 100644 --- a/src/locales/th.json +++ b/src/locales/th.json @@ -386,7 +386,13 @@ "continueSettingUp": "ตั้งค่าบัญชีผู้ใช้", "publishOffer": "เผยแพร่ไปยังโหนด", "offerPublished": "ตีพิมพ์!", - "offerPublishFailed": "ล้มเหลวในการเผยแพร่ข้อเสนอ" + "offerPublishFailed": "ล้มเหลวในการเผยแพร่ข้อเสนอ", + "deleteAccount": "ลบบัญชีผู้ใช้", + "deleteAccountDescription": "ลบบัญชีและข้อมูลทั้งหมดอย่างถาวร.", + "deleteAccountWarning": "นี่จะเป็นการลบบัญชีผู้ใช้ของคุณอย่างถาวร, ประวัติการจ่ายเงินของคุณ, ใบแจ้งหนี้, บัญชีย่อย, ที่อยู่ติดต่อ และโปรแกรมที่เชื่อมต่ออยู่ ชื่อผู้ใช้และที่อยู่ฟ้าผ่าของคุณจะหยุดการทํางาน นี่ไม่สามารถยกเลิกได้.", + "deleteAccountBalance": "ดึงความสมดุลของคุณก่อน บัญชี ที่ มี มาก กว่า 10,000 ที่นั่ง ไม่ อาจ ลบ ได้.", + "deleteAccountConfirm": "พิมพ์ชื่อผู้ใช้ของคุณเพื่อยืนยัน", + "deleteAccountButton": "ลบบัญชีผู้ใช้ของฉันตลอดไป" }, "support": { "header": "สนับสนุน", -- cgit v1.2.3