Skip to content

Commit

Permalink
add word dict off
Browse files Browse the repository at this point in the history
  • Loading branch information
ttop32 committed Apr 18, 2024
1 parent 30da621 commit 32ea2c7
Show file tree
Hide file tree
Showing 59 changed files with 387 additions and 218 deletions.
1 change: 1 addition & 0 deletions doc/description.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ English, Russian, Japanese, Chinese and so on
# Change Log
- 0.1.135
- Add tts run when only select (request by IsemicolonI)
- Add word dictionary off option (request by dod storm)
- 0.1.134
- Fix tooltip container conflict
- 0.1.134
Expand Down
3 changes: 2 additions & 1 deletion doc/insertLocale.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
appName = "Mouse Tooltip Translator"
appDesc = "Mouse Tooltip Translator translate mouseover text using google translate"

localeList = ['ar', 'am', 'bg', 'bn', 'ca', 'cs', 'da', 'de', 'el', 'en', 'en_GB', 'en_US', 'es', 'es_419', 'et', 'fa', 'fi', 'fil', 'fr', 'gu', 'he', 'hi', 'hr', 'hu', 'id', 'it',
localeList = ['ar', 'am', 'bg', 'bn', 'ca', 'cs', 'da', 'de', 'el', 'en', 'en_AU', 'en_GB', 'en_US', 'es', 'es_419', 'et', 'fa', 'fi', 'fil', 'fr', 'gu', 'he', 'hi', 'hr', 'hu', 'id', 'it',
'ja', 'kn', 'ko', 'lt', 'lv', 'ml', 'mr', 'ms', 'nl', 'no', 'pl', 'pt_BR', 'pt_PT', 'ro', 'ru', 'sk', 'sl', 'sr', 'sv', 'sw', 'ta', 'te', 'th', 'tr', 'uk', 'vi', 'zh_CN', 'zh_TW']
translateLangCodeDict = {"zh_CN": "zh-CN", "zh_TW": "zh-TW"}
i18List = [
Expand Down Expand Up @@ -71,6 +71,7 @@
"Tooltip Info Source Language",
"Tooltip Info Transliteration",
"Tooltip Interval Time",
"Tooltip Word Dictionary",

"EXCLUDE ",
"EXCLUDE",
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/am/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/ar/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "استبعاد "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/bg/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/bn/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/ca/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/cs/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/da/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/de/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/el/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/en_GB/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/en_US/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/es/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tiempo de Intervalo de la Ventana Emergente"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUIR "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/es_419/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tiempo de Intervalo de la Ventana Emergente"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUIR "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/et/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/fa/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/fi/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/fil/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/fr/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLURE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/gu/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/he/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/hi/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/hr/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/hu/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/id/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "KECUALI "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/it/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/ja/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/kn/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/ko/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/lt/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/lv/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/ml/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/mr/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/ms/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/nl/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/no/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
3 changes: 3 additions & 0 deletions public/_locales/pl/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
"Tooltip_Interval_Time": {
"message": "Tooltip Interval Time"
},
"Tooltip_Word_Dictionary": {
"message": "Tooltip Word Dictionary"
},
"EXCLUDE______________________________________": {
"message": "EXCLUDE "
},
Expand Down
Loading

0 comments on commit 32ea2c7

Please sign in to comment.