IME // Leaving some comments regarding vChewingKeyLayoutBundle.
This commit is contained in:
parent
5fc49bda56
commit
1261869c50
|
@ -152,6 +152,8 @@ class AppDelegate: NSObject, NSApplicationDelegate, ctlNonModalAlertWindowDelega
|
|||
}
|
||||
}
|
||||
|
||||
// let vChewingKeyLayoutBundle = Bundle.init(path: URL(fileURLWithPath: Bundle.main.resourcePath ?? "").appendingPathComponent("vChewingKeyLayout.bundle").path)
|
||||
|
||||
@IBOutlet weak var window: NSWindow?
|
||||
private var ctlPrefWindowInstance: ctlPrefWindow?
|
||||
private var ctlAboutWindowInstance: ctlAboutWindow? // New About Window
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<key>TICapsLockLanguageSwitchCapable</key>
|
||||
<false/>
|
||||
<key>TISInputSourceID</key>
|
||||
<string>org.atelierInmu.vChewing.keyLayouts.zhuyindachen</string>
|
||||
<string>org.atelierInmu.keyboardlayout.vChewingKeyLayout.zhuyindachen</string>
|
||||
<key>TISIntendedLanguage</key>
|
||||
<string>zh-Hanb</string>
|
||||
</dict>
|
||||
|
@ -22,7 +22,7 @@
|
|||
<key>TICapsLockLanguageSwitchCapable</key>
|
||||
<false/>
|
||||
<key>TISInputSourceID</key>
|
||||
<string>org.atelierInmu.vChewing.keyLayouts.zhuyineten</string>
|
||||
<string>org.atelierInmu.keyboardlayout.vChewingKeyLayout.zhuyineten</string>
|
||||
<key>TISIntendedLanguage</key>
|
||||
<string>zh-Hanb</string>
|
||||
</dict>
|
||||
|
@ -31,7 +31,7 @@
|
|||
<key>TICapsLockLanguageSwitchCapable</key>
|
||||
<false/>
|
||||
<key>TISInputSourceID</key>
|
||||
<string>org.atelierInmu.vChewing.keyLayouts.zhuyinibm</string>
|
||||
<string>org.atelierInmu.keyboardlayout.vChewingKeyLayout.zhuyinibm</string>
|
||||
<key>TISIntendedLanguage</key>
|
||||
<string>zh-Hanb</string>
|
||||
</dict>
|
||||
|
@ -40,7 +40,7 @@
|
|||
<key>TICapsLockLanguageSwitchCapable</key>
|
||||
<false/>
|
||||
<key>TISInputSourceID</key>
|
||||
<string>org.atelierInmu.vChewing.keyLayouts.zhuyinmitac</string>
|
||||
<string>org.atelierInmu.keyboardlayout.vChewingKeyLayout.zhuyinmitac</string>
|
||||
<key>TISIntendedLanguage</key>
|
||||
<string>zh-Hanb</string>
|
||||
</dict>
|
||||
|
@ -49,7 +49,7 @@
|
|||
<key>TICapsLockLanguageSwitchCapable</key>
|
||||
<false/>
|
||||
<key>TISInputSourceID</key>
|
||||
<string>org.atelierInmu.vChewing.keyLayouts.zhuyinseigyou</string>
|
||||
<string>org.atelierInmu.keyboardlayout.vChewingKeyLayout.zhuyinseigyou</string>
|
||||
<key>TISIntendedLanguage</key>
|
||||
<string>zh-Hanb</string>
|
||||
</dict>
|
||||
|
|
|
@ -84,6 +84,11 @@ 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.zhuyindachen")
|
||||
basisKeyboardLayoutButton.menu?.addItem(menuItem_vChewingDachen)
|
||||
|
||||
let basisKeyboardLayoutID = Preferences.basisKeyboardLayout
|
||||
|
||||
for source in list {
|
||||
|
@ -149,6 +154,8 @@ 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
|
||||
}
|
||||
|
|
|
@ -1328,6 +1328,7 @@
|
|||
COMBINE_HIDPI_IMAGES = YES;
|
||||
COPY_PHASE_STRIP = NO;
|
||||
CURRENT_PROJECT_VERSION = 1921;
|
||||
DEVELOPMENT_ASSET_PATHS = Source/Resources/KeyLayouts/vChewingKeyLayout.bundle;
|
||||
DEVELOPMENT_TEAM = "";
|
||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||
GCC_DYNAMIC_NO_PIC = NO;
|
||||
|
@ -1392,6 +1393,7 @@
|
|||
COPY_PHASE_STRIP = NO;
|
||||
CURRENT_PROJECT_VERSION = 1921;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
DEVELOPMENT_ASSET_PATHS = Source/Resources/KeyLayouts/vChewingKeyLayout.bundle;
|
||||
DEVELOPMENT_TEAM = "";
|
||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
|
||||
|
|
Loading…
Reference in New Issue