Skip to content

Fix chat translation escape sequences and message cut-off#249

Merged
RedShyGuy merged 1 commit intoRedShyGuy:release/3.3.0from
Pienco:master
Mar 24, 2026
Merged

Fix chat translation escape sequences and message cut-off#249
RedShyGuy merged 1 commit intoRedShyGuy:release/3.3.0from
Pienco:master

Conversation

@Pienco
Copy link
Copy Markdown
Contributor

@Pienco Pienco commented Mar 14, 2026

This fixes escape sequences like "\n" and "\u003d" contained in the response string from google translate by unescaping the string. Also, when google translate detects multiple sentences in the request, the sentences will be split up into multiple JSON array elements in the response. These are now handled properly. Previously, only the first element was handled, and thus the message sometimes got cut off.

@RedShyGuy RedShyGuy changed the base branch from master to release/3.3.0 March 24, 2026 05:20
@RedShyGuy RedShyGuy merged commit 9e0fe56 into RedShyGuy:release/3.3.0 Mar 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants