Skip to content

Commit

Permalink
add voice target option
Browse files Browse the repository at this point in the history
  • Loading branch information
ttop32 committed Oct 15, 2023
1 parent 7bf6884 commit fc1c2de
Show file tree
Hide file tree
Showing 65 changed files with 723 additions and 336 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ download from [chrome web store](https://chrome.google.com/webstore/detail/mouse

- Hover or select (highlight) on text to translate
- Use left ctrl to Listen pronunciation with google TTS (text to speech)
- Use left alt to translate writing text in input box (or highlighted text)
- Use right alt to translate writing text in input box (or highlighted text)
- Google translator and bing translator are used for translation
- Support pdf to display translated tooltip using PDF.js
- Support dual subtitles for youtube video
Expand Down
129 changes: 65 additions & 64 deletions doc/description.md

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions doc/insertLocale.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@
"Tooltip Background Color",

"Voice ",
"TTS Speed",
"TTS Volume",
"Voice Volume",
"Voice Speed",
"Voice Target",
"Voice Repeat",
"Voice for ",

"ADVANCED ",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mouse_tooltip_translator",
"version": "0.1.87",
"version": "0.1.88",
"description": "Mouse over to translate",
"private": true,
"scripts": {
Expand Down
14 changes: 10 additions & 4 deletions public/_locales/am/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,17 @@
"Voice______________________________________": {
"message": "Voice "
},
"TTS_Speed": {
"message": "TTS Speed"
"Voice_Speed": {
"message": "Voice Speed"
},
"TTS_Volume": {
"message": "TTS Volume"
"Voice_Volume": {
"message": "Voice Volume"
},
"Voice_Target": {
"message": "Voice Target"
},
"Voice_Repeat": {
"message": "Voice Repeat"
},
"Voice_for_": {
"message": "Voice for "
Expand Down
14 changes: 10 additions & 4 deletions public/_locales/ar/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,17 @@
"Voice______________________________________": {
"message": "صوت "
},
"TTS_Speed": {
"message": "سرعة تحويل النص إلى كلام"
"Voice_Speed": {
"message": "Voice Speed"
},
"TTS_Volume": {
"message": "علو صوت تحويل النص إلى كلام"
"Voice_Volume": {
"message": "Voice Volume"
},
"Voice_Target": {
"message": "Voice Target"
},
"Voice_Repeat": {
"message": "Voice Repeat"
},
"Voice_for_": {
"message": "صوت ل "
Expand Down
14 changes: 10 additions & 4 deletions public/_locales/bg/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,17 @@
"Voice______________________________________": {
"message": "Voice "
},
"TTS_Speed": {
"message": "TTS Speed"
"Voice_Speed": {
"message": "Voice Speed"
},
"TTS_Volume": {
"message": "TTS Volume"
"Voice_Volume": {
"message": "Voice Volume"
},
"Voice_Target": {
"message": "Voice Target"
},
"Voice_Repeat": {
"message": "Voice Repeat"
},
"Voice_for_": {
"message": "Voice for "
Expand Down
14 changes: 10 additions & 4 deletions public/_locales/bn/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,17 @@
"Voice______________________________________": {
"message": "Voice "
},
"TTS_Speed": {
"message": "TTS Speed"
"Voice_Speed": {
"message": "Voice Speed"
},
"TTS_Volume": {
"message": "TTS Volume"
"Voice_Volume": {
"message": "Voice Volume"
},
"Voice_Target": {
"message": "Voice Target"
},
"Voice_Repeat": {
"message": "Voice Repeat"
},
"Voice_for_": {
"message": "Voice for "
Expand Down
14 changes: 10 additions & 4 deletions public/_locales/ca/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,17 @@
"Voice______________________________________": {
"message": "Voice "
},
"TTS_Speed": {
"message": "TTS Speed"
"Voice_Speed": {
"message": "Voice Speed"
},
"TTS_Volume": {
"message": "TTS Volume"
"Voice_Volume": {
"message": "Voice Volume"
},
"Voice_Target": {
"message": "Voice Target"
},
"Voice_Repeat": {
"message": "Voice Repeat"
},
"Voice_for_": {
"message": "Voice for "
Expand Down
14 changes: 10 additions & 4 deletions public/_locales/cs/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,17 @@
"Voice______________________________________": {
"message": "Voice "
},
"TTS_Speed": {
"message": "TTS Speed"
"Voice_Speed": {
"message": "Voice Speed"
},
"TTS_Volume": {
"message": "TTS Volume"
"Voice_Volume": {
"message": "Voice Volume"
},
"Voice_Target": {
"message": "Voice Target"
},
"Voice_Repeat": {
"message": "Voice Repeat"
},
"Voice_for_": {
"message": "Voice for "
Expand Down
14 changes: 10 additions & 4 deletions public/_locales/da/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,17 @@
"Voice______________________________________": {
"message": "Voice "
},
"TTS_Speed": {
"message": "TTS Speed"
"Voice_Speed": {
"message": "Voice Speed"
},
"TTS_Volume": {
"message": "TTS Volume"
"Voice_Volume": {
"message": "Voice Volume"
},
"Voice_Target": {
"message": "Voice Target"
},
"Voice_Repeat": {
"message": "Voice Repeat"
},
"Voice_for_": {
"message": "Voice for "
Expand Down
14 changes: 10 additions & 4 deletions public/_locales/de/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,17 @@
"Voice______________________________________": {
"message": "Voice "
},
"TTS_Speed": {
"message": "TTS Speed"
"Voice_Speed": {
"message": "Voice Speed"
},
"TTS_Volume": {
"message": "TTS Volume"
"Voice_Volume": {
"message": "Voice Volume"
},
"Voice_Target": {
"message": "Voice Target"
},
"Voice_Repeat": {
"message": "Voice Repeat"
},
"Voice_for_": {
"message": "Voice for "
Expand Down
14 changes: 10 additions & 4 deletions public/_locales/el/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,17 @@
"Voice______________________________________": {
"message": "Voice "
},
"TTS_Speed": {
"message": "TTS Speed"
"Voice_Speed": {
"message": "Voice Speed"
},
"TTS_Volume": {
"message": "TTS Volume"
"Voice_Volume": {
"message": "Voice Volume"
},
"Voice_Target": {
"message": "Voice Target"
},
"Voice_Repeat": {
"message": "Voice Repeat"
},
"Voice_for_": {
"message": "Voice for "
Expand Down
14 changes: 10 additions & 4 deletions public/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,17 @@
"Voice______________________________________": {
"message": "Voice "
},
"TTS_Speed": {
"message": "TTS Speed"
"Voice_Speed": {
"message": "Voice Speed"
},
"TTS_Volume": {
"message": "TTS Volume"
"Voice_Volume": {
"message": "Voice Volume"
},
"Voice_Target": {
"message": "Voice Target"
},
"Voice_Repeat": {
"message": "Voice Repeat"
},
"Voice_for_": {
"message": "Voice for "
Expand Down
14 changes: 10 additions & 4 deletions public/_locales/en_GB/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,17 @@
"Voice______________________________________": {
"message": "Voice "
},
"TTS_Speed": {
"message": "TTS Speed"
"Voice_Speed": {
"message": "Voice Speed"
},
"TTS_Volume": {
"message": "TTS Volume"
"Voice_Volume": {
"message": "Voice Volume"
},
"Voice_Target": {
"message": "Voice Target"
},
"Voice_Repeat": {
"message": "Voice Repeat"
},
"Voice_for_": {
"message": "Voice for "
Expand Down
14 changes: 10 additions & 4 deletions public/_locales/en_US/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,17 @@
"Voice______________________________________": {
"message": "Voice "
},
"TTS_Speed": {
"message": "TTS Speed"
"Voice_Speed": {
"message": "Voice Speed"
},
"TTS_Volume": {
"message": "TTS Volume"
"Voice_Volume": {
"message": "Voice Volume"
},
"Voice_Target": {
"message": "Voice Target"
},
"Voice_Repeat": {
"message": "Voice Repeat"
},
"Voice_for_": {
"message": "Voice for "
Expand Down
14 changes: 10 additions & 4 deletions public/_locales/es/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,17 @@
"Voice______________________________________": {
"message": "Voice "
},
"TTS_Speed": {
"message": "TTS Speed"
"Voice_Speed": {
"message": "Voice Speed"
},
"TTS_Volume": {
"message": "TTS Volume"
"Voice_Volume": {
"message": "Voice Volume"
},
"Voice_Target": {
"message": "Voice Target"
},
"Voice_Repeat": {
"message": "Voice Repeat"
},
"Voice_for_": {
"message": "Voice for "
Expand Down
14 changes: 10 additions & 4 deletions public/_locales/es_419/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,17 @@
"Voice______________________________________": {
"message": "Voice "
},
"TTS_Speed": {
"message": "TTS Speed"
"Voice_Speed": {
"message": "Voice Speed"
},
"TTS_Volume": {
"message": "TTS Volume"
"Voice_Volume": {
"message": "Voice Volume"
},
"Voice_Target": {
"message": "Voice Target"
},
"Voice_Repeat": {
"message": "Voice Repeat"
},
"Voice_for_": {
"message": "Voice for "
Expand Down
14 changes: 10 additions & 4 deletions public/_locales/et/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,17 @@
"Voice______________________________________": {
"message": "Voice "
},
"TTS_Speed": {
"message": "TTS Speed"
"Voice_Speed": {
"message": "Voice Speed"
},
"TTS_Volume": {
"message": "TTS Volume"
"Voice_Volume": {
"message": "Voice Volume"
},
"Voice_Target": {
"message": "Voice Target"
},
"Voice_Repeat": {
"message": "Voice Repeat"
},
"Voice_for_": {
"message": "Voice for "
Expand Down
14 changes: 10 additions & 4 deletions public/_locales/fa/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,17 @@
"Voice______________________________________": {
"message": "Voice "
},
"TTS_Speed": {
"message": "TTS Speed"
"Voice_Speed": {
"message": "Voice Speed"
},
"TTS_Volume": {
"message": "TTS Volume"
"Voice_Volume": {
"message": "Voice Volume"
},
"Voice_Target": {
"message": "Voice Target"
},
"Voice_Repeat": {
"message": "Voice Repeat"
},
"Voice_for_": {
"message": "Voice for "
Expand Down
Loading

0 comments on commit fc1c2de

Please sign in to comment.