iachat/app/javascript/dashboard/i18n/locale/zh/login.json
Shivam Mishra c8657c55a8 fix: parsing of @ in i18n values (#10334)
Vue i18n has a new [linked message
syntax.](https://vue-i18n.intlify.dev/guide/essentials/syntax.html#linked-messages)
When it encounters `@` it assumes that we're trying to use a linked
message. And tries to parse it as such, in any case, it breaks since the
syntax is not valid and the params are not present. So it causes an
error. This works on dev but on production the error is bubbled up to
the top and rendering breaks.

A lot of folks use Chatwoot with default locale set in the env, this
surfaced the issue for the languages for which the syntax was not
updated

Fixes: https://github.com/chatwoot/chatwoot/issues/10313
2024-10-22 16:02:10 +05:30

22 lines
545 B
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"LOGIN": {
"TITLE": "登录到Chatwoot",
"EMAIL": {
"LABEL": "Email",
"PLACEHOLDER": "电子邮址 例如somone{'@'}example.com"
},
"PASSWORD": {
"LABEL": "密码",
"PLACEHOLDER": "密码"
},
"API": {
"SUCCESS_MESSAGE": "登录成功",
"ERROR_MESSAGE": "无法连接服务器,请稍后再试",
"UNAUTH": "用户名/密码不正确。请重试"
},
"FORGOT_PASSWORD": "忘记密码了?",
"CREATE_NEW_ACCOUNT": "创建新账户",
"SUBMIT": "登录"
}
}