fix:1、多语言添加

This commit is contained in:
2026-07-07 17:04:11 +08:00
parent 09c02d51f7
commit 03b3ad4364
76 changed files with 41664 additions and 43127 deletions
@@ -158,24 +158,24 @@ namespace ChillConnect
{
ui.btn_us.visible = true;
}
ui.btn_restore.SetClick(() =>
{
ApplePayManager.Instance.AppleRestore((success, message) =>
{
if (success)
{
GameHelper.ShowTips("Restore Purchases Success!");
// SaveData.GetSaveObject().is_get_packreward = success;
SaveData.GetSaveObject().have_slot = success;
GameDispatcher.Instance.Dispatch(GameMsg.noads_refresh);
}
else
{
// Debug.Log("[barry] restore failed: " + success);
GameHelper.ShowTips("There are no recoverable transactions");
}
});
});
// ui.btn_restore.SetClick(() =>
// {
// ApplePayManager.Instance.AppleRestore((success, message) =>
// {
// if (success)
// {
// GameHelper.ShowTips("Restore Purchases Success!");
// // SaveData.GetSaveObject().is_get_packreward = success;
// SaveData.GetSaveObject().have_slot = success;
// GameDispatcher.Instance.Dispatch(GameMsg.noads_refresh);
// }
// else
// {
// // Debug.Log("[barry] restore failed: " + success);
// GameHelper.ShowTips("There are no recoverable transactions");
// }
// });
// });
}
private void SetSlideValue()
@@ -279,7 +279,7 @@ namespace ChillConnect
if (string.IsNullOrEmpty(name) || name.IsNullOrWhiteSpace())
{
GameHelper.ShowTips("The input cannot be null", true);
GameHelper.ShowTips("empty_input", true);
return;
}