|
@@ -34,6 +34,7 @@ class KMFreeGetAIWC: NSWindowController {
|
|
|
languageLocalized()
|
|
|
initializeUI()
|
|
|
|
|
|
+ subTitle2.isHidden = true
|
|
|
subTitle3.isHidden = true
|
|
|
|
|
|
DistributedNotificationCenter.default.addObserver(self, selector: #selector(themeChanged(_:)), name: NSNotification.Name("AppleInterfaceThemeChangedNotification"), object: nil)
|
|
@@ -48,8 +49,8 @@ class KMFreeGetAIWC: NSWindowController {
|
|
|
// MARK: Private Method
|
|
|
|
|
|
private func languageLocalized() -> Void {
|
|
|
- titleLabel1.stringValue = NSLocalizedString("Successfully subscribe PDF Reader Pro Advanced - Annual Plan!", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
- subTitle1.stringValue = String(format: " · %@", NSLocalizedString("You get the chance to use AI Tools free for a year on the desktop version", tableName: "MemberCenterLocalizable", comment: ""))
|
|
|
+ titleLabel1.stringValue = NSLocalizedString("1-Year AI Tools Giveaway", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
+ subTitle1.stringValue = String(format: " · %@", NSLocalizedString("Free for the first year, then automatically renew at $125.99 annually. You can cancel your subscription anytime.", tableName: "MemberCenterLocalizable", comment: ""))
|
|
|
subTitle2.stringValue = String(format: " · %@", NSLocalizedString("Free for the first year, then auto-renewal at $125.99 per year. You can cancel your subscription anytime.", tableName: "MemberCenterLocalizable", comment: ""))
|
|
|
subTitle3.stringValue = String(format: " · %@", NSLocalizedString("Pick up free AI Tools before 23:59:00, or it will be invalid", tableName: "MemberCenterLocalizable", comment: ""))
|
|
|
aitoolsLabel.stringValue = NSLocalizedString("Get 1-Year AI Tools with $0", tableName: "MemberCenterLocalizable", comment: "")
|
|
@@ -78,7 +79,7 @@ class KMFreeGetAIWC: NSWindowController {
|
|
|
)
|
|
|
|
|
|
let privacyPolicy = NSLocalizedString("Privacy Policy", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
- let termsService = NSLocalizedString("Terms of Service", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
+ let termsService = NSLocalizedString("Service Agreement", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
let attributedString1 = NSMutableAttributedString(string: privacyPolicy)
|
|
|
let attributedString2 = NSMutableAttributedString(string: termsService)
|
|
|
let privacyPolicyRange = (privacyPolicy as NSString).range(of: privacyPolicy)
|