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):
|
||||
name = 'MTP Device Interface'
|
||||
gui_name = _('MTP Device')
|
||||
gui_name = _('MTP device')
|
||||
icon = I('devices/tablet.png')
|
||||
description = _('Communicate with MTP devices')
|
||||
author = 'Kovid Goyal'
|
||||
@ -63,5 +63,3 @@ class MTPDeviceBase(DevicePlugin):
|
||||
|
||||
def is_customizable(self):
|
||||
return True
|
||||
|
||||
|
||||
|
@ -94,7 +94,7 @@ class PRST1(USBMS):
|
||||
_('Set this option if you want the author on the Sony to '
|
||||
'appear the same way the T1 sets it. This means it will '
|
||||
'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 = [
|
||||
', '.join(['series', 'tags']),
|
||||
|
@ -22,7 +22,7 @@ class RecipeInput(InputFormatPlugin):
|
||||
|
||||
name = 'Recipe Input'
|
||||
author = 'Kovid Goyal'
|
||||
description = _('Download periodical content from the internet')
|
||||
description = _('Download periodical content from the Internet')
|
||||
file_types = {'recipe', 'downloaded_recipe'}
|
||||
commit_name = 'recipe_input'
|
||||
|
||||
|
@ -38,7 +38,7 @@ class MultiDeleter(QObject): # {{{
|
||||
_('You are trying to delete %d books. '
|
||||
'Sending so many files to the Recycle'
|
||||
' 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),
|
||||
add_abort_button=True
|
||||
):
|
||||
|
@ -571,7 +571,7 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
|
||||
b.setSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Fixed)
|
||||
l.addWidget(b, 1, 1)
|
||||
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)
|
||||
l.addWidget(b, 2, 1)
|
||||
b.clicked.connect(self.restore_cover_grid_appearance)
|
||||
|
@ -726,9 +726,9 @@ class Preview(QWidget):
|
||||
self.refresh()
|
||||
|
||||
def split_toggled(self, checked):
|
||||
actions['split-in-preview'].setToolTip(textwrap.fill(_(
|
||||
actions['split-in-preview'].setToolTip('<p>' + (_(
|
||||
'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.')))
|
||||
if checked:
|
||||
self.split_start_requested.emit()
|
||||
|
@ -1091,8 +1091,8 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
|
||||
|
||||
from calibre.db.delete_service import has_jobs
|
||||
if has_jobs():
|
||||
msg = _('Some deleted books are still being moved to the Recycle '
|
||||
'Bin, if you quit now, they will be left behind. Are you '
|
||||
msg = _('Some deleted books are still being moved to the recycle '
|
||||
'bin, if you quit now, they will be left behind. Are you '
|
||||
'sure you want to quit?')
|
||||
if not question_dialog(self, _('Active jobs'), msg):
|
||||
return False
|
||||
|
@ -507,7 +507,7 @@ def render_book(container_id, book_id):
|
||||
def prev_next_button(is_prev):
|
||||
return E.div(
|
||||
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',
|
||||
svgicon('chevron-left' if is_prev else 'chevron-right'),
|
||||
onclick=next_book.bind(None, book_id, (-1 if is_prev else 1))
|
||||
|
Loading…
x
Reference in New Issue
Block a user