summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-05-02 10:26:14 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-05-02 10:26:14 +0200
commit4204e06da0db0654b66bc766006f4143603c2695 (patch)
tree23fb0ce69f122ea9374a3eb896c56951b9210d5f /ishtar_common/models.py
parentbd45521f0c7f5973c1b668ddb1c49ce5f8ea3a8d (diff)
downloadIshtar-4204e06da0db0654b66bc766006f4143603c2695.tar.bz2
Ishtar-4204e06da0db0654b66bc766006f4143603c2695.zip
Move translation strings
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 5912c8377..e25b0777b 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -72,6 +72,17 @@ 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']