diff options
author | 2022-08-17 22:54:41 +0100 | |
---|---|---|
committer | 2022-08-17 22:54:41 +0100 | |
commit | fb0cc81d1db0d88c90bb112a0caec66095fcc0f0 (patch) | |
tree | aaa5d0f92f55ccf3984af2cbf2ebbcb1da5fd7c6 /src/@types/stores.types.ts | |
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/@types/stores.types.ts')
-rw-r--r-- | src/@types/stores.types.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/@types/stores.types.ts b/src/@types/stores.types.ts index eec18c11e..13870a43a 100644 --- a/src/@types/stores.types.ts +++ b/src/@types/stores.types.ts | |||
@@ -90,6 +90,7 @@ interface AppStore extends TypedStore { | |||
90 | darkMode: boolean; | 90 | darkMode: boolean; |
91 | dictionaries: []; | 91 | dictionaries: []; |
92 | enableSpellchecking: boolean; | 92 | enableSpellchecking: boolean; |
93 | enableTranslator: boolean; | ||
93 | fetchDataInterval: 4; | 94 | fetchDataInterval: 4; |
94 | get(key: string): any; | 95 | get(key: string): any; |
95 | getAppCacheSizeRequest: () => void; | 96 | getAppCacheSizeRequest: () => void; |
@@ -106,6 +107,8 @@ interface AppStore extends TypedStore { | |||
106 | reloadAfterResume: boolean; | 107 | reloadAfterResume: boolean; |
107 | reloadAfterResumeTime: number; | 108 | reloadAfterResumeTime: number; |
108 | searchEngine: string; | 109 | searchEngine: string; |
110 | translatorEngine: string; | ||
111 | translatorLanguage: string; | ||
109 | spellcheckerLanguage: string; | 112 | spellcheckerLanguage: string; |
110 | splitMode: boolean; | 113 | splitMode: boolean; |
111 | splitColumns: number; | 114 | splitColumns: number; |