mirror of
https://github.com/ModOrganizer2/mob.git
synced 2026-07-27 14:07:05 -07:00
Switch to the new transfiex client.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
@@ -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_);
|
||||
|
||||
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Reference in New Issue
Block a user