VMM/cli/subcommands: Don't mark empty strings as translatable.
authorPascal Volk <user@localhost.localdomain.org>
Tue, 28 Aug 2012 22:37:43 +0000
changeset 600 0571f45501da
parent 599 82e722f35aab
child 601 463b10c258d9
VMM/cli/subcommands: Don't mark empty strings as translatable. gettext('') returns the header entry with meta information, not the empty string.
VirtualMailManager/cli/subcommands.py
--- a/VirtualMailManager/cli/subcommands.py	Tue Aug 28 00:52:50 2012 +0000
+++ b/VirtualMailManager/cli/subcommands.py	Tue Aug 28 22:37:43 2012 +0000
@@ -1058,9 +1058,9 @@
     if addresses:
         if which & (which - 1) == 0:
             # only one type is requested, so no type indicator
-            _trans = { TYPE_ACCOUNT   : _('')
-                     , TYPE_ALIAS     : _('')
-                     , TYPE_RELOCATED : _('')
+            _trans = { TYPE_ACCOUNT   : ''
+                     , TYPE_ALIAS     : ''
+                     , TYPE_RELOCATED : ''
                      }
         else:
             _trans = { TYPE_ACCOUNT   : _('u')