Skip to content

Commit

Permalink
Info.plist // Set both CHS and CHT instances of Squirrel.
Browse files Browse the repository at this point in the history
  • Loading branch information
ShikiSuen committed Jun 28, 2022
1 parent c5d1152 commit 7ca5474
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 9 deletions.
46 changes: 37 additions & 9 deletions Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>TISInputSourceID</key>
<string>im.rime.inputmethod.Squirrel.Rime</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
Expand All @@ -24,18 +26,42 @@
<dict>
<key>tsInputModeListKey</key>
<dict>
<key>im.rime.inputmethod.Squirrel</key>
<key>im.rime.inputmethod.SquirrelCHS</key>
<dict>
<key>TISInputSourceID</key>
<string>im.rime.inputmethod.Squirrel.Rime</string>
<key>TISIntendedLanguage</key>
<string>zh</string>
<string>zh-Hans</string>
<key>tsInputModeAlternateMenuIconFileKey</key>
<string>rime.pdf</string>
<key>tsInputModeCharacterRepertoireKey</key>
<array>
<string>zh-Hans</string>
<string>zh-Hant</string>
<string>Hans</string>
<string>Han</string>
</array>
<key>tsInputModeDefaultStateKey</key>
<true/>
<key>tsInputModeIsVisibleKey</key>
<true/>
<key>tsInputModeKeyEquivalentModifiersKey</key>
<integer>4608</integer>
<key>tsInputModeMenuIconFileKey</key>
<string>rime.pdf</string>
<key>tsInputModePaletteIconFileKey</key>
<string>rime.pdf</string>
<key>tsInputModePrimaryInScriptKey</key>
<true/>
<key>tsInputModeScriptKey</key>
<string>smUnicodeScript</string>
</dict>
<key>im.rime.inputmethod.SquirrelCHT</key>
<dict>
<key>TISIntendedLanguage</key>
<string>zh-Hant</string>
<key>tsInputModeAlternateMenuIconFileKey</key>
<string>rime.pdf</string>
<key>tsInputModeCharacterRepertoireKey</key>
<array>
<string>Hant</string>
<string>Han</string>
</array>
<key>tsInputModeDefaultStateKey</key>
<true/>
Expand All @@ -55,7 +81,8 @@
</dict>
<key>tsVisibleInputModeOrderedArrayKey</key>
<array>
<string>im.rime.inputmethod.Squirrel.Rime</string>
<string>im.rime.inputmethod.SquirrelCHS</string>
<string>im.rime.inputmethod.SquirrelCHT</string>
</array>
</dict>
<key>InputMethodConnectionName</key>
Expand All @@ -82,8 +109,9 @@
<true/>
<key>tsInputMethodCharacterRepertoireKey</key>
<array>
<string>zh-Hans</string>
<string>zh-Hant</string>
<string>Hans</string>
<string>Hant</string>
<string>Han</string>
</array>
<key>tsInputMethodIconFileKey</key>
<string>rime.pdf</string>
Expand Down
2 changes: 2 additions & 0 deletions en.lproj/InfoPlist.strings
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
NSHumanReadableCopyright = "Copyleft 2017, RIME Developers";

im.rime.inputmethod.Squirrel = "Squirrel";
im.rime.inputmethod.SquirrelCHS = "Squirrel-CHS";
im.rime.inputmethod.SquirrelCHT = "Squirrel-CHT";

CFBundleName = "Squirrel";
CFBundleDisplayName = "Squirrel";
2 changes: 2 additions & 0 deletions zh-Hans.lproj/InfoPlist.strings
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
NSHumanReadableCopyright = "Copyleft 2017, 式恕堂";

im.rime.inputmethod.Squirrel = "鼠须管";
im.rime.inputmethod.SquirrelCHS = "鼠须管-简";
im.rime.inputmethod.SquirrelCHT = "鼠须管-繁";

CFBundleName = "鼠须管";
CFBundleDisplayName = "鼠须管";
2 changes: 2 additions & 0 deletions zh-Hant.lproj/InfoPlist.strings
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
NSHumanReadableCopyright = "Copyleft 2017, 式恕堂";

im.rime.inputmethod.Squirrel = "鼠鬚管";
im.rime.inputmethod.SquirrelCHS = "鼠鬚管-簡";
im.rime.inputmethod.SquirrelCHT = "鼠鬚管-繁";

CFBundleName = "鼠鬚管";
CFBundleDisplayName = "鼠鬚管";

0 comments on commit 7ca5474

Please sign in to comment.