From fe8a738cd7b5524c3d452bb99e284ec9b45bf666 Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Tue, 20 Jan 2026 01:53:42 +0800 Subject: [PATCH] fix(i18n): update apiKeyCreatedMessage for clarity across multiple languages --- web/src/i18n/locales/en-US.ts | 3 ++- web/src/i18n/locales/ja-JP.ts | 3 ++- web/src/i18n/locales/zh-Hans.ts | 2 +- web/src/i18n/locales/zh-Hant.ts | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/web/src/i18n/locales/en-US.ts b/web/src/i18n/locales/en-US.ts index cf79c55a..c097eb4e 100644 --- a/web/src/i18n/locales/en-US.ts +++ b/web/src/i18n/locales/en-US.ts @@ -121,7 +121,8 @@ const enUS = { webhookHint: 'Webhooks allow LangBot to push person and group message events to external systems', actions: 'Actions', - apiKeyCreatedMessage: 'Please copy this API key.', + apiKeyCreatedMessage: + 'Please copy this API key, if the button is invalid, please copy manually.', none: 'None', }, notFound: { diff --git a/web/src/i18n/locales/ja-JP.ts b/web/src/i18n/locales/ja-JP.ts index b812d937..903e8ea5 100644 --- a/web/src/i18n/locales/ja-JP.ts +++ b/web/src/i18n/locales/ja-JP.ts @@ -123,7 +123,8 @@ const jaJP = { webhookHint: 'Webhook を使用すると、LangBot は個人メッセージとグループメッセージイベントを外部システムにプッシュできます', actions: 'アクション', - apiKeyCreatedMessage: 'この API キーをコピーしてください。', + apiKeyCreatedMessage: + 'この API キーをコピーしてください。もしボタンが無効な場合は手動でコピーしてください。', none: 'なし', }, notFound: { diff --git a/web/src/i18n/locales/zh-Hans.ts b/web/src/i18n/locales/zh-Hans.ts index 473a8401..6ce7a13a 100644 --- a/web/src/i18n/locales/zh-Hans.ts +++ b/web/src/i18n/locales/zh-Hans.ts @@ -114,7 +114,7 @@ const zhHans = { noWebhooks: '暂无 Webhook', webhookHint: 'Webhook 允许 LangBot 将个人消息和群消息事件推送到外部系统', actions: '操作', - apiKeyCreatedMessage: '请复制此 API 密钥。', + apiKeyCreatedMessage: '请复制此 API 密钥,若按钮无效,请手动复制。', none: '无', }, notFound: { diff --git a/web/src/i18n/locales/zh-Hant.ts b/web/src/i18n/locales/zh-Hant.ts index f4cf40b9..2dac2873 100644 --- a/web/src/i18n/locales/zh-Hant.ts +++ b/web/src/i18n/locales/zh-Hant.ts @@ -114,7 +114,7 @@ const zhHant = { noWebhooks: '暫無 Webhook', webhookHint: 'Webhook 允許 LangBot 將個人訊息和群組訊息事件推送到外部系統', actions: '操作', - apiKeyCreatedMessage: '請複製此 API 金鑰。', + apiKeyCreatedMessage: '請複製此 API 金鑰,若按鈕無效,請手動複製。', none: '無', }, notFound: {