fix:1、多语言添加
This commit is contained in:
@@ -81,6 +81,7 @@ namespace ChillConnect
|
||||
var valStr = val;
|
||||
if (isLangue)
|
||||
{
|
||||
valStr = Language.GetContent(val);
|
||||
}
|
||||
|
||||
var tipsData = JoastData.GetTips(valStr);
|
||||
@@ -100,7 +101,7 @@ namespace ChillConnect
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowTips("Ads Not Ready", true);
|
||||
ShowTips("not_ads", true);
|
||||
}
|
||||
|
||||
onCompleted?.Invoke(isSuccess);
|
||||
@@ -381,7 +382,7 @@ namespace ChillConnect
|
||||
|
||||
public static ExchangeRate GetExchangeRateVo()
|
||||
{
|
||||
var code = "JP";//GetCurrCountry();
|
||||
var code = GetCurrCountry();
|
||||
var voList = ConfigSystem.GetConfig<ExchangeRateModel>().DataList;
|
||||
foreach (var exchangeRateVo in voList.Where(exchangeRateVo => exchangeRateVo.CountryKey.Contains(code)))
|
||||
{
|
||||
@@ -642,7 +643,8 @@ namespace ChillConnect
|
||||
var uri = new Uri(url);
|
||||
|
||||
Application.OpenURL(uri.AbsoluteUri);
|
||||
GameHelper.ShowTips("Trying to call send mail...");
|
||||
ShowTips("try_send", true);
|
||||
|
||||
}
|
||||
|
||||
// public static string GetCurrCountry()
|
||||
@@ -1574,7 +1576,7 @@ namespace ChillConnect
|
||||
return true;
|
||||
if (!IsConnect())
|
||||
{
|
||||
ShowTips("The network connection is abnormal.");
|
||||
ShowTips("no_network", true);
|
||||
}
|
||||
|
||||
return isCanCloseResultView;
|
||||
@@ -1752,7 +1754,7 @@ namespace ChillConnect
|
||||
#else
|
||||
Debug.LogWarning("当前平台不支持复制到剪贴板功能");
|
||||
#endif
|
||||
GameHelper.ShowTips("Copy Succeed");
|
||||
ShowTips("copy_succeed", true);
|
||||
}
|
||||
|
||||
public static void CallShowTurn()
|
||||
|
||||
Reference in New Issue
Block a user