diff --git a/public/locales/en-US/dashboard.json b/public/locales/en-US/dashboard.json index f6c5754..080691a 100644 --- a/public/locales/en-US/dashboard.json +++ b/public/locales/en-US/dashboard.json @@ -1315,6 +1315,8 @@ "deleteXPayments": "Delete {{num}} payments" }, "vas": { + "disableSubAddressEmail": "Disable sub-address email", + "disableSubAddressEmailDes": "After enabled, email addresses containing <0>+ cannot be used for sign-up.", "confirmDelete": "Are you sure you want to delete these orders?", "vas": "VAS", "reports": "Reports", diff --git a/public/locales/ja-JP/dashboard.json b/public/locales/ja-JP/dashboard.json index 3da2614..6ecf5b1 100644 --- a/public/locales/ja-JP/dashboard.json +++ b/public/locales/ja-JP/dashboard.json @@ -1302,6 +1302,8 @@ "deleteXPayments": "{{num}}件の注文を削除" }, "vas": { + "disableSubAddressEmail": "サブアドレスメールの無効化", + "disableSubAddressEmailDes": "有効化後、<0>+を含むメールアドレスは登録不可になります。", "confirmDelete": "これらの注文を削除しますか?", "vas": "付加価値サービス", "reports": "報告", diff --git a/public/locales/zh-CN/dashboard.json b/public/locales/zh-CN/dashboard.json index ee90d1f..e3d5db7 100644 --- a/public/locales/zh-CN/dashboard.json +++ b/public/locales/zh-CN/dashboard.json @@ -1302,6 +1302,8 @@ "deleteXPayments": "删除 {{num}} 个订单" }, "vas": { + "disableSubAddressEmail": "禁用子地址邮箱", + "disableSubAddressEmailDes": "开启后,包含加号 <0>+ 的邮箱地址无法注册账户。", "confirmDelete": "确认要删除这些订单?", "vas": "增值服务", "reports": "举报", diff --git a/public/locales/zh-TW/dashboard.json b/public/locales/zh-TW/dashboard.json index ef4c01a..2d39f4e 100644 --- a/public/locales/zh-TW/dashboard.json +++ b/public/locales/zh-TW/dashboard.json @@ -1299,6 +1299,8 @@ "deleteXPayments": "刪除 {{num}} 個訂單" }, "vas": { + "disableSubAddressEmail": "禁用子地址郵箱", + "disableSubAddressEmailDes": "開啟後,包含加號 <0>+ 的郵箱地址無法註冊賬戶。", "confirmDelete": "確認要刪除這些訂單?", "vas": "增值服務", "reports": "舉報", diff --git a/src/component/Admin/Settings/UserSession/UserSession.tsx b/src/component/Admin/Settings/UserSession/UserSession.tsx index e43e9ba..c8aad6e 100644 --- a/src/component/Admin/Settings/UserSession/UserSession.tsx +++ b/src/component/Admin/Settings/UserSession/UserSession.tsx @@ -7,6 +7,7 @@ import SizeInput from "../../../Common/SizeInput.tsx"; import { DenseFilledTextField, DenseSelect } from "../../../Common/StyledComponents.tsx"; import { SquareMenuItem } from "../../../FileManager/ContextMenu/ContextMenu.tsx"; import SettingForm, { ProChip } from "../../../Pages/Setting/SettingForm.tsx"; +import { Code } from "../../Common/Code.tsx"; import GroupSelectionInput from "../../Common/GroupSelectionInput.tsx"; import SharesInput from "../../Common/SharesInput.tsx"; import { NoMarginHelperText, SettingSection, SettingSectionContent } from "../Settings.tsx"; @@ -110,7 +111,7 @@ const UserSession = () => { - + { {t("vas.filterEmailProviderDes")} + + + } + label={ + <> + {t("vas.disableSubAddressEmail")} + + + } + /> + + ]} /> + + +