diff --git a/src/calibre/gui2/init.py b/src/calibre/gui2/init.py
index 317d027d2d..2f853bfb70 100644
--- a/src/calibre/gui2/init.py
+++ b/src/calibre/gui2/init.py
@@ -339,12 +339,12 @@ class VLTabs(QTabBar): # {{{
self.gui.keyboard.register_shortcut(
'virtual-library-tab-bar-next', _('Next virtual library'), action=self.next_action,
default_keys=('Ctrl+Right',),
- description=_('Switch to the next Virtual Library in the Virtual Library tab bar')
+ description=_('Switch to the next Virtual library in the Virtual library tab bar')
)
self.gui.keyboard.register_shortcut(
'virtual-library-tab-bar-previous', _('Previous virtual library'), action=self.previous_action,
default_keys=('Ctrl+Left',),
- description=_('Switch to the previous Virtual Library in the Virtual Library tab bar')
+ description=_('Switch to the previous Virtual library in the Virtual library tab bar')
)
def next_tab(self, delta=1):
diff --git a/src/calibre/gui2/layout.py b/src/calibre/gui2/layout.py
index 3218417be0..c036f85ba4 100644
--- a/src/calibre/gui2/layout.py
+++ b/src/calibre/gui2/layout.py
@@ -192,7 +192,7 @@ class SearchBar(QWidget): # {{{
x.setObjectName('clear_vl')
l.addWidget(x)
x.setVisible(False)
- x.setToolTip(_('Close the Virtual Library'))
+ x.setToolTip(_('Close the Virtual library'))
parent.clear_vl = x
x = QLabel(self)
diff --git a/src/calibre/gui2/search_restriction_mixin.py b/src/calibre/gui2/search_restriction_mixin.py
index 8a53c4da81..898756aa03 100644
--- a/src/calibre/gui2/search_restriction_mixin.py
+++ b/src/calibre/gui2/search_restriction_mixin.py
@@ -28,7 +28,7 @@ class SelectNames(QDialog): # {{{
self.l = l = QVBoxLayout(self)
self.setLayout(l)
- self.la = la = QLabel(_('Create a Virtual Library based on %s') % txt)
+ self.la = la = QLabel(_('Create a Virtual library based on %s') % txt)
l.addWidget(la)
self._names = QListWidget(self)
@@ -60,6 +60,7 @@ class SelectNames(QDialog): # {{{
# }}}
+
MAX_VIRTUAL_LIBRARY_NAME_LENGTH = 40
@@ -141,7 +142,7 @@ class CreateVirtualLibrary(QDialog): # {{{
gl.setRowStretch(3,10)
self.hl = hl = QLabel(_('''
- Virtual Libraries
+ Virtual libraries
Using virtual libraries you can restrict calibre to only show
you books that match a search. When a virtual library is in effect, calibre
@@ -150,7 +151,7 @@ class CreateVirtualLibrary(QDialog): # {{{
you do will only search within the books in the virtual library. This
is a good way to partition your large library into smaller and easier to work with subsets.
- For example you can use a Virtual Library to only show you books with the Tag "Unread"
+
For example you can use a Virtual library to only show you books with the Tag "Unread"
or only books by "My Favorite Author" or only books in a particular series.
More information and examples are available in the
@@ -343,8 +344,8 @@ class SearchRestrictionMixin(object):
self.search_restriction.setVisible(False)
self.search_count.setText(_("(all books)"))
self.ar_menu = QMenu(_('Additional restriction'))
- self.edit_menu = QMenu(_('Edit Virtual Library'))
- self.rm_menu = QMenu(_('Remove Virtual Library'))
+ self.edit_menu = QMenu(_('Edit Virtual library'))
+ self.rm_menu = QMenu(_('Remove Virtual library'))
self.search_restriction_list_built = False
def add_virtual_library(self, db, name, search):
@@ -368,7 +369,7 @@ class SearchRestrictionMixin(object):
m = self.virtual_library_menu
m.clear()
- a = m.addAction(_('Create Virtual Library'))
+ a = m.addAction(_('Create Virtual library'))
a.triggered.connect(partial(self.do_create_edit, name=None))
a = self.edit_menu
@@ -636,6 +637,7 @@ class SearchRestrictionMixin(object):
self.search_count.setVisible(False)
self.search_count.setText(t)
+
if __name__ == '__main__':
from calibre.gui2 import Application
from calibre.gui2.preferences import init_gui
@@ -644,5 +646,3 @@ if __name__ == '__main__':
gui = init_gui()
d = CreateVirtualLibrary(gui, [])
d.exec_()
-
-
diff --git a/src/calibre/gui2/tweak_book/preferences.py b/src/calibre/gui2/tweak_book/preferences.py
index 8f9d130489..c4ce17c7a4 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 File 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 2a3ca17f5d..90ba9202ff 100644
--- a/src/calibre/gui2/tweak_book/search.py
+++ b/src/calibre/gui2/tweak_book/search.py
@@ -137,7 +137,7 @@ class WhereBox(QComboBox):
All style files
Search in all style (CSS) files
Selected files
- Search in the files currently selected in the File Browser
+ Search in the files currently selected in the File browser
Open files
Search in the files currently open in the editor
Marked text
@@ -1260,7 +1260,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 File 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 1f3740c15f..d00ecc530c 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 File 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 0cbc7c1d79..af5c027d24 100644
--- a/src/calibre/gui2/tweak_book/ui.py
+++ b/src/calibre/gui2/tweak_book/ui.py
@@ -689,13 +689,13 @@ class Main(MainWindow):
setattr(self, oname.replace('-', '_'), d)
return d
- d = create(_('File 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)
self.addDockWidget(Qt.LeftDockWidgetArea, d)
- d = create(_('File Preview'), 'preview')
+ d = create(_('File preview'), 'preview')
d.setAllowedAreas(Qt.LeftDockWidgetArea | Qt.RightDockWidgetArea)
self.preview = Preview(d)
d.setWidget(self.preview)
@@ -708,7 +708,7 @@ class Main(MainWindow):
self.addDockWidget(Qt.RightDockWidgetArea, d)
d.close() # Hidden by default
- d = create(_('Check Book'), 'check-book')
+ d = create(_('Check book'), 'check-book')
d.setAllowedAreas(Qt.LeftDockWidgetArea | Qt.RightDockWidgetArea | Qt.BottomDockWidgetArea | Qt.TopDockWidgetArea)
d.setWidget(self.check_book)
self.addDockWidget(Qt.TopDockWidgetArea, d)
@@ -728,7 +728,7 @@ class Main(MainWindow):
self.addDockWidget(Qt.LeftDockWidgetArea, d)
d.close() # Hidden by default
- d = create(_('Text Search'), 'text-search')
+ d = create(_('Text search'), 'text-search')
d.setAllowedAreas(Qt.LeftDockWidgetArea | Qt.RightDockWidgetArea | Qt.BottomDockWidgetArea | Qt.TopDockWidgetArea)
d.setWidget(self.text_search)
self.addDockWidget(Qt.LeftDockWidgetArea, d)
@@ -741,7 +741,7 @@ class Main(MainWindow):
self.addDockWidget(Qt.LeftDockWidgetArea, d)
d.close() # Hidden by default
- d = create(_('Saved Searches'), 'saved-searches')
+ d = create(_('Saved searches'), 'saved-searches')
d.setAllowedAreas(Qt.LeftDockWidgetArea | Qt.RightDockWidgetArea | Qt.BottomDockWidgetArea | Qt.TopDockWidgetArea)
d.setWidget(self.saved_searches)
self.addDockWidget(Qt.LeftDockWidgetArea, d)
diff --git a/src/calibre/gui2/tweak_book/widgets.py b/src/calibre/gui2/tweak_book/widgets.py
index 635e045966..5e84adaa1a 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 File 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)
diff --git a/src/calibre/library/field_metadata.py b/src/calibre/library/field_metadata.py
index 729fcb03ab..8ed91eb4ee 100644
--- a/src/calibre/library/field_metadata.py
+++ b/src/calibre/library/field_metadata.py
@@ -151,7 +151,7 @@ def _builtin_field_metadata():
'datatype':'text',
'is_multiple':{},
'kind':'field',
- 'name':_('Author Sort'),
+ 'name':_('Author sort'),
'search_terms':['author_sort'],
'is_custom':False,
'is_category':False,
@@ -213,7 +213,7 @@ def _builtin_field_metadata():
'datatype':'text',
'is_multiple':{},
'kind':'field',
- 'name':_('On Device'),
+ 'name':_('On device'),
'search_terms':['ondevice'],
'is_custom':False,
'is_category':False,
@@ -263,7 +263,7 @@ def _builtin_field_metadata():
'datatype':'text',
'is_multiple':{},
'kind':'field',
- 'name':_('Series Sort'),
+ 'name':_('Series sort'),
'search_terms':['series_sort'],
'is_custom':False,
'is_category':False,
@@ -273,7 +273,7 @@ def _builtin_field_metadata():
'datatype':'text',
'is_multiple':{},
'kind':'field',
- 'name':_('Title Sort'),
+ 'name':_('Title sort'),
'search_terms':['title_sort'],
'is_custom':False,
'is_category':False,
diff --git a/src/calibre/linux.py b/src/calibre/linux.py
index a098ea630c..b0cae1a895 100644
--- a/src/calibre/linux.py
+++ b/src/calibre/linux.py
@@ -1144,9 +1144,9 @@ def cli_index_strings():
'On OS X, the command line tools are inside the calibre bundle, for example,'
' if you installed calibre in :file:`/Applications` the command line tools'
' are in :file:`/Applications/calibre.app/Contents/console.app/Contents/MacOS/`.'), _(
- 'Documented Commands'), _('Undocumented Commands'), _(
+ 'Documented commands'), _('Undocumented commands'), _(
'You can see usage for undocumented commands by executing them without arguments in a terminal.'), _(
- 'Change Language')
+ 'Change language')
if __name__ == '__main__':
diff --git a/src/calibre/web/feeds/news.py b/src/calibre/web/feeds/news.py
index ead1e3b56b..b87c3edcb6 100644
--- a/src/calibre/web/feeds/news.py
+++ b/src/calibre/web/feeds/news.py
@@ -1509,7 +1509,7 @@ class BasicNewsRecipe(Recipe):
for curl in self.canonicalize_internal_url(a.orig_url, is_link=False):
aumap[curl].add(arelpath)
parent.add_item(arelpath, None,
- a.title if a.title else _('Untitled Article'),
+ a.title if a.title else _('Untitled article'),
play_order=po, author=auth,
description=desc, toc_thumbnail=tt)
last = os.path.join(self.output_dir, ('%sindex.html'%adir).replace('/', os.sep))
diff --git a/src/calibre/web/feeds/templates.py b/src/calibre/web/feeds/templates.py
index fb9ddb078b..59ba62cb23 100644
--- a/src/calibre/web/feeds/templates.py
+++ b/src/calibre/web/feeds/templates.py
@@ -226,10 +226,10 @@ class NavBarTemplate(Template):
navbar.append(A(_('Next'), href=href))
href = '%s../index.html#article_%d'%(prefix, art)
navbar.iterchildren(reversed=True).next().tail = ' | '
- navbar.append(A(_('Section Menu'), href=href))
+ navbar.append(A(_('Section menu'), href=href))
href = '%s../../index.html#feed_%d'%(prefix, feed)
navbar.iterchildren(reversed=True).next().tail = ' | '
- navbar.append(A(_('Main Menu'), href=href))
+ navbar.append(A(_('Main menu'), href=href))
if art > 0 and not bottom:
href = '%s../article_%d/index.html'%(prefix, art-1)
navbar.iterchildren(reversed=True).next().tail = ' | '
@@ -428,4 +428,3 @@ class TouchscreenNavBarTemplate(Template):
# print "\n%s\n" % etree.tostring(navbar, pretty_print=True)
self.root = HTML(head, BODY(navbar))
-