From f6794ee8f821a5c911be67232b88024040fdc419 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Beno=C3=AEt=20Pin?= Date: Thu, 4 Aug 2011 10:14:37 +0200 Subject: [PATCH] Bugfix : mauvais domaine i18n. --- utils.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/utils.py b/utils.py index 56ceb30..fe5f6d1 100755 --- a/utils.py +++ b/utils.py @@ -24,11 +24,9 @@ security.declarePublic('translate') def translate(message, context): """ Translate i18n message. """ - # TODO: touver une solution. - # GTS = getGlobalTranslationService() if isinstance(message, Exception): try: message = message[0] except (TypeError, IndexError): pass - return i18ntranslate(message, domain='photoprint', context=context.REQUEST) + return i18ntranslate(message, domain='portfolio', context=context.REQUEST) -- 2.20.1