🐞 fix:

修复翻译
This commit is contained in:
john 2024-06-03 18:42:17 +08:00
parent cc0f5e2bf5
commit d4a96614b3
3 changed files with 25 additions and 23 deletions

View File

@ -182,7 +182,7 @@ function PhoneForm() {
{ {
validator: (_, v) => { validator: (_, v) => {
if (v != "" && !/^\d+$/.test(v)) { if (v != "" && !/^\d+$/.test(v)) {
return Promise.reject(new Error("无效手机号")); return Promise.reject(new Error(t("Invalid phone number")));
} }
return Promise.resolve(); return Promise.resolve();
}, },

View File

@ -19,5 +19,6 @@
"Official Website": "官方網站", "Official Website": "官方網站",
"Download": "下載", "Download": "下載",
"send successfully": "發送成功", "send successfully": "發送成功",
"Send failure": "發送失敗" "Send failure": "發送失敗",
"Invalid phone number": "無效手機號碼"
} }

View File

@ -19,5 +19,6 @@
"Official Website": "Official Website", "Official Website": "Official Website",
"Download": "Download", "Download": "Download",
"send successfully": "send successfully", "send successfully": "send successfully",
"Send failure":"Send failure" "Send failure": "Send failure",
"Invalid phone number": "Invalid phone number"
} }