DeepLX/translate
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
..
translate.go refactor: update translation request handling to use new LMT_handle_texts method and improve response processing 2025-07-13 23:06:47 +08:00
types.go refactor: update translation request handling to use new LMT_handle_texts method and improve response processing 2025-07-13 23:06:47 +08:00
utils.go refactor: update translation request handling to use new LMT_handle_texts method and improve response processing 2025-07-13 23:06:47 +08:00