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
426
426
text = _('%i errors occurred, see log') % n_error