summaryrefslogtreecommitdiffstats
path: root/pykolab
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-08-11 14:52:52 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-08-11 14:52:52 +0100
commitffe4348a5d4a5959bd16d93df59c3b2b5e6b6a27 (patch)
tree786df38d7369c8e030eedfb075a7c74a162ea01f /pykolab
parent57a4fe76f37e9f9c9483351dfaf39051d5bebe1a (diff)
downloadpykolab-ffe4348a5d4a5959bd16d93df59c3b2b5e6b6a27.tar.gz
Update translation routines
Diffstat (limited to 'pykolab')
-rw-r--r--pykolab/cli/cmd_undelete_mailbox.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/pykolab/cli/cmd_undelete_mailbox.py b/pykolab/cli/cmd_undelete_mailbox.py
index 316e164..5b7719c 100644
--- a/pykolab/cli/cmd_undelete_mailbox.py
+++ b/pykolab/cli/cmd_undelete_mailbox.py
@@ -27,7 +27,10 @@ log = pykolab.getLogger('pykolab.cli')
conf = pykolab.getConf()
def __init__():
- commands.register('undelete_mailbox', execute, description="Recover mailboxes previously deleted.")
+ commands.register('undelete_mailbox', execute, description=description())
+
+def description(*args, **kw):
+ return _("Recover mailboxes previously deleted.")
def execute(*args, **kw):
"""