Add in Filename logged for css file

This commit is contained in:
Brian Read 2024-12-09 17:26:50 +00:00
parent a3c77fe766
commit 076b604722

View File

@ -834,11 +834,12 @@ if __name__ == "__main__":
logger.info(f"Content modified and saved to {partial_files[i]}")
i += 1
# Create the css file (the header, followed by a dumy entry for each class created/used above)
# Create the css file (the header, followed by a dummy entry for each class created/used above)
with open(css_file, "w") as file:
file.write(f"/*\nGenerated by SM2Gen version: {strVersion}\n*/\n")
file.write(f".{hl('PackageName')}-panel {{}}\n")
file.write(acc_css_entries);
logger.info(f"Css generated and saved to {highlight_occurrences(css_file)}")
# Now generate the <name>.en file
# Look through the generated files for the /l[\s|(]['|"](.*)['|"]\)/ strings.