From dfd690ad4a75e9dd0e1e7c2700c06c570f285fec Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Tue, 8 Mar 2022 12:01:17 +0800 Subject: [PATCH] ctlPrefWindow // Remove useless menu items. --- Source/WindowControllers/ctlPrefWindow.swift | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Source/WindowControllers/ctlPrefWindow.swift b/Source/WindowControllers/ctlPrefWindow.swift index a24bba6d..9f3a1756 100644 --- a/Source/WindowControllers/ctlPrefWindow.swift +++ b/Source/WindowControllers/ctlPrefWindow.swift @@ -84,11 +84,6 @@ extension RangeReplaceableCollection where Element: Hashable { menuItem_AppleZhuyinEten.representedObject = String("com.apple.keylayout.ZhuyinEten") basisKeyboardLayoutButton.menu?.addItem(menuItem_AppleZhuyinEten) - let menuItem_vChewingDachen = NSMenuItem() - menuItem_vChewingDachen.title = String(format: NSLocalizedString("vChewing Dachen (Not Finished Yet)", comment: "")) - menuItem_vChewingDachen.representedObject = String("org.atelierInmu.keyboardlayout.vChewingKeyLayout.vChewingDachen") - basisKeyboardLayoutButton.menu?.addItem(menuItem_vChewingDachen) - let basisKeyboardLayoutID = Preferences.basisKeyboardLayout for source in list { @@ -145,8 +140,6 @@ extension RangeReplaceableCollection where Element: Hashable { chosenBaseKeyboardLayoutItem = menuItem_AppleZhuyinBopomofo case "com.apple.keylayout.ZhuyinEten": chosenBaseKeyboardLayoutItem = menuItem_AppleZhuyinEten - case "org.atelierInmu.keyboardlayout.vChewingKeyLayout.zhuyindachen": - chosenBaseKeyboardLayoutItem = menuItem_vChewingDachen default: break // nothing to do }