Vincent Yang
2b0e1e3cbb
fix: 503 unable to request. close #196 close #194 close #193 close #191 close #179 close #178
2025-07-13 23:14:24 +08:00
Vincent Yang
8a605887ff
refactor: update translation request handling to use new LMT_handle_texts method and improve response processing
...
- Renamed makeRequest to makeRequestWithBody for clarity.
- Introduced new TextItem and TextResponse types for better structure in translation requests and responses.
- Updated translation logic to handle multiple texts and alternatives.
- Enhanced error handling for blocked requests and translation failures.
- Adjusted timestamp and random number generation for improved request uniqueness.
2025-07-13 23:06:47 +08:00
Vincent Yang
cbc3c1be51
chore: remove unused isRichText function
2025-04-08 14:27:33 -04:00
Vincent Yang
84792ead81
chore: bump Go version to 1.24.2 in Dockerfile, go.mod, and CI workflows
2025-04-08 14:27:01 -04:00
Vincent Yang
2400139a8d
fix: unable to translate (switch to DeepL iOS)
2025-03-01 04:24:53 -05:00
Vincent Yang
bbfb808793
fix: handle line breaks #151
2025-01-20 17:11:53 -05:00
Vincent Yang
44b6c2915f
fix: while sourceLang is auto
2024-12-03 11:23:56 -05:00
木末君
547c735b1f
fix: 429 error in /translate endpoint (changed TLS fingerprint) ( #161 )
2024-11-29 04:13:20 -05:00
Vincent Yang
ede6229b0e
fix: targetlang bug
2024-11-01 23:19:50 -04:00
Vincent Yang
d98f71d1c5
fix: add pro support (may have no effect)
2024-11-01 13:13:28 -04:00
Vincent Yang
9edb997f06
fix: support CommonJobParams
2024-11-01 12:48:26 -04:00
Vincent Yang
62a993bb13
fix: unable to translate
2024-11-01 00:43:57 -04:00
Vincent Young
ac8ec23790
Update translate.go
2024-10-03 16:07:38 -04:00
Vincent Young
9e8c68fc94
Revert "Fix typo. ( #143 )" ( #146 )
...
This reverts commit 1bef182a15
.
2024-10-03 16:05:53 -04:00
ryan961
1bef182a15
Fix typo. ( #143 )
2024-09-18 21:33:11 -04:00
Vincent Young
dce5ccd029
fix: remove unless parameter
2024-09-16 12:10:01 -04:00
Vincent Young
a9a5a914b6
refactor
2024-09-16 12:08:13 -04:00