diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-07 21:26:23 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-07 21:26:23 +0200 |
commit | 034d87c836f9fba82142a06b5f666c84ca10bd50 (patch) | |
tree | 805cfda0521741b9da5a58c0c8f3ec6e010713d5 /module/plugins/hooks | |
parent | [ExtractArchive] Improve send2trash feature (diff) | |
download | pyload-034d87c836f9fba82142a06b5f666c84ca10bd50.tar.xz |
[YadiSk] Fix https://github.com/pyload/pyload/issues/1321
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r-- | module/plugins/hooks/AntiVirus.py | 2 | ||||
-rw-r--r-- | module/plugins/hooks/ExtractArchive.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/AntiVirus.py b/module/plugins/hooks/AntiVirus.py index f94d8d205..78f5aaa23 100644 --- a/module/plugins/hooks/AntiVirus.py +++ b/module/plugins/hooks/AntiVirus.py @@ -85,7 +85,7 @@ class AntiVirus(Hook): send2trash.send2trash(file) else: - self.logWarning("Unable to move file to trash, move to quarantine instead") + self.logWarning(_("Unable to move file to trash, move to quarantine instead")) pyfile.setCustomStatus(_("file moving")) shutil.move(file, self.getConfig('quardir')) diff --git a/module/plugins/hooks/ExtractArchive.py b/module/plugins/hooks/ExtractArchive.py index 8b6a140cd..2f981d06b 100644 --- a/module/plugins/hooks/ExtractArchive.py +++ b/module/plugins/hooks/ExtractArchive.py @@ -478,7 +478,7 @@ class ExtractArchive(Hook): send2trash.send2trash(file) else: - self.logWarning("Unable to move %s to trash" % os.path.basename(f)) + self.logWarning(_("Unable to move %s to trash") % os.path.basename(f)) self.logInfo(name, _("Extracting finished")) extracted_files = archive.files or archive.list() |