Skip to content

Commit

Permalink
feat: add support for zh-CN locale in passcode mails
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyii authored Nov 27, 2023
1 parent 9a4d5cc commit f116cb4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions backend/mail/locales/passcode.zh-CN.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
login_text:
description: "文本电子邮件的登录内容。"
other: "在您的登录屏幕上输入以下验证码:"
ttl_text:
description: "验证码的有效时长。"
other: "验证码在 {{ .TTL }} 分钟内有效。"
email_subject_login:
description: ""
other: "使用验证码 {{ .Code }} 登录到 {{ .ServiceName }}"

0 comments on commit f116cb4

Please sign in to comment.