diff --git a/src/calibre/gui2/actions/polish.py b/src/calibre/gui2/actions/polish.py index a712bb532b..f6ea656863 100644 --- a/src/calibre/gui2/actions/polish.py +++ b/src/calibre/gui2/actions/polish.py @@ -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(): diff --git a/src/calibre/gui2/dialogs/scheduler.py b/src/calibre/gui2/dialogs/scheduler.py index f892a4cc5e..dd5b54440d 100644 --- a/src/calibre/gui2/dialogs/scheduler.py +++ b/src/calibre/gui2/dialogs/scheduler.py @@ -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 - diff --git a/src/calibre/gui2/preferences/texture_chooser.py b/src/calibre/gui2/preferences/texture_chooser.py index 0b8624888f..bf50e95ac6 100644 --- a/src/calibre/gui2/preferences/texture_chooser.py +++ b/src/calibre/gui2/preferences/texture_chooser.py @@ -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 diff --git a/src/calibre/gui2/tweak_book/editor/insert_resource.py b/src/calibre/gui2/tweak_book/editor/insert_resource.py index c67dae9eb6..add4a63e16 100644 --- a/src/calibre/gui2/tweak_book/editor/insert_resource.py +++ b/src/calibre/gui2/tweak_book/editor/insert_resource.py @@ -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] diff --git a/src/calibre/gui2/ui.py b/src/calibre/gui2/ui.py index 68d4891f73..90eb776848 100644 --- a/src/calibre/gui2/ui.py +++ b/src/calibre/gui2/ui.py @@ -775,7 +775,7 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{ files that are large undifferentiated blocks of text, this splitting fails.
You can work around the problem by either increasing the - maximum split size under EPUB Output in the conversion dialog, + maximum split size under EPUB output 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. diff --git a/src/calibre/gui2/viewer/image_popup.py b/src/calibre/gui2/viewer/image_popup.py index fde16842b9..19ecbed6ff 100644 --- a/src/calibre/gui2/viewer/image_popup.py +++ b/src/calibre/gui2/viewer/image_popup.py @@ -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_() diff --git a/src/calibre/gui2/viewer/printing.py b/src/calibre/gui2/viewer/printing.py index d2b66bdbae..7ce0f83ade 100644 --- a/src/calibre/gui2/viewer/printing.py +++ b/src/calibre/gui2/viewer/printing.py @@ -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)