Node.js based forum software built for the modern web
fix: language key in reset password
psychobunny2ad330587949
diff --git a/public/language/en-GB/reset_password.json b/public/language/en-GB/reset_password.jsonindex 66059207e6..d02a9bfd3f 100644--- a/public/language/en-GB/reset_password.json+++ b/public/language/en-GB/reset_password.json@@ -7,6 +7,7 @@"wrong_reset_code.message": "The reset code received was incorrect. Please try again, or <a href=\"/reset\">request a new reset code</a>.","new_password": "New Password","repeat_password": "Confirm Password",+ "changing_password": "Changing Password","enter_email": "Please enter your <strong>email address</strong> and we will send you an email with instructions on how to reset your account.","enter_email_address": "Enter Email Address","password_reset_sent": "If the specified address corresponds to an existing user account, a password reset email was sent. Please note that only one email will be sent per minute.",@@ -14,4 +15,4 @@"password_too_short": "The password entered is too short, please pick a different password.","passwords_do_not_match": "The two passwords you've entered do not match.","password_expired": "Your password has expired, please choose a new password"-}+}\ No newline at end of filediff --git a/public/src/client/reset_code.js b/public/src/client/reset_code.jsindex ae74037d88..ec0b5a0a2a 100644--- a/public/src/client/reset_code.js+++ b/public/src/client/reset_code.js@@ -2,7 +2,7 @@define('forum/reset_code', ['zxcvbn'], function (zxcvbn) {- var ResetCode = {};+ var ResetCode = {};ResetCode.init = function () {var reset_code = ajaxify.data.code;@@ -26,7 +26,7 @@ define('forum/reset_code', ['zxcvbn'], function (zxcvbn) {$('#notice').removeClass('hidden');$('#notice strong').translateText('[[user:weak_password]]');} else {- resetEl.prop('disabled', true).html('<i class="fa fa-spin fa-refresh"></i> Changing Password');+ resetEl.prop('disabled', true).translateText('<i class="fa fa-spin fa-refresh"></i> [[reset_password:changing_password]]');socket.emit('user.reset.commit', {code: reset_code,password: password.val(),