File tree Expand file tree Collapse file tree 4 files changed +10
-2
lines changed
python_docs_theme/locale/pl/LC_MESSAGES Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 2222
2323 steps :
2424 - uses : actions/checkout@v4
25+ - uses : actions/setup-python@v5
26+
27+ - name : Compile translations
28+ run : |
29+ pip install --upgrade pip
30+ pip install -r requirements.txt
31+ python babel_runner.py compile
2532
2633 - uses : hynek/build-and-inspect-python-package@v2
2734
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ coverage.xml
4747.hypothesis /
4848
4949# Translations
50+ * .mo
5051* .pot
5152
5253# Django stuff:
Original file line number Diff line number Diff line change 1515MAPPING_FILE = ".babel.cfg"
1616
1717PROJECT_DIR = Path (__file__ ).resolve ().parent
18- PYPROJECT_TOML = PROJECT_DIR / "pyproject.toml"
18+ PYPROJECT_TOML = Path ( PROJECT_DIR , "pyproject.toml" )
1919INIT_PY = PROJECT_DIR / SOURCE_DIR / "__init__.py"
20- LOCALES_DIR = f"{ SOURCE_DIR } / locale"
20+ LOCALES_DIR = Path ( f"{ SOURCE_DIR } " , " locale")
2121POT_FILE = Path (LOCALES_DIR , f"{ DOMAIN } .pot" )
2222
2323
You can’t perform that action at this time.
0 commit comments