|
@@ -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]];
|
|
|
}
|
|
|
|