File tree Expand file tree Collapse file tree 2 files changed +38
-1
lines changed Expand file tree Collapse file tree 2 files changed +38
-1
lines changed Original file line number Diff line number Diff line change 9
9
- ' v*.*.*'
10
10
11
11
jobs :
12
- test :
12
+ gettext :
13
13
runs-on : ubuntu-latest
14
+ strategy :
15
+ matrix :
16
+ python-version : [ '3.8' ]
17
+ steps :
18
+ - name : Checkout source code
19
+ uses : actions/checkout@v1
20
+ - name : Set up Python
21
+ uses : actions/setup-python@v1
22
+ with :
23
+ python-version : ${{ matrix.python-version }}
24
+ - name : virtualenv cache
25
+ uses : actions/cache@preview
26
+ with :
27
+ path : ~/.cache/pypoetry/virtualenvs
28
+ key : ${{ runner.os }}-${{ matrix.python-version }}-poetry-${{ hashFiles(format('{0}{1}', github.workspace, '/poetry.lock')) }}
29
+ restore-keys : |
30
+ ${{ runner.os }}-${{ matrix.python-version }}-poetry-
31
+ - name : Install Python dependencies
32
+ run : |
33
+ curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python
34
+ $HOME/.poetry/bin/poetry install
35
+ - name : Upload pot to Transifex
36
+ run : |
37
+ $HOME/.poetry/bin/poetry run sphinx-intl create-transifexrc
38
+ $HOME/.poetry/bin/poetry run make -C docs gettext push
39
+ env :
40
+ SPHINXINTL_TRANSIFEX_USERNAME : api
41
+ SPHINXINTL_TRANSIFEX_PASSWORD : ${{ secrets.TRANSIFEX_TOKEN }}
42
+ build :
43
+ runs-on : ubuntu-latest
44
+ needs : gettext
14
45
strategy :
15
46
matrix :
16
47
python-version : [ '3.8' ]
Original file line number Diff line number Diff line change @@ -235,3 +235,9 @@ source_file = _build/gettext/tutorials/tutorial.pot
235
235
source_lang = en
236
236
type = PO
237
237
238
+ [gino_1_0.how-to--json-props]
239
+ file_filter = locale/<lang>/LC_MESSAGES/how-to/json-props.po
240
+ source_file = _build/gettext/how-to/json-props.pot
241
+ source_lang = en
242
+ type = PO
243
+
You can’t perform that action at this time.
0 commit comments