diff --git a/Source/PreferencesWindowController.swift b/Source/PreferencesWindowController.swift index 0da4c332..b0e82900 100644 --- a/Source/PreferencesWindowController.swift +++ b/Source/PreferencesWindowController.swift @@ -30,7 +30,7 @@ extension RangeReplaceableCollection where Element: Hashable { var currentLanguageSelectItem: NSMenuItem? = nil override func awakeFromNib() { - let languages = ["auto", "en-US", "zh-CN", "zh-TW", "ja-JP"] + let languages = ["auto", "en", "zh-Hans", "zh-Hant", "ja"] var autoSelectItem: NSMenuItem? = nil var chosenLanguageItem: NSMenuItem? = nil uiLanguageButton.menu?.removeAllItems() diff --git a/Source/en.lproj/Localizable.strings b/Source/en.lproj/Localizable.strings index ed2bd2f9..016d461c 100644 --- a/Source/en.lproj/Localizable.strings +++ b/Source/en.lproj/Localizable.strings @@ -37,3 +37,8 @@ "NT351 BPMF EMU" = "NT351 Per-Char Select Mode"; "CNS11643 Mode" = "CNS11643 Mode"; "Reboot vChewing…" = "Reboot vChewing…"; +"auto" = "Follow System Settings"; +"en" = "English"; +"zh-Hans" = "Simplified Chinese"; +"zh-Hant" = "Traditional Chinese"; +"ja" = "Japanese"; diff --git a/Source/en.lproj/preferences.strings b/Source/en.lproj/preferences.strings index a2914d5b..54ad44cf 100644 --- a/Source/en.lproj/preferences.strings +++ b/Source/en.lproj/preferences.strings @@ -146,8 +146,8 @@ /* Class = "NSButtonCell"; title = "Check for updates automatically"; ObjectID = "Z9t-P0-BLF"; */ "Z9t-P0-BLF.title" = "Check for updates automatically"; -/* Class = "NSTextFieldCell"; title = "Change user interface language."; ObjectID = "ZEv-Q2-mYL"; */ -"ZEv-Q2-mYL.title" = "Change user interface language."; +/* Class = "NSTextFieldCell"; title = "Change user interface language (will reboot the IME)."; ObjectID = "ZEv-Q2-mYL"; */ +"ZEv-Q2-mYL.title" = "Change user interface language (will reboot the IME)."; /* Class = "NSMenuItem"; title = "Simplified Chinese"; ObjectID = "akC-2g-ybz"; */ "akC-2g-ybz.title" = "Simplified Chinese"; diff --git a/Source/ja.lproj/Localizable.strings b/Source/ja.lproj/Localizable.strings index 1f32665e..1c34d83c 100644 --- a/Source/ja.lproj/Localizable.strings +++ b/Source/ja.lproj/Localizable.strings @@ -37,3 +37,8 @@ "NT351 BPMF EMU" = "全候補入力モード"; "CNS11643 Mode" = "全字庫モード"; "Reboot vChewing…" = "入力アプリ再起動…"; +"auto" = "システム設定に準ず"; +"en" = "英語"; +"zh-Hans" = "簡體中国語"; +"zh-Hant" = "繁體中国語"; +"ja" = "和語"; diff --git a/Source/ja.lproj/preferences.strings b/Source/ja.lproj/preferences.strings index 8269e9fb..ffedad7f 100644 --- a/Source/ja.lproj/preferences.strings +++ b/Source/ja.lproj/preferences.strings @@ -146,8 +146,8 @@ /* Class = "NSButtonCell"; title = "Check for updates automatically"; ObjectID = "Z9t-P0-BLF"; */ "Z9t-P0-BLF.title" = "アプリの更新通知を受く"; -/* Class = "NSTextFieldCell"; title = "Change user interface language."; ObjectID = "ZEv-Q2-mYL"; */ -"ZEv-Q2-mYL.title" = "アプリ表示用言語をご指定ください。"; +/* Class = "NSTextFieldCell"; title = "Change user interface language (will reboot the IME)."; ObjectID = "ZEv-Q2-mYL"; */ +"ZEv-Q2-mYL.title" = "アプリ表示用言語をご指定ください、そして入力アプリは自動的に再起動。"; /* Class = "NSMenuItem"; title = "Simplified Chinese"; ObjectID = "akC-2g-ybz"; */ "akC-2g-ybz.title" = "簡体中国語"; diff --git a/Source/zh-Hans.lproj/Localizable.strings b/Source/zh-Hans.lproj/Localizable.strings index 7737bb21..a67e8e6d 100644 --- a/Source/zh-Hans.lproj/Localizable.strings +++ b/Source/zh-Hans.lproj/Localizable.strings @@ -37,3 +37,8 @@ "NT351 BPMF EMU" = "模拟逐字选字输入"; "CNS11643 Mode" = "全字库模式"; "Reboot vChewing…" = "重新启动输入法…"; +"auto" = "与系统设定一致"; +"en" = "英文"; +"zh-Hans" = "简体中文"; +"zh-Hant" = "繁体中文"; +"ja" = "和文"; diff --git a/Source/zh-Hans.lproj/preferences.strings b/Source/zh-Hans.lproj/preferences.strings index 4e25b1cd..37951c0d 100644 --- a/Source/zh-Hans.lproj/preferences.strings +++ b/Source/zh-Hans.lproj/preferences.strings @@ -146,8 +146,8 @@ /* Class = "NSButtonCell"; title = "Check for updates automatically"; ObjectID = "Z9t-P0-BLF"; */ "Z9t-P0-BLF.title" = "自动检查软体更新"; -/* Class = "NSTextFieldCell"; title = "Change user interface language."; ObjectID = "ZEv-Q2-mYL"; */ -"ZEv-Q2-mYL.title" = "变更使用者介面语言。"; +/* Class = "NSTextFieldCell"; title = "Change user interface language (will reboot the IME)."; ObjectID = "ZEv-Q2-mYL"; */ +"ZEv-Q2-mYL.title" = "变更使用者介面语言,会自动重新启动输入法。"; /* Class = "NSMenuItem"; title = "Simplified Chinese"; ObjectID = "akC-2g-ybz"; */ "akC-2g-ybz.title" = "简体中文"; diff --git a/Source/zh-Hant.lproj/Localizable.strings b/Source/zh-Hant.lproj/Localizable.strings index 6abccb63..79fa9be8 100644 --- a/Source/zh-Hant.lproj/Localizable.strings +++ b/Source/zh-Hant.lproj/Localizable.strings @@ -37,3 +37,8 @@ "NT351 BPMF EMU" = "模擬逐字選字輸入"; "CNS11643 Mode" = "全字庫模式"; "Reboot vChewing…" = "重新啟動輸入法…"; +"auto" = "與系統設定一致"; +"en" = "英文"; +"zh-Hans" = "簡體中文"; +"zh-Hant" = "繁體中文"; +"ja" = "和文"; diff --git a/Source/zh-Hant.lproj/preferences.strings b/Source/zh-Hant.lproj/preferences.strings index 9938b2d8..a894f35b 100644 --- a/Source/zh-Hant.lproj/preferences.strings +++ b/Source/zh-Hant.lproj/preferences.strings @@ -146,8 +146,8 @@ /* Class = "NSButtonCell"; title = "Check for updates automatically"; ObjectID = "Z9t-P0-BLF"; */ "Z9t-P0-BLF.title" = "自動檢查軟體更新"; -/* Class = "NSTextFieldCell"; title = "Change user interface language."; ObjectID = "ZEv-Q2-mYL"; */ -"ZEv-Q2-mYL.title" = "變更使用者介面語言。"; +/* Class = "NSTextFieldCell"; title = "Change user interface language (will reboot the IME)."; ObjectID = "ZEv-Q2-mYL"; */ +"ZEv-Q2-mYL.title" = "變更使用者介面語言,會自動重新啟動輸入法。"; /* Class = "NSMenuItem"; title = "Simplified Chinese"; ObjectID = "akC-2g-ybz"; */ "akC-2g-ybz.title" = "簡體中文";