mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-05-06 20:32:55 +08:00
fix: escape @ symbol in vue-i18n to fix SyntaxError (#783)
fix: escape @ symbol in vue-i18n translation strings
The @ symbol is interpreted as linked message syntax in vue-i18n,
causing SyntaxError when parsing. Use {'@'} to escape it.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -50,7 +50,7 @@ const { t } = useI18n({
|
||||
sqlName: "Name",
|
||||
sqlStatement: "SQL Statement (DELETE only)",
|
||||
sqlNamePlaceholder: "e.g. Clean old logs",
|
||||
sqlPlaceholder: "e.g. DELETE FROM raw_mails WHERE source GLOB '*@example.com' AND created_at < datetime('now', '-3 day')",
|
||||
sqlPlaceholder: "e.g. DELETE FROM raw_mails WHERE source GLOB '*{'@'}example.com' AND created_at < datetime('now', '-3 day')",
|
||||
deleteCustomSql: "Delete",
|
||||
},
|
||||
zh: {
|
||||
@@ -75,7 +75,7 @@ const { t } = useI18n({
|
||||
sqlName: "名称",
|
||||
sqlStatement: "SQL 语句 (仅限 DELETE)",
|
||||
sqlNamePlaceholder: "例如: 清理旧日志",
|
||||
sqlPlaceholder: "例如: DELETE FROM raw_mails WHERE source GLOB '*@example.com' AND created_at < datetime('now', '-3 day')",
|
||||
sqlPlaceholder: "例如: DELETE FROM raw_mails WHERE source GLOB '*{'@'}example.com' AND created_at < datetime('now', '-3 day')",
|
||||
deleteCustomSql: "删除",
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user