From 2c81c95ce2d46923f42c747f045be4580cffb706 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 2 May 2017 10:29:54 +0200 Subject: Revert "Move translation strings" This reverts commit 4204e06da0db0654b66bc766006f4143603c2695. --- ishtar_common/models.py | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'ishtar_common/models.py') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index e25b0777b..5912c8377 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -72,17 +72,6 @@ from ishtar_common.data_importer import Importer, ImportFormater, \ logger = logging.getLogger(__name__) -def lazy_translations(): - """ - This function is never called. Only a container for translations, - not reached on first evaluation of the module. - There must be a cleaner way to do that... - """ - _(u"username") - _(u"email address") - _(u"Related item") - - def post_save_user(sender, **kwargs): user = kwargs['instance'] -- cgit v1.2.3