From 6abdc70c99a496ffca272c59c71369d1cb06030e Mon Sep 17 00:00:00 2001 From: "Ben V. Brown" Date: Wed, 7 Dec 2022 18:30:20 +1100 Subject: [PATCH] Update make_translation.py --- Translations/make_translation.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Translations/make_translation.py b/Translations/make_translation.py index 111aae5b..d9f0a1b2 100755 --- a/Translations/make_translation.py +++ b/Translations/make_translation.py @@ -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 ):