|
@@ -32,42 +32,34 @@ class KMComparativeView: KMBaseXibView {
|
|
|
var dataArray: [NSDictionary] = [
|
|
|
[
|
|
|
"type": 0,
|
|
|
- "title": "Register Member",
|
|
|
+ "title": "Registered",
|
|
|
"subtitle": "Free",
|
|
|
"content": [
|
|
|
- ["title": "Support efficient batch operation function",
|
|
|
+ ["title": "Basic functions like annotation and viewing",
|
|
|
"state": true],
|
|
|
- ["title": "Support for document compression",
|
|
|
+ ["title": "Convert PDF to Office (Only first ten pages)",
|
|
|
"state": true],
|
|
|
- ["title": "Create PDF from Microsoft Word, PowerPoint",
|
|
|
- "state": true],
|
|
|
- ["title": "No trial watermark when entering documents",
|
|
|
- "state": false],
|
|
|
- ["title": "No page limit when converting PDF to other",
|
|
|
+ ["title": "Save without watermark",
|
|
|
"state": false],
|
|
|
- ["title": "Using the AI function",
|
|
|
+ ["title": "AI translate, rewrite, correction",
|
|
|
"state": false]
|
|
|
],
|
|
|
- "buttonTitle": "Sign Up For Free"
|
|
|
+ "buttonTitle": "Sign up for Free"
|
|
|
],
|
|
|
[
|
|
|
"type": 1,
|
|
|
- "title": "Subscription Member",
|
|
|
+ "title": "Yearly Plan",
|
|
|
"subtitle": "$39.99",
|
|
|
- "describe": "billed year, anytime unsubscribe",
|
|
|
+ "describe": "yearly. Cancel subscription anytime.",
|
|
|
"productId": PRODUCT_1,
|
|
|
"content": [
|
|
|
- ["title": "Support efficient batch operation function",
|
|
|
- "state": true],
|
|
|
- ["title": "Support for document compression",
|
|
|
+ ["title": "Enjoy all premium features",
|
|
|
"state": true],
|
|
|
- ["title": "Create PDF from Microsoft Word, PowerPoint",
|
|
|
+ ["title": "Convert PDF to Office without limitation",
|
|
|
"state": true],
|
|
|
- ["title": "No trial watermark when entering documents",
|
|
|
+ ["title": "Save without watermark",
|
|
|
"state": true],
|
|
|
- ["title": "No page limit when converting PDF to other",
|
|
|
- "state": true],
|
|
|
- ["title": "Using the AI function",
|
|
|
+ ["title": "AI translate, rewrite, correction",
|
|
|
"state": true]
|
|
|
],
|
|
|
"buttonTitle": "Subscribe Now"
|
|
@@ -117,7 +109,10 @@ class KMComparativeView: KMBaseXibView {
|
|
|
|
|
|
override func updateLanguage() {
|
|
|
// + " " + NSLocalizedString("Subscription", comment: ""
|
|
|
- let string = NSLocalizedString("Subscription Plan: \nSubscription:USD $39.99/year", comment: "")
|
|
|
+ self.restoreButton.title = NSLocalizedString("Restore", comment: "")
|
|
|
+ self.titleLabel.stringValue = NSLocalizedString("Upgrade to Use All Features", comment: "")
|
|
|
+
|
|
|
+ let string = NSLocalizedString("Subscription Plan:\nUSD $39.99/year", comment: "")
|
|
|
let attributedString = NSMutableAttributedString.init(string: string)
|
|
|
let paragraphStyle = NSMutableParagraphStyle()
|
|
|
paragraphStyle.alignment = .left;
|