Commit graph

17 commits

Author SHA1 Message Date
Alex Gleason
da82462fa2
Remove other usages of : any 2024-11-22 10:28:26 -06:00
Alex Gleason
30d8cc4108
Test that DeepL translation doesn't alter Nostr URIs 2024-10-16 09:58:49 -05:00
Alex Gleason
df3b8863df
LibreTranslateTranslator: move headers to plain object, add url variable 2024-10-10 14:16:29 -05:00
Alex Gleason
d639d9a14d
Reorganize translation interfaces/files 2024-10-10 14:06:04 -05:00
Alex Gleason
9469fff6ac
Rename translation variables from _ENDPOINT to _BASE_URL 2024-10-10 13:48:50 -05:00
Alex Gleason
33d2eb6ca3
Remove Provider type (it's just a string) 2024-10-09 21:02:55 -05:00
P. Reis
87e0f594df refactor: throw new Error to have benefit of stack trace 2024-10-09 19:17:03 -03:00
P. Reis
54fa38795a feat: return translation not supported error to the frontend 2024-10-09 18:52:23 -03:00
P. Reis
4f8c8fd1de refactor: simply DittoTranslator interface and classes that implement it 2024-10-09 15:03:11 -03:00
P. Reis
20caaa9ebd refactor: LibreTranslate and DeepL with separate environment variables for their configuration 2024-10-08 16:53:30 -03:00
P. Reis
dbd590228d fix: typo 2024-10-08 14:39:59 -03:00
P. Reis
bfab84d937 refactor: make provider lowercase because supporting case insensitive is allegedly protocol bloat 2024-10-07 17:54:03 -03:00
P. Reis
a2d8478e1a test(LibreTranslateTranslator): create multiple tests 2024-10-07 14:59:05 -03:00
P. Reis
c23ddb7d84 feat: create LibreTranslateTranslator class that implements DittoTranslator 2024-10-07 14:58:33 -03:00
P. Reis
321d26b470 test(DeepLTranslator): create multiple tests 2024-10-07 14:55:12 -03:00
P. Reis
27f435a93c feat: create DeepLTranslator class that implements DittoTranslator 2024-10-07 14:54:10 -03:00
P. Reis
ea4d0f002a feat: create dittoTranslations LRUCache, create DittoTranslator interface, create MastodonTranslation type, create DittoTranslation type, create Provider type and some other minor ones 2024-10-07 14:42:10 -03:00