中文绑定一波

This commit is contained in:
Caiyanpeng committed 2021-11-25 17:31:26 +08:00
1 parent 134dc76ec5
commit aa0c8d4fb6
9 files changed
+100 -102

No files matched your search

@@ -91,7 +91,7 @@ namespace Assets.Scenes.Ride.Scripts
if (_canCancelApply)
{
CompetitionStatus.text = "Registered";
CompetitionStatus.text = App.GetLocalString("Registered");
}
else
{
@@ -288,7 +288,7 @@ namespace Assets.Scenes.Ride.Scripts
UpdateCompetition();
if (competition.Status == 4)
{
Utils.showToast(gameObject, "race close");
Utils.showToast(gameObject, "Race close");
return;
}
competitionUI = cyclingController.singleUIManager as CompetitionUIManager;
@@ -303,7 +303,7 @@ namespace Assets.Scenes.Ride.Scripts
UpdateCompetition();
if (competition.Status == 4)
{
Utils.showToast(gameObject, "race close");
Utils.showToast(gameObject, "Race close");
return;
}
//隐藏当前用户
@@ -349,7 +349,7 @@ namespace Assets.Scenes.Ride.Scripts
{
UpdateCompetition();
UIManager.UpdateJoinCompetition();
Utils.showToast(gameObject, "success", 2, 1);
Utils.showToast(gameObject, "Success", 2, 1);
}
else
{
@@ -367,7 +367,7 @@ namespace Assets.Scenes.Ride.Scripts
{
try
{
UIManager.ShowConfirm("Canel Reservation", "Do you want to cancel reservation?", async () =>
UIManager.ShowConfirm("Cancel Reservation", "Do you want to cancel reservation?", async () =>
{
MapCompetitionApi api = ConfigHelper.mapCompetitionApi;
var data = api.CancelMapCompetition(cyclingController.competition.Id);
@@ -376,7 +376,7 @@ namespace Assets.Scenes.Ride.Scripts
UpdateCompetition();
App.CompetitionIdList.Remove(cyclingController.competition.Id);
UIManager.UpdateJoinCompetition();
Utils.showToast(gameObject, "success", 2, 1);
Utils.showToast(gameObject, "Success", 2, 1);
}
else
{