fix:1、多语言添加
This commit is contained in:
@@ -176,7 +176,7 @@ namespace ChillConnect
|
||||
ske_pot.SetActive(true);
|
||||
if (SaveData.GetSaveObject().saveingpot_ch < makeupTaskData.amount)
|
||||
{
|
||||
((btn_watchAd)ui.btn_ch).watch.text = "Go";
|
||||
((btn_watchAd)ui.btn_ch).watch.text = Language.GetContentParams("go");
|
||||
((btn_watchAd)ui.btn_ch).buy_state.selectedIndex = 0;
|
||||
|
||||
ui.btn_ch.SetClick(() => { });
|
||||
@@ -203,7 +203,7 @@ namespace ChillConnect
|
||||
btn_watchAd btnWatchad = ui.btn_ch as btn_watchAd;
|
||||
btnWatchad.enabled = true;
|
||||
btnWatchad.buy_state.selectedIndex = 1;
|
||||
btnWatchad.title = "GET GIFT CARD";
|
||||
btnWatchad.title = Language.GetContentParams("get_card");
|
||||
btnWatchad.SetClick(() => { });
|
||||
btnWatchad.SetClick(() =>
|
||||
{
|
||||
@@ -377,7 +377,7 @@ namespace ChillConnect
|
||||
{
|
||||
ui.cont_confirm.selectedIndex = 0;
|
||||
ui.type.selectedIndex = 6;
|
||||
ui.text_payhint.text = "You will get the " + makeupTaskData.amountStr + " for 90 days";
|
||||
ui.text_payhint.text = Language.GetContentParams("saveingpot_get", makeupTaskData.amountStr);
|
||||
ui.text_query.text = DataMgr.ExchangeAccount.Value;
|
||||
ui.btn_confirm.SetClick(() =>
|
||||
{
|
||||
@@ -554,12 +554,12 @@ namespace ChillConnect
|
||||
if (makeupTaskData.rdData[index].isClaimed)
|
||||
{
|
||||
item.btn_claim.state.selectedIndex = 1;
|
||||
item.btn_claim.title = "Claimed";
|
||||
item.btn_claim.title = Language.GetContentParams("claimed");
|
||||
}
|
||||
else
|
||||
{
|
||||
item.btn_claim.state.selectedIndex = 0;
|
||||
item.btn_claim.title = "Claim";
|
||||
item.btn_claim.title = Language.GetContentParams("claim");
|
||||
}
|
||||
|
||||
item.btn_claim.SetClick(() =>
|
||||
@@ -734,8 +734,8 @@ namespace ChillConnect
|
||||
return;
|
||||
}
|
||||
ui.type.selectedIndex = 4;
|
||||
ui.com_task.text_task.text = "get gift card";
|
||||
ui.com_task.text_payer.text = "{amt=$0.5} directly to your gift card";
|
||||
ui.com_task.text_task.text = Language.GetContentParams("get_card");
|
||||
ui.com_task.text_payer.text = Language.GetContentParams("saveingpot_claimed","amt=$0.5");
|
||||
ui.com_task.text_orderid.text = makeupTaskData.orderID;
|
||||
ui.com_task.text_task_title.SetVar("ad", vo.ad_need.ToString()).FlushVars();
|
||||
ui.com_task.text_ads.text = $"{makeupTaskData.videoCount}/{vo.ad_need}";
|
||||
@@ -836,27 +836,31 @@ namespace ChillConnect
|
||||
var account = enter_input.text.Replace(" ", "");
|
||||
if (account == null || account == "")
|
||||
{
|
||||
GameHelper.ShowTips("Please enter the correct account information1", true);
|
||||
string content = Language.GetContentParams("empty_account1", 1);
|
||||
GameHelper.ShowTips(content);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!GameHelper.CheckAccountValidly(account))
|
||||
{
|
||||
GameHelper.ShowTips("Please enter the correct account information2", true);
|
||||
string content = Language.GetContentParams("empty_account1", 2);
|
||||
GameHelper.ShowTips(content);
|
||||
return;
|
||||
}
|
||||
|
||||
var fname = ui.com_fname.enter_fname.text.Replace(" ", "");
|
||||
if (!GameHelper.CheckNameValidly(fname))
|
||||
{
|
||||
GameHelper.ShowTips("Please enter the correct account information3", true);
|
||||
string content = Language.GetContentParams("empty_account1", 3);
|
||||
GameHelper.ShowTips(content);
|
||||
return;
|
||||
}
|
||||
|
||||
var lname = ui.com_lname.enter_lname.text.Replace(" ", "");
|
||||
if (!GameHelper.CheckNameValidly(lname) && !AppConst.isPt())
|
||||
{
|
||||
GameHelper.ShowTips("Please enter the correct account information4", true);
|
||||
string content = Language.GetContentParams("empty_account1", 4);
|
||||
GameHelper.ShowTips(content);
|
||||
return;
|
||||
}
|
||||
DataMgr.ExchangeAccount.Value= account;
|
||||
@@ -947,7 +951,7 @@ namespace ChillConnect
|
||||
btn_list[i].img_outline.visible = false;
|
||||
btn_list[i].SetClick(() =>
|
||||
{
|
||||
GameHelper.ShowTips("To be unlocked");
|
||||
GameHelper.ShowTips("un_lock",true);
|
||||
});
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user