# HG changeset patch # User Marcin Kuzminski # Date 2017-09-19 10:41:53 # Node ID 021995626311b362443bc4f0eb717e6d606d9dea # Parent 00f13724d1d0e656ffd2b442c0257f6b4ed92842 auth: remove usage of pylons translator diff --git a/rhodecode/authentication/plugins/auth_rhodecode.py b/rhodecode/authentication/plugins/auth_rhodecode.py --- a/rhodecode/authentication/plugins/auth_rhodecode.py +++ b/rhodecode/authentication/plugins/auth_rhodecode.py @@ -24,7 +24,7 @@ RhodeCode authentication plugin for buil import logging -from pylons.i18n.translation import lazy_ugettext as _ +from rhodecode.translation import _ from rhodecode.authentication.base import RhodeCodeAuthPluginBase, hybrid_property from rhodecode.authentication.routes import AuthnPluginResourceBase