diff options
author | 2022-08-17 22:54:41 +0100 | |
---|---|---|
committer | 2022-08-17 22:54:41 +0100 | |
commit | fb0cc81d1db0d88c90bb112a0caec66095fcc0f0 (patch) | |
tree | aaa5d0f92f55ccf3984af2cbf2ebbcb1da5fd7c6 /src/models | |
parent | 6.0.1-nightly.16 [skip ci] (diff) | |
download | ferdium-app-fb0cc81d1db0d88c90bb112a0caec66095fcc0f0.tar.gz ferdium-app-fb0cc81d1db0d88c90bb112a0caec66095fcc0f0.tar.zst ferdium-app-fb0cc81d1db0d88c90bb112a0caec66095fcc0f0.zip |
Feature: Add Ferdium Translator (#548)
Add feature to translate text natively using https://github.com/shikar/NODE_GOOGLE_TRANSLATE package and a LibreTranslate self-hosted option (already running on our server on https://translator.ferdium.org).
Diffstat (limited to 'src/models')
-rw-r--r-- | src/models/IContextMenuParams.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/models/IContextMenuParams.ts b/src/models/IContextMenuParams.ts new file mode 100644 index 000000000..c661b4595 --- /dev/null +++ b/src/models/IContextMenuParams.ts | |||
@@ -0,0 +1,7 @@ | |||
1 | export default interface IContextMenuParams extends Electron.ContextMenuParams { | ||
2 | enableTranslator: boolean; | ||
3 | clipboardNotifications: boolean; | ||
4 | searchEngine: string; | ||
5 | translatorEngine: string; | ||
6 | translatorLanguage: string; | ||
7 | } | ||