|
@@ -32,14 +32,14 @@ class KMSubscribeWaterMarkView: KMBaseXibView {
|
|
|
var restoreAction: KMSubscribeWaterMarkViewWaterMarkRestoreAction?
|
|
|
|
|
|
var dataArray = [
|
|
|
- ["title": "No trial watermark when exporting documents",
|
|
|
- "subtitle": "The trial watermark will be added when you save the file after trying the advanced features",
|
|
|
+ ["title": "Save without watermark",
|
|
|
+ "subtitle": "When you save a document with PDF Master after editing, no watermark will be attached",
|
|
|
"image": "remove watermark"],
|
|
|
- ["title": "No page limit when converting PDF to other formats",
|
|
|
- "subtitle": "The trial watermark will be added when you save the file after trying the advanced features",
|
|
|
+ ["title": "Convert PDF without limitation",
|
|
|
+ "subtitle": "Convert PDF to Office and image without any limitations, get converted files in high quality",
|
|
|
"image": "convert"],
|
|
|
- ["title": "Using the AI function",
|
|
|
- "subtitle": "The trial watermark will be added when you save the file after trying the advanced features",
|
|
|
+ ["title": "AI assitant",
|
|
|
+ "subtitle": "Support AI translation, AI rewriting, AI correction",
|
|
|
"image": "ai"]
|
|
|
]
|
|
|
|
|
@@ -79,11 +79,17 @@ class KMSubscribeWaterMarkView: KMBaseXibView {
|
|
|
self.restoreButton.font = NSFont.SFProTextRegular(14)
|
|
|
|
|
|
self.lineView.backgroundColor(NSColor(hex: "#000000", alpha: 0.1))
|
|
|
+
|
|
|
+ self.textView.frame = (self.textView.enclosingScrollView?.contentView.bounds)!
|
|
|
+ self.textView.autoresizingMask = [.width, .height]
|
|
|
}
|
|
|
|
|
|
override func updateLanguage() {
|
|
|
+ self.titleLabel.stringValue = NSLocalizedString("Subscription Benefits", comment: "")
|
|
|
+ self.waterExportButton.title = NSLocalizedString("Save with Watermark", comment: "")
|
|
|
+ self.subscribeButton.title = NSLocalizedString("Subscribe", comment: "")
|
|
|
// + " " + NSLocalizedString("Subscription", comment: ""
|
|
|
- let string = NSLocalizedString("Subscription Plan: \nSubscription:USD $39.99/year", comment: "")
|
|
|
+ let string = NSLocalizedString("Subscription Plan:\nSubscription:USD $39.99/year", comment: "")
|
|
|
let attributedString = NSMutableAttributedString.init(string: string)
|
|
|
let paragraphStyle = NSMutableParagraphStyle()
|
|
|
paragraphStyle.alignment = .left;
|