From f23d6e80b2fae69d682130d159d28a80605f4b59 Mon Sep 17 00:00:00 2001
From: bmortier <benoit.mortier@fusiondirectory.org>
Date: Wed, 1 Mar 2023 07:38:58 +0000
Subject: [PATCH] Draft: Resolve "Update transiflex API in the gitlab-ci"

---
 .gitlab-ci.yml | 2 +-
 .tx/config     | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 41c63da89..c89ebdc61 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -65,7 +65,7 @@ update-transifex:
   script:
     - test -d ../dev-tools/ && rm -Rf ../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
     - ../dev-tools/locale-scripts/fusiondirectory-update-locale -g
     - tx push -s -t --skip --no-interactive
diff --git a/.tx/config b/.tx/config
index 5c7db47ae..9e8f89d18 100644
--- a/.tx/config
+++ b/.tx/config
@@ -1,8 +1,7 @@
 [main]
 host = https://www.transifex.com
-type = PO
 
-[FusionDirectory-14.core]
+[o:fusiondirectory:p:FusionDirectory-14:r:core]
 file_filter = locale/<lang>/fusiondirectory.po
 source_file = locale/en/fusiondirectory.po
 source_lang = en
-- 
GitLab