- Updated translation (it's now always Google Drive)

- Integrated feature #409 (linking read status from calibre)
This commit is contained in:
OzzieIsaacs
2018-07-15 15:08:06 +02:00
parent 694620790c
commit 0e83546d40
27 changed files with 2883 additions and 2388 deletions

View File

@ -371,7 +371,7 @@ def update_dir_structure_gdrive(book_id):
book.path = book.path.split('/')[0] + '/' + new_titledir
gd.updateDatabaseOnEdit(gFile['id'], book.path) # only child folder affected
else:
error = _(u'File %s not found on gdrive' % book.path) # file not found
error = _(u'File %s not found on Google Drive' % book.path) # file not found
if authordir != new_authordir:
gFile = gd.getFileFromEbooksFolder(os.path.dirname(book.path), titledir)
@ -380,7 +380,7 @@ def update_dir_structure_gdrive(book_id):
book.path = new_authordir + '/' + book.path.split('/')[1]
gd.updateDatabaseOnEdit(gFile['id'], book.path)
else:
error = _(u'File %s not found on gdrive' % authordir) # file not found
error = _(u'File %s not found on Google Drive' % authordir) # file not found
return error
@ -391,7 +391,7 @@ def delete_book_gdrive(book):
gd.deleteDatabaseEntry(gFile['id'])
gFile.Trash()
else:
error =_(u'delete_bookPath %s not found on gdrive' % book.path) # file not found
error =_(u'Book path %s not found on Google Drive' % book.path) # file not found
return error
################################## External interface