def showUnicodeWarning():
 showWarning(_('Selected file was not in UTF-8 format. Please see the importing section of the manual.'))

def showUnicodeWarning ( ) : showWarning ( _ ( 'Selected file was not in UTF-8 format. Please see the importing section of the manual.' ) )
shorthand to show a standard warning .