VirtualMailManager/Account.py
changeset 155 eb866ebb9f2e
parent 145 ead2a7e9f8be
child 156 a849843115e9
--- a/VirtualMailManager/Account.py	Sun Oct 11 13:48:50 2009 +0000
+++ b/VirtualMailManager/Account.py	Mon Oct 19 00:56:19 2009 +0000
@@ -56,7 +56,7 @@
         dom = Domain(self._dbh, self._addr._domainname)
         self._gid = dom.getID()
         if self._gid == 0:
-            raise AccE(_(u"The domain “%s” doesn't exist yet.") %\
+            raise AccE(_(u"The domain “%s” doesn't exist.") %\
                     self._addr._domainname, ERR.NO_SUCH_DOMAIN)
         self._base = dom.getDir()
         self._tid = dom.getTransportID()
@@ -78,7 +78,7 @@
             raise AccE(_(u"Unknown service “%s”.") % service,
                     ERR.UNKNOWN_SERVICE)
         if self._uid < 1:
-            raise AccE(_(u"The account “%s” doesn't exists.") % self._addr,
+            raise AccE(_(u"The account “%s” doesn't exist.") % self._addr,
                     ERR.NO_SUCH_ACCOUNT)
         if dcvers > 11:
             sieve_col = 'sieve'
@@ -151,7 +151,7 @@
 
     def modify(self, what, value):
         if self._uid == 0:
-            raise AccE(_(u"The account “%s” doesn't exists.") % self._addr,
+            raise AccE(_(u"The account “%s” doesn't exist.") % self._addr,
                     ERR.NO_SUCH_ACCOUNT)
         if what not in ['name', 'password', 'transport']:
             return False
@@ -182,7 +182,7 @@
         info = dbc.fetchone()
         dbc.close()
         if info is None:
-            raise AccE(_(u"The account “%s” doesn't exists.") % self._addr,
+            raise AccE(_(u"The account “%s” doesn't exist.") % self._addr,
                     ERR.NO_SUCH_ACCOUNT)
         else:
             keys = ['name', 'uid', 'gid', 'maildir', 'transport', 'smtp',
@@ -215,7 +215,7 @@
 
     def delete(self, delalias):
         if self._uid < 1:
-            raise AccE(_(u"The account “%s” doesn't exists.") % self._addr,
+            raise AccE(_(u"The account “%s” doesn't exist.") % self._addr,
                     ERR.NO_SUCH_ACCOUNT)
         dbc = self._dbh.cursor()
         if delalias == 'delalias':