From f471848e1bc2b9da7904941b101650be9ec1583d Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 20 Jan 2026 18:06:31 +0000 Subject: [PATCH] fix(forge): replace 'Recharge' with 'Forge' terminology in Chinese MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaces '充值' with '锻造' (Simplified) and '鍛造' (Traditional) in localization files to ensure consistent terminology across the BioBridge (Forge) application. This affects the confirm button, deposit address label, and ensures the top navigation tab (already using the correct key) aligns with the rest of the UI. Changes: - Update `zh.json`, `zh-CN.json`, `zh-TW.json` to use "锻造"/"鍛造" instead of "充值". - Update E2E test helpers to match the new terminology. --- miniapps/forge/e2e/helpers/i18n.ts | 4 ++-- miniapps/forge/src/i18n/locales/zh-CN.json | 4 ++-- miniapps/forge/src/i18n/locales/zh-TW.json | 4 ++-- miniapps/forge/src/i18n/locales/zh.json | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/miniapps/forge/e2e/helpers/i18n.ts b/miniapps/forge/e2e/helpers/i18n.ts index 0d61ee938..c92dbf91d 100644 --- a/miniapps/forge/e2e/helpers/i18n.ts +++ b/miniapps/forge/e2e/helpers/i18n.ts @@ -25,8 +25,8 @@ export const UI_TEXT = { preview: { source: '预览交易', pattern: /预览交易|Preview/i }, }, confirm: { - title: { source: '确认充值', pattern: /确认充值|Confirm Recharge/i }, - button: { source: '确认充值', pattern: /确认充值|Confirm/i }, + title: { source: '确认锻造', pattern: /确认锻造|Confirm Forge/i }, + button: { source: '确认锻造', pattern: /确认锻造|Confirm/i }, }, success: { title: { source: '完成', pattern: /完成|Complete/i }, diff --git a/miniapps/forge/src/i18n/locales/zh-CN.json b/miniapps/forge/src/i18n/locales/zh-CN.json index aaa1ea03a..7e1023f4e 100644 --- a/miniapps/forge/src/i18n/locales/zh-CN.json +++ b/miniapps/forge/src/i18n/locales/zh-CN.json @@ -16,10 +16,10 @@ "pay": "支付", "receive": "获得", "ratio": "兑换比例", - "depositAddress": "充值地址", + "depositAddress": "锻造地址", "network": "网络", "preview": "预览交易", - "confirm": "确认充值", + "confirm": "确认锻造", "continue": "继续" }, "redemption": { diff --git a/miniapps/forge/src/i18n/locales/zh-TW.json b/miniapps/forge/src/i18n/locales/zh-TW.json index cb82a024b..56d02d6c6 100644 --- a/miniapps/forge/src/i18n/locales/zh-TW.json +++ b/miniapps/forge/src/i18n/locales/zh-TW.json @@ -16,10 +16,10 @@ "pay": "支付", "receive": "獲得", "ratio": "兌換比例", - "depositAddress": "充值地址", + "depositAddress": "鍛造地址", "network": "網絡", "preview": "預覽交易", - "confirm": "確認充值", + "confirm": "確認鍛造", "continue": "繼續" }, "redemption": { diff --git a/miniapps/forge/src/i18n/locales/zh.json b/miniapps/forge/src/i18n/locales/zh.json index aaa1ea03a..7e1023f4e 100644 --- a/miniapps/forge/src/i18n/locales/zh.json +++ b/miniapps/forge/src/i18n/locales/zh.json @@ -16,10 +16,10 @@ "pay": "支付", "receive": "获得", "ratio": "兑换比例", - "depositAddress": "充值地址", + "depositAddress": "锻造地址", "network": "网络", "preview": "预览交易", - "confirm": "确认充值", + "confirm": "确认锻造", "continue": "继续" }, "redemption": {