mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-30 05:23:18 +02:00
Fix #1957841 [[Enhancement] Use the same date format in context menu as in Book details panel/window](https://bugs.launchpad.net/calibre/+bug/1957841)
This commit is contained in:
parent
0cf7af69ac
commit
23fe52192b
1 changed files with 1 additions and 1 deletions
|
|
@ -377,7 +377,7 @@ def add_copy_action(name):
|
|||
lambda: QApplication.instance().clipboard().setText(v))
|
||||
ac = book_info.remove_item_action
|
||||
ac.data = (field, remove_value, book_id)
|
||||
ac.setText(_('Remove %s from this book') % escape_for_menu(value))
|
||||
ac.setText(_('Remove %s from this book') % escape_for_menu(data.get('original_value') or value))
|
||||
menu.addAction(ac)
|
||||
else:
|
||||
v = data.get('original_value') or data.get('value')
|
||||
|
|
|
|||
Loading…
Reference in a new issue