多语言微调
This commit is contained in:
1 parent
51834b709c
commit
eb9338390c
19 files changed
+2132
-1735
No files matched your search
@@ -187,9 +187,9 @@ public class LoginController : BaseScene
|
||||
years.options = regOptions.years;
|
||||
months.options = regOptions.months;
|
||||
days.options = regOptions.days;
|
||||
years.captionText.text = "Year";
|
||||
months.captionText.text = "Month";
|
||||
days.captionText.text = "Day";
|
||||
years.captionText.text = App.GetLocalString("Year");
|
||||
months.captionText.text = App.GetLocalString("Month");
|
||||
days.captionText.text = App.GetLocalString("Day");
|
||||
years.onValueChanged.AddListener((int index) =>
|
||||
{
|
||||
if (index != -1 && months.value != -1)
|
||||
@@ -207,7 +207,7 @@ public class LoginController : BaseScene
|
||||
}
|
||||
});
|
||||
genders.options = regOptions.genders;
|
||||
genders.captionText.text = "Gender";
|
||||
genders.captionText.text = App.GetLocalString("Gender");
|
||||
countrys.options = regOptions.countrys;
|
||||
countrys.value = regOptions.countryDefaultValue;
|
||||
countrys.onValueChanged.AddListener((int index) =>
|
||||
@@ -215,7 +215,7 @@ public class LoginController : BaseScene
|
||||
countrys.transform.Find("RawImage").GetComponent<RawImage>().texture = regOptions.GetCountryImage(index);
|
||||
});
|
||||
units.options = regOptions.units;
|
||||
units.captionText.text = "Display Units";
|
||||
units.captionText.text = App.GetLocalString("Display Units");
|
||||
signForm = new SignForm()
|
||||
{
|
||||
email = email,
|
||||
@@ -765,16 +765,16 @@ public class LoginController : BaseScene
|
||||
{
|
||||
var btn = signPage1.Find("Captcha").Find("BtnGet");
|
||||
var btnText = signPage1.Find("Captcha").Find("BtnGet").Find("Text").GetComponent<Text>();
|
||||
btnText.text = $"Again({time--})";
|
||||
btnText.text = $"{App.GetLocalString("Again")}({time--})";
|
||||
if (time < 0)
|
||||
{
|
||||
btnText.text = "Get";
|
||||
btnText.text = App.GetLocalString("Get");
|
||||
btn.GetComponent<Button>().enabled = true;
|
||||
btn.GetComponent<Button>().interactable = true;
|
||||
startCaptcha = false;
|
||||
//timer.Stop();
|
||||
}
|
||||
timer = 1.0f;
|
||||
timer += 1.0f;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1167,7 +1167,7 @@ public class LoginController : BaseScene
|
||||
if (type == 0)
|
||||
{
|
||||
pageNums = 4;
|
||||
signContainer.Find("signText").GetComponent<Text>().text = "SIGN UP";
|
||||
signContainer.Find("signText").GetComponent<Text>().text = App.GetLocalString("SIGN UP");
|
||||
wxLogin2.gameObject.SetActive(false);
|
||||
signPage1.Find("next").gameObject.SetActive(true);
|
||||
signPage1.Find("BtnModiPass").gameObject.SetActive(false);
|
||||
|
||||
Reference in new issue
Block a user