From 3cd8b3f89d0f28f3d9092533c8f0a5ed4e4375f1 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 28 Feb 2017 15:02:12 +0530 Subject: [PATCH] Files Browser->File Browser --- manual/edit.rst | 10 +++++----- src/calibre/gui2/tweak_book/preferences.py | 2 +- src/calibre/gui2/tweak_book/search.py | 4 ++-- src/calibre/gui2/tweak_book/text_search.py | 2 +- src/calibre/gui2/tweak_book/ui.py | 2 +- src/calibre/gui2/tweak_book/widgets.py | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/manual/edit.rst b/manual/edit.rst index 0669a88ace..a34b4e0761 100644 --- a/manual/edit.rst +++ b/manual/edit.rst @@ -57,14 +57,14 @@ That is the basic work flow for editing books -- Open a file, make changes, preview and save. The rest of this manual will discuss the various tools and features present to allow you to perform specific tasks efficiently. -The Files Browser +The File Browser ------------------ .. image:: images/files_browser.png - :alt: The Files Browser + :alt: The File Browser :class: float-left-img -The :guilabel:`Files Browser` gives you an overview of the various files inside +The :guilabel:`File Browser` gives you an overview of the various files inside the book you are editing. The files are arranged by category, with text (HTML) files at the top, followed by stylesheet (CSS) files, images and so on. Simply double click on a file to start editing it. Editing is supported for HTML, CSS @@ -194,7 +194,7 @@ being replaced. Linking stylesheets to HTML files efficiently ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -As a convenience, you can select multiple HTML files in the Files Browser, +As a convenience, you can select multiple HTML files in the File Browser, right click and choose Link stylesheets to have calibre automatically insert the tags for those stylesheets into all the selected HTML files. @@ -736,7 +736,7 @@ the files inside the EPUB are arranged haphazardly, in different sub-folders. This tool allows you to automatically move all files into sub-folders based on their types. Access it via :guilabel:`Tools->Arrange into folders`. Note that this tool only changes how the files are arranged inside the EPUB, it does not -change how they are displayed in the Files Browser. +change how they are displayed in the File Browser. Importing files in other e-book formats as EPUB ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/src/calibre/gui2/tweak_book/preferences.py b/src/calibre/gui2/tweak_book/preferences.py index 91c0a7b29b..8f9d130489 100644 --- a/src/calibre/gui2/tweak_book/preferences.py +++ b/src/calibre/gui2/tweak_book/preferences.py @@ -326,7 +326,7 @@ class MainWindowSettings(BasicSettings): l.addRow(nd) nd = self('file_list_shows_full_pathname') - nd.setText(_('Show full file paths in the Files Browser')) + nd.setText(_('Show full file paths in the File Browser')) nd.setToolTip('

' + _( 'Showing the full file paths is useful when editing books that contain' ' multiple files with the same file name.' diff --git a/src/calibre/gui2/tweak_book/search.py b/src/calibre/gui2/tweak_book/search.py index fcdd30d638..8d3c8b7c3c 100644 --- a/src/calibre/gui2/tweak_book/search.py +++ b/src/calibre/gui2/tweak_book/search.py @@ -134,7 +134,7 @@ class WhereBox(QComboBox):

All style files
Search in all style (CSS) files
Selected files
-
Search in the files currently selected in the Files Browser
+
Search in the files currently selected in the File Browser
Open files
Search in the files currently open in the editor
Marked text
@@ -1174,7 +1174,7 @@ def validate_search_request(name, searchable_names, has_marked_text, state, gui_ if name is None and where in {'current', 'selected-text'}: err = _('No file is being edited.') elif where == 'selected' and not searchable_names['selected']: - err = _('No files are selected in the Files Browser') + err = _('No files are selected in the File Browser') elif where == 'selected-text' and not has_marked_text: err = _('No text is marked. First select some text, and then use' ' The "Mark selected text" action in the Search menu to mark it.') diff --git a/src/calibre/gui2/tweak_book/text_search.py b/src/calibre/gui2/tweak_book/text_search.py index 67740ad5e3..1f3740c15f 100644 --- a/src/calibre/gui2/tweak_book/text_search.py +++ b/src/calibre/gui2/tweak_book/text_search.py @@ -60,7 +60,7 @@ class WhereBox(QComboBox):
All text files
Search in all text (HTML) files
Selected files
-
Search in the files currently selected in the Files Browser
+
Search in the files currently selected in the File Browser
Open files
Search in the files currently open in the editor
''')) diff --git a/src/calibre/gui2/tweak_book/ui.py b/src/calibre/gui2/tweak_book/ui.py index dfc1b496b0..c36b19ee99 100644 --- a/src/calibre/gui2/tweak_book/ui.py +++ b/src/calibre/gui2/tweak_book/ui.py @@ -689,7 +689,7 @@ class Main(MainWindow): setattr(self, oname.replace('-', '_'), d) return d - d = create(_('Files Browser'), 'files-browser') + d = create(_('File Browser'), 'files-browser') d.setAllowedAreas(Qt.LeftDockWidgetArea | Qt.RightDockWidgetArea) self.file_list = FileListWidget(d) d.setWidget(self.file_list) diff --git a/src/calibre/gui2/tweak_book/widgets.py b/src/calibre/gui2/tweak_book/widgets.py index 852f396aac..635e045966 100644 --- a/src/calibre/gui2/tweak_book/widgets.py +++ b/src/calibre/gui2/tweak_book/widgets.py @@ -122,7 +122,7 @@ class RationalizeFolders(Dialog): # {{{ l.addWidget(le, i + 1, 1) self.la2 = la = QLabel(_( 'Note that this will only arrange files inside the book,' - ' it will not affect how they are displayed in the Files Browser')) + ' it will not affect how they are displayed in the File Browser')) la.setWordWrap(True) l.addWidget(la, i + 2, 0, 1, -1) l.addWidget(self.bb, i + 3, 0, 1, -1)