File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 4848 with :
4949 name : doc-html-${{ matrix.branch }}
5050 path : www/
51+
52+ translations :
53+ runs-on : ${{ matrix.os }}
54+ strategy :
55+ fail-fast : false
56+ matrix :
57+ os : ["ubuntu-latest", "windows-latest"]
58+ steps :
59+ - uses : actions/checkout@v4
60+ - uses : actions/setup-python@v5
61+ with :
62+ python-version : 3
63+ allow-prereleases : true
64+ cache : pip
65+ - name : Install dependencies
66+ run : |
67+ pip install -U pip setuptools
68+ pip install Babel jinja2
69+ - run : python3 babel_runner.py extract
70+ - run : python3 babel_runner.py init -l pt_BR
71+ - run : python3 babel_runner.py update
72+ - run : python3 babel_runner.py update -l pt_BR
73+ - run : python3 babel_runner.py compile
74+ - run : python3 babel_runner.py compile -l pt_BR
75+ - name : Print .pot file
76+ shell : bash
77+ run : cat locales/messages.pot
78+ - name : Print .po file
79+ shell : bash
80+ run : cat locales/pt_BR/LC_MESSAGES/messages.po
81+ - name : list files in locales dir
82+ shell : bash
83+ run : ls -R locales/
You can’t perform that action at this time.
0 commit comments