MCPcopy Create free account
hub / github.com/MarlinFirmware/Marlin / write_csv_lang

Function write_csv_lang

buildroot/share/scripts/languageExport.py:116–122  ·  view source on GitHub ↗
(f, strings, name)

Source from the content-addressed store, hash-verified

114
115# Write a single language entry to the CSV file with narrow, wide, and tall strings
116def write_csv_lang(f, strings, name):
117 f.write(',')
118 if name in strings['narrow']: f.write('"%s"' % strings['narrow'][name])
119 f.write(',')
120 if name in strings['wide']: f.write('"%s"' % strings['wide'][name])
121 f.write(',')
122 if name in strings['tall']: f.write('"%s"' % strings['tall'][name])
123
124if MULTISHEET:
125 #

Callers 1

languageExport.pyFile · 0.85

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected