changed when translated caption option appears
This commit is contained in:
parent
7c4c1e0997
commit
c3b105c30b
@ -758,8 +758,8 @@ Generate a title following these rules:
|
|||||||
self.show_toast(_("This video does not have any transcriptions"), self.main_overlay)
|
self.show_toast(_("This video does not have any transcriptions"), self.main_overlay)
|
||||||
return
|
return
|
||||||
|
|
||||||
if not any(filter(lambda x: '(en' in x and 'auto-generated' not in x, transcriptions)):
|
if not any(filter(lambda x: '(en' in x and 'auto-generated' not in x and len(transcriptions) > 1, transcriptions)):
|
||||||
transcriptions.insert(0, 'English (translate:en)')
|
transcriptions.insert(1, 'English (translate:en)')
|
||||||
|
|
||||||
dialog_widget.simple_dropdown(
|
dialog_widget.simple_dropdown(
|
||||||
_('Attach YouTube Video?'),
|
_('Attach YouTube Video?'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user