From 3e6d7c93d225609199dfb263bfa74cfdf6f76c5b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 18 Jul 2017 13:09:12 +0530 Subject: [PATCH] String changes --- resources/default_tweaks.py | 2 +- src/calibre/gui2/book_details.py | 2 +- src/calibre/gui2/dialogs/quickview.py | 2 +- src/calibre/gui2/metadata/single.py | 2 +- src/calibre/gui2/preferences/create_custom_column.py | 4 ++-- src/calibre/gui2/preferences/look_feel.ui | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/resources/default_tweaks.py b/resources/default_tweaks.py index 5133aa0c34..21b397e80f 100644 --- a/resources/default_tweaks.py +++ b/resources/default_tweaks.py @@ -393,7 +393,7 @@ sort_dates_using_visible_fields = False cover_trim_fuzz_value = 10 #: Control behavior of the book list -# You can control the behavior of doubleclicks on the books list. +# You can control the behavior of double clicks on the books list. # Choices: open_viewer, do_nothing, # edit_cell, edit_metadata. Selecting anything other than open_viewer has the # side effect of disabling editing a field using a single click. diff --git a/src/calibre/gui2/book_details.py b/src/calibre/gui2/book_details.py index 0f180a0dfa..7fa6b92bd7 100644 --- a/src/calibre/gui2/book_details.py +++ b/src/calibre/gui2/book_details.py @@ -460,7 +460,7 @@ class CoverView(QWidget): # {{{ except: sz = QSize(0, 0) self.setToolTip( - '

'+_('Double-click to open the Book details window') + + '

'+_('Double click to open the Book details window') + '

' + _('Path') + ': ' + current_path + '

' + _('Cover size: %(width)d x %(height)d pixels')%dict( width=sz.width(), height=sz.height()) diff --git a/src/calibre/gui2/dialogs/quickview.py b/src/calibre/gui2/dialogs/quickview.py index f0d1565b60..ddd66f75dc 100644 --- a/src/calibre/gui2/dialogs/quickview.py +++ b/src/calibre/gui2/dialogs/quickview.py @@ -451,7 +451,7 @@ class Quickview(QDialog, Ui_Quickview): self.books_table.setSortingEnabled(False) self.books_table.blockSignals(True) tt = ('

' + - _('Double-click on a book to change the selection in the library view or ' + _('Double click on a book to change the selection in the library view or ' 'change the column shown in the left-hand pane. ' 'Shift- or control-double-click to edit the metadata of a book, ' 'which also changes the selected book.' diff --git a/src/calibre/gui2/metadata/single.py b/src/calibre/gui2/metadata/single.py index 68625d59b0..b7a8f2cece 100644 --- a/src/calibre/gui2/metadata/single.py +++ b/src/calibre/gui2/metadata/single.py @@ -836,7 +836,7 @@ class MetadataSingleDialog(MetadataSingleDialogBase): # {{{ l.addWidget(self.fetch_metadata_button, 10, 0, 1, 2) l.addWidget(self.config_metadata_button, 10, 2, 1, 1) - self.tabs[0].gb2 = gb = QGroupBox(_('Co&mments'), self) + self.tabs[0].gb2 = gb = QGroupBox(_('Comments'), self) gb.l = l = QVBoxLayout() gb.setLayout(l) l.addWidget(self.comments) diff --git a/src/calibre/gui2/preferences/create_custom_column.py b/src/calibre/gui2/preferences/create_custom_column.py index 84d02db258..3311bb257e 100644 --- a/src/calibre/gui2/preferences/create_custom_column.py +++ b/src/calibre/gui2/preferences/create_custom_column.py @@ -120,8 +120,8 @@ class CreateCustomColumn(QDialog): self.exec_() return - self.setWindowTitle(_('Edit a custom column')) - self.heading_label.setText('' + _('Edit a custom column')) + self.setWindowTitle(_('Edit custom column')) + self.heading_label.setText('' + _('Edit custom column')) self.shortcuts.setVisible(False) idx = current_row if idx < 0: diff --git a/src/calibre/gui2/preferences/look_feel.ui b/src/calibre/gui2/preferences/look_feel.ui index 22d41eda29..f7d4982b28 100644 --- a/src/calibre/gui2/preferences/look_feel.ui +++ b/src/calibre/gui2/preferences/look_feel.ui @@ -1183,7 +1183,7 @@ column being examined (the left-hand pane) column being examined (the left-hand pane) - &Doubleclick changes examined column + &Double click changes examined column