From e217c6fe235e1f8685be516d9d70f20d77d0da19 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Mon, 2 Dec 2013 12:48:44 -0600 Subject: [PATCH] Fix: Reject lines shouldn't be translated --- calibre-plugin/dialogs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/calibre-plugin/dialogs.py b/calibre-plugin/dialogs.py index 1bfd3135..ef7b0973 100644 --- a/calibre-plugin/dialogs.py +++ b/calibre-plugin/dialogs.py @@ -136,7 +136,8 @@ class RejectUrlEntry: def fullnote(self): retval = "" if self.title and self.auth: - retval = retval + _("%s by %s")%(self.title,self.auth) + # don't translate--ends up being saved and confuses regex above. + retval = retval + "%s by %s"%(self.title,self.auth) if self.note: retval = retval + " - "