summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Kienapfel <Docteh@users.noreply.github.com>2022-10-12 01:09:41 +0200
committerKyle Kienapfel <Docteh@users.noreply.github.com>2022-10-15 08:12:40 +0200
commitfcebd36cde76a94f86e9a78efcd9c9afb22f3e4f (patch)
treeff8abf4d7dce6d672d98c10cd541737b9c9c60ac
parentMerge pull request #9061 from liamwhite/writable-event (diff)
downloadyuzu-fcebd36cde76a94f86e9a78efcd9c9afb22f3e4f.tar
yuzu-fcebd36cde76a94f86e9a78efcd9c9afb22f3e4f.tar.gz
yuzu-fcebd36cde76a94f86e9a78efcd9c9afb22f3e4f.tar.bz2
yuzu-fcebd36cde76a94f86e9a78efcd9c9afb22f3e4f.tar.lz
yuzu-fcebd36cde76a94f86e9a78efcd9c9afb22f3e4f.tar.xz
yuzu-fcebd36cde76a94f86e9a78efcd9c9afb22f3e4f.tar.zst
yuzu-fcebd36cde76a94f86e9a78efcd9c9afb22f3e4f.zip
-rwxr-xr-x.ci/scripts/transifex/docker.sh8
-rw-r--r--dist/languages/.tx/config2
-rw-r--r--dist/languages/README.md4
3 files changed, 6 insertions, 8 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 @@
# 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
diff --git a/dist/languages/.tx/config b/dist/languages/.tx/config
index 0d9b512ea..30e76b925 100644
--- a/dist/languages/.tx/config
+++ b/dist/languages/.tx/config
@@ -1,7 +1,7 @@
[main]
host = https://www.transifex.com
-[yuzu.emulator]
+[o:yuzu-emulator:p:yuzu:r:emulator]
file_filter = <lang>.ts
source_file = en.ts
source_lang = en
diff --git a/dist/languages/README.md b/dist/languages/README.md
index 61981ab1d..c5ea1ada0 100644
--- a/dist/languages/README.md
+++ b/dist/languages/README.md
@@ -1 +1,3 @@
-This directory stores translation patches (TS files) for yuzu Qt frontend. This directory is linked with [yuzu project on transifex](https://www.transifex.com/yuzu-emulator/yuzu), so you can update the translation by executing `tx pull -a`. If you want to contribute to the translation, please go the transifex link and submit your translation there. This directory on the main repo will be synchronized with transifex periodically. Do not directly open PRs on github to modify the translation.
+This directory stores translation patches (TS files) for yuzu Qt frontend. This directory is linked with [yuzu project on transifex](https://www.transifex.com/yuzu-emulator/yuzu), so you can update the translation by executing `tx pull -t -a`. If you want to contribute to the translation, please go the transifex link and submit your translation there. This directory on the main repo will be synchronized with transifex periodically.
+
+Do not directly open PRs on github to modify the translation.