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
5fe1006201
commit
d39b48d5c5
@ -305,7 +305,7 @@ class ELONEX(EB600):
|
|||||||
class POCKETBOOK301(USBMS):
|
class POCKETBOOK301(USBMS):
|
||||||
|
|
||||||
name = 'PocketBook 301 Device Interface'
|
name = 'PocketBook 301 Device Interface'
|
||||||
description = _('Communicate with the PocketBook 301 reader.')
|
description = _('Communicate with the PocketBook 301 Reader.')
|
||||||
author = 'Kovid Goyal'
|
author = 'Kovid Goyal'
|
||||||
supported_platforms = ['windows', 'osx', 'linux']
|
supported_platforms = ['windows', 'osx', 'linux']
|
||||||
FORMATS = ['epub', 'fb2', 'prc', 'mobi', 'pdf', 'djvu', 'rtf', 'chm', 'txt']
|
FORMATS = ['epub', 'fb2', 'prc', 'mobi', 'pdf', 'djvu', 'rtf', 'chm', 'txt']
|
||||||
|
@ -1193,13 +1193,13 @@ class KOBO(USBMS):
|
|||||||
spanTag['style'] = 'font-weight:normal'
|
spanTag['style'] = 'font-weight:normal'
|
||||||
if bookmark.book_format == 'epub':
|
if bookmark.book_format == 'epub':
|
||||||
spanTag.insert(0,NavigableString(
|
spanTag.insert(0,NavigableString(
|
||||||
_("<hr /><b>Book Last Read:</b> %(time)s<br /><b>Percentage Read:</b> %(pr)d%%<hr />") % dict(
|
_("<hr /><b>Book last read:</b> %(time)s<br /><b>Percentage read:</b> %(pr)d%%<hr />") % dict(
|
||||||
time=last_read,
|
time=last_read,
|
||||||
# loc=last_read_location,
|
# loc=last_read_location,
|
||||||
pr=percent_read)))
|
pr=percent_read)))
|
||||||
else:
|
else:
|
||||||
spanTag.insert(0,NavigableString(
|
spanTag.insert(0,NavigableString(
|
||||||
_("<hr /><b>Book Last Read:</b> %(time)s<br /><b>Percentage Read:</b> %(pr)d%%<hr />") % dict(
|
_("<hr /><b>Book last read:</b> %(time)s<br /><b>Percentage read:</b> %(pr)d%%<hr />") % dict(
|
||||||
time=last_read,
|
time=last_read,
|
||||||
# loc=last_read_location,
|
# loc=last_read_location,
|
||||||
pr=percent_read)))
|
pr=percent_read)))
|
||||||
|
@ -1670,7 +1670,7 @@ class SMART_DEVICE_APP(DeviceConfig, DevicePlugin):
|
|||||||
elif fm[self.is_read_date_sync_col]['datatype'] != 'datetime':
|
elif fm[self.is_read_date_sync_col]['datatype'] != 'datetime':
|
||||||
self._debug('is_read_date_sync_col not date type')
|
self._debug('is_read_date_sync_col not date type')
|
||||||
self._show_message(_("The read date sync column %s is "
|
self._show_message(_("The read date sync column %s is "
|
||||||
"not a Date column")%self.is_read_date_sync_col)
|
"not a date column")%self.is_read_date_sync_col)
|
||||||
self.have_bad_sync_columns = True
|
self.have_bad_sync_columns = True
|
||||||
|
|
||||||
self.have_checked_sync_columns = True
|
self.have_checked_sync_columns = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user