中文版

This commit is contained in:
Caiyanpeng committed 2022-04-07 09:23:44 +08:00
1 parent 0a4925bb39
commit 92d0579060
20 files changed
+2870 -2041

No files matched your search

@@ -244,8 +244,8 @@ public class RowerDeviceView : MonoBehaviour
connectionPanel.SetActive(false);
logo.sprite = sprite0;
noDevice.text = "NO DEVICE";
searchState.text = "Searching...";
noDevice.text = App.GetLocalString("NO DEVICE");
searchState.text = App.GetLocalString("Searching...");
var hasDevice = false;
if (SensorType == SensorType.SpeedCadence)
@@ -79,7 +79,7 @@ public class RowerWelldone : PFUIPanel
Close();
return;
}
transform.Find("Container/BtnDefine/Text").GetComponent<Text>().text = $"{"DEFINE"}({remainTime.ToString("#0")})";
transform.Find("Container/BtnDefine/Text").GetComponent<Text>().text = $"{App.GetLocalString("DEFINE")}({remainTime.ToString("#0")})";
timer += 1f;
}
}
@@ -101,7 +101,7 @@ public class RowerWelldone : PFUIPanel
startTime = true;
remainTime = 10f;
timer = 1f;
transform.Find("Container/BtnDefine/Text").GetComponent<Text>().text = $"{"DEFINE"}({remainTime.ToString("#0")})";
transform.Find("Container/BtnDefine/Text").GetComponent<Text>().text = $"{App.GetLocalString("DEFINE")}({remainTime.ToString("#0")})";
}
}