def getGNUTranslatorGcodeFileTypeTuples():
 fileTypeTuples = getTranslatorFileTypeTuples()
 fileTypeTuples.append(('Gcode text files', '*.gcode'))
 fileTypeTuples.sort()
 return fileTypeTuples

def getGNUTranslatorGcodeFileTypeTuples ( ) : fileTypeTuples = getTranslatorFileTypeTuples ( ) fileTypeTuples . append ( ( 'Gcode text files' , '*.gcode' ) ) fileTypeTuples . sort ( ) return fileTypeTuples
get the file type tuples from the translators in the import plugins folder plus gcode .