|
@@ -261,9 +261,13 @@ class KMPurchaseEmbeddedWindowController: NSWindowController {
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
pdfReaderProLabel.stringValue = NSLocalizedString("PDF Reader Pro for Mac", comment: "")
|
|
pdfReaderProLabel.stringValue = NSLocalizedString("PDF Reader Pro for Mac", comment: "")
|
|
- prmiumLabel.stringValue = NSLocalizedString("Premium and PDF to Office Converter", comment: "")
|
|
|
|
- oneLicenseLabel.stringValue = NSLocalizedString("One License for One Mac. One Time Purchase.", comment: "")
|
|
|
|
-
|
|
|
|
|
|
+ if productToType(originalProductID) == .ipaPremium {
|
|
|
|
+ prmiumLabel.stringValue = NSLocalizedString("Premium", comment: "")
|
|
|
|
+ oneLicenseLabel.stringValue = NSLocalizedString("One license for one device. One time purchase.", comment: "")
|
|
|
|
+ } else if productToType(originalProductID) == .ipaPermanent {
|
|
|
|
+ prmiumLabel.stringValue = NSLocalizedString("Permanent version (with PDF to Office Pack)", comment: "")
|
|
|
|
+ oneLicenseLabel.stringValue = NSLocalizedString("One license for one device. One time purchase.", comment: "")
|
|
|
|
+ }
|
|
aiAddOnButton.image = NSImage(named: "EmbeddedPayment06")
|
|
aiAddOnButton.image = NSImage(named: "EmbeddedPayment06")
|
|
aiAddOnLabel.stringValue = NSLocalizedString("AI Add-on", comment: "")
|
|
aiAddOnLabel.stringValue = NSLocalizedString("AI Add-on", comment: "")
|
|
aiAddOnLabel.textColor = NSColor(named: "KMPurchaseTitleColor")
|
|
aiAddOnLabel.textColor = NSColor(named: "KMPurchaseTitleColor")
|
|
@@ -304,7 +308,7 @@ class KMPurchaseEmbeddedWindowController: NSWindowController {
|
|
|
|
|
|
couponButton.title = NSLocalizedString("I have a coupon?", comment: "")
|
|
couponButton.title = NSLocalizedString("I have a coupon?", comment: "")
|
|
couponButton.setTitleColor(color: NSColor(named: "KMPurchaseCouponColor")!, font: NSFont.SFProTextRegularFont(14))
|
|
couponButton.setTitleColor(color: NSColor(named: "KMPurchaseCouponColor")!, font: NSFont.SFProTextRegularFont(14))
|
|
- coupomTextField.placeholderString = NSLocalizedString("Enter your coupon code and Apply it", comment: "")
|
|
|
|
|
|
+ coupomTextField.placeholderString = NSLocalizedString("Please enter a coupon code.", comment: "")
|
|
applyButton.title = NSLocalizedString("Apply", comment: "")
|
|
applyButton.title = NSLocalizedString("Apply", comment: "")
|
|
applyButton.setTitleColor(color: NSColor(named: "KMPurchaseApplyColor") ?? NSColor.black, font: NSFont.SFProTextRegularFont(13))
|
|
applyButton.setTitleColor(color: NSColor(named: "KMPurchaseApplyColor") ?? NSColor.black, font: NSFont.SFProTextRegularFont(13))
|
|
couponBox.isHidden = true
|
|
couponBox.isHidden = true
|
|
@@ -353,7 +357,7 @@ class KMPurchaseEmbeddedWindowController: NSWindowController {
|
|
attributedString.addAttribute(.font, value: font, range: (fullString as NSString).range(of: fullString))
|
|
attributedString.addAttribute(.font, value: font, range: (fullString as NSString).range(of: fullString))
|
|
privacyLabel.attributedStringValue = attributedString
|
|
privacyLabel.attributedStringValue = attributedString
|
|
|
|
|
|
- billInformationLabel.stringValue = NSLocalizedString("Bill Information", comment: "")
|
|
|
|
|
|
+ billInformationLabel.stringValue = NSLocalizedString("Billing Information", comment: "")
|
|
billInformationLabel.textColor = NSColor(named: "KMPurchaseTitleColor1")
|
|
billInformationLabel.textColor = NSColor(named: "KMPurchaseTitleColor1")
|
|
billInformationLabel.font = NSFont.SFProTextRegularFont(14.0)
|
|
billInformationLabel.font = NSFont.SFProTextRegularFont(14.0)
|
|
emailLabel.stringValue = NSLocalizedString("Email", comment: "")
|
|
emailLabel.stringValue = NSLocalizedString("Email", comment: "")
|
|
@@ -380,7 +384,7 @@ class KMPurchaseEmbeddedWindowController: NSWindowController {
|
|
payExplainLabel.font = NSFont.SFProTextRegularFont(11.0)
|
|
payExplainLabel.font = NSFont.SFProTextRegularFont(11.0)
|
|
let localizedString = NSLocalizedString("By submitting this order, I agree to the %@ and %@ for subscription products", comment: "")
|
|
let localizedString = NSLocalizedString("By submitting this order, I agree to the %@ and %@ for subscription products", comment: "")
|
|
let privacyPolicy = NSLocalizedString("Privacy Policy", comment: "")
|
|
let privacyPolicy = NSLocalizedString("Privacy Policy", comment: "")
|
|
- let termsOfService = NSLocalizedString("Terms of Service", comment: "")
|
|
|
|
|
|
+ let termsOfService = NSLocalizedString("Term Service", comment: "")
|
|
let fullString1 = String(format: localizedString, privacyPolicy, termsOfService)
|
|
let fullString1 = String(format: localizedString, privacyPolicy, termsOfService)
|
|
let attributedString1 = NSMutableAttributedString(string: fullString1)
|
|
let attributedString1 = NSMutableAttributedString(string: fullString1)
|
|
let privacyPolicyRange = (fullString1 as NSString).range(of: privacyPolicy)
|
|
let privacyPolicyRange = (fullString1 as NSString).range(of: privacyPolicy)
|