@@ -54,6 +54,21 @@ def __init__(self, main):
5454 self .infoCardPrompt = self .youtube .AppendCheckItem (wx .ID_ANY , _ (u'資訊卡提示(&I)' ))
5555 self .infoCardPrompt .Check (True )
5656
57+ # Crunchyroll setup submenu
58+ self .crunchyrollSetup = wx .Menu ()
59+ self .crunchyrollSetupMenuItem = self .AppendSubMenu (self .crunchyrollSetup , _ (u'Crunchyroll 安裝設定 (&K)' ))
60+ # Tampermonkey submenu
61+ self .crunchyrollTM = wx .Menu ()
62+ self .crunchyrollSetup .AppendSubMenu (self .crunchyrollTM , _ (u'安裝 Tampermonkey (&T)' ))
63+ self .crunchyrollTMChrome = self .crunchyrollTM .Append (wx .ID_ANY , 'Chrome (&C)' )
64+ self .crunchyrollTMFirefox = self .crunchyrollTM .Append (wx .ID_ANY , 'Firefox (&F)' )
65+ self .crunchyrollTMEdge = self .crunchyrollTM .Append (wx .ID_ANY , 'Edge (&E)' )
66+ # Install userscript
67+ self .crunchyrollInstallScript = self .crunchyrollSetup .Append (wx .ID_ANY , _ (u'安裝腳本 (&I)' ))
68+ self .crunchyrollSetup .AppendSeparator ()
69+ # Help
70+ self .crunchyrollHelp = self .crunchyrollSetup .Append (wx .ID_ANY , _ (u'使用說明 (&H)' ))
71+
5772 # Translators: This menu item performs a check for updates to the reader
5873 self .checkForUpdate = self .Append (wx .ID_ANY , _ (u'立即檢查更新(&C)' ))
5974 # Translators: This is menu item that open the current version's changelog
@@ -76,21 +91,6 @@ def __init__(self, main):
7691
7792 self .AppendSeparator ()
7893
79- # Crunchyroll setup submenu
80- self .crunchyrollSetup = wx .Menu ()
81- self .crunchyrollSetupMenuItem = self .AppendSubMenu (self .crunchyrollSetup , _ (u'Crunchyroll 安裝設定 (&K)' ))
82- # Tampermonkey submenu
83- self .crunchyrollTM = wx .Menu ()
84- self .crunchyrollSetup .AppendSubMenu (self .crunchyrollTM , _ (u'安裝 Tampermonkey (&T)' ))
85- self .crunchyrollTMChrome = self .crunchyrollTM .Append (wx .ID_ANY , 'Chrome (&C)' )
86- self .crunchyrollTMFirefox = self .crunchyrollTM .Append (wx .ID_ANY , 'Firefox (&F)' )
87- self .crunchyrollTMEdge = self .crunchyrollTM .Append (wx .ID_ANY , 'Edge (&E)' )
88- # Install userscript
89- self .crunchyrollInstallScript = self .crunchyrollSetup .Append (wx .ID_ANY , _ (u'安裝腳本 (&I)' ))
90- self .crunchyrollSetup .AppendSeparator ()
91- # Help
92- self .crunchyrollHelp = self .crunchyrollSetup .Append (wx .ID_ANY , _ (u'使用說明 (&H)' ))
93-
9494 self .platforms = wx .Menu ()
9595 self .platformsMenuItem = self .AppendSubMenu (self .platforms , _ ('支援影音平台 (&P)' ))
9696 for platform in [* self .main .subtitleAlgs .values (), * self .main .urlToSubtitleAlg .values ()]:
0 commit comments