This is an automated email from the ASF dual-hosted git repository.

shuai pushed a commit to branch test
in repository https://gitbox.apache.org/repos/asf/answer.git


The following commit(s) were added to refs/heads/test by this push:
     new 7f9af840 fix: Fix username verification prompt
7f9af840 is described below

commit 7f9af840936cc614ec3694fe4d8c94a5eff87293
Author: shuai <lishuail...@sifou.com>
AuthorDate: Mon Sep 8 11:38:52 2025 +0800

    fix: Fix username verification prompt
---
 i18n/en_US.yaml | 5 ++---
 i18n/zh_CN.yaml | 6 +++---
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/i18n/en_US.yaml b/i18n/en_US.yaml
index 2d804918..6803f196 100644
--- a/i18n/en_US.yaml
+++ b/i18n/en_US.yaml
@@ -1235,7 +1235,7 @@ ui:
       msg:
         empty: Name cannot be empty.
         range: Name must be between 2 to 30 characters in length.
-        character: 'Must use the character set "a-z", "A-Z", "0-9", " - . _"'
+        character: 'Must use the character set "a-z", "0-9", " - . _"'
     email:
       label: Email
       msg:
@@ -1732,7 +1732,7 @@ ui:
     admin_name:
       label: Name
       msg: Name cannot be empty.
-      character: 'Must use the character set "a-z", "A-Z", "0-9", " - . _"'
+      character: 'Must use the character set "a-z", "0-9", " - . _"'
       msg_max_length: Name must be between 2 to 30 characters in length.
     admin_password:
       label: Password
@@ -2279,7 +2279,6 @@ ui:
     btn_submit: Save
     not_found_props: "Required property {{ key }} not found."
     select: Select
-
   page_review:
     review: Review
     proposed: proposed
diff --git a/i18n/zh_CN.yaml b/i18n/zh_CN.yaml
index 35162045..629ac11a 100644
--- a/i18n/zh_CN.yaml
+++ b/i18n/zh_CN.yaml
@@ -1214,7 +1214,7 @@ ui:
       msg:
         empty: 名字不能为空
         range: 名称长度必须在 2 至 30 个字符之间。
-        character: '只能由 "a-z"、"A-Z"、"0-9"、" - . _" 组成'
+        character: '只能由 "a-z"、"0-9"、" - . _" 组成'
     email:
       label: 邮箱
       msg:
@@ -1292,7 +1292,7 @@ ui:
         caption: 用户可以通过 "@用户名" 来提及你。
         msg: 用户名不能为空
         msg_range: 显示名称长度必须为 2-30 个字符。
-        character: '只能由 "a-z"、"A-Z"、"0-9"、" - . _" 组成'
+        character: '只能由 "a-z"、"0-9"、" - . _" 组成'
       avatar:
         label: 头像
         gravatar: Gravatar
@@ -1697,7 +1697,7 @@ ui:
     admin_name:
       label: 名字
       msg: 名字不能为空。
-      character: '只能由 "a-z"、"A-Z"、"0-9"、" - . _" 组成'
+      character: '只能由 "a-z"、"0-9"、" - . _" 组成'
       msg_max_length: 名称长度必须在 2 至 30 个字符之间。
     admin_password:
       label: 密码

Reply via email to