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
5b28ec2060
commit
3dd277481d
@ -87,7 +87,7 @@ class Polish(QDialog): # {{{
|
||||
('jacket', _('Add/replace metadata as a "book &jacket" page')),
|
||||
('remove_jacket', _('&Remove a previously inserted book jacket')),
|
||||
('remove_unused_css', _('Remove &unused CSS rules from the book')),
|
||||
('compress_images', _('Losslessly compress images')),
|
||||
('compress_images', _('Losslessly &compress images')),
|
||||
])
|
||||
prefs = gprefs.get('polishing_settings', {})
|
||||
for name, text in self.all_actions.iteritems():
|
||||
|
@ -597,7 +597,7 @@ class Scheduler(QObject):
|
||||
self.scheduler_action = QAction(QIcon(I('scheduler.png')), _('Schedule news download'), self)
|
||||
self.news_menu.addAction(self.scheduler_action)
|
||||
self.scheduler_action.triggered[bool].connect(self.show_dialog)
|
||||
self.cac = QAction(QIcon(I('user_profile.png')), _('Add a custom news source'), self)
|
||||
self.cac = QAction(QIcon(I('user_profile.png')), _('Add or edit a custom news source'), self)
|
||||
self.cac.triggered[bool].connect(self.customize_feeds)
|
||||
self.news_menu.addAction(self.cac)
|
||||
self.news_menu.addSeparator()
|
||||
@ -734,10 +734,10 @@ class Scheduler(QObject):
|
||||
# No internet connection, we will try again in a minute
|
||||
break
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
from PyQt5.Qt import QApplication
|
||||
app = QApplication([])
|
||||
d = SchedulerDialog(RecipeModel())
|
||||
d.exec_()
|
||||
del app
|
||||
|
||||
|
@ -108,7 +108,7 @@ class TextureChooser(QDialog):
|
||||
return self.selected_fname
|
||||
|
||||
def add_texture(self):
|
||||
path = choose_files(self, 'choose-texture-image', _('Choose Image'),
|
||||
path = choose_files(self, 'choose-texture-image', _('Choose image'),
|
||||
filters=[(_('Images'), ['jpeg', 'jpg', 'png'])], all_files=False, select_only_single_file=True)
|
||||
if not path:
|
||||
return
|
||||
|
@ -272,7 +272,7 @@ class InsertImage(Dialog):
|
||||
self.model.refresh()
|
||||
|
||||
def import_image(self):
|
||||
path = choose_files(self, 'tweak-book-choose-image-for-import', _('Choose Image'),
|
||||
path = choose_files(self, 'tweak-book-choose-image-for-import', _('Choose image'),
|
||||
filters=[(_('Images'), ('jpg', 'jpeg', 'png', 'gif', 'svg'))], all_files=True, select_only_single_file=True)
|
||||
if path:
|
||||
path = path[0]
|
||||
|
@ -775,7 +775,7 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
|
||||
files that are large undifferentiated blocks of text, this
|
||||
splitting fails.
|
||||
<p>You can <b>work around the problem</b> by either increasing the
|
||||
maximum split size under EPUB Output in the conversion dialog,
|
||||
maximum split size under <i>EPUB output</i> in the conversion dialog,
|
||||
or by turning on Heuristic Processing, also in the conversion
|
||||
dialog. Note that if you make the maximum split size too large,
|
||||
your e-book reader may have trouble with the EPUB.
|
||||
|
@ -125,7 +125,7 @@ class ImageView(QDialog):
|
||||
self.current_image_name = unicode(self.current_url.toString(NO_URL_FORMATTING)).rpartition('/')[-1]
|
||||
except AttributeError:
|
||||
self.current_image_name = self.current_url
|
||||
title = _('View Image: %s')%self.current_image_name
|
||||
title = _('View image: %s')%self.current_image_name
|
||||
self.setWindowTitle(title)
|
||||
if use_exec:
|
||||
self.exec_()
|
||||
|
@ -80,7 +80,7 @@ class PrintDialog(Dialog):
|
||||
pnum.setChecked(vprefs.get('print-to-pdf-page-numbers', True))
|
||||
l.addRow(pnum)
|
||||
|
||||
self.show_file = sf = QCheckBox(_('Open PDF file after printing'), self)
|
||||
self.show_file = sf = QCheckBox(_('&Open PDF file after printing'), self)
|
||||
sf.setChecked(vprefs.get('print-to-pdf-show-file', True))
|
||||
l.addRow(sf)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user