设备连接汉化调整

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

No files matched your search

@@ -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;