diff --git a/Account/Sources/Account/CloudKit/CloudKitWebDocumentation.swift b/Account/Sources/Account/CloudKit/CloudKitWebDocumentation.swift index a55a494da..1cb3d8e99 100644 --- a/Account/Sources/Account/CloudKit/CloudKitWebDocumentation.swift +++ b/Account/Sources/Account/CloudKit/CloudKitWebDocumentation.swift @@ -8,5 +8,6 @@ import Foundation public struct CloudKitWebDocumentation { - public static let limitationsAndSolutions = "https://netnewswire.com/help/iCloud" + public static let limitationsAndSolutionsText = NSLocalizedString("iCloud Syncing Limitations & Solutions", comment: "iCloud Documentation") + public static let limitationsAndSolutionsURL = URL(string: "https://netnewswire.com/help/iCloud")! } diff --git a/Mac/Preferences/Accounts/AccountsAddCloudKit.xib b/Mac/Preferences/Accounts/AccountsAddCloudKit.xib index e8a4a1b5d..1e23bc436 100644 --- a/Mac/Preferences/Accounts/AccountsAddCloudKit.xib +++ b/Mac/Preferences/Accounts/AccountsAddCloudKit.xib @@ -1,13 +1,14 @@ - + - + - + + @@ -17,17 +18,17 @@ - - + + - + - - + + - + @@ -48,7 +49,7 @@ DQ - + @@ -56,7 +57,7 @@ DQ - + @@ -67,7 +68,7 @@ DQ + + + + + + + + + + - - + + + - + diff --git a/Mac/Preferences/Accounts/AccountsAddCloudKitWindowController.swift b/Mac/Preferences/Accounts/AccountsAddCloudKitWindowController.swift index 388e7af20..ac1dce14c 100644 --- a/Mac/Preferences/Accounts/AccountsAddCloudKitWindowController.swift +++ b/Mac/Preferences/Accounts/AccountsAddCloudKitWindowController.swift @@ -19,6 +19,8 @@ enum AccountsAddCloudKitWindowControllerError: LocalizedError { class AccountsAddCloudKitWindowController: NSWindowController { + @IBOutlet weak var limitationsAndSolutionsTextField: NSTextField! + private weak var hostWindow: NSWindow? convenience init() { @@ -27,6 +29,9 @@ class AccountsAddCloudKitWindowController: NSWindowController { override func windowDidLoad() { super.windowDidLoad() + + let attrString = NSAttributedString(linkText: CloudKitWebDocumentation.limitationsAndSolutionsText, linkURL: CloudKitWebDocumentation.limitationsAndSolutionsURL) + limitationsAndSolutionsTextField.attributedStringValue = attrString } // MARK: API diff --git a/Mac/Preferences/Accounts/AccountsDetail.xib b/Mac/Preferences/Accounts/AccountsDetail.xib index 0fc570b52..17cb5068f 100644 --- a/Mac/Preferences/Accounts/AccountsDetail.xib +++ b/Mac/Preferences/Accounts/AccountsDetail.xib @@ -1,8 +1,8 @@ - + - + @@ -10,6 +10,8 @@ + + @@ -18,22 +20,23 @@ - + - + - + + @@ -42,7 +45,7 @@ - + @@ -52,7 +55,7 @@ - + @@ -63,7 +66,7 @@