fix:1、添加多语言的json文件,修复bug
This commit is contained in:
@@ -435,7 +435,7 @@ namespace RedHotRoast
|
||||
/// <returns></returns>
|
||||
public static string Get102Str(decimal currency)
|
||||
{
|
||||
var exchangeRateVO = GetExchangeRateVO();
|
||||
var exchangeRateVO = GetExchangeRateVo();
|
||||
decimal price = currency * (decimal)exchangeRateVO.Multi;
|
||||
return $"{exchangeRateVO.Payicon}{price:N}";
|
||||
}
|
||||
@@ -457,7 +457,7 @@ namespace RedHotRoast
|
||||
|
||||
public static string getPrice(decimal ch)
|
||||
{
|
||||
var exchangeRateVO = GetExchangeRateVO();
|
||||
var exchangeRateVO = GetExchangeRateVo();
|
||||
decimal price = ch * (decimal)exchangeRateVO.Multi;
|
||||
return $"{exchangeRateVO.Payicon}{price:N}";
|
||||
}
|
||||
@@ -465,11 +465,11 @@ namespace RedHotRoast
|
||||
|
||||
public static string ChooseCurrency()
|
||||
{
|
||||
var exchangeRateVO = GetExchangeRateVO();
|
||||
var exchangeRateVO = GetExchangeRateVo();
|
||||
return exchangeRateVO.Payicon;
|
||||
}
|
||||
|
||||
public static ExchangeRate GetExchangeRateVO()
|
||||
public static ExchangeRate GetExchangeRateVo()
|
||||
{
|
||||
var code = GetCurrCountry();
|
||||
var voList = ConfigSystem.GetConfig<ExchangeRate>();
|
||||
@@ -485,7 +485,7 @@ namespace RedHotRoast
|
||||
|
||||
public static float GetExchangeRateMulti()
|
||||
{
|
||||
return GetExchangeRateVO().Multi;
|
||||
return GetExchangeRateVo().Multi;
|
||||
}
|
||||
|
||||
public static string GetCurrCountry()
|
||||
@@ -1235,6 +1235,12 @@ namespace RedHotRoast
|
||||
if (ShowStatementViewCount > 0) return;
|
||||
if (!IsGiftSwitch()) return;
|
||||
|
||||
if (ConfigSystem.GetCommonConf().StatementSwitch == 0)
|
||||
{
|
||||
HallManager.Instance.openTipsTimes++;
|
||||
ShowStatementViewCount++;
|
||||
return;
|
||||
}
|
||||
ShowStatementViewCount++;
|
||||
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.StatementViewUI_Open);
|
||||
}
|
||||
@@ -1398,7 +1404,7 @@ namespace RedHotRoast
|
||||
{
|
||||
if (!IsConnect())
|
||||
{
|
||||
ShowTips("The network connection is abnormal.");
|
||||
ShowTips("no_network", true);
|
||||
}
|
||||
|
||||
return isCanCloseResultView;
|
||||
@@ -1505,12 +1511,12 @@ namespace RedHotRoast
|
||||
try
|
||||
{
|
||||
OpenBrowser.OpenURL(url);
|
||||
GameHelper.ShowTips("try_send", true);
|
||||
ShowTips("try_send", true);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Debug.LogError("打开邮箱失败:" + ex.Message);
|
||||
GameHelper.ShowTips("send_failed", true);
|
||||
// Debug.LogError("打开邮箱失败:" + ex.Message);
|
||||
// GameHelper.ShowTips("send_failed", true);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1851,7 +1857,7 @@ namespace RedHotRoast
|
||||
#else
|
||||
Debug.LogWarning("当前平台不支持复制到剪贴板功能");
|
||||
#endif
|
||||
GameHelper.ShowTips("Copy Succeed");
|
||||
ShowTips("copy_succeed", true);
|
||||
}
|
||||
|
||||
public static string GetPriceInt(decimal ch)
|
||||
|
||||
Reference in New Issue
Block a user