Merge pull request #9058 from Docteh/new_transifex_cli
New transifex client needs migrating to.
This commit is contained in:
commit
d574bb4610
3 changed files with 6 additions and 8 deletions
|
@ -6,9 +6,8 @@
|
||||||
# Setup RC file for tx
|
# Setup RC file for tx
|
||||||
cat << EOF > ~/.transifexrc
|
cat << EOF > ~/.transifexrc
|
||||||
[https://www.transifex.com]
|
[https://www.transifex.com]
|
||||||
hostname = https://www.transifex.com
|
rest_hostname = https://rest.api.transifex.com
|
||||||
username = api
|
token = $TRANSIFEX_API_TOKEN
|
||||||
password = $TRANSIFEX_API_TOKEN
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
||||||
|
@ -19,9 +18,6 @@ cmake --version
|
||||||
gcc -v
|
gcc -v
|
||||||
tx --version
|
tx --version
|
||||||
|
|
||||||
# vcpkg needs these: curl zip unzip tar, have tar
|
|
||||||
apt-get install -y curl zip unzip
|
|
||||||
|
|
||||||
mkdir build && cd build
|
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
|
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
|
make translation
|
||||||
|
|
2
dist/languages/.tx/config
vendored
2
dist/languages/.tx/config
vendored
|
@ -1,7 +1,7 @@
|
||||||
[main]
|
[main]
|
||||||
host = https://www.transifex.com
|
host = https://www.transifex.com
|
||||||
|
|
||||||
[yuzu.emulator]
|
[o:yuzu-emulator:p:yuzu:r:emulator]
|
||||||
file_filter = <lang>.ts
|
file_filter = <lang>.ts
|
||||||
source_file = en.ts
|
source_file = en.ts
|
||||||
source_lang = en
|
source_lang = en
|
||||||
|
|
4
dist/languages/README.md
vendored
4
dist/languages/README.md
vendored
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue