# HG changeset patch # User Martin Bornhold # Date 2016-10-26 11:19:56 # Node ID 9a1fddb4ee49e962a979459e2017d9da123c50b9 # Parent 2303623653dabac9d07c4a114cee470ad707df40 login: Start error message with uppercase letter. All other error messages are starting with uppercase and lowercase just looks wrong in the UI diff --git a/rhodecode/login/views.py b/rhodecode/login/views.py --- a/rhodecode/login/views.py +++ b/rhodecode/login/views.py @@ -243,7 +243,7 @@ class LoginView(object): remoteip=get_ip_addr(self.request.environ)) if not response.is_valid: _value = form_result - _msg = _('bad captcha') + _msg = _('Bad captcha') error_dict = {'recaptcha_field': _msg} raise formencode.Invalid(_msg, _value, None, error_dict=error_dict) @@ -305,7 +305,7 @@ class LoginView(object): remoteip=get_ip_addr(self.request.environ)) if not response.is_valid: _value = form_result - _msg = _('bad captcha') + _msg = _('Bad captcha') error_dict = {'recaptcha_field': _msg} raise formencode.Invalid(_msg, _value, None, error_dict=error_dict)