diff --git a/src/forest/auth/routes.py b/src/forest/auth/routes.py index 4cb85d0..02df267 100644 --- a/src/forest/auth/routes.py +++ b/src/forest/auth/routes.py @@ -157,7 +157,7 @@ def register(): else: newip = request.remote_addr send_email(current_app.config['MAIL_USERNAME'], user.email + ' registered!', 'auth/email/adm_regnotify', user=user, ipaddr=newip ) - flash('Благодарим за регистрацията! Моля проверете вашият email за потвърждение') + flash('Thank you for the registration! We have send you an activation email') return redirect(url_for('auth.login')) return render_template('auth/register.html', page=page, form=form) @@ -167,9 +167,9 @@ def confirm(token): if current_user.confirmed: return redirect(url_for('main.index')) if current_user.confirm(token): - flash('Вашият акаунт е потвърден. Благодаря!') + flash('Your account is confirmed!') else: - flash('Времето за потвърждение на вашият код изтече.') + flash('Confirmation time expired!') return redirect(url_for('main.index')) @auth.route('/confirm')