fix message formatting
This commit is contained in:
@@ -159,7 +159,7 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard):
|
|||||||
if not self.question(msg):
|
if not self.question(msg):
|
||||||
return
|
return
|
||||||
file_list = '\n'.join(self.storage.split_accounts())
|
file_list = '\n'.join(self.storage.split_accounts())
|
||||||
msg = _('Your accounts have been moved to:\n %s.\n\nDo you want to delete the old file:\n%s' % (file_list, path))
|
msg = _('Your accounts have been moved to') + ':\n' + file_list + '\n\n'+ _('Do you want to delete the old file') + ':\n' + path
|
||||||
if self.question(msg):
|
if self.question(msg):
|
||||||
os.remove(path)
|
os.remove(path)
|
||||||
self.show_warning(_('The file was removed'))
|
self.show_warning(_('The file was removed'))
|
||||||
|
|||||||
Reference in New Issue
Block a user