Browse Source

【fix】【领取1年AI弹窗】文案与表单中不一致

tangchao 3 months ago
parent
commit
d36cabbf3c

+ 4 - 0
PDF Office/PDF Master/MemberCenter/Assets/en.lproj/MemberCenterLocalizable.strings

@@ -113,3 +113,7 @@
 "Free Use 1-Year AI Tools" = "Free Use 1-Year AI Tools";
 
 "Password cannot exceed 30 characters." = "Password cannot exceed 30 characters.";
+
+"1-Year AI Tools Giveaway" = "1-Year AI Tools Giveaway";
+"Free for the first year, then automatically renew at $125.99 annually. You can cancel your subscription anytime." = "Free for the first year, then automatically renew at $125.99 annually. You can cancel your subscription anytime.";
+"Service Agreement" = "Service Agreement";

+ 4 - 0
PDF Office/PDF Master/MemberCenter/Assets/zh-Hans.lproj/MemberCenterLocalizable.strings

@@ -109,3 +109,7 @@
 "Free Use 1-Year AI Tools" = "0元领取1年AI";
 
 "Password cannot exceed 30 characters." = "密码不能超过30个字符。";
+
+"1-Year AI Tools Giveaway" = "赠送您一年AI";
+"Free for the first year, then automatically renew at $125.99 annually. You can cancel your subscription anytime." = "首年0元,到期自动续费818.9元/年,可随时取消";
+"Service Agreement" = "服务协议";

+ 4 - 0
PDF Office/PDF Master/MemberCenter/Assets/zh-Hant.lproj/MemberCenterLocalizable.strings

@@ -110,3 +110,7 @@
 "Free Use 1-Year AI Tools" = "0元領取1年AI";
 
 "Password cannot exceed 30 characters." = "密碼不能超過30個字元。";
+
+"1-Year AI Tools Giveaway" = "贈送您一年AI";
+"Free for the first year, then automatically renew at $125.99 annually. You can cancel your subscription anytime." = "首年0元,到期自動續約818.9元/年,可隨時取消";
+"Service Agreement" = "服務協議";

+ 4 - 3
PDF Office/PDF Master/MemberCenter/WindowsController/KMFreeGetAIWC.swift

@@ -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)