Fix #5389 (Internalization of translation string)

This commit is contained in:
Kovid Goyal 2010-04-28 07:25:56 -06:00
parent a174d25164
commit 6f07ecab4a

View File

@ -822,7 +822,7 @@ def do_remove_custom_column(db, label, force):
if not force: if not force:
q = raw_input(_('You will lose all data in the column: %r.' q = raw_input(_('You will lose all data in the column: %r.'
' Are you sure (y/n)? ')%label) ' Are you sure (y/n)? ')%label)
if q.lower().strip() != 'y': if q.lower().strip() != _('y'):
return return
db.delete_custom_column(label=label) db.delete_custom_column(label=label)
prints('Column %r removed.'%label) prints('Column %r removed.'%label)