wip: UI refactoring

* fixed an issue with the FETCH responses parser
* Aliases are now displayed into *identities*
* French translation update

see #204
This commit is contained in:
Antoine Nguyen
2012-05-03 11:31:02 +02:00
parent 114b40d3c0
commit bd126b507f
23 changed files with 1247 additions and 941 deletions
+4 -2
View File
@@ -10,11 +10,13 @@ class ModoboaException(Exception):
pass
class PermDeniedException(ModoboaException):
def __init__(self, msg):
def __init__(self, msg=None):
self.msg = msg
def __str__(self):
return _("Permission denied: %s" % self.msg)
if self.msg:
return _("Permission denied: %s" % self.msg)
return _("Permission denied")
class NeedsMailboxException(ModoboaException):
pass