|
@@ -56,6 +56,11 @@ class KMFreeGetAIWC: NSWindowController {
|
|
|
privacyPolicyLabel.isEditable = false
|
|
|
privacyPolicyLabel.isSelectable = true
|
|
|
privacyPolicyLabel.allowsEditingTextAttributes = true
|
|
|
+
|
|
|
+ termsServiceLabel.isEditable = false
|
|
|
+ termsServiceLabel.isSelectable = true
|
|
|
+ termsServiceLabel.allowsEditingTextAttributes = true
|
|
|
+
|
|
|
let privacyPolicy = NSLocalizedString("Privacy Policy", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
let termsService = NSLocalizedString("Terms of Service", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
let attributedString1 = NSMutableAttributedString(string: privacyPolicy)
|
|
@@ -66,13 +71,13 @@ class KMFreeGetAIWC: NSWindowController {
|
|
|
.font: NSFont.systemFont(ofSize: 12),
|
|
|
.foregroundColor: NSColor(named: "273C62") ?? .blue,
|
|
|
.underlineStyle: NSUnderlineStyle.single.rawValue,
|
|
|
- .link: NSURL(string: NSLocalizedString("https://www.pdfreaderpro.com/privacy-policy", comment: ""))!
|
|
|
+ .link: NSURL(string: "https://www.pdfreaderpro.com/privacy-policy")!
|
|
|
], range: privacyPolicyRange)
|
|
|
attributedString2.addAttributes([
|
|
|
.font: NSFont.systemFont(ofSize: 12),
|
|
|
.foregroundColor: NSColor(named: "273C62") ?? .blue,
|
|
|
.underlineStyle: NSUnderlineStyle.single.rawValue,
|
|
|
- .link: NSURL(string: NSLocalizedString("https://www.pdfreaderpro.com/terms_of_service", comment: ""))!
|
|
|
+ .link: NSURL(string:"https://www.pdfreaderpro.com/terms_of_service")!
|
|
|
], range: termsServiceRange)
|
|
|
privacyPolicyLabel.attributedStringValue = attributedString1
|
|
|
termsServiceLabel.attributedStringValue = attributedString2
|