mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-28 17:32:38 +02:00
11 lines
258 B
Python
11 lines
258 B
Python
from pathlib import Path
|
|
|
|
from babel.messages.frontend import compile_catalog
|
|
|
|
|
|
def compile_catalogs():
|
|
cmd = compile_catalog()
|
|
cmd.directory = Path(__file__).parent / "translations"
|
|
cmd.statistics = True
|
|
cmd.finalize_options()
|
|
cmd.run()
|