设备连接汉化调整

This commit is contained in:
lishuo 2021-11-23 09:58:55 +08:00
parent 190a66bb68
commit 265430053a
2 changed files with 7 additions and 5 deletions

View File

@ -83,7 +83,7 @@
"Cancel Reserve":"取消报名",
"Smart Trainer":"骑行台",
"CONNECT":"连接",
"CLOSE":"断开连接",
"CLOSE":"关闭",
"PAIR":"配对",
"Searching...":"搜索中...",
"CHANGE":"更换设备",
@ -252,7 +252,8 @@
"Near":"附近",
"Trend":"热门",
"Go to the official website to download?":"去powerfun.com下载Powerfun Workouts",
"Workouts not installed":"Powerfun Workouts 未安装"
"Workouts not installed":"Powerfun Workouts 未安装",
"DISCONNECT":"断开连接",
},
"en":
{
@ -498,6 +499,7 @@
"Near":"Near",
"Trend":"Trend",
"Go to the official website to download?":"Go to the official website to download?",
"Workouts not installed":"Workouts not installed"
"Workouts not installed":"Workouts not installed",
"DISCONNECT":"DISCONNECT",
}
}

View File

@ -247,11 +247,11 @@ public class ConnectDeviceModal : PFUIPanel
var nontrainer = firstDevice.DeviceInfo.Sensor != SensorType.Trainer && SensorType != SensorType.Trainer && firstDevice.DeviceInfo.State == DeviceState.Connected;
if(trainer || nontrainer)
{
connectBtnText.text = "DISCONNECT";
connectBtnText.text = App.GetLocalString("DISCONNECT");
}
else
{
connectBtnText.text = "CONNECT";
connectBtnText.text = App.GetLocalString("CONNECT");
}
//connectBtn.text.text = "DISCOUNECT";
noDevice.text = firstDevice.DeviceInfo.Name;