From 6a5cd2a38abcc4f3e89868ebe10a88927b89c415 Mon Sep 17 00:00:00 2001 From: Lukhnos Liu Date: Sat, 8 Sep 2012 23:06:36 -0700 Subject: [PATCH] Create the mode for Plain Bopomofo. --- McBopomofo.xcodeproj/project.pbxproj | 8 ++++++ .../IconMaker.xcodeproj/project.pbxproj | 27 +++++-------------- Source/McBopomofo-Info.plist | 22 +++++++++++++++ Source/en.lproj/InfoPlist.strings | 1 + Source/zh-Hant.lproj/InfoPlist.strings | 1 + 5 files changed, 39 insertions(+), 20 deletions(-) diff --git a/McBopomofo.xcodeproj/project.pbxproj b/McBopomofo.xcodeproj/project.pbxproj index 95cd8e87..d02c5743 100644 --- a/McBopomofo.xcodeproj/project.pbxproj +++ b/McBopomofo.xcodeproj/project.pbxproj @@ -45,6 +45,8 @@ 6ACA41FD15FC1D9000935EF6 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 6ACA41F015FC1D9000935EF6 /* MainMenu.xib */; }; 6ACA41FF15FC1D9000935EF6 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6ACA41F415FC1D9000935EF6 /* main.m */; }; 6ACA420215FC1E5200935EF6 /* McBopomofo.app in Resources */ = {isa = PBXBuildFile; fileRef = 6A0D4EA215FC0D2D00ABF4B3 /* McBopomofo.app */; }; + 6AE210B215FC63CC003659FE /* PlainBopomofo.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 6AE210B015FC63CC003659FE /* PlainBopomofo.tiff */; }; + 6AE210B315FC63CC003659FE /* PlainBopomofo@2x.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 6AE210B115FC63CC003659FE /* PlainBopomofo@2x.tiff */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -202,6 +204,8 @@ 6ACA41F615FC1D9000935EF6 /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = "zh-Hant"; path = "zh-Hant.lproj/License.rtf"; sourceTree = ""; }; 6ACA41F715FC1D9000935EF6 /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant"; path = "zh-Hant.lproj/Localizable.strings"; sourceTree = ""; }; 6ACA41F815FC1D9000935EF6 /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = "zh-Hant"; path = "zh-Hant.lproj/MainMenu.xib"; sourceTree = ""; }; + 6AE210B015FC63CC003659FE /* PlainBopomofo.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = PlainBopomofo.tiff; sourceTree = ""; }; + 6AE210B115FC63CC003659FE /* PlainBopomofo@2x.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = "PlainBopomofo@2x.tiff"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -308,6 +312,8 @@ 6AA67FE915FC5B0D00B5A308 /* BopomofoTextMenu.tiff */, 6AA67FEA15FC5B0D00B5A308 /* BopomofoTextMenu@2x.tiff */, 6A719D0315FC5FD200C8B8E3 /* McBopomofo.iconset */, + 6AE210B015FC63CC003659FE /* PlainBopomofo.tiff */, + 6AE210B115FC63CC003659FE /* PlainBopomofo@2x.tiff */, ); name = Images; path = Source/Images; @@ -572,6 +578,8 @@ 6AA67FEB15FC5B0D00B5A308 /* BopomofoTextMenu.tiff in Resources */, 6AA67FEC15FC5B0D00B5A308 /* BopomofoTextMenu@2x.tiff in Resources */, 6A719D0415FC5FD200C8B8E3 /* McBopomofo.iconset in Resources */, + 6AE210B215FC63CC003659FE /* PlainBopomofo.tiff in Resources */, + 6AE210B315FC63CC003659FE /* PlainBopomofo@2x.tiff in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/Source/IconMaker/IconMaker.xcodeproj/project.pbxproj b/Source/IconMaker/IconMaker.xcodeproj/project.pbxproj index 431a87d3..ba9e28d8 100644 --- a/Source/IconMaker/IconMaker.xcodeproj/project.pbxproj +++ b/Source/IconMaker/IconMaker.xcodeproj/project.pbxproj @@ -21,9 +21,6 @@ /* Begin PBXFileReference section */ 6AA67F9915FC429D00B5A308 /* IconMaker.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = IconMaker.app; sourceTree = BUILT_PRODUCTS_DIR; }; 6AA67F9D15FC429D00B5A308 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; }; - 6AA67FA015FC429D00B5A308 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; }; - 6AA67FA115FC429D00B5A308 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; }; - 6AA67FA215FC429D00B5A308 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 6AA67FBF15FC430F00B5A308 /* AppIconRendererView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppIconRendererView.h; sourceTree = ""; }; 6AA67FC015FC430F00B5A308 /* AppIconRendererView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppIconRendererView.m; sourceTree = ""; }; 6AA67FC115FC430F00B5A308 /* BopomofoIconRenderView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BopomofoIconRenderView.h; sourceTree = ""; }; @@ -57,14 +54,10 @@ 6AA67F8E15FC429D00B5A308 = { isa = PBXGroup; children = ( - 6AA67FE115FC43BC00B5A308 /* Quartz.framework */, 6AA67FBF15FC430F00B5A308 /* AppIconRendererView.h */, 6AA67FC015FC430F00B5A308 /* AppIconRendererView.m */, 6AA67FC115FC430F00B5A308 /* BopomofoIconRenderView.h */, 6AA67FC215FC430F00B5A308 /* BopomofoIconRenderView.m */, - 6AA67FC315FC430F00B5A308 /* en.lproj */, - 6AA67FCA15FC430F00B5A308 /* IconMaker-Info.plist */, - 6AA67FCB15FC430F00B5A308 /* IconMaker-Prefix.pch */, 6AA67FCC15FC430F00B5A308 /* IconMakerAppDelegate.h */, 6AA67FCD15FC430F00B5A308 /* IconMakerAppDelegate.m */, 6AA67FCE15FC430F00B5A308 /* ImageZoomInView.h */, @@ -72,6 +65,7 @@ 6AA67FD015FC430F00B5A308 /* main.m */, 6AA67FD115FC430F00B5A308 /* TISIconRendererView.h */, 6AA67FD215FC430F00B5A308 /* TISIconRendererView.m */, + 6AE210AF15FC6388003659FE /* Resources */, 6AA67F9C15FC429D00B5A308 /* Frameworks */, 6AA67F9A15FC429D00B5A308 /* Products */, ); @@ -89,27 +83,19 @@ isa = PBXGroup; children = ( 6AA67F9D15FC429D00B5A308 /* Cocoa.framework */, - 6AA67F9F15FC429D00B5A308 /* Other Frameworks */, + 6AA67FE115FC43BC00B5A308 /* Quartz.framework */, ); name = Frameworks; sourceTree = ""; }; - 6AA67F9F15FC429D00B5A308 /* Other Frameworks */ = { - isa = PBXGroup; - children = ( - 6AA67FA015FC429D00B5A308 /* AppKit.framework */, - 6AA67FA115FC429D00B5A308 /* CoreData.framework */, - 6AA67FA215FC429D00B5A308 /* Foundation.framework */, - ); - name = "Other Frameworks"; - sourceTree = ""; - }; - 6AA67FC315FC430F00B5A308 /* en.lproj */ = { + 6AE210AF15FC6388003659FE /* Resources */ = { isa = PBXGroup; children = ( + 6AA67FCA15FC430F00B5A308 /* IconMaker-Info.plist */, + 6AA67FCB15FC430F00B5A308 /* IconMaker-Prefix.pch */, 6AA67FC815FC430F00B5A308 /* MainMenu.xib */, ); - path = en.lproj; + name = Resources; sourceTree = ""; }; /* End PBXGroup section */ @@ -192,6 +178,7 @@ 6AA67FC915FC430F00B5A308 /* en */, ); name = MainMenu.xib; + path = en.lproj; sourceTree = ""; }; /* End PBXVariantGroup section */ diff --git a/Source/McBopomofo-Info.plist b/Source/McBopomofo-Info.plist index cfc96b1e..0921f145 100644 --- a/Source/McBopomofo-Info.plist +++ b/Source/McBopomofo-Info.plist @@ -47,10 +47,32 @@ tsInputModeScriptKey smUnicodeScript + org.openvanilla.inputmethod.McBopomofo.PlainBopomofo + + tsInputModeAlternateMenuIconFileKey + PlainBopomofo.tiff + tsInputModeDefaultStateKey + + tsInputModeIsVisibleKey + + tsInputModeKeyEquivalentKey + H + tsInputModeKeyEquivalentModifiersKey + 4608 + tsInputModeMenuIconFileKey + PlainBopomofo.tiff + tsInputModePaletteIconFileKey + PlainBopomofo.tiff + tsInputModePrimaryInScriptKey + + tsInputModeScriptKey + smUnicodeScript + tsVisibleInputModeOrderedArrayKey org.openvanilla.inputmethod.McBopomofo.Bopomofo + org.openvanilla.inputmethod.McBopomofo.PlainBopomofo InputMethodConnectionName diff --git a/Source/en.lproj/InfoPlist.strings b/Source/en.lproj/InfoPlist.strings index 36236af2..c0a399ea 100644 --- a/Source/en.lproj/InfoPlist.strings +++ b/Source/en.lproj/InfoPlist.strings @@ -2,4 +2,5 @@ CFBundleName = "McBopomofo"; CFBundleDisplayName = "McBopomofo"; NSHumanReadableCopyright = "Copyright © 2011-2012 Mengjuei Hsieh et al.\nAll Rights Reserved."; "org.openvanilla.inputmethod.McBopomofo.Bopomofo" = "Bopomofo"; +"org.openvanilla.inputmethod.McBopomofo.PlainBopomofo" = "Plain Bopomofo"; diff --git a/Source/zh-Hant.lproj/InfoPlist.strings b/Source/zh-Hant.lproj/InfoPlist.strings index bcd72039..55ade075 100644 --- a/Source/zh-Hant.lproj/InfoPlist.strings +++ b/Source/zh-Hant.lproj/InfoPlist.strings @@ -2,3 +2,4 @@ CFBundleName = "小麥注音"; CFBundleDisplayName = "小麥注音"; NSHumanReadableCopyright = "Copyright © 2011-2012 Mengjuei Hsieh et al.\nAll Rights Reserved."; "org.openvanilla.inputmethod.McBopomofo.Bopomofo" = "注音"; +"org.openvanilla.inputmethod.McBopomofo.PlainBopomofo" = "傳統注音"; \ No newline at end of file