From 59a4b1344ebabbf6f0239480915576eb6c8d1c35 Mon Sep 17 00:00:00 2001 From: mrjvs Date: Sat, 4 Oct 2025 22:04:46 +0200 Subject: [PATCH] feat: add localisation to delete modal --- locales/en_US.json | 7 +++++++ views/account/account.handlebars | 12 +++++++----- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/locales/en_US.json b/locales/en_US.json index b8ea75d..0ba6b86 100644 --- a/locales/en_US.json +++ b/locales/en_US.json @@ -381,6 +381,13 @@ "no_signins_notice": "Sign in history not currently tracked. Check back again later!", "no_newsletter_notice": "Newsletter not currently available. Check back again later", "no_edit_from_dashboard": "Editing PNID settings from user dashboard is currently unavailable. Please update user settings from your linked game console" + }, + "delete": { + "button": "Delete Account", + "modalTitle": "Delete PNID", + "modalDescription": "Are you sure you want to delete your PNID? Your data across services such as the forums, Miiverse, etc. will all be removed. Your Stripe data and subscription will also be automatically deleted.", + "modalCaution": "This action cannot be undone.", + "modalConfirm": "Yes, delete" } }, "accountLevel": [ diff --git a/views/account/account.handlebars b/views/account/account.handlebars index 85d9373..bb20b75 100644 --- a/views/account/account.handlebars +++ b/views/account/account.handlebars @@ -29,7 +29,7 @@

{{ locale.account.settings.upgrade }}

-

Delete Account

+

{{ locale.account.settings.delete.button }}

@@ -201,13 +201,15 @@ -