diff --git a/scripts/find_localised_strings.py b/scripts/find_localised_strings.py index 7b38aa1e..fe33327d 100644 --- a/scripts/find_localised_strings.py +++ b/scripts/find_localised_strings.py @@ -239,7 +239,10 @@ def generate_lang_template(data: dict[pathlib.Path, list[ast.Call]]) -> str: entries.append(LangEntry([FileLocation.from_call(path, c)], get_arg(c), [getattr(c, 'comment')])) deduped = dedupe_lang_entries(entries) - out = '' + out = ''' +/* Language name */ +"!Language" = "English"; +''' print(f'Done Deduping entries {len(entries)=} {len(deduped)=}', file=sys.stderr) for entry in deduped: assert len(entry.comments) == len(entry.locations)