Switch to the new transfiex client.

This commit is contained in:
Mikaël Capelle
2023-07-14 14:38:55 +02:00
parent a9be58aaa3
commit b8fe18effa
5 changed files with 5 additions and 8 deletions
+2 -2
View File
@@ -67,7 +67,7 @@ nmake = nmake.exe
nuget = nuget.exe
vswhere = vswhere.exe
nasm = nasm.exe
tx = tx.py37-x64.exe
tx = tx.exe
lrelease = lrelease.exe
iscc = ISCC.exe
vcvars =
@@ -77,7 +77,7 @@ enabled = true
key =
team = mod-organizer-2-team
project = mod-organizer-2
url = https://www.transifex.com
url = https://app.transifex.com
minimum = 60
force = false
configure = true
+1 -1
View File
@@ -316,7 +316,7 @@ void translations::do_fetch()
const url u =
conf().transifex().get("url") + "/" +
conf().transifex().get("team") + "/" +
conf().transifex().get("project");
conf().transifex().get("project") + "/dashboard";
// initializing
+2 -5
View File
@@ -310,7 +310,6 @@ void transifex::do_init()
.success_exit_codes({0, 2})
.flags(process::ignore_output_on_success)
.arg("init")
.arg("--no-interactive")
.cwd(root_));
}
@@ -324,8 +323,8 @@ void transifex::do_config()
execute_and_join(process()
.binary(binary())
.stdout_level(stdout_)
.arg("config")
.arg("mapping-remote")
.arg("add")
.arg("remote")
.arg(url_)
.env(this_env::get().set("TX_TOKEN", key_))
.cwd(root_));
@@ -340,8 +339,6 @@ void transifex::do_pull()
.stdout_level(stdout_)
.arg("pull")
.arg("--all")
.arg("--parallel")
.arg("--no-interactive")
.arg("--minimum-perc", min_)
.env(this_env::get().set("TX_TOKEN", key_))
.cwd(root_);
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.