[PR #783] [MERGED] fix: escape @ symbol in vue-i18n to fix SyntaxError #761

Closed
opened 2026-02-26 21:32:51 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/783
Author: @dreamhunter2333
Created: 12/11/2025
Status: Merged
Merged: 12/11/2025
Merged by: @dreamhunter2333

Base: mainHead: feature/email


📝 Commits (1)

  • 8766ff8 fix: escape @ symbol in vue-i18n translation strings

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 frontend/src/views/admin/Maintenance.vue (+2 -2)

📄 Description

User description

Summary

  • Fix SyntaxError when clicking "Add Custom SQL" button in Maintenance page
  • The @ symbol in i18n translation strings was being interpreted as vue-i18n linked message syntax
  • Use {'@'} to escape the @ character in placeholder text

Test plan

  • Navigate to Admin > Maintenance page
  • Click "Add Custom SQL" button
  • Verify no SyntaxError occurs

🤖 Generated with Claude Code


PR Type

Bug fix


Description

  • Fixed SyntaxError caused by @ symbol in vue-i18n.

  • Escaped @ symbol using {'@'} in placeholder text.

  • Updated placeholder text in both English and Chinese translations.


Changes walkthrough 📝

Relevant files
Bug fix
Maintenance.vue
Escape `@` symbol in vue-i18n placeholders                             

frontend/src/views/admin/Maintenance.vue

  • Escaped @ symbol in English placeholder text.
  • Escaped @ symbol in Chinese placeholder text.
  • Updated sqlPlaceholder key in both translations.
  • +2/-2     

    Need help?
  • Type /help how to ... in the comments thread for any questions about PR-Agent usage.
  • Check out the documentation for more information.

  • 🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

    ## 📋 Pull Request Information **Original PR:** https://github.com/dreamhunter2333/cloudflare_temp_email/pull/783 **Author:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Created:** 12/11/2025 **Status:** ✅ Merged **Merged:** 12/11/2025 **Merged by:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Base:** `main` ← **Head:** `feature/email` --- ### 📝 Commits (1) - [`8766ff8`](https://github.com/dreamhunter2333/cloudflare_temp_email/commit/8766ff823ff486a0c94d6fbf1bbdaa08197369c8) fix: escape @ symbol in vue-i18n translation strings ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/views/admin/Maintenance.vue` (+2 -2) </details> ### 📄 Description ### **User description** ## Summary - Fix SyntaxError when clicking "Add Custom SQL" button in Maintenance page - The `@` symbol in i18n translation strings was being interpreted as vue-i18n linked message syntax - Use `{'@'}` to escape the `@` character in placeholder text ## Test plan - [ ] Navigate to Admin > Maintenance page - [ ] Click "Add Custom SQL" button - [ ] Verify no SyntaxError occurs 🤖 Generated with [Claude Code](https://claude.com/claude-code) ___ ### **PR Type** Bug fix ___ ### **Description** - Fixed SyntaxError caused by `@` symbol in vue-i18n. - Escaped `@` symbol using `{'@'}` in placeholder text. - Updated placeholder text in both English and Chinese translations. ___ ### **Changes walkthrough** 📝 <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Bug fix</strong></td><td><table> <tr> <td> <details> <summary><strong>Maintenance.vue</strong><dd><code>Escape `@` symbol in vue-i18n placeholders</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> frontend/src/views/admin/Maintenance.vue <li>Escaped <code>@</code> symbol in English placeholder text.<br> <li> Escaped <code>@</code> symbol in Chinese placeholder text.<br> <li> Updated <code>sqlPlaceholder</code> key in both translations. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/783/files#diff-68808e9c7bcf8b34a2d45265cca130c547b77e75a97350ea7d16682e69922ae4">+2/-2</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></td></tr></tr></tbody></table> ___ > <details> <summary> Need help?</summary><li>Type <code>/help how to ...</code> in the comments thread for any questions about PR-Agent usage.</li><li>Check out the <a href="https://qodo-merge-docs.qodo.ai/usage-guide/">documentation</a> for more information.</li></details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
    kerem 2026-02-26 21:32:51 +03:00
    Sign in to join this conversation.
    No milestone
    No project
    No assignees
    1 participant
    Notifications
    Due date
    The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

    No due date set.

    Dependencies

    No dependencies set.

    Reference
    starred/cloudflare_temp_email#761
    No description provided.