summaryrefslogtreecommitdiff
path: root/.ci/scripts/transifex/docker.sh
diff options
context:
space:
mode:
authorGravatar Kyle Kienapfel2022-10-11 16:09:41 -0700
committerGravatar Kyle Kienapfel2022-10-14 23:12:40 -0700
commitfcebd36cde76a94f86e9a78efcd9c9afb22f3e4f (patch)
treeff8abf4d7dce6d672d98c10cd541737b9c9c60ac /.ci/scripts/transifex/docker.sh
parentMerge pull request #9061 from liamwhite/writable-event (diff)
downloadyuzu-fcebd36cde76a94f86e9a78efcd9c9afb22f3e4f.tar.gz
yuzu-fcebd36cde76a94f86e9a78efcd9c9afb22f3e4f.tar.xz
yuzu-fcebd36cde76a94f86e9a78efcd9c9afb22f3e4f.zip
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`
Diffstat (limited to '')
-rwxr-xr-x.ci/scripts/transifex/docker.sh8
1 files changed, 2 insertions, 6 deletions
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 @@
6# Setup RC file for tx 6# Setup RC file for tx
7cat << EOF > ~/.transifexrc 7cat << EOF > ~/.transifexrc
8[https://www.transifex.com] 8[https://www.transifex.com]
9hostname = https://www.transifex.com 9rest_hostname = https://rest.api.transifex.com
10username = api 10token = $TRANSIFEX_API_TOKEN
11password = $TRANSIFEX_API_TOKEN
12EOF 11EOF
13 12
14 13
@@ -19,9 +18,6 @@ cmake --version
19gcc -v 18gcc -v
20tx --version 19tx --version
21 20
22# vcpkg needs these: curl zip unzip tar, have tar
23apt-get install -y curl zip unzip
24
25mkdir build && cd build 21mkdir build && cd build
26cmake .. -DENABLE_QT_TRANSLATION=ON -DGENERATE_QT_TRANSLATION=ON -DCMAKE_BUILD_TYPE=Release -DENABLE_SDL2=OFF -DYUZU_TESTS=OFF -DYUZU_USE_BUNDLED_VCPKG=ON 22cmake .. -DENABLE_QT_TRANSLATION=ON -DGENERATE_QT_TRANSLATION=ON -DCMAKE_BUILD_TYPE=Release -DENABLE_SDL2=OFF -DYUZU_TESTS=OFF -DYUZU_USE_BUNDLED_VCPKG=ON
27make translation 23make translation