Browse Source

【综合】补充多语

tangchao 3 months ago
parent
commit
9b66d396da

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

@@ -525,7 +525,7 @@ class KMPurchaseEmbeddedWindowController: NSWindowController {
         billInformationLabel.stringValue = NSLocalizedString("Billing Information", comment: "")
         billInformationLabel.textColor = NSColor(named: "KMPurchaseTitleColor1")
         billInformationLabel.font = NSFont.SFProTextRegularFont(14.0)
-        emailLabel.stringValue = NSLocalizedString("You can purchase from the account associated with this email. If the email address is not registered, it will be automatically registered for you after purchase.", comment: "")
+        emailLabel.stringValue = NSLocalizedString("You can purchase with the account linked to this email. If the email is not registered, an account will be automatically created for you upon successful purchase.", tableName: "MemberCenterLocalizable", comment: "")
         emailLabel.textColor = NSColor(named: "KMPurchaseTitleColor1")
         emailLabel.font = NSFont.SFProTextRegularFont(14.0)
         emailTextField.placeholderString = NSLocalizedString("Email to receive license code", comment: "")

+ 7 - 7
PDF Office/PDF Master/Class/Purchase/IAPProductsManager.h

@@ -15,15 +15,15 @@ extern NSString * const KMIAPProductRestoreFailedNotification;
 extern NSString * const KMIAPProductRestoreFinishedNotification;
 extern NSString * const KMIAPSubscriptionLoadedNotification;
 
-extern NSString * const KMStandardAnnualSubscriptionCodeKey; // "productName": "PDF Reader Pro Standard - Annual Plan"
-extern NSString * const KMAdvancedAnnualSubscriptionCodeKey; //"productName": "PDF Reader Pro Advanced - Annual Plan"
-extern NSString * const KMAdvancedPermanentCodeKey; // "productName": "PDF Reader Pro Permanent"
+extern NSString * const KMStandardAnnualSubscriptionCodeKey_DMG; // "productName": "PDF Reader Pro Standard - Annual Plan"
+extern NSString * const KMAdvancedAnnualSubscriptionCodeKey_DMG; //"productName": "PDF Reader Pro Advanced - Annual Plan"
+extern NSString * const KMAdvancedPermanentCodeKey_DMG; // "productName": "PDF Reader Pro Permanent"
 
-extern NSString * const KMAISubscriptionYearTrailCodeKey;               // 0元试用AI 年订阅 产品Code
-extern NSString * const KMAISubscriptionMonthCodeKey;                   // 0元试用AI 月订阅 产品Code
+extern NSString * const KMAISubscriptionYearTrailCodeKey_DMG;               // 0元试用AI 年订阅 产品Code
+extern NSString * const KMAISubscriptionMonthCodeKey_DMG;                   // 0元试用AI 月订阅 产品Code
 
-extern NSString * const KMAdvancedPermanentBlackFiveCodeKey; // "productName": "PDF Reader Pro Permanent"
-extern NSString * const KMAdvancedAnnualSubscriptionBlackFiveCodeKey; //"productName": "PDF Reader Pro Advanced - Annual Plan"
+extern NSString * const KMAdvancedPermanentBlackFiveCodeKey_DMG; // "productName": "PDF Reader Pro Permanent"
+extern NSString * const KMAdvancedAnnualSubscriptionBlackFiveCodeKey_DMG; //"productName": "PDF Reader Pro Advanced - Annual Plan"
 
 @class SKProduct;
 

+ 9 - 9
PDF Office/PDF Master/Class/Purchase/IAPProductsManager.m

@@ -48,15 +48,15 @@ NSString * const KMStandardAddDevicesAllAccessPack_12Months_Pro = @"com.pdfreade
 NSString * const KMAdvancedAddDevicesAllAccessPack12Months_Pro = @"com.pdfreaderpro.mac.advanced_add_devices_all_access_pack_advanced_annual.001"; // 产品名称:advanced_add_devices_all_access_pack_12months(多设备包订阅)
 NSString * const KMAdvancedAdd2DevicesAllAccessPack12Months_Pro = @"com.pdfreaderpro.mac.advanced_add_2_devices_all_access_pack_advanced_annual.001"; // 产品名称:advanced_add_2_devices_all_access_pack_12months(多设备包订阅)
 
-NSString * const KMStandardAnnualSubscriptionCodeKey                    = @"standard-annual-subscription"; // "productName": "PDF Reader Pro Standard - Annual Plan"
-NSString * const KMAdvancedAnnualSubscriptionCodeKey                    = @"advanced-annual-subscription"; //"productName": "PDF Reader Pro Advanced - Annual Plan"
-NSString * const KMAdvancedPermanentCodeKey                             = @"advanced-permanent"; // "productName": "PDF Reader Pro Permanent"
+NSString * const KMStandardAnnualSubscriptionCodeKey_DMG                    = @"standard-annual-subscription"; // "productName": "PDF Reader Pro Standard - Annual Plan"
+NSString * const KMAdvancedAnnualSubscriptionCodeKey_DMG                    = @"advanced-annual-subscription"; //"productName": "PDF Reader Pro Advanced - Annual Plan"
+NSString * const KMAdvancedPermanentCodeKey_DMG                             = @"advanced-permanent"; // "productName": "PDF Reader Pro Permanent"
 
-NSString * const KMAISubscriptionYearTrailCodeKey                       = @"ai-subscription-year-trail"; // 0元试用AI 年订阅 产品Code
-NSString * const KMAISubscriptionMonthCodeKey                           = @"ai-subscription-month"; // 0元试用AI 月订阅 产品Code
+NSString * const KMAISubscriptionYearTrailCodeKey_DMG                       = @"ai-subscription-year-trail"; // 0元试用AI 年订阅 产品Code
+NSString * const KMAISubscriptionMonthCodeKey_DMG                           = @"ai-subscription-month"; // 0元试用AI 月订阅 产品Code
 
-NSString * const KMAdvancedPermanentBlackFiveCodeKey                    = @"advanced-permanent-blackFive"; // "productName": "PDF Reader Pro Permanent"
-NSString * const KMAdvancedAnnualSubscriptionBlackFiveCodeKey           = @"advanced-annual-subscription-blackFive"; //"productName": "PDF Reader Pro Advanced - Annual Plan"
+NSString * const KMAdvancedPermanentBlackFiveCodeKey_DMG                    = @"advanced-permanent-blackFive"; // "productName": "PDF Reader Pro Permanent"
+NSString * const KMAdvancedAnnualSubscriptionBlackFiveCodeKey_DMG           = @"advanced-annual-subscription-blackFive"; //"productName": "PDF Reader Pro Advanced - Annual Plan"
 
 //NSString * const KMNewMonthLicenseProductIdentifier = @"com.pdftechnologies.pdfreader.mac.yearly.002.Test";
 NSString * const KMAllLicenseProductIdentifier = @"com.pdfreaderpro.mac_free.member.all_access_pack_permanent_license.001";
@@ -375,13 +375,13 @@ NSString * const KMIAPSubscriptionLoadedNotification = @"KMIAPSubscriptionLoaded
         self.DMGPDFReaderProPermanent.isOffers = isOffers;
 
         self.DMGPDFReaderProAI_Annual = [[[IAPProduct alloc] init] autorelease];
-        self.DMGPDFReaderProAI_Annual.productIdentifier = KMAISubscriptionYearTrailCodeKey;
+        self.DMGPDFReaderProAI_Annual.productIdentifier = KMAISubscriptionYearTrailCodeKey_DMG;
         self.DMGPDFReaderProAI_Annual.priceNumber = @(125.99);
         self.DMGPDFReaderProAI_Annual.offersPriceNumber = @(125.99);
         self.DMGPDFReaderProAI_Annual.isOffers = isOffers;
 
         self.DMGPDFReaderProAI_Monthly = [[[IAPProduct alloc] init] autorelease];
-        self.DMGPDFReaderProAI_Monthly.productIdentifier = KMAISubscriptionMonthCodeKey;
+        self.DMGPDFReaderProAI_Monthly.productIdentifier = KMAISubscriptionMonthCodeKey_DMG;
         self.DMGPDFReaderProAI_Monthly.priceNumber = @(14.99);
         self.DMGPDFReaderProAI_Monthly.offersPriceNumber = @(14.99);
         self.DMGPDFReaderProAI_Monthly.isOffers = isOffers;

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

@@ -183,3 +183,5 @@
 
 "If you need to manage seats in PDF Reader Pro, please purchase the %@." = "If you need to manage seats in PDF Reader Pro, please purchase the %@.";
 "enterprise version" = "enterprise version";
+
+"You can purchase with the account linked to this email. If the email is not registered, an account will be automatically created for you upon successful purchase." = "You can purchase with the account linked to this email. If the email is not registered, an account will be automatically created for you upon successful purchase.";

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

@@ -179,3 +179,5 @@
 
 "If you need to manage seats in PDF Reader Pro, please purchase the %@." = "如需团队席位管理功能,请前往购买。%@";
 "enterprise version" = "企业版";
+
+"You can purchase with the account linked to this email. If the email is not registered, an account will be automatically created for you upon successful purchase." = "您可以通过此邮箱关联的账户购买。如该邮箱未注册,购买后将自动为您注册。";

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

@@ -180,3 +180,5 @@
 
 "If you need to manage seats in PDF Reader Pro, please purchase the %@." = "如需團隊席位管理功能,請前往購買。%@";
 "enterprise version" = "企業版";
+
+"You can purchase with the account linked to this email. If the email is not registered, an account will be automatically created for you upon successful purchase." = "您可以透過此郵箱關聯的帳戶購買。";

+ 1 - 1
PDF Office/PDF Master/MemberCenter/WindowsController/KMFreeGetAIWC.swift

@@ -110,7 +110,7 @@ class KMFreeGetAIWC: NSWindowController {
 #if VERSION_DMG
     // DMG
 #if VERSION_DMG
-            let embeddedWC = KMPurchaseEmbeddedWindowController.currentCode(KMAISubscriptionYearTrailCodeKey)
+            let embeddedWC = KMPurchaseEmbeddedWindowController.currentCode(KMAISubscriptionYearTrailCodeKey_DMG)
             embeddedWC.showWindow(nil)
             embeddedWC.window?.center()
 #endif