mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-28 15:35:55 +01:00
Fix #1879145 [[Enhancement] Change name of Searches category to Saved searches](https://bugs.launchpad.net/calibre/+bug/1879145)
This commit is contained in:
parent
dc4021d153
commit
28d151a035
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ def safe_read_lock(self):
|
|||
@write_api
|
||||
def ensure_has_search_category(self, fail_on_existing=True):
|
||||
if len(self._search_api.saved_searches.names()) > 0:
|
||||
self.field_metadata.add_search_category(label='search', name=_('Searches'), fail_on_existing=fail_on_existing)
|
||||
self.field_metadata.add_search_category(label='search', name=_('Saved searches'), fail_on_existing=fail_on_existing)
|
||||
|
||||
def _initialize_dynamic_categories(self):
|
||||
# Reconstruct the user categories, putting them into field_metadata
|
||||
|
|
|
|||
Loading…
Reference in a new issue