mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
String changes
This commit is contained in:
parent
52fcbf906c
commit
69b9cc5637
@ -22,7 +22,7 @@ class N516(USBMS):
|
|||||||
|
|
||||||
name = 'N516 driver'
|
name = 'N516 driver'
|
||||||
gui_name = 'N516'
|
gui_name = 'N516'
|
||||||
description = _('Communicate with the Hanvon N520 eBook reader.')
|
description = _('Communicate with the Hanvon N520 e-book reader.')
|
||||||
author = 'John Schember'
|
author = 'John Schember'
|
||||||
supported_platforms = ['windows', 'osx', 'linux']
|
supported_platforms = ['windows', 'osx', 'linux']
|
||||||
|
|
||||||
@ -49,7 +49,7 @@ class KIBANO(N516):
|
|||||||
|
|
||||||
name = 'Kibano driver'
|
name = 'Kibano driver'
|
||||||
gui_name = 'Kibano'
|
gui_name = 'Kibano'
|
||||||
description = _('Communicate with the Kibano eBook reader.')
|
description = _('Communicate with the Kibano e-book reader.')
|
||||||
FORMATS = ['epub', 'pdf', 'txt']
|
FORMATS = ['epub', 'pdf', 'txt']
|
||||||
BCD = [0x323]
|
BCD = [0x323]
|
||||||
|
|
||||||
@ -90,7 +90,7 @@ class ALEX(N516):
|
|||||||
|
|
||||||
name = 'Alex driver'
|
name = 'Alex driver'
|
||||||
gui_name = 'SpringDesign Alex'
|
gui_name = 'SpringDesign Alex'
|
||||||
description = _('Communicate with the SpringDesign Alex eBook reader.')
|
description = _('Communicate with the SpringDesign Alex e-book reader.')
|
||||||
author = 'Kovid Goyal'
|
author = 'Kovid Goyal'
|
||||||
|
|
||||||
FORMATS = ['epub', 'fb2', 'pdf']
|
FORMATS = ['epub', 'fb2', 'pdf']
|
||||||
@ -172,7 +172,7 @@ class AZBOOKA(ALEX):
|
|||||||
class EB511(USBMS):
|
class EB511(USBMS):
|
||||||
name = 'Elonex EB 511 driver'
|
name = 'Elonex EB 511 driver'
|
||||||
gui_name = 'EB 511'
|
gui_name = 'EB 511'
|
||||||
description = _('Communicate with the Elonex EB 511 eBook reader.')
|
description = _('Communicate with the Elonex EB 511 e-book reader.')
|
||||||
author = 'Kovid Goyal'
|
author = 'Kovid Goyal'
|
||||||
supported_platforms = ['windows', 'osx', 'linux']
|
supported_platforms = ['windows', 'osx', 'linux']
|
||||||
|
|
||||||
@ -193,7 +193,7 @@ class EB511(USBMS):
|
|||||||
class ODYSSEY(N516):
|
class ODYSSEY(N516):
|
||||||
name = 'Cybook Odyssey driver'
|
name = 'Cybook Odyssey driver'
|
||||||
gui_name = 'Odyssey'
|
gui_name = 'Odyssey'
|
||||||
description = _('Communicate with the Cybook Odyssey eBook reader.')
|
description = _('Communicate with the Cybook Odyssey e-book reader.')
|
||||||
|
|
||||||
BCD = [0x316]
|
BCD = [0x316]
|
||||||
VENDOR_NAME = ['LINUX', 'BOOKEEN']
|
VENDOR_NAME = ['LINUX', 'BOOKEEN']
|
||||||
@ -207,4 +207,3 @@ class ODYSSEY(N516):
|
|||||||
if for_upload:
|
if for_upload:
|
||||||
return self.EBOOK_DIR_MAIN
|
return self.EBOOK_DIR_MAIN
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ from calibre.devices.usbms.driver import USBMS
|
|||||||
class ILIAD(USBMS):
|
class ILIAD(USBMS):
|
||||||
|
|
||||||
name = 'IRex Iliad Device Interface'
|
name = 'IRex Iliad Device Interface'
|
||||||
description = _('Communicate with the IRex Iliad eBook reader.')
|
description = _('Communicate with the IRex Iliad e-book reader.')
|
||||||
author = 'John Schember'
|
author = 'John Schember'
|
||||||
supported_platforms = ['windows', 'osx', 'linux']
|
supported_platforms = ['windows', 'osx', 'linux']
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ from calibre.devices.usbms.driver import USBMS
|
|||||||
class IREXDR1000(USBMS):
|
class IREXDR1000(USBMS):
|
||||||
|
|
||||||
name = 'IRex Digital Reader 1000 Device Interface'
|
name = 'IRex Digital Reader 1000 Device Interface'
|
||||||
description = _('Communicate with the IRex Digital Reader 1000 eBook '
|
description = _('Communicate with the IRex Digital Reader 1000 e-book '
|
||||||
'reader.')
|
'reader.')
|
||||||
author = 'John Schember'
|
author = 'John Schember'
|
||||||
supported_platforms = ['windows', 'osx', 'linux']
|
supported_platforms = ['windows', 'osx', 'linux']
|
||||||
@ -49,4 +49,3 @@ class IREXDR800(IREXDR1000):
|
|||||||
EBOOK_DIR_MAIN = ''
|
EBOOK_DIR_MAIN = ''
|
||||||
DELETE_EXTS = []
|
DELETE_EXTS = []
|
||||||
SUPPORTS_SUB_DIRS = True
|
SUPPORTS_SUB_DIRS = True
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ from calibre.ebooks.metadata import string_to_authors
|
|||||||
|
|
||||||
class JETBOOK(USBMS):
|
class JETBOOK(USBMS):
|
||||||
name = 'Ectaco JetBook Device Interface'
|
name = 'Ectaco JetBook Device Interface'
|
||||||
description = _('Communicate with the JetBook eBook reader.')
|
description = _('Communicate with the JetBook e-book reader.')
|
||||||
author = 'James Ralston'
|
author = 'James Ralston'
|
||||||
supported_platforms = ['windows', 'osx', 'linux']
|
supported_platforms = ['windows', 'osx', 'linux']
|
||||||
|
|
||||||
@ -152,5 +152,3 @@ set([(u'0x951',
|
|||||||
EBOOK_DIR_MAIN = 'My Books'
|
EBOOK_DIR_MAIN = 'My Books'
|
||||||
|
|
||||||
SUPPORTS_SUB_DIRS = True
|
SUPPORTS_SUB_DIRS = True
|
||||||
|
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ class KINDLE(USBMS):
|
|||||||
name = 'Kindle Device Interface'
|
name = 'Kindle Device Interface'
|
||||||
gui_name = 'Amazon Kindle'
|
gui_name = 'Amazon Kindle'
|
||||||
icon = I('devices/kindle.png')
|
icon = I('devices/kindle.png')
|
||||||
description = _('Communicate with the Kindle eBook reader.')
|
description = _('Communicate with the Kindle e-book reader.')
|
||||||
author = 'John Schember'
|
author = 'John Schember'
|
||||||
supported_platforms = ['windows', 'osx', 'linux']
|
supported_platforms = ['windows', 'osx', 'linux']
|
||||||
|
|
||||||
@ -319,7 +319,7 @@ class KINDLE(USBMS):
|
|||||||
class KINDLE2(KINDLE):
|
class KINDLE2(KINDLE):
|
||||||
|
|
||||||
name = 'Kindle 2/3/4/Touch/PaperWhite/Voyage Device Interface'
|
name = 'Kindle 2/3/4/Touch/PaperWhite/Voyage Device Interface'
|
||||||
description = _('Communicate with the Kindle 2/3/4/Touch/PaperWhite/Voyage eBook reader.')
|
description = _('Communicate with the Kindle 2/3/4/Touch/PaperWhite/Voyage e-book reader.')
|
||||||
|
|
||||||
FORMATS = ['azw', 'mobi', 'azw3', 'prc', 'azw1', 'tpz', 'azw4', 'kfx', 'pobi', 'pdf', 'txt']
|
FORMATS = ['azw', 'mobi', 'azw3', 'prc', 'azw1', 'tpz', 'azw4', 'kfx', 'pobi', 'pdf', 'txt']
|
||||||
DELETE_EXTS = KINDLE.DELETE_EXTS + ['.mbp1', '.mbs', '.sdr', '.han']
|
DELETE_EXTS = KINDLE.DELETE_EXTS + ['.mbp1', '.mbs', '.sdr', '.han']
|
||||||
@ -552,7 +552,7 @@ class KINDLE2(KINDLE):
|
|||||||
class KINDLE_DX(KINDLE2):
|
class KINDLE_DX(KINDLE2):
|
||||||
|
|
||||||
name = 'Kindle DX Device Interface'
|
name = 'Kindle DX Device Interface'
|
||||||
description = _('Communicate with the Kindle DX eBook reader.')
|
description = _('Communicate with the Kindle DX e-book reader.')
|
||||||
|
|
||||||
FORMATS = ['azw', 'mobi', 'prc', 'azw1', 'tpz', 'azw4', 'pobi', 'pdf', 'txt']
|
FORMATS = ['azw', 'mobi', 'prc', 'azw1', 'tpz', 'azw4', 'pobi', 'pdf', 'txt']
|
||||||
PRODUCT_ID = [0x0003]
|
PRODUCT_ID = [0x0003]
|
||||||
|
@ -20,7 +20,7 @@ class NOOK(USBMS):
|
|||||||
|
|
||||||
name = 'Nook Device Interface'
|
name = 'Nook Device Interface'
|
||||||
gui_name = _('The Nook')
|
gui_name = _('The Nook')
|
||||||
description = _('Communicate with the Nook eBook reader.')
|
description = _('Communicate with the Nook e-book reader.')
|
||||||
author = 'John Schember'
|
author = 'John Schember'
|
||||||
icon = I('devices/nook.png')
|
icon = I('devices/nook.png')
|
||||||
supported_platforms = ['windows', 'linux', 'osx']
|
supported_platforms = ['windows', 'linux', 'osx']
|
||||||
@ -85,7 +85,7 @@ class NOOK(USBMS):
|
|||||||
|
|
||||||
class NOOK_COLOR(NOOK):
|
class NOOK_COLOR(NOOK):
|
||||||
name = 'Nook Color Device Interface'
|
name = 'Nook Color Device Interface'
|
||||||
description = _('Communicate with the Nook Color, TSR, Glowlight and Tablet eBook readers.')
|
description = _('Communicate with the Nook Color, TSR, Glowlight and Tablet e-book readers.')
|
||||||
|
|
||||||
PRODUCT_ID = [
|
PRODUCT_ID = [
|
||||||
0x002, 0x003, 0x004,
|
0x002, 0x003, 0x004,
|
||||||
|
@ -15,7 +15,7 @@ class NUUT2(USBMS):
|
|||||||
|
|
||||||
name = 'Nuut2 Device Interface'
|
name = 'Nuut2 Device Interface'
|
||||||
gui_name = 'NeoLux Nuut2'
|
gui_name = 'NeoLux Nuut2'
|
||||||
description = _('Communicate with the Nuut2 eBook reader.')
|
description = _('Communicate with the Nuut2 e-book reader.')
|
||||||
author = _('Kovid Goyal')
|
author = _('Kovid Goyal')
|
||||||
supported_platforms = ['windows', 'osx', 'linux']
|
supported_platforms = ['windows', 'osx', 'linux']
|
||||||
|
|
||||||
@ -37,5 +37,3 @@ class NUUT2(USBMS):
|
|||||||
|
|
||||||
EBOOK_DIR_MAIN = 'books'
|
EBOOK_DIR_MAIN = 'books'
|
||||||
SUPPORTS_SUB_DIRS = True
|
SUPPORTS_SUB_DIRS = True
|
||||||
|
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ class PRST1(USBMS):
|
|||||||
'series, tags, authors',
|
'series, tags, authors',
|
||||||
_('Upload separate cover thumbnails for books') +
|
_('Upload separate cover thumbnails for books') +
|
||||||
':::'+_('Normally, the SONY readers get the cover image from the'
|
':::'+_('Normally, the SONY readers get the cover image from the'
|
||||||
' ebook file itself. With this option, calibre will send a '
|
' e-book file itself. With this option, calibre will send a '
|
||||||
'separate cover image to the reader, useful if you are '
|
'separate cover image to the reader, useful if you are '
|
||||||
'sending DRMed books in which you cannot change the cover.'),
|
'sending DRMed books in which you cannot change the cover.'),
|
||||||
_('Refresh separate covers when using automatic management') +
|
_('Refresh separate covers when using automatic management') +
|
||||||
|
@ -15,7 +15,7 @@ class SNE(USBMS):
|
|||||||
|
|
||||||
name = 'Samsung SNE Device Interface'
|
name = 'Samsung SNE Device Interface'
|
||||||
gui_name = 'Samsung SNE'
|
gui_name = 'Samsung SNE'
|
||||||
description = _('Communicate with the Samsung SNE eBook reader.')
|
description = _('Communicate with the Samsung SNE e-book reader.')
|
||||||
author = 'Kovid Goyal'
|
author = 'Kovid Goyal'
|
||||||
supported_platforms = ['windows', 'osx', 'linux']
|
supported_platforms = ['windows', 'osx', 'linux']
|
||||||
|
|
||||||
@ -35,5 +35,3 @@ class SNE(USBMS):
|
|||||||
|
|
||||||
EBOOK_DIR_MAIN = EBOOK_DIR_CARD_A = 'Books'
|
EBOOK_DIR_MAIN = EBOOK_DIR_CARD_A = 'Books'
|
||||||
SUPPORTS_SUB_DIRS = True
|
SUPPORTS_SUB_DIRS = True
|
||||||
|
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ class USBMS(CLI, Device):
|
|||||||
sending/getting/updating metadata/caching metadata/etc.
|
sending/getting/updating metadata/caching metadata/etc.
|
||||||
'''
|
'''
|
||||||
|
|
||||||
description = _('Communicate with an eBook reader.')
|
description = _('Communicate with an e-book reader.')
|
||||||
author = 'John Schember'
|
author = 'John Schember'
|
||||||
supported_platforms = ['windows', 'osx', 'linux']
|
supported_platforms = ['windows', 'osx', 'linux']
|
||||||
|
|
||||||
|
@ -485,7 +485,7 @@ class Quickview(QDialog, Ui_Quickview):
|
|||||||
tt = ('<p>' +
|
tt = ('<p>' +
|
||||||
_('Double click on a book to change the selection in the library view or '
|
_('Double click on a book to change the selection in the library view or '
|
||||||
'change the column shown in the left-hand pane. '
|
'change the column shown in the left-hand pane. '
|
||||||
'Shift- or control-double-click to edit the metadata of a book, '
|
'Shift- or Control- double click to edit the metadata of a book, '
|
||||||
'which also changes the selected book.'
|
'which also changes the selected book.'
|
||||||
) + '</p>')
|
) + '</p>')
|
||||||
for row, b in enumerate(books):
|
for row, b in enumerate(books):
|
||||||
|
@ -187,7 +187,7 @@
|
|||||||
<normaloff>:/images/document_open.png</normaloff>:/images/document_open.png</iconset>
|
<normaloff>:/images/document_open.png</normaloff>:/images/document_open.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Open ebook</string>
|
<string>Open e-book</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="action_configure">
|
<action name="action_configure">
|
||||||
|
@ -3653,7 +3653,7 @@ class LibraryDatabase2(LibraryDatabase, SchemaUpgrade, CustomColumns):
|
|||||||
|
|
||||||
def migrate_old(self, db, progress):
|
def migrate_old(self, db, progress):
|
||||||
from PyQt5.QtCore import QCoreApplication
|
from PyQt5.QtCore import QCoreApplication
|
||||||
header = _(u'<p>Migrating old database to ebook library in %s<br><center>')%self.library_path
|
header = u'<p>Migrating old database to ebook library in %s<br><center>'%self.library_path
|
||||||
progress.setValue(0)
|
progress.setValue(0)
|
||||||
progress.setLabelText(header)
|
progress.setLabelText(header)
|
||||||
QCoreApplication.processEvents()
|
QCoreApplication.processEvents()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user