Explorar o código

【fix】【导航栏】AppStore免费版,新人礼弹窗标题未居中

tangchao hai 2 meses
pai
achega
5cbf0fe98c

+ 6 - 2
PDF Office/PDF Master/Class/Account/NewUserGift/Window/KMNewUserGiftWindowController.swift

@@ -67,6 +67,7 @@ import Cocoa
         titleLabel.stringValue = NSLocalizedString("Welcome Gift For New Users!", comment: "")
         subTitleLabel.stringValue = NSLocalizedString("Hi! We’re delighted to meet you. Dive in and enjoy your PDF journey with us!", comment: "")
         titleLabel.font = .UbuntuMediumFontWithSize(30)
+        titleLabel.alignment = .center
         subTitleLabel.font = .UbuntuMediumFontWithSize(16)
         
         contentBox.contentView?.addSubview(listBackgroundIv, positioned: .below, relativeTo: listBox)
@@ -89,7 +90,7 @@ import Cocoa
         listBos2.contentView = giftItemView2_
         giftItemView_.titleLabel.stringValue = String(format: NSLocalizedString("%d-day VIP Free Trial", comment: ""), 7)
         giftItemView_.titleLabel.font = .SFProTextRegularFont(20)
-        giftItemView_.subTitleLabel.stringValue = NSLocalizedString("Enjoy the full functions of PDF Reader Pro. Edit, convert, annotate, and combine PDFs.", comment: "")
+        giftItemView_.subTitleLabel.stringValue = NSLocalizedString("Enjoy the full functions of PDF Reader Pro.\nEdit, convert, annotate, and combine PDFs.", comment: "")
         giftItemView_.subTitleLabel.font = .SFProTextRegularFont(14)
         giftItemView2_.titleLabel.font = .SFProTextRegularFont(20)
         
@@ -208,7 +209,10 @@ import Cocoa
         let appFirstLaunch = KMDataManager.default.appFirstLaunch
         let appFirstLaunchForUpdate = KMDataManager.default.appFirstLaunchForUpdate
         if appFirstLaunch == false && appFirstLaunchForUpdate == false {
-//            return false
+#if DEBUG
+#else
+            return false
+#endif
         }
         
         // App 第一次启动 或 App 更新后第一次启动

+ 1 - 1
PDF Office/PDF Master/Strings/ar.lproj/Localizable.strings

@@ -4789,7 +4789,7 @@
 "Hi! We’re delighted to meet you. Dive in and enjoy your PDF journey with us!" = "أهلاً! نحن سعداء بلقائك. انغمس واستمتع برحلة PDF الخاصة بك معنا!";
 "%@ Coupons in Total" = "كوبونات بقيمة %@ دولارًا إجمالاً";
 "%d-day VIP Free Trial" = "تجربة مجانية لكبار الشخصيات لمدة %d أيام";
-"Enjoy the full functions of PDF Reader Pro. Edit, convert, annotate, and combine PDFs." = "استمتع بالوظائف الكاملة لبرنامج PDF Reader Pro.
+"Enjoy the full functions of PDF Reader Pro.\nEdit, convert, annotate, and combine PDFs." = "استمتع بالوظائف الكاملة لبرنامج PDF Reader Pro.\n
 تحرير وتحويل وإضافة تعليقات توضيحية ودمج ملفات PDF.";
 "Sign in to Get Gift->" = "قم بتسجيل الدخول للحصول على هدية->";
 "New users can get %@ Coupons to upgrade the plan." = "يمكن للمستخدمين الجدد الحصول على كوبونات بقيمة %@ دولارًا لترقية الخطة.";

+ 1 - 1
PDF Office/PDF Master/Strings/de.lproj/Localizable.strings

@@ -3155,7 +3155,7 @@
 "Hi! We’re delighted to meet you. Dive in and enjoy your PDF journey with us!" = "Hallo! Wir freuen uns, Sie kennenzulernen. Tauchen Sie ein und genießen Sie Ihre PDF-Reise!";
 "%@ Coupons in Total" = "Gutscheine im Wert von insgesamt %@";
 "%d-day VIP Free Trial" = "%d-tägige kostenlose VIP-Testversion";
-"Enjoy the full functions of PDF Reader Pro. Edit, convert, annotate, and combine PDFs." = "Genießen Sie die Funktionen von PDF Reader Pro. Bearbeiten, konvertieren und kommentieren Sie PDFs.";
+"Enjoy the full functions of PDF Reader Pro.\nEdit, convert, annotate, and combine PDFs." = "Genießen Sie die Funktionen von PDF Reader Pro.\n Bearbeiten, konvertieren und kommentieren Sie PDFs.";
 "Sign in to Get Gift->" = "Geschenk bekommen->";
 "New users can get %@ Coupons to upgrade the plan." = "Neue Benutzer können %@ Gutscheine erhalten, um den Plan zu aktualisieren.";
 "Welcome Gifts" = "Geschenke";

+ 1 - 1
PDF Office/PDF Master/Strings/en.lproj/Localizable.strings

@@ -4327,7 +4327,7 @@
 "Hi! We’re delighted to meet you. Dive in and enjoy your PDF journey with us!" = "Hi! We’re delighted to meet you. Dive in and enjoy your PDF journey with us!";
 "%@ Coupons in Total" = "%@ Coupons in Total";
 "%d-day VIP Free Trial" = "%d-day VIP Free Trial";
-"Enjoy the full functions of PDF Reader Pro. Edit, convert, annotate, and combine PDFs." = "Enjoy the full functions of PDF Reader Pro. Edit, convert, annotate, and combine PDFs.";
+"Enjoy the full functions of PDF Reader Pro.\nEdit, convert, annotate, and combine PDFs." = "Enjoy the full functions of PDF Reader Pro.\nEdit, convert, annotate, and combine PDFs.";
 "Sign in to Get Gift->" = "Sign in to Get Gift->";
 "New users can get %@ Coupons to upgrade the plan." = "New users can get %@ Coupons to upgrade the plan.";
 "Welcome Gifts" = "Welcome Gifts";

+ 1 - 1
PDF Office/PDF Master/Strings/es.lproj/Localizable.strings

@@ -3235,7 +3235,7 @@
 "Hi! We’re delighted to meet you. Dive in and enjoy your PDF journey with us!" = "¡Hola! Estamos encantados de conocerte. ¡Sumérgete y disfruta de tu viaje en PDF!";
 "%@ Coupons in Total" = "Cupones de %@ en total";
 "%d-day VIP Free Trial" = "Prueba gratuita VIP de %d días";
-"Enjoy the full functions of PDF Reader Pro. Edit, convert, annotate, and combine PDFs." = "Disfrute de las funciones de PDF Reader Pro. Edite, convierta y anote archivos PDF.";
+"Enjoy the full functions of PDF Reader Pro.\nEdit, convert, annotate, and combine PDFs." = "Disfrute de las funciones de PDF Reader Pro.\n Edite, convierta y anote archivos PDF.";
 "Sign in to Get Gift->" = "Regístrate gana Regalo->";
 "New users can get %@ Coupons to upgrade the plan." = "Los nuevos usuarios pueden obtener cupones de %@ para actualizar el plan.";
 "Welcome Gifts" = "Regalos";

+ 1 - 1
PDF Office/PDF Master/Strings/fr.lproj/Localizable.strings

@@ -3121,7 +3121,7 @@
 "Hi! We’re delighted to meet you. Dive in and enjoy your PDF journey with us!" = "Salut! Nous sommes ravis de vous rencontrer. Plongez et profitez de votre voyage PDF !";
 "%@ Coupons in Total" = "%@ de coupons au total";
 "%d-day VIP Free Trial" = "Essai gratuit VIP de %d jours";
-"Enjoy the full functions of PDF Reader Pro. Edit, convert, annotate, and combine PDFs." = "Profitez des fonctions de PDF Reader Pro. Modifiez, convertissez et annotez des PDF.";
+"Enjoy the full functions of PDF Reader Pro.\nEdit, convert, annotate, and combine PDFs." = "Profitez des fonctions de PDF Reader Pro. \nModifiez, convertissez et annotez des PDF.";
 "Sign in to Get Gift->" = "Gagnez un cadeau ->";
 "New users can get %@ Coupons to upgrade the plan." = "Les nouveaux utilisateurs peuvent obtenir des coupons de %@ pour mettre à niveau le plan.";
 "Welcome Gifts" = "Cadeaux";

+ 1 - 1
PDF Office/PDF Master/Strings/it.lproj/Localizable.strings

@@ -3031,7 +3031,7 @@
 "Hi! We’re delighted to meet you. Dive in and enjoy your PDF journey with us!" = "CIAO! Siamo lieti di incontrarti. Immergiti e goditi il ​​tuo viaggio PDF con noi!";
 "%@ Coupons in Total" = "Buoni da %@ in totale";
 "%d-day VIP Free Trial" = "Prova gratuita VIP di %d giorni";
-"Enjoy the full functions of PDF Reader Pro. Edit, convert, annotate, and combine PDFs." = "Goditi tutte le funzioni di PDF Reader Pro. Modifica, converti, annota e combina PDF.";
+"Enjoy the full functions of PDF Reader Pro.\nEdit, convert, annotate, and combine PDFs." = "Goditi tutte le funzioni di PDF Reader Pro.\n Modifica, converti, annota e combina PDF.";
 "Sign in to Get Gift->" = "Accedi e vinci regalo->";
 "New users can get %@ Coupons to upgrade the plan." = "I nuovi utenti possono ottenere coupon da %@ per aggiornare il piano.";
 "Welcome Gifts" = "Regali di benvenuto";

+ 1 - 1
PDF Office/PDF Master/Strings/ja.lproj/Localizable.strings

@@ -3311,7 +3311,7 @@
 "Hi! We’re delighted to meet you. Dive in and enjoy your PDF journey with us!" = "こんにちは!お会いできて光栄です。早速、PDF の旅を楽しんでください!";
 "%@ Coupons in Total" = "合計 %@ クーポン";
 "%d-day VIP Free Trial" = "%d日間のVIP無料トライアル";
-"Enjoy the full functions of PDF Reader Pro. Edit, convert, annotate, and combine PDFs." = "PDF Reader Pro の全機能をお楽しみください。 PDF を編集、変換、注釈付け、結合します。";
+"Enjoy the full functions of PDF Reader Pro.\nEdit, convert, annotate, and combine PDFs." = "PDF Reader Pro の全機能をお楽しみください。\n PDF を編集、変換、注釈付け、結合します。";
 "Sign in to Get Gift->" = "ギフトをゲット->";
 "New users can get %@ Coupons to upgrade the plan." = "新規ユーザーはプランをアップグレードするための %@ クーポンを入手できます。";
 "Welcome Gifts" = "贈り物";

+ 1 - 1
PDF Office/PDF Master/Strings/nl.lproj/Localizable.strings

@@ -3193,7 +3193,7 @@
 "Hi! We’re delighted to meet you. Dive in and enjoy your PDF journey with us!" = "Hoi! We zijn blij je te ontmoeten. Duik erin en geniet van je PDF-reis!";
 "%@ Coupons in Total" = "%@ coupons in totaal";
 "%d-day VIP Free Trial" = "Gratis VIP-proefperiode van %d dagen";
-"Enjoy the full functions of PDF Reader Pro. Edit, convert, annotate, and combine PDFs." = "Geniet van de functies van PDF Reader Pro. Bewerk, converteer en annoteer PDF's.";
+"Enjoy the full functions of PDF Reader Pro.\nEdit, convert, annotate, and combine PDFs." = "Geniet van de functies van PDF Reader Pro. \nBewerk, converteer en annoteer PDF's.";
 "Sign in to Get Gift->" = "Inloggen Win cadeau->";
 "New users can get %@ Coupons to upgrade the plan." = "Nieuwe gebruikers kunnen %@ coupons krijgen om het abonnement te upgraden.";
 "Welcome Gifts" = "Geschenken";

+ 1 - 1
PDF Office/PDF Master/Strings/pl.lproj/Localizable.strings

@@ -3247,7 +3247,7 @@
 "Hi! We’re delighted to meet you. Dive in and enjoy your PDF journey with us!" = "Cześć! Cieszymy się, że możemy Cię poznać. Zanurz się i ciesz się podróżą z plikami PDF!";
 "%@ Coupons in Total" = "Łącznie kupony o wartości %@";
 "%d-day VIP Free Trial" = "%d-dniowy bezpłatny okres próbny VIP";
-"Enjoy the full functions of PDF Reader Pro. Edit, convert, annotate, and combine PDFs." = "Korzystaj z funkcji PDF Reader Pro. Edytuj, konwertuj i dodawaj adnotacje do plików PDF.";
+"Enjoy the full functions of PDF Reader Pro.\nEdit, convert, annotate, and combine PDFs." = "Korzystaj z funkcji PDF Reader Pro.\n Edytuj, konwertuj i dodawaj adnotacje do plików PDF.";
 "Sign in to Get Gift->" = "Zaloguj się Wygraj prezent->";
 "New users can get %@ Coupons to upgrade the plan." = "Nowi użytkownicy mogą otrzymać kupony o wartości %@ na uaktualnienie planu.";
 "Welcome Gifts" = "Prezenty";

+ 1 - 1
PDF Office/PDF Master/Strings/pt.lproj/Localizable.strings

@@ -4710,7 +4710,7 @@
 "Hi! We’re delighted to meet you. Dive in and enjoy your PDF journey with us!" = "Oi! Estamos muito felizes em conhecê-lo. Mergulhe e aproveite sua jornada em PDF!";
 "%@ Coupons in Total" = "Cupons de %@ no total";
 "%d-day VIP Free Trial" = "Teste VIP gratuito de %d dias";
-"Enjoy the full functions of PDF Reader Pro. Edit, convert, annotate, and combine PDFs." = "Aproveite todas as funções do PDF Reader Pro. Edite, converta, anote e combine PDFs.";
+"Enjoy the full functions of PDF Reader Pro.\nEdit, convert, annotate, and combine PDFs." = "Aproveite todas as funções do PDF Reader Pro.\n Edite, converta, anote e combine PDFs.";
 "Sign in to Get Gift->" = "Faça login Ganhe presente->";
 "New users can get %@ Coupons to upgrade the plan." = "Novos usuários podem obter cupons de %@ para atualizar o plano.";
 "Welcome Gifts" = "Presentes";

+ 1 - 1
PDF Office/PDF Master/Strings/ru.lproj/Localizable.strings

@@ -3181,7 +3181,7 @@
 "Hi! We’re delighted to meet you. Dive in and enjoy your PDF journey with us!" = "Привет! Мы рады встрече с вами. Погрузитесь и наслаждайтесь путешествием в формате PDF!";
 "%@ Coupons in Total" = "Всего купонов на %@";
 "%d-day VIP Free Trial" = "%d-дневная бесплатная VIP-пробная версия";
-"Enjoy the full functions of PDF Reader Pro. Edit, convert, annotate, and combine PDFs." = "Наслаждайтесь функциями PDF Reader Pro. Редактируйте, конвертируйте и комментируйте PDF-файлы.";
+"Enjoy the full functions of PDF Reader Pro.\nEdit, convert, annotate, and combine PDFs." = "Наслаждайтесь функциями PDF Reader Pro.\n Редактируйте, конвертируйте и комментируйте PDF-файлы.";
 "Sign in to Get Gift->" = "Войти Выиграй подарок->";
 "New users can get %@ Coupons to upgrade the plan." = "Новые пользователи могут получить купоны на %@ для обновления плана.";
 "Welcome Gifts" = "Подарки";

+ 1 - 1
PDF Office/PDF Master/Strings/zh-Hans.lproj/Localizable.strings

@@ -4228,7 +4228,7 @@
 "Hi! We’re delighted to meet you. Dive in and enjoy your PDF journey with us!" = "您好!欢迎您的加入,一起开启PDF编辑之旅吧!";
 "%@ Coupons in Total" = "%@优惠券";
 "%d-day VIP Free Trial" = "%d天VIP免费试用";
-"Enjoy the full functions of PDF Reader Pro. Edit, convert, annotate, and combine PDFs." = "享受 PDF Reader Pro 全功能。 编辑、转换、注释和合并 PDF。";
+"Enjoy the full functions of PDF Reader Pro.\nEdit, convert, annotate, and combine PDFs." = "享受 PDF Reader Pro 全功能。 \n编辑、转换、注释和合并 PDF。";
 "Sign in to Get Gift->" = "登录领取礼品->";
 "New users can get %@ Coupons to upgrade the plan." = "新用户可获得总共%@优惠券来升级订阅。";
 "Welcome Gifts" = "新人礼";

+ 1 - 1
PDF Office/PDF Master/Strings/zh-Hant.lproj/Localizable.strings

@@ -4361,7 +4361,7 @@
 "Hi! We’re delighted to meet you. Dive in and enjoy your PDF journey with us!" = "您好!歡迎您的加入,一起開啟PDF編輯之旅吧!";
 "%@ Coupons in Total" = "%@優惠券";
 "%d-day VIP Free Trial" = "%d天VIP免費試用";
-"Enjoy the full functions of PDF Reader Pro. Edit, convert, annotate, and combine PDFs." = "享受 PDF Reader Pro 全功能。 編輯、轉換、註釋和合併 PDF。 ";
+"Enjoy the full functions of PDF Reader Pro.\nEdit, convert, annotate, and combine PDFs." = "享受 PDF Reader Pro 全功能。 \n編輯、轉換、註釋和合併 PDF。 ";
 "Sign in to Get Gift->" = "登入領取禮品";
 "New users can get %@ Coupons to upgrade the plan." = "新用戶可獲得總共%@優惠券來升級訂閱。";
 "Welcome Gifts" = "新人禮";