Comment 5 for bug 1262875

Revision history for this message
Katja (katjawy) wrote :

Hi Kovid,
the former mails seems to be spam. But due to them the request come into my mind again and I found a fix. I also like having Catalog with Underscore at the top. But cuuzrently it will be overwritten.

Here is my solution:

calibre/db/adding.py row 252
# matches = cache._search('title:="{}" and tags:="{}"'.format(title.replace('"', '\\"'), _('Catalog')), None)
matches = cache._search('title:="{}" '.format(title.replace('"', '\\"')), None)

calibre/db/adding.py row 263/264
# mi.tags = [_('Catalog')]
if db_id is None:
    mi.tags = [_('Catalog')]

calibre/gui2/dialogs/catalog_ui.py row 80
# self.label_2.setText(_("Catalog &title (existing catalog with the same title will be replaced):"))
self.label_2.setText(_("Catalog &title (existing book with the same title will be replaced):"))