Commit f23d6e80 authored by bmortier's avatar bmortier
Browse files

Draft: Resolve "Update transiflex API in the gitlab-ci"

Showing with 2 additions and 3 deletions
+2 -3
...@@ -65,7 +65,7 @@ update-transifex: ...@@ -65,7 +65,7 @@ update-transifex:
script: script:
- test -d ../dev-tools/ && rm -Rf ../dev-tools/ - test -d ../dev-tools/ && rm -Rf ../dev-tools/
- git clone --depth 1 https://gitlab.fusiondirectory.org/fusiondirectory/dev-tools.git ../dev-tools - git clone --depth 1 https://gitlab.fusiondirectory.org/fusiondirectory/dev-tools.git ../dev-tools
- echo $'[https://www.transifex.com]\nhostname = https://www.transifex.com\nusername = '"$TRANSIFEX_USER"$'\npassword = '"$TRANSIFEX_PASSWORD"$'\ntoken = '"$TRANSIFEX_API_TOKEN"$'\n' > ~/.transifexrc - echo $'[https://www.transifex.com]\nrest_hostname = '"$TRANSIFEX_REST_HOSTNAME"$'\nusername = '"$TRANSIFEX_USER"$'\ntoken = '"$TRANSIFEX_TOKEN"$'\n' > ~/.transifexrc
- tx pull -a -f - tx pull -a -f
- ../dev-tools/locale-scripts/fusiondirectory-update-locale -g - ../dev-tools/locale-scripts/fusiondirectory-update-locale -g
- tx push -s -t --skip --no-interactive - tx push -s -t --skip --no-interactive
......
[main] [main]
host = https://www.transifex.com host = https://www.transifex.com
type = PO
[FusionDirectory-14.core] [o:fusiondirectory:p:FusionDirectory-14:r:core]
file_filter = locale/<lang>/fusiondirectory.po file_filter = locale/<lang>/fusiondirectory.po
source_file = locale/en/fusiondirectory.po source_file = locale/en/fusiondirectory.po
source_lang = en source_lang = en
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment