forked from FgForrest/Babylon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(FgForrest#3): add chatgpt translator a configurations
- Loading branch information
Stepan Kamenik
committed
Mar 10, 2024
1 parent
769da9a
commit 58ea24c
Showing
12 changed files
with
343 additions
and
110 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
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
30 changes: 30 additions & 0 deletions
30
src/main/java/one/edee/babylon/config/SupportedTranslators.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package one.edee.babylon.config; | ||
|
||
/** | ||
* I apologize in advance for the lack of documentation in this code. | ||
* I had every intention of providing clear and concise explanations | ||
* for every line of code, but then I got distracted by a squirrel outside | ||
* my window and the next thing I knew it was three weeks later. | ||
* <p> | ||
* So instead, I've included some helpful comments here and there. | ||
* They might not make sense, but hey, at least they're something. | ||
* | ||
* @author Štěpán Kameník ([email protected]), FG Forrest a.s. (c) 2024 | ||
**/ | ||
public enum SupportedTranslators { | ||
|
||
/** | ||
* @see one.edee.babylon.export.translator.GoogleTranslator | ||
*/ | ||
GOOGLE, | ||
|
||
/** | ||
* @see one.edee.babylon.export.translator.DeeplTranslator | ||
*/ | ||
DEEPL, | ||
|
||
/** | ||
* @see one.edee.babylon.export.translator.OpenAiTranslator | ||
*/ | ||
OPENAI | ||
} |
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
Oops, something went wrong.