Commit Graph

4 Commits

Author SHA1 Message Date
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
62a993bb13
fix: unable to translate 2024-11-01 00:43:57 -04:00
Vincent Young
a9a5a914b6
refactor 2024-09-16 12:08:13 -04:00