Unverified Commit 935e7dee authored by Robin Mueller's avatar Robin Mueller
Browse files

tiny tweaks

parent d9beb68b
......@@ -42,7 +42,7 @@ def write_translation_file(filename: str, list_of_entries, date_string_full: str
# second part of translate file. entry[i] contains 32 bit hexadecimal numbers
function += f"\tcase {entry[0]}:\n\t\treturn {entry[1][0]}_STRING;\n"
function += '\tdefault:\n\t\treturn "UNKNOWN_OBJECT";\n'
outputfile.write(f"/** \n * @brief\tAuto-generated object translation file.\n"
outputfile.write(f"/**\n * @brief\tAuto-generated object translation file.\n"
f" * @details\n"
f" * Contains {len(list_of_entries)} translations.\n"
f" * Generated on: {date_string_full}\n */\n")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment