Browse Source

【内嵌支付】隐私文案调整

wanjun 6 tháng trước cách đây
mục cha
commit
3e805c49c9

+ 10 - 6
PDF Office/PDF Master/Class/Purchase/DMG/KMPurchaseEmbeddedWindowController.swift

@@ -261,9 +261,13 @@ class KMPurchaseEmbeddedWindowController: NSWindowController {
             }
         } else {
             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")
             aiAddOnLabel.stringValue = NSLocalizedString("AI Add-on", comment: "")
             aiAddOnLabel.textColor = NSColor(named: "KMPurchaseTitleColor")
@@ -304,7 +308,7 @@ class KMPurchaseEmbeddedWindowController: NSWindowController {
 
         couponButton.title = NSLocalizedString("I have a coupon?", comment: "")
         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.setTitleColor(color: NSColor(named: "KMPurchaseApplyColor") ?? NSColor.black, font: NSFont.SFProTextRegularFont(13))
         couponBox.isHidden = true
@@ -353,7 +357,7 @@ class KMPurchaseEmbeddedWindowController: NSWindowController {
         attributedString.addAttribute(.font, value: font, range: (fullString as NSString).range(of: fullString))
         privacyLabel.attributedStringValue = attributedString
 
-        billInformationLabel.stringValue = NSLocalizedString("Bill Information", comment: "")
+        billInformationLabel.stringValue = NSLocalizedString("Billing Information", comment: "")
         billInformationLabel.textColor = NSColor(named: "KMPurchaseTitleColor1")
         billInformationLabel.font = NSFont.SFProTextRegularFont(14.0)
         emailLabel.stringValue = NSLocalizedString("Email", comment: "")
@@ -380,7 +384,7 @@ class KMPurchaseEmbeddedWindowController: NSWindowController {
         payExplainLabel.font = NSFont.SFProTextRegularFont(11.0)
         let localizedString = NSLocalizedString("By submitting this order, I agree to the %@ and %@ for subscription products", 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 attributedString1 = NSMutableAttributedString(string: fullString1)
         let privacyPolicyRange = (fullString1 as NSString).range(of: privacyPolicy)

+ 4 - 1
PDF Office/PDF Master/Strings/en.lproj/Localizable.strings

@@ -4203,10 +4203,13 @@
 "Please enter right license code. How to Retrieve License." = "Please enter right license code. How to Retrieve License.";
 "Input license code previously activated the app" = "Input license code previously activated the app";
 "By submitting this order, I agree to the Privacy Policy and Terms of Service for subscription products" = "By submitting this order, I agree to the Privacy Policy and Terms of Service for subscription products";
+"By submitting this order, I agree to the %@ and %@ for subscription products" = "By submitting this order, I agree to the %@ and %@ for subscription products";
 "Continue to Pay" = "Continue to Pay";
 "1 license code to activate 2 PCs. (Mac and Windows)" = "1 license code to activate 2 PCs. (Mac and Windows)";
 "Pay sum" = "Pay sum";
-"Are you a student or a professor? Get Special Offer / Want a volume purchase? Please Contact Us." = "Are you a student or a professor? Get Special Offer / Want a volume purchase? Please Contact Us.";
+"Are you a student or a professor? %@ / Want a volume purchase? Please %@." = "Are you a student or a professor? %@ / Want a volume purchase? Please %@.";
+"Get Special Offer" = "Get Special Offer";
+"Contact Us" = "Contact Us";
 "Applied" = "Applied";
 "Please enter a coupon code." = "Please enter a coupon code.";
 "Please enter your email for license receiving." = "Please enter your email for license receiving.";

+ 3 - 0
PDF Office/PDF Master/Strings/zh-Hans.lproj/Localizable.strings

@@ -4107,6 +4107,9 @@
 "1 license code to activate 2 PCs. (Mac and Windows)" = "一个序列码可激活两台桌机设备(Mac和Windows)";
 "Pay sum" = "支付金额";
 "Are you a student or a professor? Get Special Offer / Want a volume purchase? Please Contact Us." = "点击此处申请教育折扣。申请批量采购折扣请联系我们。";
+"Are you a student or a professor? %@ / Want a volume purchase? Please %@." = "点击此处%@。申请批量采购折扣请%@。";
+"Get Special Offer" = "申请教育折扣";
+"Contact Us" = "联系我们";
 "Applied" = "已应用";
 "Please enter a coupon code." = "请输入优惠券码。";
 "Please enter your email for license receiving." = "请输入邮箱,用于接收序列码。";

+ 3 - 1
PDF Office/PDF Master/Strings/zh-Hant.lproj/Localizable.strings

@@ -4238,7 +4238,9 @@
 "Continue to Pay" = "繼續支付";
 "1 license code to activate 2 PCs. (Mac and Windows)" = "一個序號可啟動突變桌機設備(Mac和Windows)";
 "Pay sum" = "支付金額";
-"Are you a student or a professor? Get Special Offer / Want a volume purchase? Please Contact Us." = "點擊此處申請教育折扣。";
+"Are you a student or a professor? %@ / Want a volume purchase? Please %@." = "點擊此處%@。申請批量採購折扣%@。";
+"Get Special Offer" = "獲得特別優惠";
+"Contact Us" = "聯絡我們";
 "Applied" = "已申請";
 "Please enter a coupon code." = "請輸入優惠券碼。";
 "Please enter your email for license receiving." = "請輸入郵箱,用於接收序號。";