diff options
| author | 2022-10-11 16:09:41 -0700 | |
|---|---|---|
| committer | 2022-10-14 23:12:40 -0700 | |
| commit | fcebd36cde76a94f86e9a78efcd9c9afb22f3e4f (patch) | |
| tree | ff8abf4d7dce6d672d98c10cd541737b9c9c60ac /.ci/scripts/transifex/docker.sh | |
| parent | Merge pull request #9061 from liamwhite/writable-event (diff) | |
| download | yuzu-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.sh | 8 |
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 |
| 7 | cat << EOF > ~/.transifexrc | 7 | cat << EOF > ~/.transifexrc |
| 8 | [https://www.transifex.com] | 8 | [https://www.transifex.com] |
| 9 | hostname = https://www.transifex.com | 9 | rest_hostname = https://rest.api.transifex.com |
| 10 | username = api | 10 | token = $TRANSIFEX_API_TOKEN |
| 11 | password = $TRANSIFEX_API_TOKEN | ||
| 12 | EOF | 11 | EOF |
| 13 | 12 | ||
| 14 | 13 | ||
| @@ -19,9 +18,6 @@ cmake --version | |||
| 19 | gcc -v | 18 | gcc -v |
| 20 | tx --version | 19 | tx --version |
| 21 | 20 | ||
| 22 | # vcpkg needs these: curl zip unzip tar, have tar | ||
| 23 | apt-get install -y curl zip unzip | ||
| 24 | |||
| 25 | mkdir build && cd build | 21 | mkdir build && cd build |
| 26 | cmake .. -DENABLE_QT_TRANSLATION=ON -DGENERATE_QT_TRANSLATION=ON -DCMAKE_BUILD_TYPE=Release -DENABLE_SDL2=OFF -DYUZU_TESTS=OFF -DYUZU_USE_BUNDLED_VCPKG=ON | 22 | cmake .. -DENABLE_QT_TRANSLATION=ON -DGENERATE_QT_TRANSLATION=ON -DCMAKE_BUILD_TYPE=Release -DENABLE_SDL2=OFF -DYUZU_TESTS=OFF -DYUZU_USE_BUNDLED_VCPKG=ON |
| 27 | make translation | 23 | make translation |