Update make_translation.py

This commit is contained in:
Ben V. Brown
2022-12-07 18:30:20 +11:00
parent 80ed1c42ae
commit 6abdc70c99

View File

@@ -1049,6 +1049,8 @@ def get_translation_strings_and_indices_text(
translated_string_lookups: Dict[str, TranslatedStringLocation] = {}
# We do the collapse on the encoded strings; since we are doing different fonts, this avoids needing to track fonts
# Also means if things line up nicely for us; we can do it across fonts (rare)
def add_encoded_string(
unencoded_string: str, encoded_string: bytes, translation_id: str
):