* 'VirtualMailManager/Account.py'
authorPascal Volk <neverseen@users.sourceforge.net>
Thu, 07 Aug 2008 22:27:29 +0000
changeset 41 fbcb7e314510
parent 40 ab0748a5da9a
child 42 9d10877e1c10
* 'VirtualMailManager/Account.py' - Account.getInfo() added i18n stuff * 'po/de.po' * 'po/vmm.pot' - updated
VirtualMailManager/Account.py
po/de.po
po/vmm.pot
--- a/VirtualMailManager/Account.py	Wed Aug 06 22:11:17 2008 +0000
+++ b/VirtualMailManager/Account.py	Thu Aug 07 22:27:29 2008 +0000
@@ -188,9 +188,9 @@
             info = dict(zip(keys, info))
             for service in ['smtp', 'pop3', 'imap', 'managesieve']:
                 if bool(info[service]):
-                    info[service] = 'enabled'
+                    info[service] = _('enabled')
                 else:
-                    info[service] = 'disabled'
+                    info[service] = _('disabled')
             info['address'] = self._addr
             info['maildir'] = '%s/%s/%s' % (self._base, info['uid'],
                     MailLocation(self._dbh,
--- a/po/de.po	Wed Aug 06 22:11:17 2008 +0000
+++ b/po/de.po	Thu Aug 07 22:27:29 2008 +0000
@@ -4,9 +4,9 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: vmm 0.4\n"
-"POT-Creation-Date: 2008-08-06 23:07+CEST\n"
-"PO-Revision-Date: 2008-06-11 23:09+0200\n"
+"Project-Id-Version: vmm 0.5\n"
+"POT-Creation-Date: 2008-08-08 00:12+CEST\n"
+"PO-Revision-Date: 2008-08-08 00:18+0200\n"
 "Last-Translator: Pascal Volk <p.volk@veb-it.de>\n"
 "Language-Team: German\n"
 "MIME-Version: 1.0\n"
@@ -38,6 +38,14 @@
 msgid "Account already exists."
 msgstr "Der Account existiert bereits."
 
+#: VirtualMailManager/Account.py:191
+msgid "enabled"
+msgstr "aktiviert"
+
+#: VirtualMailManager/Account.py:193
+msgid "disabled"
+msgstr "deaktiviert"
+
 #: VirtualMailManager/Account.py:219
 msgid "uid must be an int/long."
 msgstr "Die UID muss eine Ganzzahl sein."
--- a/po/vmm.pot	Wed Aug 06 22:11:17 2008 +0000
+++ b/po/vmm.pot	Thu Aug 07 22:27:29 2008 +0000
@@ -4,8 +4,8 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2008-08-06 23:07+CEST\n"
+"Project-Id-Version: vmm 0.5\n"
+"POT-Creation-Date: 2008-08-08 00:12+CEST\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -38,6 +38,14 @@
 msgid "Account already exists."
 msgstr ""
 
+#: VirtualMailManager/Account.py:191
+msgid "enabled"
+msgstr ""
+
+#: VirtualMailManager/Account.py:193
+msgid "disabled"
+msgstr ""
+
 #: VirtualMailManager/Account.py:219
 msgid "uid must be an int/long."
 msgstr ""