ソースを参照

【综合】OEM多语预处理

niehaoyu 8 ヶ月 前
コミット
0a97be0168
20 ファイル変更133 行追加133 行削除
  1. 1 1
      PDF Office/PDF Master/Class/DigtalSignature/DSignatureConfig.swift
  2. 1 1
      PDF Office/PDF Master/Class/DigtalSignature/ViewControllers/DSignatureDetailsViewController.swift
  3. 1 1
      PDF Office/PDF Master/Class/Document/KMMainDocument.swift
  4. 1 1
      PDF Office/PDF Master/Class/PDFTools/Rate/KMRateWindowController.swift
  5. 1 1
      PDF Office/PDF Master/Class/PDFTools/RemoveWatermark/VC/KMBatchOperateRemoveWatermarkViewController.swift
  6. 1 1
      PDF Office/PDF Master/Class/PDFWindowController/Side/LeftSide/KMLeftSideViewController+Note.swift
  7. 2 2
      PDF Office/PDF Master/Class/PDFWindowController/Toolbar/KMToolbarViewController.swift
  8. 3 3
      PDF Office/PDF Master/Class/Preference/Controller/KMGeneralPreferences.swift
  9. 2 2
      PDF Office/PDF Master/Class/Preference/Window/KMPreferenceController.swift
  10. 1 1
      PDF Office/PDF Master/Class/Purchase/DMG/KMPurchaseFirstTrialWindowController.swift
  11. 1 1
      PDF Office/PDF Master/Class/Purchase/DMG/Verification/KMRepeatTrialAlertController.m
  12. 1 1
      PDF Office/PDF Master/Class/Purchase/DMG/Verification/KMRepeatVerifyExpireController.m
  13. 2 2
      PDF Office/PDF Master/Class/Purchase/DMG/Verification/KMTrialSuccessController.swift
  14. 2 2
      PDF Office/PDF Master/Class/Purchase/DMG/Verification/KMUnlockAlertViewController.m
  15. 3 3
      PDF Office/PDF Master/Class/Purchase/DMG/Verification/KMVerificationActivateViewController.m
  16. 9 9
      PDF Office/PDF Master/Class/Purchase/DMG/Verification/KMVerificationWindowController.m
  17. 4 4
      PDF Office/PDF Master/Class/Purchase/KMConvertCompareViewController.m
  18. 81 81
      PDF Office/PDF Master/Strings/zh-Hans.lproj/Localizable.strings
  19. 2 2
      PDF Office/PDF Reader Pro.xcodeproj/project.pbxproj
  20. 14 14
      PDF Office/PDF-Reader-Pro-DMG-Info.plist

+ 1 - 1
PDF Office/PDF Master/Class/DigtalSignature/DSignatureConfig.swift

@@ -13,7 +13,7 @@ let REASON_KEY = NSLocalizedString("Reason", comment: "")
 let LOCATION_KEY = NSLocalizedString("Location", comment: "")
 let DATE_KEY = NSLocalizedString("Date", comment: "")
 
-let KMAPPNameValue    = "HAHAHA"
+let KMAPPNameValue    = " CISDEN OEM "
 
 #if VERSION_FREE
 

ファイルの差分が大きいため隠しています
+ 1 - 1
PDF Office/PDF Master/Class/DigtalSignature/ViewControllers/DSignatureDetailsViewController.swift


+ 1 - 1
PDF Office/PDF Master/Class/Document/KMMainDocument.swift

@@ -1165,7 +1165,7 @@ typealias KMMainDocumentCloudUploadHanddler = (@escaping(Bool, String)->()) -> (
         if let item = formatPopup?.item(withTitle: NSLocalizedString("text", comment: "")) {
             formatPopup?.removeItem(at: formatPopup!.index(of: item))
         }
-        if let item = formatPopup?.item(withTitle: "PDF Reader Pro Edition Notes") {
+        if let item = formatPopup?.item(withTitle: String(format: "%@ Notes", KMAPPNameValue)) {
             formatPopup?.removeItem(at: formatPopup!.index(of: item))
         }
         if let item = formatPopup?.item(withTitle: "XDV") {

+ 1 - 1
PDF Office/PDF Master/Class/PDFTools/Rate/KMRateWindowController.swift

@@ -32,7 +32,7 @@ class KMRateWindowController: NSWindowController, NSWindowDelegate{
         super.windowDidLoad()
         self.window?.title = NSLocalizedString("Rate Us", comment: "")
         
-        self.introduceLabel.stringValue = NSLocalizedString("We would appreciate your input! \nPlease take one minute to give us a great review on the App Store to help other people make a right decision.", comment: "")
+        self.introduceLabel.stringValue = String(format: NSLocalizedString("We would appreciate your input! \nPlease take one minute to give us a great review on the App Store to help other people make a right decision.", comment: ""), KMAPPNameValue)
         
 #if VERSION_FREE
         self.imageView.image = NSImage(named: "rate_pic_free")

+ 1 - 1
PDF Office/PDF Master/Class/PDFTools/RemoveWatermark/VC/KMBatchOperateRemoveWatermarkViewController.swift

@@ -134,7 +134,7 @@ class KMBatchOperateRemoveWatermarkViewController: KMBatchOperateBaseViewControl
     
     func localizedLanguage() {
         self.titleLabel.stringValue = self.isBackground ?  KMLocalizedString("Remove Background", nil) : KMLocalizedString("Remove Watermark", nil)
-        self.detailLabel.stringValue = self.isBackground ? KMLocalizedString("The PDF background remover helps you to remove images and color backgrounds from PDF files for an easy reading experience.", nil) : KMLocalizedString("PDF Reader Pro is a PDF watermark remover helping you to remove textual and image watermarks from PDF files. The quality of the final output is same as the original files.", nil)
+        self.detailLabel.stringValue = self.isBackground ? KMLocalizedString("The PDF background remover helps you to remove images and color backgrounds from PDF files for an easy reading experience.", nil) : String(format: KMLocalizedString("%@ is a PDF watermark remover helping you to remove textual and image watermarks from PDF files. The quality of the final output is same as the original files.", nil), KMAPPNameValue)
         self.actionButton.title = self.titleLabel.stringValue
     }
     

+ 1 - 1
PDF Office/PDF Master/Class/PDFWindowController/Side/LeftSide/KMLeftSideViewController+Note.swift

@@ -252,7 +252,7 @@ extension KMLeftSideViewController {
         item?.tag = 0
         item = subMenu.addItem(title: NSLocalizedString("PDF Bundle", tableName: "", comment: ""), action: #selector(exportAnnotationNotes), target: self)
         item?.tag = 1
-        item = subMenu.addItem(title: NSLocalizedString("PDF Reader Pro Edition Notes", tableName: "", comment: ""), action: #selector(exportAnnotationNotes), target: self)
+        item = subMenu.addItem(title: String(format: NSLocalizedString("%@ Notes", tableName: "", comment: ""), KMAPPNameValue), action: #selector(exportAnnotationNotes), target: self)
         item?.tag = 2
         item = subMenu.addItem(title: NSLocalizedString("Notes as Text", tableName: "", comment: ""), action: #selector(exportAnnotationNotes), target: self)
         item?.tag = 3

+ 2 - 2
PDF Office/PDF Master/Class/PDFWindowController/Toolbar/KMToolbarViewController.swift

@@ -1206,7 +1206,7 @@ extension KMToolbarViewController {
             item?.image = NSImage(named: "KMImageNameToolbarHomeNor")
             item?.titleName = NSLocalizedString("Home", comment: "")
             item?.target = self
-            item?.toolTip = NSLocalizedString("A Welcome Gift from Us", comment: "")
+            item?.toolTip = String(format: NSLocalizedString("A Welcome Gift from Us", comment: ""), KMAPPNameValue)
             item?.boxImagePosition = .imageAbove
             item?.selectBackgroundType = .imageBox
             item?.btnAction = #selector(_itemAction)
@@ -1808,7 +1808,7 @@ extension KMToolbarViewController {
             item?.image = NSImage(named: KMImageNameUXIconSubtoolbarConvertPPT)
             item?.target = self
             item?.btnTag = KMToolbarType.ppt.rawValue
-            item?.toolTip = NSLocalizedString("When you use PDF Reader Pro to convert PDFs to PowerPoint, you know your formats will be saved, too. So you don’t have to bother redoing bullets, tables, objects, or master layouts.", comment: "")
+            item?.toolTip = String(format: NSLocalizedString("When you use %@ to convert PDFs to PowerPoint, you know your formats will be saved, too. So you don’t have to bother redoing bullets, tables, objects, or master layouts.", comment: ""), KMAPPNameValue)
             item?.titleName = NSLocalizedString("To PPT", comment: "")
             item?.boxImagePosition = .imageLeft
             item?.btnAction = #selector(conversionMenuItemAction)

+ 3 - 3
PDF Office/PDF Master/Class/Preference/Controller/KMGeneralPreferences.swift

@@ -83,8 +83,8 @@ class KMGeneralPreferences: NSViewController {
         for item in self.openTabButton.itemArray {
             item.title = KMLocalizedString(item.title, nil)
         }
-        self.showConvertMenuButton.title = KMLocalizedString("Show PDF Reader Pro in menu bar", nil)
-        self.defaultOpenButton.title = KMLocalizedString("Set PDF Reader Pro as the default PDF viewer", nil)
+        self.showConvertMenuButton.title = String(format: KMLocalizedString("Show %@ in menu bar", nil), KMAPPNameValue)
+        self.defaultOpenButton.title = String(format: KMLocalizedString("Set %@ as the default PDF viewer", nil), KMAPPNameValue)
         self.reopenLastOpenFilesButton.title = KMLocalizedString("Reopen last open files at startup", nil)
         self.autoSaveInfoBtn.title = KMLocalizedString("Autosave Documents", nil)
         
@@ -98,7 +98,7 @@ class KMGeneralPreferences: NSViewController {
         normalButton.title = KMLocalizedString("Normal", nil)
         fullScreenButton.title = KMLocalizedString("Full Screen", nil)
         autoSaveLabel.stringValue = KMLocalizedString("To set the initial PDF view settings, choose \"Use Current View Settings as Default\" from the PDF menu.", nil)
-        autoSaveNotesBackupButton.title = KMLocalizedString("Automatically save PDF Reader Pro Edition notes backups", nil)
+        autoSaveNotesBackupButton.title = String(format: KMLocalizedString("Automatically save %@ notes backups", nil), KMAPPNameValue)
         keepSnapshotOnTopButton.title = KMLocalizedString("Keep snapshot windows on top", nil)
         updateIntervalLabelField.stringValue = KMLocalizedString("Check for PDF Reader Pro Edition updates:", nil)
         savePwdKeychainLabel.stringValue = KMLocalizedString("Save passwords in Keychain:", nil)

+ 2 - 2
PDF Office/PDF Master/Class/Preference/Window/KMPreferenceController.swift

@@ -218,7 +218,7 @@ private let NIBNAME_KEY = "nibName"
         let label = (self.currentPane as? NSViewController)?.title ?? ""
         let alert = NSAlert()
         alert.messageText = String(format: KMLocalizedString("Reset %@ preferences to their original values?", "Message in alert dialog when pressing Reset All button"), label)
-        alert.informativeText = String(format: KMLocalizedString("Choosing Reset will restore all settings in this pane to the state they were in when PDF Reader Pro Edition was first installed.", "Informative text in alert dialog when pressing Reset All button"), label)
+        alert.informativeText = String(format: KMLocalizedString("Choosing Reset will restore all settings in this pane to the state they were in when %@ was first installed.", "Informative text in alert dialog when pressing Reset All button"), KMAPPNameValue, label)
         alert.addButton(withTitle: KMLocalizedString("Reset", "Button title"))
         alert.addButton(withTitle: KMLocalizedString("Cancel", "Button title"))
         alert.beginSheetModal(for: self.window!, modalDelegate: self, didEnd: #selector(_resetCurrentSheetDidEnd), contextInfo: nil)
@@ -227,7 +227,7 @@ private let NIBNAME_KEY = "nibName"
     @IBAction func resetAll(_ sender: AnyObject?) {
         let alert = NSAlert()
         alert.messageText = KMLocalizedString("Reset all preferences to their original values?", "Message in alert dialog when pressing Reset All button")
-        alert.informativeText = KMLocalizedString("Choosing Reset will restore all settings to the state they were in when PDF Reader Pro Edition was first installed.", "Informative text in alert dialog when pressing Reset All button")
+        alert.informativeText = String(format: KMLocalizedString("Choosing Reset will restore all settings to the state they were in when %@ was first installed.", "Informative text in alert dialog when pressing Reset All button"), KMAPPNameValue)
         alert.addButton(withTitle: KMLocalizedString("Reset", "Button title"))
         alert.addButton(withTitle: KMLocalizedString("Cancel", "Button title"))
         

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

@@ -134,7 +134,7 @@ import Cocoa
         self.trialTitleField.stringValue = "👋🏻 " + NSLocalizedString("7-day Free Trial", comment: "")
         self.trialTitleField.font = NSFont(name: "Ubuntu-Bold", size: 26)
         
-        self.trialMessageField.stringValue = NSLocalizedString("PDF Reader Pro offers a 7-day free trial of the full functions.", comment: "")
+        self.trialMessageField.stringValue = String(format: NSLocalizedString("%@ offers a 7-day free trial of the full functions.", comment: ""), KMAPPNameValue)
         self.trialMessageField.font = NSFont(name: "SFProText-Regular", size: 14)
         
         self.trialFeaturesField.stringValue = NSLocalizedString("Enter your email to get free trial:", comment: "")

+ 1 - 1
PDF Office/PDF Master/Class/Purchase/DMG/Verification/KMRepeatTrialAlertController.m

@@ -70,7 +70,7 @@
 
     self.titleLbl.stringValue = NSLocalizedString(@"Unlock All Features for Free", nil);
     self.infoTitleLabel.stringValue = [@"👋🏻 " stringByAppendingString:NSLocalizedString(@"7-day Free Trial", nil)];
-    self.infoSubTitleLabel.stringValue = NSLocalizedString(@"PDF Reader Pro offers a 7-day free trial of the full functions.", nil);
+    self.infoSubTitleLabel.stringValue = [NSString stringWithFormat: NSLocalizedString(@"%@ offers a 7-day free trial of the full functions.", nil), Swift_oc_Tool.KMAPPNameValue_OC];
     self.featureLbl.stringValue = NSLocalizedString(@"Key Features", nil);
     self.nTipLabel.stringValue = NSLocalizedString(@"New", nil);
     self.nInfoLabel.stringValue = NSLocalizedString(@"Digital signature", nil);

+ 1 - 1
PDF Office/PDF Master/Class/Purchase/DMG/Verification/KMRepeatVerifyExpireController.m

@@ -68,7 +68,7 @@
     
     
     self.titleLbl.stringValue = NSLocalizedString(@"Your Trial Has Expired", nil);
-    self.subTitleLbl.stringValue = NSLocalizedString(@"Please upgrade PDF Reader Pro to enjoy all features.", nil);
+    self.subTitleLbl.stringValue = [NSString stringWithFormat: NSLocalizedString(@"Please upgrade %@ to enjoy all features.", nil), Swift_oc_Tool.KMAPPNameValue_OC];
     self.enterLicenseBtn.title = NSLocalizedString(@"Enter License", nil);
     self.laterBtn.title = NSLocalizedString(@"Later", nil);
     self.purchaseBtn.title = NSLocalizedString(@"Buy Now", nil);

+ 2 - 2
PDF Office/PDF Master/Class/Purchase/DMG/Verification/KMTrialSuccessController.swift

@@ -43,8 +43,8 @@ class KMTrialSuccessController: NSViewController {
         self.getStartBox.layer?.masksToBounds = true
         self.getStartBox.layer?.cornerRadius = CGRectGetHeight(self.getStartBox.frame)/2
         
-        self.titleLabel.stringValue = NSLocalizedString("Free Trial PDF Reader Pro for 7 Days!", comment: "")
-        self.subTitleLabel.stringValue = NSLocalizedString("Congrats! You are eligible to enjoy all advanced features in PDF Reader Pro.", comment: "")
+        self.titleLabel.stringValue = String(format: NSLocalizedString("Free Trial %@ for 7 Days!", comment: ""), KMAPPNameValue)
+        self.subTitleLabel.stringValue = String(format: NSLocalizedString("Congrats! You are eligible to enjoy all advanced features in %@.", comment: ""), KMAPPNameValue)
         self.getStartLabel.stringValue = NSLocalizedString("Start Now", comment: "")
         
         self.titleLabel.font = NSFont.UbuntuBoldFontWithSize(20)

+ 2 - 2
PDF Office/PDF Master/Class/Purchase/DMG/Verification/KMUnlockAlertViewController.m

@@ -102,7 +102,7 @@
         }
     };
     
-    self.subTitleLbl.stringValue = NSLocalizedString(@"Upgrade PDF Reader Pro to enjoy the full functions.", nil);
+    self.subTitleLbl.stringValue = [NSString stringWithFormat: NSLocalizedString(@"Upgrade %@ to enjoy the full functions.", nil), Swift_oc_Tool.KMAPPNameValue_OC];
     if ([KMAppearance isDarkMode]) {
         self.subTitleLbl.textColor = [KMAppearance KMColor_Layout_W70];
     } else {
@@ -110,7 +110,7 @@
     }
     if (ActivityStatusTrialExpire == [VerificationManager manager].status &&
         [VerificationManager manager].secondTrialEnabled == false) {
-        self.subTitleLbl.stringValue = NSLocalizedString(@"Free trial expired. Upgrade PDF Reader Pro to enjoy the full functions.", nil);
+        self.subTitleLbl.stringValue = [NSString stringWithFormat: NSLocalizedString(@"Free trial expired. Upgrade %@ to enjoy the full functions.", nil), Swift_oc_Tool.KMAPPNameValue_OC];
         self.subTitleLbl.textColor = [KMAppearance KMColor_Status_Err];
     }
     

+ 3 - 3
PDF Office/PDF Master/Class/Purchase/DMG/Verification/KMVerificationActivateViewController.m

@@ -60,7 +60,7 @@
     self.continueButton.layer.cornerRadius = 1.0;
 
     self.label.stringValue = NSLocalizedString(@"Please enter your license", nil);
-    self.sublabel.stringValue = NSLocalizedString(@"If you have already purchased PDF Reader Pro for Mac, you should find your license in an email confirmation.", nil);
+    self.sublabel.stringValue = [NSString stringWithFormat: NSLocalizedString(@"If you have already purchased %@ for Mac, you should find your license in an email confirmation.", nil), Swift_oc_Tool.KMAPPNameValue_OC];
     self.textLabel.stringValue = NSLocalizedString(@"Can't find your license?", nil);
     
     [self.textField.cell setPlaceholderString:NSLocalizedString(@"License Number", nil)];
@@ -108,13 +108,13 @@
         self.textLabel.hidden = YES;
         self.clickHereButton.hidden = YES;
         self.label.stringValue = NSLocalizedString(@"Please Enter AI License", nil);
-        self.sublabel.stringValue = NSLocalizedString(@"For PDF Reader Pro Permanent/Premium License, please click PDF Reader Pro on the menubar, then tap \"Enter License\".", nil);
+        self.sublabel.stringValue = [NSString stringWithFormat: NSLocalizedString(@"For %@ Permanent/Premium License, please click %@ on the menubar, then tap \"Enter License\".", nil), Swift_oc_Tool.KMAPPNameValue_OC];
         [self.textField.cell setPlaceholderString:NSLocalizedString(@"AI-XXXX-XXXX-XXXX-XXXX", nil)];
     } else {
         self.textLabel.hidden = NO;
         self.clickHereButton.hidden = NO;
         self.label.stringValue = NSLocalizedString(@"Please enter your license", nil);
-        self.sublabel.stringValue = NSLocalizedString(@"If you have already purchased PDF Reader Pro for Mac, you should find your license in an email confirmation.", nil);
+        self.sublabel.stringValue = [NSString stringWithFormat: NSLocalizedString(@"If you have already purchased %@ for Mac, you should find your license in an email confirmation.", nil), Swift_oc_Tool.KMAPPNameValue_OC];
         [self.textField.cell setPlaceholderString:NSLocalizedString(@"XXXX-XXXX-XXXX-XXXX", nil)];
     }
 }

+ 9 - 9
PDF Office/PDF Master/Class/Purchase/DMG/Verification/KMVerificationWindowController.m

@@ -162,10 +162,10 @@ static KMVerificationWindowController *_currentWindowController = nil;
             }
         };
         if (KMVerificationTypeTrialExpired == self.type) {
-            _normalViewController.titleText = NSLocalizedString(@"Thank you for trying PDF Reader Pro", nil);
+            _normalViewController.titleText = [NSString stringWithFormat: NSLocalizedString(@"Thank you for trying PDF Reader Pro", nil), Swift_oc_Tool.KMAPPNameValue_OC];
             _normalViewController.messageText = NSLocalizedString(@"Your trial has expired. Buy Full version to annotate and edit PDF files.", nil);
         } else {
-            _normalViewController.titleText = NSLocalizedString(@"PDF Reader Pro Activation", nil);
+            _normalViewController.titleText = [NSString stringWithFormat: NSLocalizedString(@"%@ Activation", nil), Swift_oc_Tool.KMAPPNameValue_OC];
             _normalViewController.messageText = NSLocalizedString(@"Buy Full Version to annotate and edit your PDF documents.", nil);
         }
     }
@@ -528,7 +528,7 @@ static KMVerificationWindowController *_currentWindowController = nil;
         if (error) {
 
             NSString *tTitle0 = NSLocalizedString(@"The license you have entered is not correct. Please enter valid license.", nil);
-            NSString *tTitle1 = NSLocalizedString(@"Please confirm your PDF Reader Pro AI license code through the email you provided when purchasing.", nil);
+            NSString *tTitle1 = [NSString stringWithFormat:NSLocalizedString(@"Please confirm your %@ AI license code through the email you provided when purchasing.", nil), Swift_oc_Tool.KMAPPNameValue_OC];
 
             NSString *message = [NSString stringWithFormat:@"%@\n\n%@", tTitle0, tTitle1];
 
@@ -538,7 +538,7 @@ static KMVerificationWindowController *_currentWindowController = nil;
                 message = [NSString stringWithFormat:@"%@\n\n%@", NSLocalizedString(@"License number does not exist.", nil), @""];
             } else if (ActivityErrorTypeOutNumber == error.code) {
                 NSString *tMsg0 = NSLocalizedString(@"The devices connected to the license number has outnumbered.", nil);
-                NSString *tMsg1 = NSLocalizedString(@"Please deactivate license on one of them, to use PDF Reader Pro on this computer", nil);
+                NSString *tMsg1 = [NSString stringWithFormat:NSLocalizedString(@"Please deactivate license on one of them, to use %@ on this computer", nil), Swift_oc_Tool.KMAPPNameValue_OC];
                 message = [NSString stringWithFormat:@"%@\n\n%@", tMsg0, tMsg1];
             } else if (ActivityErrorTypeNetworkDisable == error.code) {
                 message = NSLocalizedString(@"The network is unavailable.", nil);
@@ -599,7 +599,7 @@ static KMVerificationWindowController *_currentWindowController = nil;
             }
         } else {
             blockSelf.activityAlertViewController.alertTitle = NSLocalizedString(@"Successful Activation!", nil);
-            blockSelf.activityAlertViewController.alertMessage = NSLocalizedString(@"Congratulations! You can start using PDF Reader Pro AI features.", nil);
+            blockSelf.activityAlertViewController.alertMessage = [NSString stringWithFormat: NSLocalizedString(@"Congratulations! You can start using %@ AI features.", nil), Swift_oc_Tool.KMAPPNameValue_OC];
             [blockSelf setContentView:blockSelf.activityAlertViewController.view];
         }
     }];
@@ -659,7 +659,7 @@ static KMVerificationWindowController *_currentWindowController = nil;
         if (error) {
 
             NSString *tTitle0 = NSLocalizedString(@"The license you have entered is not correct. Please enter valid license.", nil);
-            NSString *tTitle1 = NSLocalizedString(@"If you have already purchased PDF Reader Pro for Mac, you should find your license in an email confirmation.", nil);
+            NSString *tTitle1 = [NSString stringWithFormat: NSLocalizedString(@"If you have already purchased %@ for Mac, you should find your license in an email confirmation.", nil), Swift_oc_Tool.KMAPPNameValue_OC];
 
             NSString *message = [NSString stringWithFormat:@"%@\n\n%@", tTitle0, tTitle1];
 
@@ -669,7 +669,7 @@ static KMVerificationWindowController *_currentWindowController = nil;
                 message = [NSString stringWithFormat:@"%@\n\n%@", NSLocalizedString(@"License number does not exist.", nil), @""];
             } else if (ActivityErrorTypeOutNumber == error.code) {
                 NSString *tMsg0 = NSLocalizedString(@"The devices connected to the license number has outnumbered.", nil);
-                NSString *tMsg1 = NSLocalizedString(@"Please deactivate license on one of them, to use PDF Reader Pro on this computer", nil);
+                NSString *tMsg1 = [NSString stringWithFormat:NSLocalizedString(@"Please deactivate license on one of them, to use %@ on this computer", nil), Swift_oc_Tool.KMAPPNameValue_OC];
                 message = [NSString stringWithFormat:@"%@\n\n%@", tMsg0, tMsg1];
             } else if (ActivityErrorTypeNetworkDisable == error.code) {
                 message = NSLocalizedString(@"The network is unavailable.", nil);
@@ -730,7 +730,7 @@ static KMVerificationWindowController *_currentWindowController = nil;
             }
         } else {
             blockSelf.activityAlertViewController.alertTitle = NSLocalizedString(@"Successful Activation!", nil);
-            blockSelf.activityAlertViewController.alertMessage = NSLocalizedString(@"Congrats! You are eligible to enjoy all advanced features (excluding AI) in PDF Reader Pro.", nil);
+            blockSelf.activityAlertViewController.alertMessage = [NSString stringWithFormat: NSLocalizedString(@"Congrats! You are eligible to enjoy all advanced features (excluding AI) in %@.", nil), Swift_oc_Tool.KMAPPNameValue_OC];
             [blockSelf setContentView:blockSelf.activityAlertViewController.view];
         }
     }];
@@ -781,7 +781,7 @@ static KMVerificationWindowController *_currentWindowController = nil;
     subjects = [subjects stringByAppendingString:[NSString stringWithFormat:@" %@",NSLocalizedString(@"Unbind License Code:", nil)]];
     subjects = [subjects stringByAppendingString:[NSString stringWithFormat:@"%@",[VerificationManager manager].detailInfo[@"device"][@"unique_sn"]?:@""]];
     
-    NSString *mailtoAddress = [NSString stringWithFormat:@"mailto:%@?Subject=%@&body=%@",@"support@pdfreaderpro.com",[self URLEncodedString:subjects],[self URLEncodedString:NSLocalizedString(@"Hi PDF Reader Pro Team, I need to unbind my license code, thanks!\nNotice: Please do not modify the subtitle content", nil)]];
+    NSString *mailtoAddress = [NSString stringWithFormat:@"mailto:%@?Subject=%@&body=%@",@"support@pdfreaderpro.com",[self URLEncodedString:subjects],[self URLEncodedString:[NSString stringWithFormat: NSLocalizedString(@"Hi %@ Team, I need to unbind my license code, thanks!\nNotice: Please do not modify the subtitle content", nil), Swift_oc_Tool.KMAPPNameValue_OC]]];
     [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:mailtoAddress]];
 }
 

ファイルの差分が大きいため隠しています
+ 4 - 4
PDF Office/PDF Master/Class/Purchase/KMConvertCompareViewController.m


ファイルの差分が大きいため隠しています
+ 81 - 81
PDF Office/PDF Master/Strings/zh-Hans.lproj/Localizable.strings


+ 2 - 2
PDF Office/PDF Reader Pro.xcodeproj/project.pbxproj

@@ -20152,7 +20152,7 @@
 				);
 				GENERATE_INFOPLIST_FILE = YES;
 				INFOPLIST_FILE = "PDF-Reader-Pro-DMG-Info.plist";
-				INFOPLIST_KEY_CFBundleDisplayName = "PDF Reader Pro";
+				INFOPLIST_KEY_CFBundleDisplayName = "PDF Reader Pro ";
 				INFOPLIST_KEY_NSAppleEventsUsageDescription = "Enable the email access to contact us directly though the Mail app.";
 				INFOPLIST_KEY_NSHumanReadableCopyright = "";
 				INFOPLIST_KEY_NSMainStoryboardFile = Main;
@@ -20335,7 +20335,7 @@
 				);
 				GENERATE_INFOPLIST_FILE = YES;
 				INFOPLIST_FILE = "PDF-Reader-Pro-DMG-Info.plist";
-				INFOPLIST_KEY_CFBundleDisplayName = "PDF Reader Pro";
+				INFOPLIST_KEY_CFBundleDisplayName = "PDF Reader Pro ";
 				INFOPLIST_KEY_NSAppleEventsUsageDescription = "Enable the email access to contact us directly though the Mail app.";
 				INFOPLIST_KEY_NSHumanReadableCopyright = "";
 				INFOPLIST_KEY_NSMainStoryboardFile = Main;

+ 14 - 14
PDF Office/PDF-Reader-Pro-DMG-Info.plist

@@ -318,20 +318,6 @@
 		<key>NSAllowsArbitraryLoads</key>
 		<true/>
 	</dict>
-	<key>SUFeedURL</key>
-	<string></string>
-	<key>SUPublicDSAKeyFile</key>
-	<string>dsa_pub.pem</string>
-	<key>SUScheduledCheckInterval</key>
-	<integer>86400</integer>
-	<key>UIAppFonts</key>
-	<array>
-		<string>SF-Pro-Text-Regular.otf</string>
-		<string>SF-Pro-Text-Semibold.otf</string>
-		<string>SF-Pro-Text-Bold.otf</string>
-		<string>Ubuntu-Bold.ttf</string>
-		<string>Ubuntu-Medium.ttf</string>
-	</array>
 	<key>NSServices</key>
 	<array>
 		<dict>
@@ -447,5 +433,19 @@
 			</array>
 		</dict>
 	</array>
+	<key>SUFeedURL</key>
+	<string></string>
+	<key>SUPublicDSAKeyFile</key>
+	<string>dsa_pub.pem</string>
+	<key>SUScheduledCheckInterval</key>
+	<integer>86400</integer>
+	<key>UIAppFonts</key>
+	<array>
+		<string>SF-Pro-Text-Regular.otf</string>
+		<string>SF-Pro-Text-Semibold.otf</string>
+		<string>SF-Pro-Text-Bold.otf</string>
+		<string>Ubuntu-Bold.ttf</string>
+		<string>Ubuntu-Medium.ttf</string>
+	</array>
 </dict>
 </plist>