Translating formatted messages #3

Closed
opened 2023-11-20 01:20:08 +01:00 by Jamzxx · 1 comment

Hello,
I installed googlechat and it seems to be messing with the formatting of random messages on the server I play on. It's removing all the spaces and when I hover my mouse over it has a "original" icon as if it had to translate what was already written in english.

Hello, I installed googlechat and it seems to be messing with the formatting of random messages on the server I play on. It's removing all the spaces and when I hover my mouse over it has a "original" icon as if it had to translate what was already written in english.
Owner

How would the mod know not to translate english text?
For performance, any detection we do cannot depend on APIs and has to be done on the client. For this reason, the config allows you to configure regular expressions to filter what messages get translated, but anything more complicated would be too expensive.
Extra code for reinserting trailing or preceding spaces has been added, though.

How would the mod know not to translate english text? For performance, any detection we do cannot depend on APIs and has to be done on the client. For this reason, the config allows you to configure regular expressions to filter what messages get translated, but anything more complicated would be too expensive. Extra code for reinserting trailing or preceding spaces has been added, though.
Comment
No Label
No Milestone
No project
No Assignees
2 Participants
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: JfMods/GoogleChat#3
No description provided.