Compare commits

..

2 Commits

Author SHA1 Message Date
precondition
1054a7a475 Merge 413182b97b into ef67dbd204 2023-08-11 15:52:21 +00:00
precondition
413182b97b Obok.py/action.py: invoke _() only once 2023-08-11 17:51:28 +02:00

View File

@@ -377,7 +377,7 @@ class InterfacePluginAction(InterfaceAction):
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: