mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-09-05 15:38:34 +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:
co-authored by
Claude Opus 4.5
parent
fa72d7187f
commit
b933aef7d9
@@ -50,7 +50,7 @@ const { t } = useI18n({
|
|||||||
sqlName: "Name",
|
sqlName: "Name",
|
||||||
sqlStatement: "SQL Statement (DELETE only)",
|
sqlStatement: "SQL Statement (DELETE only)",
|
||||||
sqlNamePlaceholder: "e.g. Clean old logs",
|
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",
|
deleteCustomSql: "Delete",
|
||||||
},
|
},
|
||||||
zh: {
|
zh: {
|
||||||
@@ -75,7 +75,7 @@ const { t } = useI18n({
|
|||||||
sqlName: "名称",
|
sqlName: "名称",
|
||||||
sqlStatement: "SQL 语句 (仅限 DELETE)",
|
sqlStatement: "SQL 语句 (仅限 DELETE)",
|
||||||
sqlNamePlaceholder: "例如: 清理旧日志",
|
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: "删除",
|
deleteCustomSql: "删除",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user