This commit is contained in:
Qiu Yuzhou
2019-09-21 11:38:38 +08:00
parent 51f6271772
commit 74c986cec3
3 changed files with 5 additions and 2 deletions

View File

@ -480,7 +480,7 @@
<rect key="frame" x="20" y="111" width="440" height="119"/>
<clipView key="contentView" id="9Wy-0J-wQ8">
<rect key="frame" x="1" y="1" width="438" height="117"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<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"/>

View File

@ -39,7 +39,7 @@ class PreferencesWinController: NSWindowController {
@IBAction func resetAllPreferences(sender: NSButton) {
let alert = NSAlert.init()
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.addButton(withTitle: "OK")
alert.addButton(withTitle: "Cancel")

View File

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