From bb4984a9aac43694691e8c0191fc2306fcbc06a4 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Fri, 11 Sep 2015 13:54:00 -0400 Subject: [PATCH] closes #3428 --- public/language/en_GB/user.json | 1 + public/src/client/account/profile.js | 1 + 2 files changed, 2 insertions(+) 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?
This action is irreversible and you will not be able to recover any of your data

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?
This action is irreversible and you will not be able to recover any data

", + "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(); }); });