|
@@ -604,15 +604,15 @@ static KMVerificationWindowController *_currentWindowController = nil;
|
|
|
if (license.length <= 0) {
|
|
|
return;
|
|
|
}
|
|
|
- if ([license hasPrefix:@"AI-"]) {
|
|
|
- NSAlert *alert = [NSAlert alertWithMessageText:NSLocalizedString(@"Activation Error", nil)
|
|
|
- defaultButton:NSLocalizedString(@"Try Again", nil)
|
|
|
- alternateButton:nil
|
|
|
- otherButton:nil
|
|
|
- informativeTextWithFormat:NSLocalizedString(@"To activate the AI license code, click “AI Tools” on the toolbar, then tap “My AI Credit” from the right panel.", nil), nil];
|
|
|
- [alert runModal];
|
|
|
- return;
|
|
|
- }
|
|
|
+// if ([license hasPrefix:@"AI-"]) {
|
|
|
+// NSAlert *alert = [NSAlert alertWithMessageText:NSLocalizedString(@"Activation Error", nil)
|
|
|
+// defaultButton:NSLocalizedString(@"Try Again", nil)
|
|
|
+// alternateButton:nil
|
|
|
+// otherButton:nil
|
|
|
+// informativeTextWithFormat:NSLocalizedString(@"To activate the AI license code, click “AI Tools” on the toolbar, then tap “My AI Credit” from the right panel.", nil), nil];
|
|
|
+// [alert runModal];
|
|
|
+// return;
|
|
|
+// }
|
|
|
if (![self isConnectionAvailable]) {
|
|
|
NSAlert *alert = [NSAlert alertWithMessageText:NSLocalizedString(@"Connection Error", nil)
|
|
|
defaultButton:NSLocalizedString(@"OK", nil)
|
|
@@ -725,7 +725,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 PDFull.", nil);
|
|
|
+ blockSelf.activityAlertViewController.alertMessage = NSLocalizedString(@"Congrats! You are eligible to enjoy all advanced features in PDFull.", nil);
|
|
|
[blockSelf setContentView:blockSelf.activityAlertViewController.view];
|
|
|
}
|
|
|
}];
|