Skip to content

Node.js based forum software built for the modern web

closes #3428

barisusaklibb4984a9aac4
diff --git a/public/language/en_GB/user.json b/public/language/en_GB/user.json
index d7f1576548..b4d3dcaaf5 100644
--- a/public/language/en_GB/user.json
+++ b/public/language/en_GB/user.json
@@ -13,6 +13,7 @@
"delete_account": "Delete Account",
"delete_account_confirm": "Are you sure you want to delete your account? <br /><strong>This action is irreversible and you will not be able to recover any of your data</strong><br /><br />Enter your username to confirm that you wish to destroy this account.",
"delete_this_account_confirm": "Are you sure you want to delete this account? <br /><strong>This action is irreversible and you will not be able to recover any data</strong><br /><br />",
+ "account-deleted": "Account deleted",
"fullname": "Full Name",
"website": "Website",
diff --git a/public/src/client/account/profile.js b/public/src/client/account/profile.js
index c369f9da16..5a7756cc93 100644
--- a/public/src/client/account/profile.js
+++ b/public/src/client/account/profile.js
@@ -154,6 +154,7 @@ define('forum/account/profile', ['forum/account/header', 'forum/infinitescroll',
if (err) {
return app.alertError(err.message);
}
+ app.alertSuccess('[[user:account-deleted]]');
history.back();
});
});