From fd557064d3d70e2a5d46d57722480a0874f774ae Mon Sep 17 00:00:00 2001 From: CaIon Date: Thu, 18 Jun 2026 16:53:57 +0800 Subject: [PATCH] feat(subscription): add descriptions for plan purchase amounts in multiple languages --- .../subscriptions/components/subscriptions-mutate-drawer.tsx | 5 +++++ web/default/src/i18n/locales/en.json | 2 ++ web/default/src/i18n/locales/fr.json | 2 ++ web/default/src/i18n/locales/ja.json | 2 ++ web/default/src/i18n/locales/ru.json | 2 ++ web/default/src/i18n/locales/vi.json | 2 ++ web/default/src/i18n/locales/zh.json | 2 ++ web/default/src/i18n/static-keys.ts | 1 + 8 files changed, 18 insertions(+) diff --git a/web/default/src/features/subscriptions/components/subscriptions-mutate-drawer.tsx b/web/default/src/features/subscriptions/components/subscriptions-mutate-drawer.tsx index 85548f09..8425fb85 100644 --- a/web/default/src/features/subscriptions/components/subscriptions-mutate-drawer.tsx +++ b/web/default/src/features/subscriptions/components/subscriptions-mutate-drawer.tsx @@ -330,6 +330,11 @@ export function SubscriptionsMutateDrawer({ } /> + + {t( + 'Amount the user pays to purchase this plan; the actual currency depends on the payment gateway.' + )} + )} diff --git a/web/default/src/i18n/locales/en.json b/web/default/src/i18n/locales/en.json index a6cc429f..d50234e1 100644 --- a/web/default/src/i18n/locales/en.json +++ b/web/default/src/i18n/locales/en.json @@ -139,6 +139,8 @@ "active users": "active users", "Actual Amount": "Actual Amount", "Plan Price": "Plan Price", + "Amount the user pays to purchase this plan; the actual currency depends on the payment gateway.": "Amount the user pays to purchase this plan; the actual currency depends on the payment gateway.", + "Amount the user pays to purchase this plan (USD).": "Amount the user pays to purchase this plan (USD).", "Plan Quota": "Plan Quota", "Total quota included in the plan, usable per billing period. 0 means unlimited.": "Total quota included in the plan, usable per billing period. 0 means unlimited.", "Actual Model": "Actual Model", diff --git a/web/default/src/i18n/locales/fr.json b/web/default/src/i18n/locales/fr.json index 9decf342..9397ab3e 100644 --- a/web/default/src/i18n/locales/fr.json +++ b/web/default/src/i18n/locales/fr.json @@ -139,6 +139,8 @@ "active users": "utilisateurs actifs", "Actual Amount": "Montant réel", "Plan Price": "Prix du forfait", + "Amount the user pays to purchase this plan; the actual currency depends on the payment gateway.": "Montant que l'utilisateur paie pour acheter ce forfait ; la devise réelle dépend de la passerelle de paiement.", + "Amount the user pays to purchase this plan (USD).": "Montant que l'utilisateur paie pour acheter ce forfait (USD).", "Plan Quota": "Quota du forfait", "Total quota included in the plan, usable per billing period. 0 means unlimited.": "Quota total inclus dans le forfait, utilisable par période de facturation. 0 signifie illimité.", "Actual Model": "Modèle réel", diff --git a/web/default/src/i18n/locales/ja.json b/web/default/src/i18n/locales/ja.json index fdf17a21..6008bba1 100644 --- a/web/default/src/i18n/locales/ja.json +++ b/web/default/src/i18n/locales/ja.json @@ -139,6 +139,8 @@ "active users": "アクティブユーザー", "Actual Amount": "実際の金額", "Plan Price": "プラン価格", + "Amount the user pays to purchase this plan; the actual currency depends on the payment gateway.": "ユーザーがこのプランを購入する際に支払う金額。実際の通貨は決済ゲートウェイによって異なります。", + "Amount the user pays to purchase this plan (USD).": "ユーザーがこのプランを購入する際に支払う金額(USD)。", "Plan Quota": "プランのクォータ", "Total quota included in the plan, usable per billing period. 0 means unlimited.": "プランに含まれる合計クォータ。請求期間ごとに使用可能。0 は無制限を意味します。", "Actual Model": "実際のモデル", diff --git a/web/default/src/i18n/locales/ru.json b/web/default/src/i18n/locales/ru.json index 53445417..a88298ef 100644 --- a/web/default/src/i18n/locales/ru.json +++ b/web/default/src/i18n/locales/ru.json @@ -139,6 +139,8 @@ "active users": "активных пользователей", "Actual Amount": "Фактическая сумма", "Plan Price": "Цена тарифа", + "Amount the user pays to purchase this plan; the actual currency depends on the payment gateway.": "Сумма, которую пользователь платит за покупку тарифа; фактическая валюта зависит от платёжного шлюза.", + "Amount the user pays to purchase this plan (USD).": "Сумма, которую пользователь платит за покупку этого тарифа (USD).", "Plan Quota": "Квота тарифа", "Total quota included in the plan, usable per billing period. 0 means unlimited.": "Общая квота, включённая в тариф, доступна за каждый расчётный период. 0 означает безлимит.", "Actual Model": "Фактическая модель", diff --git a/web/default/src/i18n/locales/vi.json b/web/default/src/i18n/locales/vi.json index 4569ffa7..4d9d7779 100644 --- a/web/default/src/i18n/locales/vi.json +++ b/web/default/src/i18n/locales/vi.json @@ -139,6 +139,8 @@ "active users": "Người dùng tích cực", "Actual Amount": "Số tiền thực tế", "Plan Price": "Giá gói", + "Amount the user pays to purchase this plan; the actual currency depends on the payment gateway.": "Số tiền người dùng trả để mua gói này; loại tiền tệ thực tế tùy thuộc vào cổng thanh toán.", + "Amount the user pays to purchase this plan (USD).": "Số tiền người dùng trả để mua gói này (USD).", "Plan Quota": "Hạn ngạch gói", "Total quota included in the plan, usable per billing period. 0 means unlimited.": "Tổng hạn ngạch bao gồm trong gói, dùng được mỗi kỳ thanh toán. 0 nghĩa là không giới hạn.", "Actual Model": "Mô hình thực tế", diff --git a/web/default/src/i18n/locales/zh.json b/web/default/src/i18n/locales/zh.json index 7c9b5923..6c525ab1 100644 --- a/web/default/src/i18n/locales/zh.json +++ b/web/default/src/i18n/locales/zh.json @@ -139,6 +139,8 @@ "active users": "活跃用户", "Actual Amount": "实付金额", "Plan Price": "套餐价格", + "Amount the user pays to purchase this plan; the actual currency depends on the payment gateway.": "用户购买该套餐需支付的金额,具体币种由支付渠道决定", + "Amount the user pays to purchase this plan (USD).": "用户购买该套餐需支付的金额(美元)。", "Plan Quota": "套餐额度", "Total quota included in the plan, usable per billing period. 0 means unlimited.": "套餐包含的总额度,每个计费周期可用;0 表示不限量", "Actual Model": "实际模型", diff --git a/web/default/src/i18n/static-keys.ts b/web/default/src/i18n/static-keys.ts index a9f4b188..96cefac7 100644 --- a/web/default/src/i18n/static-keys.ts +++ b/web/default/src/i18n/static-keys.ts @@ -366,6 +366,7 @@ export const STATIC_I18N_KEYS = [ 'e.g. Suitable for light usage', 'Actual Amount', 'Plan Price', + 'Amount the user pays to purchase this plan; the actual currency depends on the payment gateway.', 'Plan Quota', 'Total quota included in the plan, usable per billing period. 0 means unlimited.', 'Total Quota',