Qiu Yuzhou 5 سال پیش
والد
کامیت
74c986cec3

+ 1 - 1
ShadowsocksX-NG/Base.lproj/PreferencesWinController.xib

@@ -480,7 +480,7 @@
                                             <rect key="frame" x="20" y="111" width="440" height="119"/>
                                             <rect key="frame" x="20" y="111" width="440" height="119"/>
                                             <clipView key="contentView" id="9Wy-0J-wQ8">
                                             <clipView key="contentView" id="9Wy-0J-wQ8">
                                                 <rect key="frame" x="1" y="1" width="438" height="117"/>
                                                 <rect key="frame" x="1" y="1" width="438" height="117"/>
-                                                <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+                                                <autoresizingMask key="autoresizingMask"/>
                                                 <subviews>
                                                 <subviews>
                                                     <tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnSelection="YES" multipleSelection="NO" autosaveColumns="NO" id="Vp3-dp-iqv">
                                                     <tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnSelection="YES" multipleSelection="NO" autosaveColumns="NO" id="Vp3-dp-iqv">
                                                         <rect key="frame" x="0.0" y="0.0" width="438" height="117"/>
                                                         <rect key="frame" x="0.0" y="0.0" width="438" height="117"/>

+ 1 - 1
ShadowsocksX-NG/PreferencesWinController.swift

@@ -39,7 +39,7 @@ class PreferencesWinController: NSWindowController {
     @IBAction func resetAllPreferences(sender: NSButton) {
     @IBAction func resetAllPreferences(sender: NSButton) {
         let alert = NSAlert.init()
         let alert = NSAlert.init()
         alert.alertStyle = .warning;
         alert.alertStyle = .warning;
-        alert.messageText = "Are you sure reset the preferences to defaults?".localized
+        alert.messageText = "Are you sure you want to reset the preferences to defaults?".localized
         alert.informativeText = "All your changes of preferences will be lost.".localized
         alert.informativeText = "All your changes of preferences will be lost.".localized
         alert.addButton(withTitle: "OK")
         alert.addButton(withTitle: "OK")
         alert.addButton(withTitle: "Cancel")
         alert.addButton(withTitle: "Cancel")

+ 3 - 0
ShadowsocksX-NG/zh-Hans.lproj/PreferencesWinController.strings

@@ -138,3 +138,6 @@
 
 
 /* Class = "NSTextFieldCell"; title = "External PAC URL:"; ObjectID = "kBe-eq-uZL"; */
 /* Class = "NSTextFieldCell"; title = "External PAC URL:"; ObjectID = "kBe-eq-uZL"; */
 "kBe-eq-uZL.title" = "外部PAC URL:";
 "kBe-eq-uZL.title" = "外部PAC URL:";
+
+/* Class = "NSButtonCell"; title = "Reset Preferences"; ObjectID = "mQC-AR-HXC"; */
+"mQC-AR-HXC.title" = "重置偏好设置";