Merge branch 'dev_language' into dev_release

# Conflicts:
#	Assets/Resources/UI/Prefab/Panel/Mobile/MapListPanel.prefab
#	Assets/Resources/UI/Prefab/Panel/Mobile/RaceListPanel.prefab
This commit is contained in:
Caiyanpeng committed 2021-11-25 10:04:35 +08:00
commit 134dc76ec5
94 files changed
+10234 -2610

No files matched your search

@@ -222,7 +222,7 @@ namespace Assets.Scenes.Ride.Scripts
//比赛状态
CompetitionStatus.text = competition.StatusVlaue.ToString();
//参赛选手
Contestant.text = competition.UserList.Count.ToString() + "Riders";
Contestant.text = competition.UserList.Count.ToString() + App.GetLocalString("Riders");
ShowPlayers(competition.UserList);
//路书描述
mapDescText.text = GetMaxString(competition.Dec, 400);
@@ -335,7 +335,7 @@ namespace Assets.Scenes.Ride.Scripts
_raceStart = competition.Status == 3;
_canEnter = competition.CanEnter;
Contestant.text = competition.UserList.Count.ToString() + "Riders";
Contestant.text = competition.UserList.Count.ToString() + App.GetLocalString("Riders");
ShowPlayers(competition.UserList);
}
}
@@ -40,7 +40,7 @@ namespace Assets.Scenes.Ride.Scripts
//比赛开始前倒计时
if (count >= 0 && !competitionModel.recorderData.Saved)
{
ShowCountDown(count, "Get Ready!");//显示倒计时面板信息
ShowCountDown(count, App.GetLocalString("Get Ready!"));//显示倒计时面板信息
Timer.gameObject.SetActive(false);
TimerTitle.gameObject.SetActive(false);
}
@@ -54,7 +54,7 @@ namespace Assets.Scenes.Ride.Scripts
{
#if UNITY_IOS || UNITY_ANDROID
//显示倒计时面板信息
ShowCountDown(s.Item1, "Time Limit");
ShowCountDown(s.Item1, App.GetLocalString("Time Limit"));
#else
ShowCountDown(s.Item1, "Get The First Place. Time Limit");
#endif
@@ -63,7 +63,7 @@ namespace Assets.Scenes.Ride.Scripts
{
//显示倒计时面板信息
//ShowCountDown(s.Item1, "remaining");
ShowCountDown(s.Item1, "Remaining Time");
ShowCountDown(s.Item1, App.GetLocalString("Remaining Time"));
}
//显示当前选手骑行时间
Timer.gameObject.SetActive(true);
@@ -410,7 +410,7 @@ namespace Assets.Scenes.Ride.Scripts
heartRate.text = (currentPlayer.HeartRate ?? 0).ToString();
candance.text = $"{Math.Round(currentPlayer.Cadance, 0)}";
preSlopeText.text = $"{Math.Round(currentPlayer.PreSlope, 1)}%";
currentSlopeToatalDistanceText.text = $"Total:{Math.Round(currentPlayer.CurrentDistance, 0)}M";
currentSlopeToatalDistanceText.text = $"{App.GetLocalString("Total")}:{Math.Round(currentPlayer.CurrentDistance, 0)}M";
//坡度相关数据
nextSlopeText.text = Math.Round(currentPlayer.NextSlope, 1).ToString() + "%";
//nextSlopeDistanceText.GetComponent<NumberDotween>().AnimateNum((float)playerController.NextSlopeDistance, 0, "-{0}M");