Name the input modes in System Settings
The modes showed their raw IDs (com.autozhuyin.inputmethod.AutoZhuyin.Auto). InfoPlist.strings (zh-Hant, en, Base) now name them 自動注音(中英自動) and 自動注音(英文); build.sh copies the .lproj folders into the app. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
/* Names shown in System Settings and the input menu. */
|
||||
CFBundleName = "自動注音";
|
||||
CFBundleDisplayName = "自動注音";
|
||||
"com.autozhuyin.inputmethod.AutoZhuyin" = "自動注音";
|
||||
"com.autozhuyin.inputmethod.AutoZhuyin.Auto" = "自動注音(中英自動)";
|
||||
"com.autozhuyin.inputmethod.AutoZhuyin.English" = "自動注音(英文)";
|
||||
@@ -0,0 +1,6 @@
|
||||
/* Names shown in System Settings and the input menu. */
|
||||
CFBundleName = "AutoZhuyin";
|
||||
CFBundleDisplayName = "AutoZhuyin";
|
||||
"com.autozhuyin.inputmethod.AutoZhuyin" = "AutoZhuyin";
|
||||
"com.autozhuyin.inputmethod.AutoZhuyin.Auto" = "AutoZhuyin (Auto)";
|
||||
"com.autozhuyin.inputmethod.AutoZhuyin.English" = "AutoZhuyin (English)";
|
||||
@@ -0,0 +1,6 @@
|
||||
/* Names shown in System Settings and the input menu. */
|
||||
CFBundleName = "自動注音";
|
||||
CFBundleDisplayName = "自動注音";
|
||||
"com.autozhuyin.inputmethod.AutoZhuyin" = "自動注音";
|
||||
"com.autozhuyin.inputmethod.AutoZhuyin.Auto" = "自動注音(中英自動)";
|
||||
"com.autozhuyin.inputmethod.AutoZhuyin.English" = "自動注音(英文)";
|
||||
@@ -18,6 +18,8 @@ rm -rf "$APP"
|
||||
mkdir -p "$APP/Contents/MacOS" "$APP/Contents/Resources"
|
||||
cp "$BIN" "$APP/Contents/MacOS/AutoZhuyin"
|
||||
cp Resources/Info.plist "$APP/Contents/Info.plist"
|
||||
# Localized names of the input method and its modes (System Settings, input menu).
|
||||
cp -R Resources/*.lproj "$APP/Contents/Resources/"
|
||||
cp Resources/lexicon.txt Resources/english-common.txt Resources/classifier-weights.json "$APP/Contents/Resources/"
|
||||
cp THIRD_PARTY_LICENSES.txt "$APP/Contents/Resources/"
|
||||
# "AI 選字" language model (CKIP gpt2-tiny-chinese, GPL-3.0), fetched and converted once.
|
||||
|
||||
Reference in New Issue
Block a user