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
28 lines
854 B
JSON
28 lines
854 B
JSON
{
|
|
"LOGIN": {
|
|
"TITLE": "Login to Chatwoot",
|
|
"EMAIL": {
|
|
"LABEL": "Email",
|
|
"PLACEHOLDER": "Email eg: someone{'@'}example.com",
|
|
"ERROR": "Please enter a valid email address"
|
|
},
|
|
"PASSWORD": {
|
|
"LABEL": "Password",
|
|
"PLACEHOLDER": "Password"
|
|
},
|
|
"API": {
|
|
"SUCCESS_MESSAGE": "Login Successful",
|
|
"ERROR_MESSAGE": "Could not connect to Woot Server, Please try again later",
|
|
"UNAUTH": "Username / Password Incorrect. Please try again"
|
|
},
|
|
"OAUTH": {
|
|
"GOOGLE_LOGIN": "Login with Google",
|
|
"BUSINESS_ACCOUNTS_ONLY": "Please use your company email address to login",
|
|
"NO_ACCOUNT_FOUND": "We couldn't find an account for your email address."
|
|
},
|
|
"FORGOT_PASSWORD": "Forgot your password?",
|
|
"CREATE_NEW_ACCOUNT": "Create new account",
|
|
"SUBMIT": "Login"
|
|
}
|
|
}
|