Skip to content

Commit

Permalink
Obok.py/action.py: invoke _() only once
Browse files Browse the repository at this point in the history
  • Loading branch information
precondition authored and noDRM committed Nov 10, 2024
1 parent 2e53d70 commit 2cd2792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Obok_plugin/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def decryptBook(self, book):
try:
zin = zipfile.ZipFile(book.filename, 'r')
except FileNotFoundError:
print(_("File not found. Make sure that the ebook has been properly downloaded in the Kobo app. ("), book.filename, _(")"))
print (_('{0} - File "{1}" not found. Make sure the eBook has been properly downloaded in the Kobo app.').format(PLUGIN_NAME, book.filename))
return result
#print ('Kobo library filename: {0}'.format(book.filename))
for userkey in self.userkeys:
Expand Down

0 comments on commit 2cd2792

Please sign in to comment.