From 1cb522e621857402ef1360a60f7a079a06b77401 Mon Sep 17 00:00:00 2001 From: wizardchen Date: Mon, 18 May 2026 22:55:01 +0800 Subject: [PATCH] fix(i18n): escape '@' in invite email placeholder vue-i18n treats a bare '@' as the start of a linked-message reference, so the placeholder "invitee@example.com" failed to compile with "Invalid linked format". The whole email t-form-item then failed to render, leaving the invite-member popup with only the role row. Escape the literal '@' as {'@'} across all four locales so vue-i18n emits the original text and the email input renders again. --- frontend/src/i18n/locales/en-US.ts | 2 +- frontend/src/i18n/locales/ko-KR.ts | 2 +- frontend/src/i18n/locales/ru-RU.ts | 2 +- frontend/src/i18n/locales/zh-CN.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/i18n/locales/en-US.ts b/frontend/src/i18n/locales/en-US.ts index e9e050d2..260dcfdc 100755 --- a/frontend/src/i18n/locales/en-US.ts +++ b/frontend/src/i18n/locales/en-US.ts @@ -4469,7 +4469,7 @@ export default { button: 'Add Member', dialogTitle: 'Invite Member', emailLabel: 'Email', - emailPlaceholder: 'invitee@example.com', + emailPlaceholder: "invitee{'@'}example.com", roleLabel: 'Role', submit: 'Invite', success: 'Member added', diff --git a/frontend/src/i18n/locales/ko-KR.ts b/frontend/src/i18n/locales/ko-KR.ts index 7a363a39..89cc3559 100755 --- a/frontend/src/i18n/locales/ko-KR.ts +++ b/frontend/src/i18n/locales/ko-KR.ts @@ -4529,7 +4529,7 @@ export default { button: "멤버 초대", dialogTitle: "멤버 초대", emailLabel: "이메일", - emailPlaceholder: "invitee@example.com", + emailPlaceholder: "invitee{'@'}example.com", roleLabel: "역할", submit: "초대", success: "멤버를 추가했습니다", diff --git a/frontend/src/i18n/locales/ru-RU.ts b/frontend/src/i18n/locales/ru-RU.ts index eaa81d61..b1405bd6 100755 --- a/frontend/src/i18n/locales/ru-RU.ts +++ b/frontend/src/i18n/locales/ru-RU.ts @@ -4429,7 +4429,7 @@ export default { button: 'Пригласить', dialogTitle: 'Пригласить участника', emailLabel: 'Email', - emailPlaceholder: 'invitee@example.com', + emailPlaceholder: "invitee{'@'}example.com", roleLabel: 'Роль', submit: 'Пригласить', success: 'Участник добавлен', diff --git a/frontend/src/i18n/locales/zh-CN.ts b/frontend/src/i18n/locales/zh-CN.ts index 38c0bf94..28f21836 100755 --- a/frontend/src/i18n/locales/zh-CN.ts +++ b/frontend/src/i18n/locales/zh-CN.ts @@ -4461,7 +4461,7 @@ export default { button: "邀请成员", dialogTitle: "邀请成员", emailLabel: "邮箱", - emailPlaceholder: "invitee@example.com", + emailPlaceholder: "invitee{'@'}example.com", roleLabel: "角色", submit: "邀请", success: "已添加成员",