@@ -38,13 +38,16 @@ def clean():
3838def generateEncMsgs ():
3939 print ("Starting message encoding" )
4040 charmap = str ('assets/ALL/text/charmap.txt' )
41- subprocess .check_call ([sys .executable , str ('tools/msgenc.py' ), charmap , str ('include/translations/message_data_en.h' ), str ('include/translations/message_data_en.enc.h' ), buildRom ()])
42- subprocess .check_call ([sys .executable , str ('tools/msgenc.py' ), charmap , str ('include/translations/message_data_de.h' ), str ('include/translations/message_data_de.enc.h' ), buildRom ()])
43- subprocess .check_call ([sys .executable , str ('tools/msgenc.py' ), charmap , str ('include/translations/message_data_fr.h' ), str ('include/translations/message_data_fr.enc.h' ), buildRom ()])
44- subprocess .check_call ([sys .executable , str ('tools/msgenc.py' ), charmap , str ('include/translations/message_data_es-SV.h' ), str ('include/translations/message_data_es.enc.h' ), buildRom ()])
45- subprocess .check_call ([sys .executable , str ('tools/msgenc.py' ), charmap , str ('include/translations/message_data_pt.h' ), str ('include/translations/message_data_pt.enc.h' ), buildRom ()])
41+ msgenc = str ('tools/msgenc.py' )
42+ subprocess .check_call ([sys .executable , msgenc , charmap , str ('include/translations/message_data_en.h' ), str ('include/translations/message_data_en.enc.h' ), buildRom ()])
43+ subprocess .check_call ([sys .executable , msgenc , charmap , str ('include/translations/message_data_de.h' ), str ('include/translations/message_data_de.enc.h' ), buildRom ()])
44+ subprocess .check_call ([sys .executable , msgenc , charmap , str ('include/translations/message_data_fr.h' ), str ('include/translations/message_data_fr.enc.h' ), buildRom ()])
45+ subprocess .check_call ([sys .executable , msgenc , charmap , str ('include/translations/message_data_es-SV.h' ), str ('include/translations/message_data_es.enc.h' ), buildRom ()])
46+ subprocess .check_call ([sys .executable , msgenc , charmap , str ('include/translations/message_data_pt.h' ), str ('include/translations/message_data_pt.enc.h' ), buildRom ()])
47+ subprocess .check_call ([sys .executable , msgenc , charmap , str ('include/translations/message_data_pt-BR.h' ), str ('include/translations/message_data_pt-BR.enc.h' ), buildRom ()])
48+ subprocess .check_call ([sys .executable , msgenc , charmap , str ('include/translations/message_data_it.h' ), str ('include/translations/message_data_it.enc.h' ), buildRom ()])
4649 mkdir (assetPath ('text' ))
47- subprocess .check_call ([sys .executable , str ( 'tools/ msgenc.py' ) , charmap , str (assetPath ('text/message_data_staff.h' )), str (assetPath ('text/message_data_staff.enc.h' )), buildRom ()])
50+ subprocess .check_call ([sys .executable , msgenc , charmap , str (assetPath ('text/message_data_staff.h' )), str (assetPath ('text/message_data_staff.enc.h' )), buildRom ()])
4851 print ("Finished message encoding" )
4952
5053def addAdditionalChars ():
0 commit comments