mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-26 14:25:50 +03:00
[PR #800] [MERGED] fix: remove invalid escape sequences in i18n placeholders #772
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudflare_temp_email#772
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/800
Author: @dreamhunter2333
Created: 12/30/2025
Status: ✅ Merged
Merged: 12/30/2025
Merged by: @dreamhunter2333
Base:
main← Head:feature/email📝 Commits (1)
d9ceab4fix: remove invalid escape sequences in i18n placeholders📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
frontend/src/views/admin/AccountSettings.vue(+2 -2)📄 Description
User description
Summary
source_patterns_placeholderin both English and Chinese translationsProblem
When opening the email forwarding configuration dialog and clicking "Add" button, a
SyntaxError: 10was thrown by vue-i18n's message compiler. This error indicates an invalid escape sequence in the i18n message string.The problematic strings were:
vue-i18n's message compiler tried to parse
\\.as an escape sequence, but it's not a valid vue-i18n escape sequence, causing the syntax error.Solution
Simplified the placeholder text by removing the backslashes and regex special characters:
This also includes the previous fix for
emailForwardingListinitialization.Test Plan
🤖 Generated with Claude Code
PR Type
Bug fix
Description
Fixed invalid escape sequences in i18n placeholders.
Updated English and Chinese placeholder strings for clarity.
Resolved vue-i18n SyntaxError caused by invalid sequences.
Simplified placeholder text to avoid regex issues.
Changes walkthrough 📝
AccountSettings.vue
Fixed invalid escape sequences in i18n placeholdersfrontend/src/views/admin/AccountSettings.vue
source_patterns_placeholderstrings.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.