diff --git a/Resources/Base.lproj/InfoPlist.strings b/Resources/Base.lproj/InfoPlist.strings new file mode 100644 index 0000000..0b5bbd4 --- /dev/null +++ b/Resources/Base.lproj/InfoPlist.strings @@ -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" = "自動注音(英文)"; diff --git a/Resources/en.lproj/InfoPlist.strings b/Resources/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..6d26fc8 --- /dev/null +++ b/Resources/en.lproj/InfoPlist.strings @@ -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)"; diff --git a/Resources/zh-Hant.lproj/InfoPlist.strings b/Resources/zh-Hant.lproj/InfoPlist.strings new file mode 100644 index 0000000..0b5bbd4 --- /dev/null +++ b/Resources/zh-Hant.lproj/InfoPlist.strings @@ -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" = "自動注音(英文)"; diff --git a/scripts/build.sh b/scripts/build.sh index 713f3f2..f6d6b37 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -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.