Fix POT generation missing some strings when built-in ones are enabled

This commit is contained in:
Michael Alexsander
2024-03-06 16:10:23 -03:00
parent b18942d429
commit 8dba9d8330
3 changed files with 21 additions and 14 deletions

View File

@ -104,6 +104,7 @@ if env.editor_build:
# Extractable translations
tlist = glob.glob(env.Dir("#editor/translations/extractable").abspath + "/*.po")
tlist.extend(glob.glob(env.Dir("#editor/translations/extractable").abspath + "/extractable.pot"))
env.Depends("#editor/extractable_translations.gen.h", tlist)
env.CommandNoCache(
"#editor/extractable_translations.gen.h",