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 22
22
23
23
steps :
24
24
- 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
25
32
26
33
- uses : hynek/build-and-inspect-python-package@v2
27
34
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ coverage.xml
47
47
.hypothesis /
48
48
49
49
# Translations
50
+ * .mo
50
51
* .pot
51
52
52
53
# Django stuff:
Original file line number Diff line number Diff line change 15
15
MAPPING_FILE = ".babel.cfg"
16
16
17
17
PROJECT_DIR = Path (__file__ ).resolve ().parent
18
- PYPROJECT_TOML = PROJECT_DIR / "pyproject.toml"
18
+ PYPROJECT_TOML = Path ( PROJECT_DIR , "pyproject.toml" )
19
19
INIT_PY = PROJECT_DIR / SOURCE_DIR / "__init__.py"
20
- LOCALES_DIR = f"{ SOURCE_DIR } / locale"
20
+ LOCALES_DIR = Path ( f"{ SOURCE_DIR } " , " locale")
21
21
POT_FILE = Path (LOCALES_DIR , f"{ DOMAIN } .pot" )
22
22
23
23
You can’t perform that action at this time.
0 commit comments