Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
6008533
Use new Transifex CLI: first batch of changes
m-aciek Oct 19, 2022
8194605
Install new Transifex CLI
m-aciek Oct 19, 2022
df9075f
Temporarily run the action for 3.10 only
m-aciek Oct 19, 2022
de59978
Run .bashrc to have new CLI in PATH
m-aciek Oct 19, 2022
27e2c7a
revert and add home to path
m-aciek Oct 19, 2022
3d10e9f
Remove hint for lack of tx cli
m-aciek Oct 19, 2022
9f2682f
correct path
m-aciek Oct 19, 2022
74b82dd
fix path
m-aciek Oct 19, 2022
b5cc962
pass tx token through management script
m-aciek Oct 20, 2022
7682426
Update translation from Transifex
m-aciek Oct 20, 2022
e66f903
run management command
m-aciek Oct 20, 2022
be5da35
revert adding files
m-aciek Oct 20, 2022
fbe9477
fix args parsing
m-aciek Oct 20, 2022
2c2b722
fix tx cmd invocation
m-aciek Oct 20, 2022
f26c5c7
remove .transifexrc
m-aciek Oct 20, 2022
20c96ab
Update translation from Transifex
m-aciek Oct 20, 2022
2ad7217
update config generation according to new cli readme
m-aciek Oct 20, 2022
6403254
revert tx files
m-aciek Oct 20, 2022
0434b72
install tx binary to usr/local/bin to avoid commiting it to repo
m-aciek Oct 20, 2022
cdb2206
Update translation from Transifex
m-aciek Oct 20, 2022
20d3b8b
update config gen part II
m-aciek Oct 20, 2022
f9ce8f4
Update translation from Transifex
m-aciek Oct 20, 2022
a801b74
add an option to run update manually (on a branch; temporarily?)
m-aciek Oct 20, 2022
d09ac4d
update file_filter field name in config
m-aciek Oct 20, 2022
ac35f58
Update translation from Transifex
m-aciek Oct 20, 2022
4f05f38
newline dummy crop
m-aciek Oct 20, 2022
060fe1f
fix argument passing
m-aciek Oct 20, 2022
4a6c6aa
newlines
m-aciek Oct 20, 2022
843bc1e
remove not used RUNNABLE_SCRIPTS constant
m-aciek Oct 20, 2022
4317ea0
/usr/local/bin is already on PATH
m-aciek Oct 20, 2022
7f06a05
revert removing TX_TOKEN for tx CLI
m-aciek Oct 20, 2022
fafc278
revert temporary changes on the branch
m-aciek Oct 23, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/update-and-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- '*'
workflow_dispatch:
jobs:
update-translation:
runs-on: ubuntu-latest
Expand All @@ -16,16 +17,17 @@ jobs:
access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-python@master
with:
python-version: '3.9'
python-version: 3
- run: sudo apt-get install -y gettext
- run: pip install 'transifex-client>=0.14' requests
- run: pip install requests
- uses: actions/checkout@master
with:
ref: ${{ matrix.version }}
- run: ./manage_translation.py recreate_tx_config
env:
TX_TOKEN: ${{ secrets.TX_TOKEN }}
- run: echo -e '[https://www.transifex.com]\napi_hostname = https://api.transifex.com\nhostname = https://www.transifex.com\nusername = api' > $HOME/.transifexrc
- run: curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
working-directory: /usr/local/bin
- run: ./manage_translation.py fetch
env:
TX_TOKEN: ${{ secrets.TX_TOKEN }}
Expand Down
Loading