diff options
| author | 2010-09-23 18:12:52 +0200 | |
|---|---|---|
| committer | 2010-09-23 18:12:52 +0200 | |
| commit | af78acc8f3f6caa32c65b96071a5df970267bb01 (patch) | |
| tree | 13ec82d329c8ee45cb701cedea512b0baa5e0923 /module/plugins | |
| parent | correct unrar tmp folder (diff) | |
| download | pyload-af78acc8f3f6caa32c65b96071a5df970267bb01.tar.xz | |
new .pot files
Diffstat (limited to 'module/plugins')
| -rw-r--r-- | module/plugins/hooks/UnRar.py | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/module/plugins/hooks/UnRar.py b/module/plugins/hooks/UnRar.py index 5d1dff1a5..00dbe36d3 100644 --- a/module/plugins/hooks/UnRar.py +++ b/module/plugins/hooks/UnRar.py @@ -116,34 +116,34 @@ class UnRar(Hook):              try:                  success = u.crackPassword(passwords=self.passwords, statusFunction=s, overwrite=True, destination=folder, fullPath=self.getConfig("fullpath"))              except WrongPasswordError: -                self.core.log.info("Unrar of %s failed (wrong password)" % fname) +                self.core.log.info(_("Unrar of %s failed (wrong password)") % fname)                  continue              except CommandError, e:                  if self.core.debug:                      print_exc()                  if re.search("Cannot find volume", e.stderr): -                    self.core.log.info("Unrar of %s failed (missing volume)" % fname) +                    self.core.log.info(_("Unrar of %s failed (missing volume)") % fname)                      continue                  try:                      if e.getExitCode() == 1 and len(u.listContent(u.getPassword())) == 1: -                        self.core.log.info("Unrar of %s ok" % fname) +                        self.core.log.info(_("Unrar of %s ok") % fname)                          self.removeFiles(pack, fname)                  except:                      if self.core.debug:                          print_exc() -                    self.core.log.info("Unrar of %s failed" % fname) +                    self.core.log.info(_("Unrar of %s failed") % fname)                      continue              except UnknownError:                  if self.core.debug:                      print_exc() -                self.core.log.info("Unrar of %s failed" % fname) +                self.core.log.info(_("Unrar of %s failed") % fname)                  continue              else:                  if success: -                    self.core.log.info("Unrar of %s ok" % fname) +                    self.core.log.info(_("Unrar of %s ok") % fname)                      self.removeFiles(pack, fname)                  else: -                    self.core.log.info("Unrar of %s failed (wrong password)" % fname) +                    self.core.log.info(_("Unrar of %s failed (wrong password)") % fname)              finally:                  pyfile.alternativePercent = None                  pyfile.setStatus("finished") | 
