Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(i18n): update extractMessages function for better escaping of characters #1079

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

gauthier-th
Copy link
Collaborator

@gauthier-th gauthier-th commented Nov 7, 2024

Description

This PR fix a bug when a translation message has two single quote like {"message": "hello 'world'"}, the extractMessages function was escaping the message correctly.

To-Dos

  • Successful build pnpm build
  • Translation keys pnpm i18n:extract
  • Database migration (if required)

…racters

This PR fix a bug when a translation message has two single quote like "message": "hello 'world'",
the extractMessages function was escaping the message correcly.
Copy link
Owner

@fallenbagel fallenbagel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fallenbagel fallenbagel merged commit a2d2fd3 into develop Nov 12, 2024
7 checks passed
@fallenbagel fallenbagel deleted the fix-i18n-extract-message branch November 12, 2024 18:58
@gauthier-th gauthier-th mentioned this pull request Nov 12, 2024
3 tasks
@fallenbagel
Copy link
Owner

🎉 This PR is included in version 2.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

thibodelanghe pushed a commit to thibodelanghe/jellyseerr that referenced this pull request Dec 18, 2024
…racters (fallenbagel#1079)

This PR fix a bug when a translation message has two single quote like "message": "hello 'world'",
the extractMessages function was escaping the message correcly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants