mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Cant avoid bootstrapping calibre
This commit is contained in:
parent
379e5137e8
commit
01c9ffee6f
3
.github/workflows/translations.yml
vendored
3
.github/workflows/translations.yml
vendored
@ -27,6 +27,9 @@ jobs:
|
|||||||
run:
|
run:
|
||||||
python -m pip install transifex-client
|
python -m pip install transifex-client
|
||||||
|
|
||||||
|
- name: Bootstrap calibre
|
||||||
|
run: python setup/unix-ci.py bootstrap
|
||||||
|
|
||||||
- name: Update translations
|
- name: Update translations
|
||||||
env:
|
env:
|
||||||
tx: ${{ secrets.tx }}
|
tx: ${{ secrets.tx }}
|
||||||
|
@ -126,7 +126,6 @@ username = api
|
|||||||
'''.replace('PASSWORD', os.environ['tx'])
|
'''.replace('PASSWORD', os.environ['tx'])
|
||||||
with open(os.path.expanduser('~/.transifexrc'), 'w') as f:
|
with open(os.path.expanduser('~/.transifexrc'), 'w') as f:
|
||||||
f.write(transifexrc)
|
f.write(transifexrc)
|
||||||
run('git clone --depth=1 https://github.com/kovidgoyal/calibre-translations.git translations')
|
|
||||||
run_python('setup.py pot')
|
run_python('setup.py pot')
|
||||||
|
|
||||||
elif action == 'test':
|
elif action == 'test':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user