Unverified Commit 9dc0ec50 authored by podak's avatar podak Committed by GitHub
Browse files

added the language to the vpl3 parameters (#799)

parent 3a4745f7
......@@ -48,11 +48,12 @@ ListModel {
function launch_vpl3(device) {
const baseurl = Utils.webapp_base_url("vpl3");
const language = Utils.uiLanguage
if(!baseurl) {
return false;
}
const url = "%1/index.html?robot=thymio-tdm&role=teacher#uuid=%2&ws=%3"
.arg(baseurl).arg(device.id).arg(device.websocketEndpoint())
const url = "%1/index.html?robot=thymio-tdm&role=teacher&uilanguage=%2#uuid=%3&ws=%4"
.arg(baseurl).arg(language).arg(device.id).arg(device.websocketEndpoint())
return Utils.openUrl(url)
}
......
......@@ -94,7 +94,7 @@
{
"type": "archive",
"url": "https://github.com/Mobsya/ci-data/releases/download/data/vpl3-thymio-suite.tar.gz",
"sha256": "5837e1069cf8150e264cfd442f62585a570a490a37e69e867cf0d2bcb865b187",
"sha256": "b3b80badfdbd875247b9379e691cfe43a56b70b80116e475dc86eb0ca704ac70",
"strip-components": 0
}
],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment