Mercurial > kallithea
changeset 2218:6e5d686084f1 codereview
fixed translation function for models
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 01 May 2012 22:27:35 +0200 |
parents | 76947224bf27 |
children | 18aa9620d847 |
files | rhodecode/model/db.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/model/db.py Tue May 01 22:24:41 2012 +0200 +++ b/rhodecode/model/db.py Tue May 01 22:27:35 2012 +0200 @@ -34,7 +34,7 @@ from sqlalchemy.orm import relationship, joinedload, class_mapper, validates from beaker.cache import cache_region, region_invalidate -_ = lambda s: s +from pylons.i18n.translation import lazy_ugettext as _ from rhodecode.lib.vcs import get_backend from rhodecode.lib.vcs.utils.helpers import get_scm