Update translation files on every commit [skip CI]
This commit is contained in:
parent
6667a29869
commit
ef2ef76f0f
@ -58,12 +58,14 @@ update_translation_templates:
|
|||||||
- '&$env:PYTHON3_32 documentation_importer.py'
|
- '&$env:PYTHON3_32 documentation_importer.py'
|
||||||
- cd ..\src
|
- cd ..\src
|
||||||
- '&$env:PYTHON3_32 setup.py extract_messages -F babel.cfg --input-dirs . --output-file ..\scripts\socializer.pot'
|
- '&$env:PYTHON3_32 setup.py extract_messages -F babel.cfg --input-dirs . --output-file ..\scripts\socializer.pot'
|
||||||
|
- '&$env:PYTHON3_32 setup.py update_catalog --no-fuzzy-matching --domain socializer --output-dir locales --input-file socializer.pot'
|
||||||
- cd ..\doc
|
- cd ..\doc
|
||||||
- '&$env:PYTHON3_32 translate.py'
|
- '&$env:PYTHON3_32 translate.py'
|
||||||
- cd ..
|
- cd ..
|
||||||
- 'git config user.name "Windows runner"'
|
- 'git config user.name "Windows runner"'
|
||||||
- 'git config user.email "manuel@manuelcortez.net"'
|
- 'git config user.email "manuel@manuelcortez.net"'
|
||||||
- 'git add scripts'
|
- 'git add scripts'
|
||||||
|
- 'git add src\locales'
|
||||||
- 'git remote set-url --push origin git@code.manuelcortez.net:$env:CI_PROJECT_PATH'
|
- 'git remote set-url --push origin git@code.manuelcortez.net:$env:CI_PROJECT_PATH'
|
||||||
- 'git commit -m "Updated locales [skip ci]"'
|
- 'git commit -m "Updated locales [skip ci]"'
|
||||||
- 'git push origin HEAD:$env:CI_COMMIT_REF_NAME'
|
- 'git push origin HEAD:$env:CI_COMMIT_REF_NAME'
|
||||||
|
Loading…
Reference in New Issue
Block a user