# HG changeset patch # User Pascal Volk # Date 1218148049 0 # Node ID fbcb7e314510e2ff89e9cbc67760bb3bde1de6ae # Parent ab0748a5da9a0e4ab52091e19d0577445b94ccf0 * 'VirtualMailManager/Account.py' - Account.getInfo() added i18n stuff * 'po/de.po' * 'po/vmm.pot' - updated diff -r ab0748a5da9a -r fbcb7e314510 VirtualMailManager/Account.py --- 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, diff -r ab0748a5da9a -r fbcb7e314510 po/de.po --- 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 \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." diff -r ab0748a5da9a -r fbcb7e314510 po/vmm.pot --- 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 \n" "Language-Team: LANGUAGE \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 ""