~jaap.karssenberg/zim/pyzim-gtk3

« back to all changes in this revision

Viewing changes to zim/gui/exportdialog.py

  • Committer: Jaap Karssenberg
  • Date: 2015-01-25 08:42:57 UTC
  • Revision ID: jaap.karssenberg@gmail.com-20150125084257-xzxob7a0me7nwmdh
Fix bug in error reporting in ExportDoneDialog

Show diffs side-by-side

added added

removed removed

Lines of Context:
420
420
                n_error = logging_context.handler.n_error
421
421
                n_warning = logging_context.handler.n_warning
422
422
                if n_error and n_warning:
423
 
                        text = _('%(n_errors)i errors and %(n_warnings)i warnings occurred, see log') % {'n_error': n_error, 'n_warnings': n_warning}
 
423
                        text = _('%(n_error)i errors and %(n_warning)i warnings occurred, see log') % {'n_error': n_error, 'n_warning': n_warning}
424
424
                                # T: label in export dialog
425
425
                elif n_error:
426
426
                        text = _('%i errors occurred, see log') % n_error