Mercurial > kallithea
diff rhodecode/model/validators.py @ 3415:b8f929bff7e3 beta
fixed tests and missing replacements from 5f1850e4712a
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 27 Feb 2013 02:27:09 +0100 |
parents | 157231a4fcb7 |
children | 5706f6ab60cf |
line wrap: on
line diff
--- a/rhodecode/model/validators.py Wed Feb 27 02:18:45 2013 +0100 +++ b/rhodecode/model/validators.py Wed Feb 27 02:27:09 2013 +0100 @@ -132,10 +132,10 @@ def ValidUsersGroup(edit=False, old_data={}): class _validator(formencode.validators.FancyValidator): messages = { - 'invalid_group': _(u'Invalid users group name'), + 'invalid_group': _(u'Invalid user group name'), 'group_exist': _(u'Users group "%(usersgroup)s" already exists'), 'invalid_usersgroup_name': - _(u'users group name may only contain alphanumeric ' + _(u'user group name may only contain alphanumeric ' 'characters underscores, periods or dashes and must begin ' 'with alphanumeric character') } @@ -547,7 +547,7 @@ class _validator(formencode.validators.FancyValidator): messages = { 'perm_new_member_name': - _(u'This username or users group name is not valid') + _(u'This username or user group name is not valid') } def to_python(self, value, state):