From 45c8871781907b842b6b32966bfaf3c6eefffbd6 Mon Sep 17 00:00:00 2001 From: zyyfit Date: Wed, 23 Sep 2026 17:43:15 +0800 Subject: [PATCH] fix(i18n): align zh-CN wording with the other locales MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Use 一把 instead of 一柄 for the API key quantifier, matching the other occurrences in this file (activeKeyCount, keyCount, docsDescription, saveKeyTitle) which all use 把. - Restore 完整 in the one-time key notice, matching the English source (the full key is shown only once) and the zh-TW wording. - Use 请求次数 in the usage description, matching the existing requests label (请求数) elsewhere in this file. --- frontend/src/i18n.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/i18n.tsx b/frontend/src/i18n.tsx index 720693f..ef6c865 100644 --- a/frontend/src/i18n.tsx +++ b/frontend/src/i18n.tsx @@ -25,7 +25,7 @@ const zhCN = { activeKeyCount: "{count} 把有效 API Key", createFirstKey: "创建第一个 API Key", homeWithKeys: "查看密钥状态、最近使用时间,或为新的调用方创建密钥。", - homeWithoutKeys: "通过密钥调用 POST /v1/systemone。密钥只会显示一次,请在创建后妥善保存。", + homeWithoutKeys: "通过密钥调用 POST /v1/systemone。完整密钥只会显示一次,请在创建后妥善保存。", manageKeys: "管理 API Keys", tryPlayground: "试用 Playground", tryPlaygroundDescription: "直接提交一条推理请求", @@ -40,7 +40,7 @@ const zhCN = { keyList: "密钥的列表", keyCount: "{count} 把密钥", noKey: "还没有 API Key", - noKeyDescription: "创建一柄密钥后,即可从外部程序调用推理接口。", + noKeyDescription: "创建一把密钥后,即可从外部程序调用推理接口。", name: "名称", key: "密钥", createdAt: "创建时间", @@ -56,7 +56,7 @@ const zhCN = { keyNameExample: "例如:生产环境", cancel: "取消", creating: "创建中…", - usageDescription: "推理请求的实际 token 与调用次数,按 UTC 日期统计。", + usageDescription: "推理请求的实际 token 与请求次数,按 UTC 日期统计。", tokens: "Tokens", requests: "请求数", noUsage: "暂无用量数据。调用接口后,这里会显示真实统计。",