Commit 2ef3e488 authored by Benoit Mortier's avatar Benoit Mortier
Browse files

:ambulance: feat(gitlab-ci): Add a transifex section to update locale in transifex in each build


Add missing gettext package for locale generation

Signed-off-by: default avatarBenoit Mortier <benoit.mortier@opensides.be>
Showing with 2 additions and 2 deletions
+2 -2
...@@ -48,7 +48,7 @@ fusiondirectory-update-locale: ...@@ -48,7 +48,7 @@ fusiondirectory-update-locale:
- tags - tags
before_script: before_script:
- apt-get update -qq - apt-get update -qq
- apt-get install -y -qq git - apt-get install -y -qq gettext git php-cli
script: script:
- git clone https://gitlab.fusiondirectory.org/fusiondirectory/dev-tools.git ../dev-tools - git clone https://gitlab.fusiondirectory.org/fusiondirectory/dev-tools.git ../dev-tools
- ../dev-tools/locale-scripts/fusiondirectory-update-locale -g - ../dev-tools/locale-scripts/fusiondirectory-update-locale -g
...@@ -60,7 +60,7 @@ update-transifex: ...@@ -60,7 +60,7 @@ update-transifex:
- tags - tags
before_script: before_script:
- apt-get update -qq - apt-get update -qq
- apt-get install -y -qq git php-cli transifex-client - apt-get install -y -qq gettext git php-cli transifex-client
script: script:
- git clone https://gitlab.fusiondirectory.org/fusiondirectory/dev-tools.git ../dev-tools - git clone 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]\nhostname = https://www.transifex.com\nusername = '"$TRANSIFEX_USER"$'\npassword = '"$TRANSIFEX_PASSWORD"$'\ntoken = '"$TRANSIFEX_API_TOKEN"$'\n' > ~/.transifexrc
......
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