From fcebd36cde76a94f86e9a78efcd9c9afb22f3e4f Mon Sep 17 00:00:00 2001 From: Kyle Kienapfel Date: Tue, 11 Oct 2022 16:09:41 -0700 Subject: Translations: new transifex client Currently we're using the python client which uses an API that they state will sunset Nov 30, 2022. `tx push -s` actually appears to work properly, some of the other commands require tweaking, like instead of suggesting `tx pull -a` in dist/languages we need to suggest `tx pull -t -a` --- .ci/scripts/transifex/docker.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to '.ci/scripts') diff --git a/.ci/scripts/transifex/docker.sh b/.ci/scripts/transifex/docker.sh index 6237b3f73..af7529944 100755 --- a/.ci/scripts/transifex/docker.sh +++ b/.ci/scripts/transifex/docker.sh @@ -6,9 +6,8 @@ # Setup RC file for tx cat << EOF > ~/.transifexrc [https://www.transifex.com] -hostname = https://www.transifex.com -username = api -password = $TRANSIFEX_API_TOKEN +rest_hostname = https://rest.api.transifex.com +token = $TRANSIFEX_API_TOKEN EOF @@ -19,9 +18,6 @@ cmake --version gcc -v tx --version -# vcpkg needs these: curl zip unzip tar, have tar -apt-get install -y curl zip unzip - mkdir build && cd build cmake .. -DENABLE_QT_TRANSLATION=ON -DGENERATE_QT_TRANSLATION=ON -DCMAKE_BUILD_TYPE=Release -DENABLE_SDL2=OFF -DYUZU_TESTS=OFF -DYUZU_USE_BUNDLED_VCPKG=ON make translation -- cgit v1.2.3