diff --git a/Source/InputMethodController.mm b/Source/InputMethodController.mm index b995b2b9..570fae43 100644 --- a/Source/InputMethodController.mm +++ b/Source/InputMethodController.mm @@ -1534,7 +1534,7 @@ public: NSUserNotification *userNotification = [[NSUserNotification alloc] init]; userNotification.title = @"vChewing"; - userNotification.informativeText = [NSString stringWithFormat:@"%@%@", NSLocalizedString(@"Chinese Conversion", @""), _chineseConversionEnabled ? @" Enabled" : @" Disabled"]; + userNotification.informativeText = [NSString stringWithFormat:@"%@%@", NSLocalizedString(@"Chinese Conversion", @""), _chineseConversionEnabled ? NSLocalizedString(@"NotificationSwitchON", @"") : NSLocalizedString(@"NotificationSwitchOFF", @"")]; userNotification.soundName = NSUserNotificationDefaultSoundName; [[NSUserNotificationCenter defaultUserNotificationCenter] deliverNotification:userNotification]; diff --git a/Source/en.lproj/Localizable.strings b/Source/en.lproj/Localizable.strings index 0108f978..c7ae84ca 100644 --- a/Source/en.lproj/Localizable.strings +++ b/Source/en.lproj/Localizable.strings @@ -17,3 +17,5 @@ "Visit Website" = "Visit Website"; "You're currently using vChewing %@ (%@), a new version %@ (%@) is now available. Do you want to visit vChewing's website to download the version?%@" = "You're currently using vChewing %@ (%@), a new version %@ (%@) is now available. Do you want to visit vChewing's website to download the version?%@"; "Chinese Conversion" = "Convert zh-TW Kanji to KangXi Variants"; +"NotificationSwitchON" = " ON"; +"NotificationSwitchOFF" = " OFF"; diff --git a/Source/zh-Hans.lproj/Localizable.strings b/Source/zh-Hans.lproj/Localizable.strings index 76c5ee4c..30ad38bf 100644 --- a/Source/zh-Hans.lproj/Localizable.strings +++ b/Source/zh-Hans.lproj/Localizable.strings @@ -17,3 +17,5 @@ "Visit Website" = "前往网站"; "You're currently using vChewing %@ (%@), a new version %@ (%@) is now available. Do you want to visit vChewing's website to download the version?%@" = "目前使用的威注音版本是 %1$@ (%2$@),网路上有更新版本 %3$@ (%4$@) 可供下载。是否要前往威注音网站下载新版来安装?%5$@"; "Chinese Conversion" = "优先使用康熙繁体字"; +"NotificationSwitchON" = " 已启用"; +"NotificationSwitchOFF" = " 已停用"; diff --git a/Source/zh-Hant.lproj/Localizable.strings b/Source/zh-Hant.lproj/Localizable.strings index ca08729d..e9be8753 100644 --- a/Source/zh-Hant.lproj/Localizable.strings +++ b/Source/zh-Hant.lproj/Localizable.strings @@ -17,3 +17,5 @@ "Visit Website" = "前往網站"; "You're currently using vChewing %@ (%@), a new version %@ (%@) is now available. Do you want to visit vChewing's website to download the version?%@" = "目前使用的威注音版本是 %1$@ (%2$@),網路上有更新版本 %3$@ (%4$@) 可供下載。是否要前往威注音網站下載新版來安裝?%5$@"; "Chinese Conversion" = "優先使用康熙繁體字"; +"NotificationSwitchON" = " 已啟用"; +"NotificationSwitchOFF" = " 已停用";