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
301ec7f742
commit
fca12a71cb
@ -28,7 +28,7 @@ def synchronous(func):
|
|||||||
|
|
||||||
class MTPDeviceBase(DevicePlugin):
|
class MTPDeviceBase(DevicePlugin):
|
||||||
name = 'MTP Device Interface'
|
name = 'MTP Device Interface'
|
||||||
gui_name = _('MTP Device')
|
gui_name = _('MTP device')
|
||||||
icon = I('devices/tablet.png')
|
icon = I('devices/tablet.png')
|
||||||
description = _('Communicate with MTP devices')
|
description = _('Communicate with MTP devices')
|
||||||
author = 'Kovid Goyal'
|
author = 'Kovid Goyal'
|
||||||
@ -63,5 +63,3 @@ class MTPDeviceBase(DevicePlugin):
|
|||||||
|
|
||||||
def is_customizable(self):
|
def is_customizable(self):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ class PRST1(USBMS):
|
|||||||
_('Set this option if you want the author on the Sony to '
|
_('Set this option if you want the author on the Sony to '
|
||||||
'appear the same way the T1 sets it. This means it will '
|
'appear the same way the T1 sets it. This means it will '
|
||||||
'only show the first author for books with multiple authors. '
|
'only show the first author for books with multiple authors. '
|
||||||
'Leave this disabled if you use Metadata Plugboards.')
|
'Leave this disabled if you use Metadata plugboards.')
|
||||||
]
|
]
|
||||||
EXTRA_CUSTOMIZATION_DEFAULT = [
|
EXTRA_CUSTOMIZATION_DEFAULT = [
|
||||||
', '.join(['series', 'tags']),
|
', '.join(['series', 'tags']),
|
||||||
|
@ -22,7 +22,7 @@ class RecipeInput(InputFormatPlugin):
|
|||||||
|
|
||||||
name = 'Recipe Input'
|
name = 'Recipe Input'
|
||||||
author = 'Kovid Goyal'
|
author = 'Kovid Goyal'
|
||||||
description = _('Download periodical content from the internet')
|
description = _('Download periodical content from the Internet')
|
||||||
file_types = {'recipe', 'downloaded_recipe'}
|
file_types = {'recipe', 'downloaded_recipe'}
|
||||||
commit_name = 'recipe_input'
|
commit_name = 'recipe_input'
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ class MultiDeleter(QObject): # {{{
|
|||||||
_('You are trying to delete %d books. '
|
_('You are trying to delete %d books. '
|
||||||
'Sending so many files to the Recycle'
|
'Sending so many files to the Recycle'
|
||||||
' Bin <b>can be slow</b>. Should calibre skip the'
|
' Bin <b>can be slow</b>. Should calibre skip the'
|
||||||
' Recycle Bin? If you click Yes the files'
|
' recycle bin? If you click Yes the files'
|
||||||
' will be <b>permanently deleted</b>.')%len(ids),
|
' will be <b>permanently deleted</b>.')%len(ids),
|
||||||
add_abort_button=True
|
add_abort_button=True
|
||||||
):
|
):
|
||||||
|
@ -571,7 +571,7 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
|
|||||||
b.setSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Fixed)
|
b.setSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Fixed)
|
||||||
l.addWidget(b, 1, 1)
|
l.addWidget(b, 1, 1)
|
||||||
b.clicked.connect(self.change_cover_grid_texture)
|
b.clicked.connect(self.change_cover_grid_texture)
|
||||||
self.cover_grid_default_appearance_button = b = QPushButton(_('Restore &default appearance'), self)
|
self.cover_grid_default_appearance_button = b = QPushButton(_('Restore default &appearance'), self)
|
||||||
b.setSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Fixed)
|
b.setSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Fixed)
|
||||||
l.addWidget(b, 2, 1)
|
l.addWidget(b, 2, 1)
|
||||||
b.clicked.connect(self.restore_cover_grid_appearance)
|
b.clicked.connect(self.restore_cover_grid_appearance)
|
||||||
|
@ -726,9 +726,9 @@ class Preview(QWidget):
|
|||||||
self.refresh()
|
self.refresh()
|
||||||
|
|
||||||
def split_toggled(self, checked):
|
def split_toggled(self, checked):
|
||||||
actions['split-in-preview'].setToolTip(textwrap.fill(_(
|
actions['split-in-preview'].setToolTip('<p>' + (_(
|
||||||
'Abort file split') if checked else _(
|
'Abort file split') if checked else _(
|
||||||
'Split this file at a specified location.\n\nAfter clicking this button, click'
|
'Split this file at a specified location.<p>After clicking this button, click'
|
||||||
' inside the preview panel above at the location you want the file to be split.')))
|
' inside the preview panel above at the location you want the file to be split.')))
|
||||||
if checked:
|
if checked:
|
||||||
self.split_start_requested.emit()
|
self.split_start_requested.emit()
|
||||||
|
@ -1091,8 +1091,8 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
|
|||||||
|
|
||||||
from calibre.db.delete_service import has_jobs
|
from calibre.db.delete_service import has_jobs
|
||||||
if has_jobs():
|
if has_jobs():
|
||||||
msg = _('Some deleted books are still being moved to the Recycle '
|
msg = _('Some deleted books are still being moved to the recycle '
|
||||||
'Bin, if you quit now, they will be left behind. Are you '
|
'bin, if you quit now, they will be left behind. Are you '
|
||||||
'sure you want to quit?')
|
'sure you want to quit?')
|
||||||
if not question_dialog(self, _('Active jobs'), msg):
|
if not question_dialog(self, _('Active jobs'), msg):
|
||||||
return False
|
return False
|
||||||
|
@ -507,7 +507,7 @@ def render_book(container_id, book_id):
|
|||||||
def prev_next_button(is_prev):
|
def prev_next_button(is_prev):
|
||||||
return E.div(
|
return E.div(
|
||||||
style=button_style,
|
style=button_style,
|
||||||
title=_('Previous book') if is_prev else _('Next book'),
|
title=_('Previous book [Ctrl+Left]') if is_prev else _('Next book [Ctrl+Right]'),
|
||||||
class_='next-book-button',
|
class_='next-book-button',
|
||||||
svgicon('chevron-left' if is_prev else 'chevron-right'),
|
svgicon('chevron-left' if is_prev else 'chevron-right'),
|
||||||
onclick=next_book.bind(None, book_id, (-1 if is_prev else 1))
|
onclick=next_book.bind(None, book_id, (-1 if is_prev else 1))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user