Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Caldis committed Feb 5, 2017
2 parents 4eb0922 + 6c96993 commit eb775fd
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 34 deletions.
12 changes: 6 additions & 6 deletions Mos/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@
<autoresizingMask key="autoresizingMask"/>
<subviews>
<button fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="xh5-Hi-00d">
<rect key="frame" x="166" y="90" width="107" height="18"/>
<rect key="frame" x="166" y="90" width="130" height="18"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<buttonCell key="cell" type="check" title="Scroll Smooth" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="weE-be-TAy">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
Expand All @@ -783,7 +783,7 @@
</connections>
</button>
<button fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="4ys-FQ-Ez6">
<rect key="frame" x="166" y="43" width="109" height="18"/>
<rect key="frame" x="166" y="43" width="130" height="18"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<buttonCell key="cell" type="check" title="Scroll Reverse" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="6FR-2r-rxl">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
Expand All @@ -794,7 +794,7 @@
</connections>
</button>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" allowsCharacterPickerTouchBarItem="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uce-5T-Uvc">
<rect key="frame" x="60" y="91" width="89" height="17"/>
<rect key="frame" x="30" y="91" width="120" height="17"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Scroll Setting:" id="ILt-Gz-RiV">
<font key="font" metaFont="system"/>
Expand Down Expand Up @@ -1156,7 +1156,7 @@
</textFieldCell>
</textField>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" allowsCharacterPickerTouchBarItem="NO" translatesAutoresizingMaskIntoConstraints="NO" id="f4W-iU-YEd">
<rect key="frame" x="56" y="126" width="94" height="17"/>
<rect key="frame" x="30" y="126" width="120" height="17"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Speed Setting:" id="suV-WY-rbw">
<font key="font" metaFont="system"/>
Expand All @@ -1176,7 +1176,7 @@
</connections>
</button>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" allowsCharacterPickerTouchBarItem="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0bd-7K-p6L">
<rect key="frame" x="65" y="77" width="85" height="17"/>
<rect key="frame" x="30" y="77" width="120" height="17"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Time Setting:" id="vEz-OS-QE8">
<font key="font" metaFont="system"/>
Expand All @@ -1196,7 +1196,7 @@
</connections>
</viewController>
</objects>
<point key="canvasLocation" x="612" y="1421"/>
<point key="canvasLocation" x="612" y="1420.5"/>
</scene>
<!--About-->
<scene sceneID="cHd-3e-zIv">
Expand Down
4 changes: 2 additions & 2 deletions Mos/PreferencesUpdatesViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ import Cocoa
class PreferencesUpdatesViewController: NSViewController {

// 国际化相关
let CorrentVersionLabelTitle = NSLocalizedString("Corrent Version", comment: "")
let CurrentVersionLabelTitle = NSLocalizedString("Current Version", comment: "")

@IBOutlet weak var versionLabel: NSTextField!

override func viewDidLoad() {
super.viewDidLoad()
// 获取一下版本号
let version = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString")!
versionLabel.stringValue = "\(CorrentVersionLabelTitle) : \(version as! String)"
versionLabel.stringValue = "\(CurrentVersionLabelTitle) : \(version as! String)"
}

@IBAction func checkButtonClick(_ sender: NSButton) {
Expand Down
4 changes: 2 additions & 2 deletions Mos/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
*/

"Version" = "Version";
"Corrent Version" = "Corrent Version";
"Current Version" = "Current Version";
"Scroll Mointor" = "Scroll Mointor";
"Preferences" = "Preferences";
"HomePage" = "HomePage";
"Github" = "Github";
"Github" = "GitHub";
"Donate" = "Buy author a cup of coffee";
34 changes: 17 additions & 17 deletions Mos/en.lproj/Main.strings
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"5oM-oR-Dsq.title" = "Current Version";

/* Class = "NSButtonCell"; title = "Scroll Reverse"; ObjectID = "6FR-2r-rxl"; */
"6FR-2r-rxl.title" = "Scroll Reverse";
"6FR-2r-rxl.title" = "Reverse Scrolling";

/* Class = "NSMenuItem"; title = "Redo"; ObjectID = "6dh-zS-Vam"; */
"6dh-zS-Vam.title" = "Redo";
Expand Down Expand Up @@ -123,7 +123,7 @@
"FeM-D8-WVr.title" = "Substitutions";

/* Class = "NSTextFieldCell"; title = "Let the mouse wheel scroll smooth like a buttery."; ObjectID = "G8a-97-8Ey"; */
"G8a-97-8Ey.title" = "Let the mouse wheel scroll smooth like a buttery.";
"G8a-97-8Ey.title" = "Let the mouse wheel scrolling smooth like butter";

/* Class = "NSMenuItem"; title = "Bold"; ObjectID = "GB9-OM-e27"; */
"GB9-OM-e27.title" = "Bold";
Expand All @@ -144,7 +144,7 @@
"H8h-7b-M4v.title" = "View";

/* Class = "NSTableColumn"; headerCell.title = " Not S"; ObjectID = "HDo-Iu-l7K"; */
"HDo-Iu-l7K.headerCell.title" = " Not S";
"HDo-Iu-l7K.headerCell.title" = " No S";

/* Class = "NSTextFieldCell"; title = "Text Cell"; ObjectID = "HEV-nL-Tno"; */
"HEV-nL-Tno.title" = "Text Cell";
Expand All @@ -165,7 +165,7 @@
"IAo-SY-fd9.title" = "Open…";

/* Class = "NSTextFieldCell"; title = "Scroll Setting:"; ObjectID = "ILt-Gz-RiV"; */
"ILt-Gz-RiV.title" = "Scroll Setting:";
"ILt-Gz-RiV.title" = "Scrolling Settings:";

/* Class = "NSViewController"; title = "General"; ObjectID = "ITL-GD-CPd"; */
"ITL-GD-CPd.title" = "General";
Expand Down Expand Up @@ -207,7 +207,7 @@
"Nop-cj-93Q.title" = "\tDefault";

/* Class = "NSTextFieldCell"; title = "Not S: Not Smooth / Not R: Not Reverse"; ObjectID = "Nvh-BG-caL"; */
"Nvh-BG-caL.title" = "Not S: Not Smooth / Not R: Not Reverse";
"Nvh-BG-caL.title" = "No S: No Smooth Scrolling / No R: No Reverse Scrolling";

/* Class = "NSMenuItem"; title = "Minimize"; ObjectID = "OY7-WF-poV"; */
"OY7-WF-poV.title" = "Minimize";
Expand Down Expand Up @@ -240,7 +240,7 @@
"RfV-Ow-3mF.title" = "About";

/* Class = "NSTextFieldCell"; title = "Ignored Application list:"; ObjectID = "Rgu-cb-5lp"; */
"Rgu-cb-5lp.title" = "Ignored Application list:";
"Rgu-cb-5lp.title" = "List of ignored Applications:";

/* Class = "NSMenuItem"; title = "Superscript"; ObjectID = "Rqc-34-cIF"; */
"Rqc-34-cIF.title" = "Superscript";
Expand All @@ -252,7 +252,7 @@
"S0p-oC-mLd.title" = "Jump to Selection";

/* Class = "NSTextFieldCell"; title = " Presenting the data on this window are extremely bad for scroll performance, keep close if not necessary."; ObjectID = "TUE-3v-CaJ"; */
"TUE-3v-CaJ.title" = " Presenting the data on this window are extremely bad for scroll performance, keep close if not necessary.";
"TUE-3v-CaJ.title" = " Leaving this window open would greatly impact scrolling performance. Close this window unless necessary.";

/* Class = "NSMenu"; title = "Window"; ObjectID = "Td7-aD-5lo"; */
"Td7-aD-5lo.title" = "Window";
Expand All @@ -267,7 +267,7 @@
"VIY-Ag-zcb.title" = "Center";

/* Class = "NSTextFieldCell"; title = "Reverse the mouse wheel scroll direction."; ObjectID = "VUb-ZM-hXo"; */
"VUb-ZM-hXo.title" = "Reverse the mouse wheel scroll direction.";
"VUb-ZM-hXo.title" = "Reverse scrolling for mouse wheel only";

/* Class = "NSMenuItem"; title = "Hide Others"; ObjectID = "Vdr-fp-XzO"; */
"Vdr-fp-XzO.title" = "Hide Others";
Expand All @@ -288,7 +288,7 @@
"WeT-3V-zwk.title" = "Paste and Match Style";

/* Class = "NSTextFieldCell"; title = "Control the time on scroll transition anim."; ObjectID = "X5f-kH-7lZ"; */
"X5f-kH-7lZ.title" = "Control the time on scroll transition anim.";
"X5f-kH-7lZ.title" = "Change the scrolling animation time";

/* Class = "NSViewController"; title = "Log"; ObjectID = "XfG-lQ-9wD"; */
"XfG-lQ-9wD.title" = "Log";
Expand All @@ -306,7 +306,7 @@
"YGs-j5-SAR.title" = "\tDefault";

/* Class = "NSMenuItem"; title = "Scroll Mointor"; ObjectID = "Ykd-J1-W5H"; */
"Ykd-J1-W5H.title" = "Scroll Mointor";
"Ykd-J1-W5H.title" = "Scrolling Mointor";

/* Class = "NSMenuItem"; title = "Start Speaking"; ObjectID = "Ynk-f8-cLZ"; */
"Ynk-f8-cLZ.title" = "Start Speaking";
Expand All @@ -318,7 +318,7 @@
"ZvO-Gk-QUH.title" = "Paragraph";

/* Class = "NSButtonCell"; title = "Donate by paypal"; ObjectID = "aPi-cE-maK"; */
"aPi-cE-maK.title" = "Donate by paypal";
"aPi-cE-maK.title" = "Donate Via PayPal";

/* Class = "NSMenuItem"; title = "Print…"; ObjectID = "aTl-1u-JFS"; */
"aTl-1u-JFS.title" = "Print…";
Expand Down Expand Up @@ -435,7 +435,7 @@
"rbD-Rh-wIN.title" = "Check Spelling While Typing";

/* Class = "NSTableColumn"; headerCell.title = " Not R"; ObjectID = "rd0-ca-ufI"; */
"rd0-ca-ufI.headerCell.title" = " Not R";
"rd0-ca-ufI.headerCell.title" = " No R";

/* Class = "NSMenuItem"; title = "Smart Dashes"; ObjectID = "rgM-f4-ycn"; */
"rgM-f4-ycn.title" = "Smart Dashes";
Expand All @@ -450,7 +450,7 @@
"snW-S8-Cw5.title" = "Show Toolbar";

/* Class = "NSTextFieldCell"; title = "Speed Setting:"; ObjectID = "suV-WY-rbw"; */
"suV-WY-rbw.title" = "Speed Setting:";
"suV-WY-rbw.title" = "Maximum Speed:";

/* Class = "NSMenuItem"; title = "Data Detectors"; ObjectID = "tRr-pd-1PS"; */
"tRr-pd-1PS.title" = "Data Detectors";
Expand All @@ -471,7 +471,7 @@
"uRl-iY-unG.title" = "Cut";

/* Class = "NSTextFieldCell"; title = "Time Setting:"; ObjectID = "vEz-OS-QE8"; */
"vEz-OS-QE8.title" = "Time Setting:";
"vEz-OS-QE8.title" = "Animation time:";

/* Class = "NSMenuItem"; title = "Paste Style"; ObjectID = "vKC-jM-MkH"; */
"vKC-jM-MkH.title" = "Paste Style";
Expand All @@ -486,7 +486,7 @@
"vmV-6d-7jI.title" = "Make Upper Case";

/* Class = "NSTextFieldCell"; title = "Control the maxium scroll speed."; ObjectID = "vmk-zZ-ifN"; */
"vmk-zZ-ifN.title" = "Control the maxium scroll speed.";
"vmk-zZ-ifN.title" = "Control the maximum scrolling speed";

/* Class = "NSMenu"; title = "Ligatures"; ObjectID = "w0m-vy-SC9"; */
"w0m-vy-SC9.title" = "Ligatures";
Expand All @@ -495,7 +495,7 @@
"wb2-vD-lq4.title" = "Align Right";

/* Class = "NSButtonCell"; title = "Scroll Smooth"; ObjectID = "weE-be-TAy"; */
"weE-be-TAy.title" = "Scroll Smooth";
"weE-be-TAy.title" = "Smooth Scrolling";

/* Class = "NSMenuItem"; title = "Help"; ObjectID = "wpr-3q-Mcd"; */
"wpr-3q-Mcd.title" = "Help";
Expand All @@ -513,7 +513,7 @@
"xrE-MZ-jX0.title" = "Speech";

/* Class = "NSButtonCell"; title = "HomePage"; ObjectID = "yDf-dn-Mcz"; */
"yDf-dn-Mcz.title" = "HomePage";
"yDf-dn-Mcz.title" = "Home Page";

/* Class = "NSMenuItem"; title = "Show Substitutions"; ObjectID = "z6F-FW-3nz"; */
"z6F-FW-3nz.title" = "Show Substitutions";
2 changes: 1 addition & 1 deletion Mos/ja.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

"Version" = "Version";
"Corrent Version" = "Corrent Version";
"Current Version" = "Current Version";
"Scroll Mointor" = "Scroll Mointor";
"Preferences" = "Preferences";
"HomePage" = "HomePage";
Expand Down
4 changes: 2 additions & 2 deletions Mos/zh-Hans.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
*/

"Version" = "版本";
"Corrent Version" = "当前版本";
"Current Version" = "当前版本";
"Scroll Mointor" = "滚动监控";
"Preferences" = "偏好设置";
"HomePage" = "主页";
"Github" = "Github";
"Github" = "GitHub";
"Donate" = "请作者喝杯咖啡";
6 changes: 3 additions & 3 deletions Mos/zh-Hans.lproj/Main.strings
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
"H8h-7b-M4v.title" = "View";

/* Class = "NSTableColumn"; headerCell.title = " Not S"; ObjectID = "HDo-Iu-l7K"; */
"HDo-Iu-l7K.headerCell.title" = " Not S";
"HDo-Iu-l7K.headerCell.title" = " No S";

/* Class = "NSTextFieldCell"; title = "Text Cell"; ObjectID = "HEV-nL-Tno"; */
"HEV-nL-Tno.title" = "Text Cell";
Expand Down Expand Up @@ -207,7 +207,7 @@
"Nop-cj-93Q.title" = "\tDefault";

/* Class = "NSTextFieldCell"; title = "Not S: Not Smooth / Not R: Not Reverse"; ObjectID = "Nvh-BG-caL"; */
"Nvh-BG-caL.title" = "Not S: 忽略平滑滚动 / Not R: 忽略反转滚动";
"Nvh-BG-caL.title" = "No S: 忽略平滑滚动 / No R: 忽略反转滚动";

/* Class = "NSMenuItem"; title = "Minimize"; ObjectID = "OY7-WF-poV"; */
"OY7-WF-poV.title" = "Minimize";
Expand Down Expand Up @@ -435,7 +435,7 @@
"rbD-Rh-wIN.title" = "Check Spelling While Typing";

/* Class = "NSTableColumn"; headerCell.title = " Not R"; ObjectID = "rd0-ca-ufI"; */
"rd0-ca-ufI.headerCell.title" = " Not R";
"rd0-ca-ufI.headerCell.title" = " No R";

/* Class = "NSMenuItem"; title = "Smart Dashes"; ObjectID = "rgM-f4-ycn"; */
"rgM-f4-ycn.title" = "Smart Dashes";
Expand Down
2 changes: 1 addition & 1 deletion Mos/zh-Hant.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

"Version" = "Version";
"Corrent Version" = "Corrent Version";
"Current Version" = "Current Version";
"Scroll Mointor" = "Scroll Mointor";
"Preferences" = "Preferences";
"HomePage" = "HomePage";
Expand Down

0 comments on commit eb775fd

Please sign in to comment.