-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Google Translator: Improves newline handling
- The newline replacement only worked when extra spaces were added by Google Translate API, which is not always happening. - Adds some more tests to catch this and changes the replacement to be closer to replacing of interpolations. - Fixes #595 This is a frustating bug that has been open for many years: https://issuetracker.google.com/issues/119256504?pli=1 Maybe one of the other APIs are more consistent.
- Loading branch information
1 parent
2cba109
commit 7b4eb29
Showing
2 changed files
with
46 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters