diff --git a/ShadowsocksX-NG/Base.lproj/Localizable.strings b/ShadowsocksX-NG/Base.lproj/Localizable.strings index 08a5b27..89d8fa2 100644 --- a/ShadowsocksX-NG/Base.lproj/Localizable.strings +++ b/ShadowsocksX-NG/Base.lproj/Localizable.strings @@ -10,6 +10,10 @@ "Failed to download latest GFW List." = "Failed to download latest GFW List."; +"White List updated succeed." = "White List updated succeed."; + +"Failed to download latest White List update succeed." = "Failed to download latest White List update succeed."; + /* * ./PreferencesWindowController.swift */ diff --git a/ShadowsocksX-NG/PACUtils.swift b/ShadowsocksX-NG/PACUtils.swift index f6ef41e..7f0f0ef 100644 --- a/ShadowsocksX-NG/PACUtils.swift +++ b/ShadowsocksX-NG/PACUtils.swift @@ -223,7 +223,7 @@ func UpdatePACFromWhiteList(){ if GeneratePACFile() { // Popup a user notification let notification = NSUserNotification() - notification.title = "Wihte List update succeed.".localized + notification.title = "White List update succeed.".localized NSUserNotificationCenter.defaultUserNotificationCenter() .deliverNotification(notification) } @@ -234,7 +234,7 @@ func UpdatePACFromWhiteList(){ } else { // Popup a user notification let notification = NSUserNotification() - notification.title = "Failed to download latest Wihte List update succeed.".localized + notification.title = "Failed to download latest White List update succeed.".localized NSUserNotificationCenter.defaultUserNotificationCenter() .deliverNotification(notification) } @@ -251,7 +251,7 @@ func UpdatePACFromWhiteList(){ if GeneratePACFile() { // Popup a user notification let notification = NSUserNotification() - notification.title = "Wihte List update succeed.".localized + notification.title = "White List update succeed.".localized NSUserNotificationCenter.defaultUserNotificationCenter() .deliverNotification(notification) } @@ -262,7 +262,7 @@ func UpdatePACFromWhiteList(){ } else { // Popup a user notification let notification = NSUserNotification() - notification.title = "Failed to download latest Wihte List update succeed.".localized + notification.title = "Failed to download latest White List update succeed.".localized NSUserNotificationCenter.defaultUserNotificationCenter() .deliverNotification(notification) } diff --git a/ShadowsocksX-NG/zh-Hans.lproj/Localizable.strings b/ShadowsocksX-NG/zh-Hans.lproj/Localizable.strings index 844578e..b5964a4 100644 --- a/ShadowsocksX-NG/zh-Hans.lproj/Localizable.strings +++ b/ShadowsocksX-NG/zh-Hans.lproj/Localizable.strings @@ -16,6 +16,10 @@ "Failed to download latest GFW List." = "下载 GFW List 失败"; +"White List update succeed." = "白名单更新成功"; + +"Failed to download latest White List update succeed." = "下载白名单失败"; + /* * ./PreferencesWindowController.swift */