diff --git a/src/calibre/gui2/__init__.py b/src/calibre/gui2/__init__.py
index 9f2aca03da..818e5e6b36 100644
--- a/src/calibre/gui2/__init__.py
+++ b/src/calibre/gui2/__init__.py
@@ -423,8 +423,8 @@ def create_defs():
defs['tb_search_order'] = {'0': 1, '1': 2, '2': 3, '3': 4, '4': 0}
defs['search_tool_bar_shows_text'] = True
defs['allow_keyboard_search_in_library_views'] = True
- defs['show_links_in_tag_brouser'] = False
- defs['show_notes_in_tag_brouser'] = False
+ defs['show_links_in_tag_browser'] = False
+ defs['show_notes_in_tag_browser'] = False
def migrate_tweak(tweak_name, pref_name):
# If the tweak has been changed then leave the tweak in the file so
diff --git a/src/calibre/gui2/preferences/look_feel.py b/src/calibre/gui2/preferences/look_feel.py
index 17499e2b26..c56e94aa45 100644
--- a/src/calibre/gui2/preferences/look_feel.py
+++ b/src/calibre/gui2/preferences/look_feel.py
@@ -646,8 +646,8 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
r('language', prefs, choices=choices, restart_required=True, setting=LanguageSetting)
r('show_avg_rating', config)
- r('show_links_in_tag_brouser', gprefs)
- r('show_notes_in_tag_brouser', gprefs)
+ r('show_links_in_tag_browser', gprefs)
+ r('show_notes_in_tag_browser', gprefs)
r('disable_animations', config)
r('systray_icon', config, restart_required=True)
r('show_splash_screen', gprefs)
diff --git a/src/calibre/gui2/preferences/look_feel.ui b/src/calibre/gui2/preferences/look_feel.ui
index 06c8022af1..cf852832df 100644
--- a/src/calibre/gui2/preferences/look_feel.ui
+++ b/src/calibre/gui2/preferences/look_feel.ui
@@ -1306,7 +1306,7 @@ structure and you want to use the same column order for each one.</p>
-
-
+
Show &links icons
@@ -1338,7 +1338,7 @@ see the counts by hovering your mouse over any item.</p>
-
-
+
Show ¬es icons
diff --git a/src/calibre/gui2/tag_browser/ui.py b/src/calibre/gui2/tag_browser/ui.py
index fed24fd810..4c20adc2fd 100644
--- a/src/calibre/gui2/tag_browser/ui.py
+++ b/src/calibre/gui2/tag_browser/ui.py
@@ -873,11 +873,11 @@ class TagBrowserWidget(QFrame): # {{{
ac.setText(_('Hide average rating') if config['show_avg_rating'] else _('Show average rating'))
ac.setIcon(QIcon.ic('minus.png' if config['show_avg_rating'] else 'plus.png'))
ac = self.alter_tb.m.show_notes_icon_action
- ac.setText(_('Hide notes icon') if gprefs['show_notes_in_tag_brouser'] else _('Show notes icon'))
- ac.setIcon(QIcon.ic('minus.png' if gprefs['show_notes_in_tag_brouser'] else 'plus.png'))
+ ac.setText(_('Hide notes icon') if gprefs['show_notes_in_tag_browser'] else _('Show notes icon'))
+ ac.setIcon(QIcon.ic('minus.png' if gprefs['show_notes_in_tag_browser'] else 'plus.png'))
ac = self.alter_tb.m.show_links_icon_action
- ac.setText(_('Hide links icon') if gprefs['show_links_in_tag_brouser'] else _('Show links icon'))
- ac.setIcon(QIcon.ic('minus.png' if gprefs['show_links_in_tag_brouser'] else 'plus.png'))
+ ac.setText(_('Hide links icon') if gprefs['show_links_in_tag_browser'] else _('Show links icon'))
+ ac.setIcon(QIcon.ic('minus.png' if gprefs['show_links_in_tag_browser'] else 'plus.png'))
def filter_book_list(self):
self.tags_view.model().set_in_tag_browser()
@@ -892,11 +892,11 @@ class TagBrowserWidget(QFrame): # {{{
self.tags_view.recount_with_position_based_index()
def toggle_notes_icon(self):
- gprefs['show_notes_in_tag_brouser'] ^= True
+ gprefs['show_notes_in_tag_browser'] ^= True
self.tags_view.recount_with_position_based_index()
def toggle_links_icon(self):
- gprefs['show_links_in_tag_brouser'] ^= True
+ gprefs['show_links_in_tag_browser'] ^= True
self.tags_view.recount_with_position_based_index()
def save_state(self):
diff --git a/src/calibre/gui2/tag_browser/view.py b/src/calibre/gui2/tag_browser/view.py
index 561d3446ec..c61873ebfa 100644
--- a/src/calibre/gui2/tag_browser/view.py
+++ b/src/calibre/gui2/tag_browser/view.py
@@ -91,8 +91,8 @@ class TagDelegate(QStyledItemDelegate): # {{{
is_search = (True if item.type == TagTreeItem.TAG and
item.tag.category == 'search' else False)
- show_notes = gprefs['show_notes_in_tag_brouser']
- show_links = gprefs['show_links_in_tag_brouser']
+ show_notes = gprefs['show_notes_in_tag_browser']
+ show_links = gprefs['show_links_in_tag_browser']
if item.type == TagTreeItem.TAG:
category = item.tag.category
name = item.tag.original_name