From ea006f62023c8e3dafa52a35c1c1f38e809a5e46 Mon Sep 17 00:00:00 2001 From: abingyyds Date: Fri, 17 Apr 2026 13:51:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20rename=20dist-site=20log=20label=20from?= =?UTF-8?q?=20=E5=88=86=E7=AB=99=E5=AE=9A=E4=BB=B7=20to=20=E5=AE=9A?= =?UTF-8?q?=E4=BB=B7=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Prevents end users from seeing the word "分站" in log details. Co-Authored-By: Claude Sonnet 4.6 --- src/i18n/locales/en.json | 4 ++-- src/i18n/locales/zh.json | 4 ++-- src/pages/Logs.jsx | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 76bd876..1c46e5d 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -239,7 +239,7 @@ "供应商": "Provider", "供应商介绍": "Provider introduction", "供应商定价": "Provider pricing", - "分站定价": "Sub-site pricing", + "定价方式": "Pricing", "按次计费": "Per call", "按量计费": "Pay as you go", @@ -413,7 +413,7 @@ "首字时间": "First Token Time", "计费方式": "Billing Method", "订阅抵扣": "Subscription Deduction", - "分站定价": "Sub-site Pricing", + "定价方式": "Pricing", "价格": "Price", "输入价格": "Input Price", "输出价格": "Output Price", diff --git a/src/i18n/locales/zh.json b/src/i18n/locales/zh.json index 8ea6686..fefa576 100644 --- a/src/i18n/locales/zh.json +++ b/src/i18n/locales/zh.json @@ -239,7 +239,7 @@ "供应商": "供应商", "供应商介绍": "供应商介绍", "供应商定价": "供应商定价", - "分站定价": "分站定价", + "定价方式": "定价方式", "按次计费": "按次计费", "按量计费": "按量计费", @@ -413,7 +413,7 @@ "首字时间": "首字时间", "计费方式": "计费方式", "订阅抵扣": "订阅抵扣", - "分站定价": "分站定价", + "定价方式": "定价方式", "价格": "价格", "输入价格": "输入价格", "输出价格": "输出价格", diff --git a/src/pages/Logs.jsx b/src/pages/Logs.jsx index 4cf4d3c..d18954b 100644 --- a/src/pages/Logs.jsx +++ b/src/pages/Logs.jsx @@ -37,12 +37,12 @@ function getSitePricingDetails(other, symbol, rate, t) { if (other.site_billing_mode === 'per_call') { return [ - { key: t('分站定价'), value: t('按次计费') }, + { key: t('定价方式'), value: t('按次计费') }, { key: t('价格'), value: formatAmount(symbol, rate, other.site_fixed_price) }, ]; } - const details = [{ key: t('分站定价'), value: t('按量计费') }]; + const details = [{ key: t('定价方式'), value: t('按量计费') }]; if (Number(other.site_input_price || 0) > 0) { details.push({ key: t('输入价格'),