AboutWindow // Wiki -> Website.
This commit is contained in:
parent
0077dac3b6
commit
b3e2f08254
|
@ -57,8 +57,8 @@ class ctlAboutWindow: NSWindowController {
|
|||
)
|
||||
}
|
||||
|
||||
@IBAction func btnWiki(_: NSButton) {
|
||||
if let url = URL(string: "https://gitee.com/vchewing/vChewing-macOS/wikis") {
|
||||
@IBAction func btnWebsite(_ sender: NSButton) {
|
||||
if let url = URL(string: "https://vchewing.github.io/") {
|
||||
NSWorkspace.shared.open(url)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="19529" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="20037" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="19529"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="20037"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
|
@ -155,12 +155,12 @@ DQ
|
|||
</scrollView>
|
||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="8WL-H4-o1O">
|
||||
<rect key="frame" x="382" y="69" width="143" height="32"/>
|
||||
<buttonCell key="cell" type="push" title="Wiki" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="xCD-lx-zY7">
|
||||
<buttonCell key="cell" type="push" title="Website" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="xCD-lx-zY7">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
</buttonCell>
|
||||
<connections>
|
||||
<action selector="btnWiki:" target="-2" id="ond-bM-3LE"/>
|
||||
<action selector="btnWebsite:" target="-1" id="KjF-Ja-Vhz"/>
|
||||
</connections>
|
||||
</button>
|
||||
</subviews>
|
||||
|
|
|
@ -25,3 +25,5 @@
|
|||
|
||||
/* Class = "NSTextFieldCell"; title = "vChewing macOS Development: Shiki Suen, Isaac Xen, Hiraku Wang, etc.\nvChewing Phrase Database Maintained by Shiki Suen."; ObjectID = "lblCredits"; */
|
||||
"lblCredits.title" = "vChewing macOS Development: Shiki Suen, Isaac Xen, Hiraku Wang, etc.\nvChewing Phrase Database Maintained by Shiki Suen.";
|
||||
|
||||
"xCD-lx-zY7.title" = "Website";
|
||||
|
|
|
@ -25,3 +25,5 @@
|
|||
|
||||
/* Class = "NSTextFieldCell"; title = "vChewing macOS Development: Shiki Suen, Isaac Xen, Hiraku Wang, etc.\nvChewing Phrase Database Maintained by Shiki Suen."; ObjectID = "lblCredits"; */
|
||||
"lblCredits.title" = "macOS 版威注音の開発:Shiki Suen, Isaac Xen, Hiraku Wang, など。\n威注音語彙データの維持:Shiki Suen。";
|
||||
|
||||
"xCD-lx-zY7.title" = "公式HP";
|
||||
|
|
|
@ -25,3 +25,5 @@
|
|||
|
||||
/* Class = "NSTextFieldCell"; title = "vChewing macOS Development: Shiki Suen, Isaac Xen, Hiraku Wang, etc.\nvChewing Phrase Database Maintained by Shiki Suen."; ObjectID = "lblCredits"; */
|
||||
"lblCredits.title" = "威注音 macOS 程式研发:Shiki Suen, Isaac Xen, Hiraku Wang, 等。\n威注音词库维护:Shiki Suen。";
|
||||
|
||||
"xCD-lx-zY7.title" = "网站";
|
||||
|
|
|
@ -25,3 +25,5 @@
|
|||
|
||||
/* Class = "NSTextFieldCell"; title = "vChewing macOS Development: Shiki Suen, Isaac Xen, Hiraku Wang, etc.\nvChewing Phrase Database Maintained by Shiki Suen."; ObjectID = "lblCredits"; */
|
||||
"lblCredits.title" = "威注音 macOS 程式研发:Shiki Suen, Isaac Xen, Hiraku Wang, 等。\n威注音词库维护:Shiki Suen。";
|
||||
|
||||
"xCD-lx-zY7.title" = "網站";
|
||||
|
|
|
@ -157,10 +157,13 @@ DQ
|
|||
</scrollView>
|
||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="fbv-c6-gW8">
|
||||
<rect key="frame" x="382" y="69" width="143" height="32"/>
|
||||
<buttonCell key="cell" type="push" title="Wiki" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="ImH-h2-3FG">
|
||||
<buttonCell key="cell" type="push" title="Website" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="ImH-h2-3FG">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
</buttonCell>
|
||||
<connections>
|
||||
<action selector="btnWebsite:" target="-1" id="WNO-E7-7UJ"/>
|
||||
</connections>
|
||||
</button>
|
||||
</subviews>
|
||||
<constraints>
|
||||
|
|
|
@ -25,3 +25,5 @@
|
|||
|
||||
/* Class = "NSWindow"; title = "About vChewing Phrase Editor for macOS"; ObjectID = "ttlAboutWindow"; */
|
||||
"ttlAboutWindow.title" = "About vChewing Phrase Editor for macOS";
|
||||
|
||||
"ImH-h2-3FG.title" = "Website";
|
||||
|
|
|
@ -25,3 +25,5 @@
|
|||
|
||||
/* Class = "NSWindow"; title = "About vChewing Phrase Editor for macOS"; ObjectID = "ttlAboutWindow"; */
|
||||
"ttlAboutWindow.title" = "macOS 版威注音辞書データ編集アプリについて";
|
||||
|
||||
"ImH-h2-3FG.title" = "公式HP";
|
||||
|
|
|
@ -25,3 +25,5 @@
|
|||
|
||||
/* Class = "NSWindow"; title = "About vChewing Phrase Editor for macOS"; ObjectID = "ttlAboutWindow"; */
|
||||
"ttlAboutWindow.title" = "关于 macOS 版「威注音语汇编辑器」";
|
||||
|
||||
"ImH-h2-3FG.title" = "网站";
|
||||
|
|
|
@ -25,3 +25,5 @@
|
|||
|
||||
/* Class = "NSWindow"; title = "About vChewing Phrase Editor for macOS"; ObjectID = "ttlAboutWindow"; */
|
||||
"ttlAboutWindow.title" = "關於 macOS 版「威注音語彙編輯器」";
|
||||
|
||||
"ImH-h2-3FG.title" = "網站";
|
||||
|
|
|
@ -57,8 +57,8 @@ import Cocoa
|
|||
)
|
||||
}
|
||||
|
||||
@IBAction func btnWiki(_: NSButton) {
|
||||
if let url = URL(string: "https://gitee.com/vchewing/vChewing-macOS/wikis") {
|
||||
@IBAction func btnWebsite(_ sender: NSButton) {
|
||||
if let url = URL(string: "https://vchewing.github.io/") {
|
||||
NSWorkspace.shared.open(url)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue