add ru locale to cli

This commit is contained in:
ars
2026-06-25 02:11:46 +03:00
parent 7963a8d2eb
commit 66b60b9bcb
9 changed files with 405 additions and 49 deletions
+7 -2
View File
@@ -46,16 +46,21 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
include:
- os: ubuntu-latest
data_sep: ":"
- os: windows-latest
data_sep: ";"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- run: pip install -e ".[dev]"
- run: pybabel compile -d src/nexus_sync/locale -D nexus
- run: pyinstaller --onefile src/nexus_sync/client/__main__.py --name nexus-sync-client
- run: pyinstaller --onefile src/nexus_sync/server/__main__.py --name nexus-sync-server
- run: pyinstaller --onefile src/nexus_sync/cli/__main__.py --name nexus-cli
- run: pyinstaller --onefile src/nexus_sync/cli/__main__.py --name nexus-cli --add-data "src/nexus_sync/locale${{ matrix.data_sep }}nexus_sync/locale"
- uses: actions/upload-artifact@v4
with:
name: nexus-sync-${{ matrix.os }}