summaryrefslogtreecommitdiffstats
path: root/wallace/module_invitationpolicy.py
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-07-22 10:03:03 -0400
committerThomas Bruederli <bruederli@kolabsys.com>2014-07-22 10:03:03 -0400
commitb3e6648328dd00dd53e60633b23a40ed6ff578e5 (patch)
tree110102750c6222af2e7fc7944c004056448e6700 /wallace/module_invitationpolicy.py
parent9876593d6551fe4e7dcd7ce93011f70ebab5b8a1 (diff)
downloadpykolab-b3e6648328dd00dd53e60633b23a40ed6ff578e5.tar.gz
Test localized notifications from iTip messages
Diffstat (limited to 'wallace/module_invitationpolicy.py')
-rw-r--r--wallace/module_invitationpolicy.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/wallace/module_invitationpolicy.py b/wallace/module_invitationpolicy.py
index 03585ee..de29450 100644
--- a/wallace/module_invitationpolicy.py
+++ b/wallace/module_invitationpolicy.py
@@ -144,6 +144,9 @@ def cleanup():
def execute(*args, **kw):
global auth, imap
+ # (re)set language to default
+ pykolab.translate.setUserLanguage(conf.get('kolab','default_locale'))
+
if not os.path.isdir(mybasepath):
os.makedirs(mybasepath)