mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04: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
@ -163,7 +163,7 @@ class Cache(object):
|
||||
@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…
x
Reference in New Issue
Block a user