def taf(trans: TafLineTrans) -> str:
summary = []<EOL>if trans.wind:<EOL><INDENT>summary.append('<STR_LIT>' + trans.wind)<EOL><DEDENT>if trans.visibility:<EOL><INDENT>summary.append('<STR_LIT>' + trans.visibility[:trans.visibility.find('<STR_LIT>')].lower())<EOL><DEDENT>if trans.altimeter:<EOL><INDENT>summary.append('<STR_LIT>' + trans.altimeter[:trans.altimeter.find('<STR_LIT>')])<EOL><DEDENT>if trans.other:<EOL><INDENT>summary.append(trans.other)<EOL><DEDENT>if trans.clouds:<EOL><INDENT>summary.append(trans.clouds.replace('<STR_LIT>', '<STR_LIT>'))<EOL><DEDENT>if trans.wind_shear:<EOL><INDENT>summary.append(trans.wind_shear)<EOL><DEDENT>if trans.turbulance:<EOL><INDENT>summary.append(trans.turbulance)<EOL><DEDENT>if trans.icing:<EOL><INDENT>summary.append(trans.icing)<EOL><DEDENT>return '<STR_LIT:U+002CU+0020>'.join(summary)<EOL>
Condense the translation strings into a single forecast summary string