diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-07 22:50:26 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-07 22:50:26 +0200 |
commit | c2029bf97a5b9c2e06473ad352b7dd174a06a648 (patch) | |
tree | f44c54e79bb648845209e8bb75b34fe33efeb9cf /module/plugins/Account.py | |
parent | closed #149 (diff) | |
download | pyload-c2029bf97a5b9c2e06473ad352b7dd174a06a648.tar.xz |
new locale
Diffstat (limited to 'module/plugins/Account.py')
-rw-r--r-- | module/plugins/Account.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/Account.py b/module/plugins/Account.py index d0beaa8dc..19ab8f4ba 100644 --- a/module/plugins/Account.py +++ b/module/plugins/Account.py @@ -47,11 +47,11 @@ class Account(): try: self.login(user, data) except WrongPassword: - self.core.log.warning(_("Could not login with %s account %s | %s") % (self.__name__, user, _("Wrong Password"))) + self.core.log.warning(_("Could not login with %(plugin)s account %(user)s | %(msg)s") % {"plugin": self.__name__, "user": user, "msg": _("Wrong Password")}) data["valid"] = False except Exception, e: - self.core.log.warning(_("Could not login with %s account %s | %s") % (self.__name__, user, e)) + self.core.log.warning(_("Could not login with %(plugin)s account %(user)s | %(msg)s") % {"plugin" :self.__name__, "user": user, "msg": e}) data["valid"] = False if self.core.debug: print_exc() |