summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bunnei2022-10-15 21:39:03 -0700
committerGravatar GitHub2022-10-15 21:39:03 -0700
commitd574bb46105a0184701e45b3e87e1dfad9cdfc49 (patch)
treef455de8fb870b954fc26dfd81024d31668e53262
parentMerge pull request #9076 from Docteh/unknown (diff)
parentTranslations: new transifex client (diff)
downloadyuzu-d574bb46105a0184701e45b3e87e1dfad9cdfc49.tar.gz
yuzu-d574bb46105a0184701e45b3e87e1dfad9cdfc49.tar.xz
yuzu-d574bb46105a0184701e45b3e87e1dfad9cdfc49.zip
Merge pull request #9058 from Docteh/new_transifex_cli
New transifex client needs migrating to.
-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 @@
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
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 @@
1[main] 1[main]
2host = https://www.transifex.com 2host = https://www.transifex.com
3 3
4[yuzu.emulator] 4[o:yuzu-emulator:p:yuzu:r:emulator]
5file_filter = <lang>.ts 5file_filter = <lang>.ts
6source_file = en.ts 6source_file = en.ts
7source_lang = en 7source_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 @@
1This 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. 1This 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.
2
3Do not directly open PRs on github to modify the translation.