fix:1、多语言添加
This commit is contained in:
@@ -180,27 +180,27 @@ namespace ChillConnect
|
||||
var account = ui.com_account.com_email.enter_email.text.Replace(" ", "");
|
||||
if (account == "")
|
||||
{
|
||||
GameHelper.ShowTips("Please enter the correct account information", true);
|
||||
GameHelper.ShowTips("empty_account", true);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!GameHelper.CheckAccountValidly(account))
|
||||
{
|
||||
GameHelper.ShowTips("Please enter the correct account information", true);
|
||||
GameHelper.ShowTips("empty_account", true);
|
||||
return;
|
||||
}
|
||||
|
||||
var fname = ui.com_account.com_first_name.enter_first_name.text.Replace(" ", "");
|
||||
if (!GameHelper.CheckNameValidly(fname))
|
||||
{
|
||||
GameHelper.ShowTips("Please enter the correct account information", true);
|
||||
GameHelper.ShowTips("empty_account", true);
|
||||
return;
|
||||
}
|
||||
|
||||
var lname = ui.com_account.com_last_name.enter_last_name.text.Replace(" ", "");
|
||||
if (!GameHelper.CheckNameValidly(lname) && !AppConst.isPt())
|
||||
{
|
||||
GameHelper.ShowTips("Please enter the correct account information", true);
|
||||
GameHelper.ShowTips("empty_account", true);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -241,7 +241,7 @@ namespace ChillConnect
|
||||
}
|
||||
else
|
||||
{
|
||||
GameHelper.ShowTips("Failed to save information., please try again");
|
||||
GameHelper.ShowTips("failed_save", true);
|
||||
ui.com_second_confirm.btn_confirm.enabled = true;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user