[Feature]convert eng.srt to another language #463#469
[Feature]convert eng.srt to another language #463#469lianzthang wants to merge 3 commits intoAndrews54757:mainfrom
Conversation
|
this is a good idea but one that will have to be disabled for the chrome extension store in order to get approval from google |
|
Understood. How would you prefer I disable it for the store build? Should I wrap the functionality in a check for a specific build flag or constant (e.g., ENABLE_TRANSLATION), or do you handle that in the build script? |
|
Hi, is it possible to make it working also in other ways? My suggestion is: |
3459abd to
8efb858
Compare
- Implemented Auto-Translate feature (disabled by default for Chrome Web Store approval). - Added 'autoTranslate' and 'defaultTranslateLanguage' settings to Options menu. - Refactored language list into new 'DefaultLanguages.mjs' file. - Fixed race condition in OptionsStore to ensure settings load before UI renders. - Updated SubtitlesManager to hide translation UI completely when feature is disabled.
e1660c8 to
d7d8c7a
Compare
|
@Andrews54757 I added a options to enable in the settings. Will that work now? |
|
Sorry I will come back to this later, been a bit occupied with figuring out how to fix FS' Youtube playback on Firefox. |
Description
Implemented an "Auto-Translate" feature for subtitles using Google Translate.
Features
SubtitleTranslator.mjsmodule that rotates between 3 different Google endpoints (clients5,te,gtx) to prevent 429 rate limits.