-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat [Deepcast]: add commands to translate selected test into every p…
…ossible language (#947) * add commands for every language possible Signed-off-by: Max Schmidt <[email protected]> * Into Signed-off-by: Max Schmidt <[email protected]> * add readme Signed-off-by: Max Schmidt <[email protected]> * add "selected" to description Signed-off-by: Max Schmidt <[email protected]> * trigger ci
- Loading branch information
Showing
32 changed files
with
476 additions
and
58 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Deepcast | ||
|
||
Translate words, or entire sentences, into 26 different languages using DeepL. | ||
|
||
## How to get the API Token | ||
|
||
1. Register for free at DeepL https://www.deepl.com/de/pro#developer. | ||
2. Go to https://www.deepl.com/de/pro-account/summary. | ||
3. Scroll down and get your API Token |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { translate } from "./utils"; | ||
|
||
const Bulgarian = async () => { | ||
await translate("BG"); | ||
return null; | ||
}; | ||
export default Bulgarian; |
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,7 @@ | ||
import { translate } from "./utils"; | ||
|
||
const Chinese = async () => { | ||
await translate("ZH"); | ||
return null; | ||
}; | ||
export default Chinese; |
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,7 @@ | ||
import { translate } from "./utils"; | ||
|
||
const Czech = async () => { | ||
await translate("CS"); | ||
return null; | ||
}; | ||
export default Czech; |
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,7 @@ | ||
import { translate } from "./utils"; | ||
|
||
const Danish = async () => { | ||
await translate("DA"); | ||
return null; | ||
}; | ||
export default Danish; |
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,7 @@ | ||
import { translate } from "./utils"; | ||
|
||
const Dutch = async () => { | ||
await translate("NL"); | ||
return null; | ||
}; | ||
export default Dutch; |
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,7 @@ | ||
import { translate } from "./utils"; | ||
|
||
const EnglishUK = async () => { | ||
await translate("EN-GB"); | ||
return null; | ||
}; | ||
export default EnglishUK; |
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,7 @@ | ||
import { translate } from "./utils"; | ||
|
||
const EnglishUS = async () => { | ||
await translate("EN-US"); | ||
return null; | ||
}; | ||
export default EnglishUS; |
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,7 @@ | ||
import { translate } from "./utils"; | ||
|
||
const Estonian = async () => { | ||
await translate("ET"); | ||
return null; | ||
}; | ||
export default Estonian; |
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,7 @@ | ||
import { translate } from "./utils"; | ||
|
||
const Finnish = async () => { | ||
await translate("FI"); | ||
return null; | ||
}; | ||
export default Finnish; |
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,7 @@ | ||
import { translate } from "./utils"; | ||
|
||
const French = async () => { | ||
await translate("FR"); | ||
return null; | ||
}; | ||
export default French; |
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,7 @@ | ||
import { translate } from "./utils"; | ||
|
||
const German = async () => { | ||
await translate("DE"); | ||
return null; | ||
}; | ||
export default German; |
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,7 @@ | ||
import { translate } from "./utils"; | ||
|
||
const Greek = async () => { | ||
await translate("EL"); | ||
return null; | ||
}; | ||
export default Greek; |
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,7 @@ | ||
import { translate } from "./utils"; | ||
|
||
const Hungarian = async () => { | ||
await translate("HU"); | ||
return null; | ||
}; | ||
export default Hungarian; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { translate } from "./utils"; | ||
|
||
const Italian = async () => { | ||
await translate("IT"); | ||
return null; | ||
}; | ||
export default Italian; |
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,7 @@ | ||
import { translate } from "./utils"; | ||
|
||
const Japanese = async () => { | ||
await translate("JA"); | ||
return null; | ||
}; | ||
export default Japanese; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.