summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/LixIn.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-26 02:31:54 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-26 02:31:54 +0200
commit9f2ebe486a3e155fb6a60e07cccb77ab6a772eb2 (patch)
tree3b7b96651b12a2fb4765a3961a19bf3c67d4b64f /module/plugins/crypter/LixIn.py
parentAvoid gettext conflict due variable `_` (diff)
downloadpyload-9f2ebe486a3e155fb6a60e07cccb77ab6a772eb2.tar.xz
Extend translation support in plugins + a lot of code cosmetics and typo fixes
Diffstat (limited to 'module/plugins/crypter/LixIn.py')
-rw-r--r--module/plugins/crypter/LixIn.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/crypter/LixIn.py b/module/plugins/crypter/LixIn.py
index 0c20f6499..4a9dc7769 100644
--- a/module/plugins/crypter/LixIn.py
+++ b/module/plugins/crypter/LixIn.py
@@ -27,7 +27,7 @@ class LixIn(Crypter):
m = re.match(self.__pattern__, url)
if m is None:
- self.error("Unable to identify file ID")
+ self.error(_("Unable to identify file ID"))
id = m.group("ID")
self.logDebug("File id is %s" % id)
@@ -36,7 +36,7 @@ class LixIn(Crypter):
m = re.search(self.SUBMIT_PATTERN, self.html)
if m is None:
- self.error("Link doesn't seem valid")
+ self.error(_("Link doesn't seem valid"))
m = re.search(self.CAPTCHA_PATTERN, self.html)
if m:
@@ -54,7 +54,7 @@ class LixIn(Crypter):
m = re.search(self.LINK_PATTERN, self.html)
if m is None:
- self.error("Unable to find destination url")
+ self.error(_("Unable to find destination url"))
else:
self.urls = [m.group("link")]
self.logDebug("Found link %s, adding to package" % self.urls[0])