diff --git a/recipes/german_gov.recipe b/recipes/german_gov.recipe
index d93eff29af..21fe87df16 100644
--- a/recipes/german_gov.recipe
+++ b/recipes/german_gov.recipe
@@ -3,7 +3,7 @@ import re
from calibre.web.feeds.news import BasicNewsRecipe
-class GermanGovermentPress(BasicNewsRecipe):
+class GermanGovernmentPress(BasicNewsRecipe):
title = u'Pressemitteilungen der Bundesregierung'
oldest_article = 14
__author__ = 'malfi'
diff --git a/recipes/zaobao.recipe b/recipes/zaobao.recipe
index 2278c026c2..24af1c0d89 100644
--- a/recipes/zaobao.recipe
+++ b/recipes/zaobao.recipe
@@ -134,9 +134,9 @@ class ZAOBAO(BasicNewsRecipe):
self.log(_('added feed %s') % (feed.title))
for i, feed in enumerate(parsed_feeds):
- # workaorund a strange problem: Somethimes the xml encoding is not
- # apllied correctly by parse()
- weired_encoding_detected = False
+ # workaround a strange problem: Sometimes the xml encoding is not
+ # applied correctly by parse()
+ weird_encoding_detected = False
if not isinstance(feed.description, type(u'')) and self.encoding and feed.description:
self.log(
_('Feed %s is not encoded correctly, manually replace it') % (feed.title))
@@ -144,10 +144,10 @@ class ZAOBAO(BasicNewsRecipe):
self.encoding, 'replace')
elif feed.description.find(self.DESC_SENSE) == -1 and self.encoding and feed.description:
self.log(
- _('Feed %s is weired encoded, manually redo all') % (feed.title))
+ _('Feed %s is weirdly encoded, manually redo all') % (feed.title))
feed.description = feed.description.encode(
'cp1252', 'replace').decode(self.encoding, 'replace')
- weired_encoding_detected = True
+ weird_encoding_detected = True
for a, article in enumerate(feed):
if not isinstance(article.title, type(u'')) and self.encoding:
@@ -161,7 +161,7 @@ class ZAOBAO(BasicNewsRecipe):
article.text_summary = article.text_summary.decode(
self.encoding, 'replace')
article.summary = article.text_summary
- if weired_encoding_detected:
+ if weird_encoding_detected:
if article.title:
article.title = article.title.encode(
'cp1252', 'replace').decode(self.encoding, 'replace')
diff --git a/resources/calibre-portable.bat b/resources/calibre-portable.bat
index 6b7c091c9a..dc9b33107c 100644
--- a/resources/calibre-portable.bat
+++ b/resources/calibre-portable.bat
@@ -196,7 +196,7 @@ REM responsive while calibre is running. Within calibre itself
REM the background processes should be set to run with 'low' priority.
REM Using the START command starts up Calibre in a separate process.
-REM If used without /WAIT option it launches calibre and contines batch file.
+REM If used without /WAIT option it launches calibre and continues batch file.
REM normally this would simply run off the end and close the Command window.
REM Use with /WAIT to wait until calibre completes to run a task on exit
REM --------------------------------------------------------
diff --git a/resources/templates/fb2.xsl b/resources/templates/fb2.xsl
index ab68a59831..4ff7b14490 100644
--- a/resources/templates/fb2.xsl
+++ b/resources/templates/fb2.xsl
@@ -99,7 +99,7 @@
-
+
diff --git a/src/calibre/devices/eb600/driver.py b/src/calibre/devices/eb600/driver.py
index 81995b0c81..3db68bbfe7 100644
--- a/src/calibre/devices/eb600/driver.py
+++ b/src/calibre/devices/eb600/driver.py
@@ -196,10 +196,10 @@ class POCKETBOOK360(EB600):
FORMATS = ['epub', 'fb2', 'prc', 'mobi', 'pdf', 'djvu', 'rtf', 'chm', 'txt']
VENDOR_NAME = ['PHILIPS', '__POCKET', 'POCKETBO']
- WINDOWS_MAIN_MEM = WINDOWS_CARD_A_MEM = ['MASS_STORGE', 'BOOK_USB_STORAGE',
+ WINDOWS_MAIN_MEM = WINDOWS_CARD_A_MEM = ['MASS_STORAGE', 'BOOK_USB_STORAGE',
'OK_POCKET_611_61', 'OK_POCKET_360+61']
- OSX_MAIN_MEM = OSX_CARD_A_MEM = 'Philips Mass Storge Media'
+ OSX_MAIN_MEM = OSX_CARD_A_MEM = 'Philips Mass Storage Media'
OSX_MAIN_MEM_VOL_PAT = re.compile(r'/Pocket')
@classmethod
diff --git a/src/calibre/gui2/icon_theme.py b/src/calibre/gui2/icon_theme.py
index f8d63f59aa..8c58fd1bf8 100644
--- a/src/calibre/gui2/icon_theme.py
+++ b/src/calibre/gui2/icon_theme.py
@@ -228,7 +228,7 @@ class ThemeCreateDialog(Dialog):
l = w.l = QFormLayout(w)
l.setFieldGrowthPolicy(QFormLayout.FieldGrowthPolicy.ExpandingFieldsGrow)
self.missing_icons_group = mg = QGroupBox(self)
- self.mising_icons = mi = QListWidget(mg)
+ self.missing_icons = mi = QListWidget(mg)
mi.setSelectionMode(QAbstractItemView.SelectionMode.NoSelection)
mg.l = QVBoxLayout(mg)
mg.l.addWidget(mi)
@@ -305,7 +305,7 @@ class ThemeCreateDialog(Dialog):
else:
title = _('No missing icons')
self.missing_icons_group.setTitle(title)
- mi = self.mising_icons
+ mi = self.missing_icons
mi.clear()
for name in sorted(self.report.missing):
QListWidgetItem(QIcon(I(name, allow_user_override=False)), name, mi)
diff --git a/src/calibre/gui2/preferences/metadata_sources.py b/src/calibre/gui2/preferences/metadata_sources.py
index 93b97eaba5..d37de269b5 100644
--- a/src/calibre/gui2/preferences/metadata_sources.py
+++ b/src/calibre/gui2/preferences/metadata_sources.py
@@ -352,7 +352,7 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
def pc_finished(self):
try:
- self.pc.finished.diconnect()
+ self.pc.finished.disconnect()
except:
pass
self.stack.setCurrentIndex(0)