Skip to content

Commit

Permalink
revise translations
Browse files Browse the repository at this point in the history
  • Loading branch information
jokester committed Nov 3, 2024
1 parent cb22753 commit b32127d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/models/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class User(Document):
email = StringField(required=True, unique=True, db_field="e") # 邮箱
name = StringField(required=True, unique=True, db_field="n") # 姓名
signature = StringField(default="", db_field="s") # 个性签名
locale = StringField(default=Locale.AUTO, db_field="l") # 语言
locale = StringField(default=Locale.AUTO, db_field="l") # 语言 # NOT USED
timezone = StringField(default="", db_field="t") # 时区
_avatar = StringField(default="", db_field="a") # 头像
banned = BooleanField(defult=False, db_field="b") # 是否被封禁
Expand Down
10 changes: 5 additions & 5 deletions app/translations/en/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ msgstr "Cannot execute on the file."

#: app/exceptions/auth.py:13
msgid "验证异常"
msgstr "Verification error."
msgstr "Authorization error."

#: app/exceptions/auth.py:23 app/validators/custom_validate.py:103
msgid "此邮箱未注册"
Expand Down Expand Up @@ -972,19 +972,19 @@ msgstr "The term does not exist."

#: app/exceptions/v_code.py:13
msgid "验证码异常"
msgstr "Verification code error."
msgstr "Captcha error."

#: app/exceptions/v_code.py:23
msgid "验证码过期,请重新输入"
msgstr "The verification code has expired, please re-enter it."
msgstr "The captcha has expired, please re-enter it."

#: app/exceptions/v_code.py:33
msgid "验证码错误"
msgstr "FFFFFFF"
msgstr "Incorrect captcha"

#: app/exceptions/v_code.py:43
msgid "验证码失效,请重新获取"
msgstr "The verification code has expired, please obtain a new one."
msgstr "The captcha has expired, please obtain a new one."

#: app/exceptions/v_code.py:57
msgid "请等候{seconds}秒后再试"
Expand Down

0 comments on commit b32127d

Please sign in to comment.