Browse Source

【fix】【AI】App Store购买AI后,弹出的提示框中问题和回答不对应

tangchao 6 tháng trước cách đây
mục cha
commit
425ac517e4
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      PDF Office/PDF Master/Class/Purchase/IAPProductsManager.m

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

@@ -1025,12 +1025,12 @@ NSString * const KMIAPSubscriptionLoadedNotification = @"KMIAPSubscriptionLoaded
                                  NSLocalizedString(@"I bought the in-app purchase, but the app doesn't recognize that automatically. How to recover my purchase?", nil)];
             
             if ([productIdentifier isEqualToString:self.proAIProduct.productIdentifier]) {
-                NSString *informative = [NSString stringWithFormat:@"\n%@\n\n%@\n\n%@\n\n",
+                informative = [NSString stringWithFormat:@"\n%@\n\n%@\n\n%@\n\n",
                                          NSLocalizedString(@"—》If you already completed the payment, simply click the \"Restore Previous Purchase\" button directly from the upgrade page to enable all the advanced features at no cost to you.", nil),
                                          NSLocalizedString(@"—》Due to Apple needs to confirm your purchase info, you may be required to sign in with your Apple ID. When you restore your purchase, make sure you use the same Apple ID that you previously used.", nil),
                                          NSLocalizedString(@"—》Once you see the \"Restore Successfully\" message, you will be able to access the AI tools include AI translate, AI summarize, AI proofread and AI rewrite.", nil)];
             } else {
-                NSString *informative = [NSString stringWithFormat:@"\n%@\n\n%@\n\n%@\n\n",
+                informative = [NSString stringWithFormat:@"\n%@\n\n%@\n\n%@\n\n",
                                          NSLocalizedString(@"—》If you already completed the payment, simply click the \"Restore Previous Purchase\" button directly from the upgrade page to enable all the advanced features at no cost to you.", nil),
                                          NSLocalizedString(@"—》Due to Apple needs to confirm your purchase info, you may be required to sign in with your Apple ID. When you restore your purchase, make sure you use the same Apple ID that you previously used.", nil),
                                          NSLocalizedString(@"—》Once you see the \"Restore Successfully\" message, you will be able to access the advanced features, including PDF to Office, PDF Watermark, Page Editor, and more.", nil)];