统一体力的本地化文本

main
Yuntao Hu 2024-10-14 18:32:25 +08:00
parent c574e8b48d
commit 783c9d7e5e
7 changed files with 1602 additions and 385 deletions

View File

@ -190,11 +190,11 @@ public class UI_BuyEnergyController : UIWindow
{
DataItem dataItem = TableManager.Instance.Tables.Item.Get(itemID);
string itemName = CommonUtils.GetLocalizeText(dataItem.NameLocal);
CommonUtils.ShowMessageTips(CommonUtils.GetLocalizeText("BuyEnergy_failed_itemLack", itemName));// + CommonUtils.GetLocalizeText("BuyEnergy_failed")
CommonUtils.ShowMessageTips(CommonUtils.GetLocalizeText("BuyEnergy_failed_itemLack", itemName));// {0}数量不足!
}
else
{
CommonUtils.ShowMessageTips(CommonUtils.GetLocalizeText("BuyEnergy_failed_overflow"));// + CommonUtils.GetLocalizeText("BuyEnergy_failed")
CommonUtils.ShowMessageTips(CommonUtils.GetLocalizeText("BuyEnergy_failed_overflow"));// 指挥点数超过上限值!
}
}
}

View File

@ -1468,11 +1468,11 @@ public class UI_MainPanelController : UIWindow
textTime.text = $"{dateTime:hh:mm} {(IsAM(dateTime) ? "AM" : "PM")}"; // 当前时间 例05:21 PM
if (EnergyManager.Instance.GetNowEnergy() >= EnergyManager.Instance.GetMaxEnergyPoint())
textStaminaRecovery.text = GetLocalizeText("stamina_full"); // 体力已满
textStaminaRecovery.text = GetLocalizeText("stamina_full"); // 指挥点数已满
else
{
TimeSpan staminaRecovery = EnergyManager.Instance.GetNextEnergyRecoverTime() - dateTime;
textStaminaRecovery.text = GetLocalizeText("stamina_recovery", staminaRecovery.Minutes, staminaRecovery.Seconds); // 距离体力下次恢复还剩{0}分{1}秒
textStaminaRecovery.text = GetLocalizeText("stamina_recovery", staminaRecovery.Minutes, staminaRecovery.Seconds); // 距离指挥点数下次恢复还剩{0}分{1}秒
}
}

View File

@ -690,6 +690,7 @@ public class UI_StartGameInterfaceController : UIWindow
{"method",0 }//0表示手动输入登录
});
Actor.Instance.StartLogin(NLDPB.LoginType.Phxhphone, loginSaveData.phoneNumber);
DebugUtil.Log("点击登录按钮,拉起加载图标遮挡");
}
/// <summary>

View File

@ -84,11 +84,11 @@ public sealed partial class DataCharacterSkin : Bright.Config.BeanBase
/// </summary>
public string NickName { get; private set; }
/// <summary>
/// Cultivate养成主界面Assets/Art/UI/Texture/UI_Pic_Main/UI_Poster/Cutivate
/// Cultivate养成主界面Assets/Art/UI/Texture/Poster/Poster_Default
/// </summary>
public string Cultivate { get; private set; }
/// <summary>
/// Favorable好感度界面Assets/Art/UI/Texture/UI_Pic_Main/UI_Poster/Favorate
/// Favorable好感度界面Assets/Art/UI/Texture/Poster/Poster_Default
/// </summary>
public string Favorable { get; private set; }
/// <summary>

File diff suppressed because it is too large Load Diff

View File

@ -53,7 +53,7 @@
"name": "地雷",
"build_type": 4,
"model_path": "Assets/Art/Character/Prefabs/Build/build_mine.prefab",
"icon": "",
"icon": "Assets/Art/UI/Texture/Icon/PVPBuilding/UI_PVPBuilding_00005.png",
"hp": 0,
"stand_cross_level": 0,
"block_attack": false,

View File

@ -65145,7 +65145,7 @@
},
{
"Key": "stamina_recovery",
"Value": "距离体力下次自然恢复还剩{0}分{1}秒",
"Value": "距离指挥点数下次自然恢复还剩{0}分{1}秒",
"Param0": "",
"Param1": "",
"Param2": "",
@ -65153,7 +65153,7 @@
},
{
"Key": "stamina_full",
"Value": "体力已满",
"Value": "指挥点数已满",
"Param0": "",
"Param1": "",
"Param2": "",
@ -81625,7 +81625,7 @@
},
{
"Key": "BuyEnergy_failed",
"Value": "体力补充失败!",
"Value": "指挥点数补充失败!",
"Param0": "",
"Param1": "",
"Param2": "",
@ -81633,7 +81633,7 @@
},
{
"Key": "BuyEnergy_failed_overflow",
"Value": "体力超过上限值!",
"Value": "指挥点数超过上限值!",
"Param0": "",
"Param1": "",
"Param2": "",