Skip to content

Commit 9ee581a

Browse files
committed
Add comment explaining useful new functionality of json2h.py
1 parent 481cf02 commit 9ee581a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

translation/json2h.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,3 +234,9 @@ def convert_remaining_translations_to_h_files(json_directory, header_directory,
234234
print(f"\n======================================================================")
235235
print(f"Parsing remaining json translations into corresponding .h files")
236236
convert_remaining_translations_to_h_files('.', '.')
237+
# To help with translations, the following debug flags can be used to
238+
# print additional information about entries in the .json files, such
239+
# as missing entries (likely need translation), identical entries (which
240+
# likely should either be set to JSON null, or removed from the .json
241+
# file altogether.
242+
# convert_remaining_translations_to_h_files('.', '.', DebugJsonConversion.DEFAULT)

0 commit comments

Comments
 (0)