sandbox/update_pot.py: Also generate .pot file for the core

This commit is contained in:
Valentin Lorentz 2022-02-06 00:03:13 +01:00
parent 736430de5b
commit 24f0e21319

View File

@ -9,3 +9,6 @@ for plugin_path in pathlib.Path("plugins/").iterdir():
if plugin_name[0] == plugin_name[0].lower():
continue
subprocess.run(["pygettext3", "-D", "config.py", "plugin.py"], cwd=plugin_path)
core_files = pathlib.Path("src/").glob("**/*.py")
subprocess.run(["pygettext3", "-p", "locales/", *core_files])