mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #5389 (Internalization of translation string)
This commit is contained in:
parent
a174d25164
commit
6f07ecab4a
@ -822,7 +822,7 @@ def do_remove_custom_column(db, label, force):
|
||||
if not force:
|
||||
q = raw_input(_('You will lose all data in the column: %r.'
|
||||
' Are you sure (y/n)? ')%label)
|
||||
if q.lower().strip() != 'y':
|
||||
if q.lower().strip() != _('y'):
|
||||
return
|
||||
db.delete_custom_column(label=label)
|
||||
prints('Column %r removed.'%label)
|
||||
|
Loading…
x
Reference in New Issue
Block a user