From e0859d2606ef262947442a8e2455a117a56fd6ac Mon Sep 17 00:00:00 2001 From: JiaJun <2394389886@qq.com> Date: Mon, 29 Jun 2026 18:07:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E5=A4=9A=E8=AF=AD?= =?UTF-8?q?=E8=A8=80=E6=96=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/features/game/components/desktop/desktop-topup.tsx | 2 +- src/features/game/components/mobile/mobile-topup.tsx | 2 +- src/locales/en-US.ts | 1 + src/locales/id-ID.ts | 1 + src/locales/ms-MY.ts | 1 + src/locales/zh-CN.ts | 1 + 6 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/features/game/components/desktop/desktop-topup.tsx b/src/features/game/components/desktop/desktop-topup.tsx index 2e15164..ffbe6c8 100644 --- a/src/features/game/components/desktop/desktop-topup.tsx +++ b/src/features/game/components/desktop/desktop-topup.tsx @@ -44,7 +44,7 @@ function DesktopTopup() { const channelCode = tier.payChannelCode ?? tier.channels[0]?.code ?? '' if (!channelCode) { - notify.error(t('commonUi.toast.requestFailed')) + notify.error(t('commonUi.toast.configError')) return } diff --git a/src/features/game/components/mobile/mobile-topup.tsx b/src/features/game/components/mobile/mobile-topup.tsx index 1dd48e5..aa38889 100644 --- a/src/features/game/components/mobile/mobile-topup.tsx +++ b/src/features/game/components/mobile/mobile-topup.tsx @@ -44,7 +44,7 @@ function MobileTopup() { const channelCode = tier.payChannelCode ?? tier.channels[0]?.code ?? '' if (!channelCode) { - notify.error(t('commonUi.toast.requestFailed')) + notify.error(t('commonUi.toast.configError')) return } diff --git a/src/locales/en-US.ts b/src/locales/en-US.ts index 3bc0cb5..3e33263 100644 --- a/src/locales/en-US.ts +++ b/src/locales/en-US.ts @@ -368,6 +368,7 @@ export default { autoHostingStoppedJackpot: 'Jackpot reached. Auto spin has stopped.', autoHostingSubmitFailed: 'Auto spin bet failed. Auto spin has stopped.', requestFailed: 'Request failed. Please try again later.', + configError: 'Configuration error. Please contact support.', }, }, auth: { diff --git a/src/locales/id-ID.ts b/src/locales/id-ID.ts index 342db7d..6116299 100644 --- a/src/locales/id-ID.ts +++ b/src/locales/id-ID.ts @@ -368,6 +368,7 @@ export default { autoHostingSubmitFailed: 'Taruhan auto-hosting gagal. Auto-hosting telah dihentikan.', requestFailed: 'Permintaan gagal. Silakan coba lagi nanti.', + configError: 'Kesalahan konfigurasi. Silakan hubungi dukungan.', }, }, auth: { diff --git a/src/locales/ms-MY.ts b/src/locales/ms-MY.ts index 42b802c..07d9f1b 100644 --- a/src/locales/ms-MY.ts +++ b/src/locales/ms-MY.ts @@ -373,6 +373,7 @@ export default { autoHostingSubmitFailed: 'Taruhan auto-hosting gagal. Auto-hosting telah dihentikan.', requestFailed: 'Permintaan gagal. Sila cuba lagi kemudian.', + configError: 'Ralat konfigurasi. Sila hubungi sokongan.', }, }, auth: { diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index e4a5dba..e17326e 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -355,6 +355,7 @@ export default { autoHostingStoppedJackpot: '出现 Jackpot 大奖,自动托管已停止', autoHostingSubmitFailed: '自动托管下注失败,已停止托管', requestFailed: '请求失败,请稍后重试', + configError: '配置错误,请联系客服', }, }, auth: {