From 7c4c1e0997c5067b8c4395429b3ba712c7467c6f Mon Sep 17 00:00:00 2001 From: jeffser Date: Thu, 17 Oct 2024 00:18:18 -0600 Subject: [PATCH] Better implementation of auto-translate captions --- src/window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/window.py b/src/window.py index aa87d0f..b3464fc 100644 --- a/src/window.py +++ b/src/window.py @@ -758,8 +758,8 @@ Generate a title following these rules: self.show_toast(_("This video does not have any transcriptions"), self.main_overlay) return - if not any(filter(lambda x: '(en' in x, transcriptions)): - transcriptions.insert(0, 'English (Translate:en)') + if not any(filter(lambda x: '(en' in x and 'auto-generated' not in x, transcriptions)): + transcriptions.insert(0, 'English (translate:en)') dialog_widget.simple_dropdown( _('Attach YouTube Video?'),