中文版本
This commit is contained in:
1 parent
8e88b4adba
commit
51834b709c
85 files changed
+12545
-4847
No files matched your search
@@ -83,10 +83,10 @@ public class RaceScript : PFUIPanel
|
||||
var map = currentItem.GetComponent<RaceItemScript>().mapCompetition;
|
||||
if (map.Status == 1)
|
||||
{
|
||||
currentItem.Find("GetReadyContainer/Title").GetComponent<Text>().text = "Start for Registration";
|
||||
currentItem.Find("GetReadyContainer/Title").GetComponent<Text>().text = App.GetLocalString("Start for Registration");
|
||||
currentItem.Find("GetReadyContainer/Value").GetComponent<Text>().text =
|
||||
map.StartApplyTime.ToLocalTime().ToString("yyyy-MM-dd HH:mm");
|
||||
currentItem.Find("GetReadyContainer-2/Title").GetComponent<Text>().text = "Deadline for Registration";
|
||||
currentItem.Find("GetReadyContainer-2/Title").GetComponent<Text>().text = App.GetLocalString("Deadline for Registration");
|
||||
currentItem.Find("GetReadyContainer-2/Value").GetComponent<Text>().text =
|
||||
map.EndApplyTime.ToLocalTime().ToString("yyyy-MM-dd HH:mm");
|
||||
|
||||
@@ -102,7 +102,7 @@ public class RaceScript : PFUIPanel
|
||||
}
|
||||
else if (map.Status == 3)
|
||||
{
|
||||
currentItem.Find("GetReadyContainer/Title").GetComponent<Text>().text = "Start Time";
|
||||
currentItem.Find("GetReadyContainer/Title").GetComponent<Text>().text = App.GetLocalString("Start Time");
|
||||
currentItem.Find("GetReadyContainer/Value").GetComponent<Text>().text =
|
||||
map.StartTime.ToLocalTime().ToString("yyyy-MM-dd HH:mm");
|
||||
}
|
||||
@@ -130,7 +130,7 @@ public class RaceScript : PFUIPanel
|
||||
{
|
||||
currentItem.Find("GetReadyContainer").GetComponent<CanvasGroup>().alpha = 1;
|
||||
currentItem.Find("GetReadyContainer/Title").GetComponent<Text>().text
|
||||
= map.HasJoin ? "Get Ready" : "Start Time";
|
||||
= App.GetLocalString(map.HasJoin ? "Get Ready" : "Start Time");
|
||||
currentItem.Find("GetReadyContainer/Value").GetComponent<Text>().text
|
||||
= map.HasJoin ? Utils.GetCountDown(time): map.StartTime.ToLocalTime().ToString("yyyy-MM-dd HH:mm");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user