From 57e703e0cc7ebac6c7c12a9d0256f4d5672674a3 Mon Sep 17 00:00:00 2001
From: bluecloud <96812901+pitb2022@users.noreply.github.com>
Date: Tue, 5 Mar 2024 16:57:03 +0800
Subject: [PATCH] feat(ArticleDetail): revise
---
lang/default.json | 10 +++--
lang/en.json | 10 +++--
lang/zh-Hans.json | 10 +++--
lang/zh-Hant.json | 10 +++--
.../Form/ComposedAmountInput/index.tsx | 40 ++++++++++--------
.../ComposedAmountInput/styles.module.css | 42 +++++++++++++++----
.../SetAmount/SetAmountBalance/index.tsx | 22 ++++++++--
.../PaymentForm/PayTo/SetAmount/index.tsx | 8 ++--
8 files changed, 107 insertions(+), 45 deletions(-)
diff --git a/lang/default.json b/lang/default.json
index 754c9f0b3a..51f90899b8 100644
--- a/lang/default.json
+++ b/lang/default.json
@@ -1270,6 +1270,10 @@
"defaultMessage": "Subscribers",
"description": "src/views/Circle/Analytics/SubscriberAnalytics/index.tsx"
},
+ "TX5UzL": {
+ "defaultMessage": "Payment will be processed by Stripe, allowing your support to be unrestricted by region.",
+ "description": "src/components/Forms/PaymentForm/PayTo/SetAmount/index.tsx"
+ },
"TjWWxF": {
"defaultMessage": "Broadcast sent",
"description": "src/views/Circle/Broadcast/Broadcast.tsx"
@@ -1690,6 +1694,9 @@
"eY3YIa": {
"defaultMessage": "Copy comment"
},
+ "eZ0m39": {
+ "defaultMessage": "Enter the amount"
+ },
"enMIYK": {
"defaultMessage": "My Page"
},
@@ -2348,9 +2355,6 @@
"defaultMessage": "Pay",
"description": "src/views/Circle/Analytics/SubscriberAnalytics/index.tsx"
},
- "y1AhBH": {
- "defaultMessage": "Enter a custom amount"
- },
"y4Lyf1": {
"defaultMessage": "This name is already taken.",
"description": "NAME_EXISTS"
diff --git a/lang/en.json b/lang/en.json
index c242be465c..c67a451065 100644
--- a/lang/en.json
+++ b/lang/en.json
@@ -1270,6 +1270,10 @@
"defaultMessage": "Subscribers",
"description": "src/views/Circle/Analytics/SubscriberAnalytics/index.tsx"
},
+ "TX5UzL": {
+ "defaultMessage": "Payment will be processed by Stripe, allowing your support to be unrestricted by region.",
+ "description": "src/components/Forms/PaymentForm/PayTo/SetAmount/index.tsx"
+ },
"TjWWxF": {
"defaultMessage": "Broadcast sent",
"description": "src/views/Circle/Broadcast/Broadcast.tsx"
@@ -1690,6 +1694,9 @@
"eY3YIa": {
"defaultMessage": "Copy comment"
},
+ "eZ0m39": {
+ "defaultMessage": "Enter the amount"
+ },
"enMIYK": {
"defaultMessage": "My Page"
},
@@ -2348,9 +2355,6 @@
"defaultMessage": "Pay",
"description": "src/views/Circle/Analytics/SubscriberAnalytics/index.tsx"
},
- "y1AhBH": {
- "defaultMessage": "Enter a custom amount"
- },
"y4Lyf1": {
"defaultMessage": "This name is already taken.",
"description": "NAME_EXISTS"
diff --git a/lang/zh-Hans.json b/lang/zh-Hans.json
index 49d1a35847..5634c9f725 100644
--- a/lang/zh-Hans.json
+++ b/lang/zh-Hans.json
@@ -1270,6 +1270,10 @@
"defaultMessage": "付费人数",
"description": "src/views/Circle/Analytics/SubscriberAnalytics/index.tsx"
},
+ "TX5UzL": {
+ "defaultMessage": "付款将由 Stripe 处理,让你的支持不受地域限制",
+ "description": "src/components/Forms/PaymentForm/PayTo/SetAmount/index.tsx"
+ },
"TjWWxF": {
"defaultMessage": "广播已送出",
"description": "src/views/Circle/Broadcast/Broadcast.tsx"
@@ -1690,6 +1694,9 @@
"eY3YIa": {
"defaultMessage": "复制评论"
},
+ "eZ0m39": {
+ "defaultMessage": "请输入金额"
+ },
"enMIYK": {
"defaultMessage": "我的"
},
@@ -2348,9 +2355,6 @@
"defaultMessage": "付费",
"description": "src/views/Circle/Analytics/SubscriberAnalytics/index.tsx"
},
- "y1AhBH": {
- "defaultMessage": "输入金额"
- },
"y4Lyf1": {
"defaultMessage": "该名称已被其他用户使用",
"description": "NAME_EXISTS"
diff --git a/lang/zh-Hant.json b/lang/zh-Hant.json
index b3f615250c..916b90bab0 100644
--- a/lang/zh-Hant.json
+++ b/lang/zh-Hant.json
@@ -1270,6 +1270,10 @@
"defaultMessage": "付費人數",
"description": "src/views/Circle/Analytics/SubscriberAnalytics/index.tsx"
},
+ "TX5UzL": {
+ "defaultMessage": "付款將由 Stripe 處理,讓你的支持不受地域限制",
+ "description": "src/components/Forms/PaymentForm/PayTo/SetAmount/index.tsx"
+ },
"TjWWxF": {
"defaultMessage": "廣播已送出",
"description": "src/views/Circle/Broadcast/Broadcast.tsx"
@@ -1690,6 +1694,9 @@
"eY3YIa": {
"defaultMessage": "複製評論"
},
+ "eZ0m39": {
+ "defaultMessage": "請輸入金額"
+ },
"enMIYK": {
"defaultMessage": "我的"
},
@@ -2348,9 +2355,6 @@
"defaultMessage": "付費",
"description": "src/views/Circle/Analytics/SubscriberAnalytics/index.tsx"
},
- "y1AhBH": {
- "defaultMessage": "輸入金額"
- },
"y4Lyf1": {
"defaultMessage": "該名稱已被其他使用者使用",
"description": "NAME_EXISTS"
diff --git a/src/components/Form/ComposedAmountInput/index.tsx b/src/components/Form/ComposedAmountInput/index.tsx
index 3ffb0f48b5..8c27c4d23a 100644
--- a/src/components/Form/ComposedAmountInput/index.tsx
+++ b/src/components/Form/ComposedAmountInput/index.tsx
@@ -101,7 +101,8 @@ const AmountOption: React.FC = ({
return (