mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-16 15:39:21 +01:00
sandbox/update_pot.py: Also generate .pot file for the core
This commit is contained in:
parent
736430de5b
commit
24f0e21319
@ -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])
|
Loading…
Reference in New Issue
Block a user