瀏覽代碼

3.6.4(2)修复阿拉伯语适配bug

100Years 2 月之前
父節點
當前提交
0ac4c742c0

+ 4 - 4
TSLiveWallpaper.xcodeproj/project.pbxproj

@@ -1313,13 +1313,13 @@
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
 				CODE_SIGN_IDENTITY = "Apple Development";
 				CODE_SIGN_IDENTITY = "Apple Development";
 				CODE_SIGN_STYLE = Automatic;
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 1;
+				CURRENT_PROJECT_VERSION = 2;
 				DEVELOPMENT_TEAM = 65UD255J84;
 				DEVELOPMENT_TEAM = 65UD255J84;
 				ENABLE_APP_SANDBOX = NO;
 				ENABLE_APP_SANDBOX = NO;
 				ENABLE_USER_SCRIPT_SANDBOXING = NO;
 				ENABLE_USER_SCRIPT_SANDBOXING = NO;
 				GENERATE_INFOPLIST_FILE = YES;
 				GENERATE_INFOPLIST_FILE = YES;
 				INFOPLIST_FILE = TSLiveWallpaper/Info.plist;
 				INFOPLIST_FILE = TSLiveWallpaper/Info.plist;
-				INFOPLIST_KEY_CFBundleDisplayName = "Old Photo\n";
+				INFOPLIST_KEY_CFBundleDisplayName = "Old Photo";
 				INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "This app needs to access your location information while you're using it to provide relevant location services and features. We promise to only obtain your location information when you're using the app and to use it solely for providing services and features.";
 				INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "This app needs to access your location information while you're using it to provide relevant location services and features. We promise to only obtain your location information when you're using the app and to use it solely for providing services and features.";
 				INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "Allow us to access Photos in order to save wallpapers to your device.";
 				INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "Allow us to access Photos in order to save wallpapers to your device.";
 				INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
 				INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
@@ -1353,13 +1353,13 @@
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
 				CODE_SIGN_IDENTITY = "Apple Development";
 				CODE_SIGN_IDENTITY = "Apple Development";
 				CODE_SIGN_STYLE = Automatic;
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 1;
+				CURRENT_PROJECT_VERSION = 2;
 				DEVELOPMENT_TEAM = 65UD255J84;
 				DEVELOPMENT_TEAM = 65UD255J84;
 				ENABLE_APP_SANDBOX = NO;
 				ENABLE_APP_SANDBOX = NO;
 				ENABLE_USER_SCRIPT_SANDBOXING = NO;
 				ENABLE_USER_SCRIPT_SANDBOXING = NO;
 				GENERATE_INFOPLIST_FILE = YES;
 				GENERATE_INFOPLIST_FILE = YES;
 				INFOPLIST_FILE = TSLiveWallpaper/Info.plist;
 				INFOPLIST_FILE = TSLiveWallpaper/Info.plist;
-				INFOPLIST_KEY_CFBundleDisplayName = "Old Photo\n";
+				INFOPLIST_KEY_CFBundleDisplayName = "Old Photo";
 				INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "This app needs to access your location information while you're using it to provide relevant location services and features. We promise to only obtain your location information when you're using the app and to use it solely for providing services and features.";
 				INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "This app needs to access your location information while you're using it to provide relevant location services and features. We promise to only obtain your location information when you're using the app and to use it solely for providing services and features.";
 				INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "Allow us to access Photos in order to save wallpapers to your device.";
 				INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "Allow us to access Photos in order to save wallpapers to your device.";
 				INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
 				INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;

+ 3 - 3
TSLiveWallpaper/Business/TSAIListVC/TSAIAgeImageHintVC/TSAIListHintBaseVC.swift

@@ -181,8 +181,8 @@ class TSAIListHintBaseVC: TSBaseVC {
             make.leading.equalTo(0)
             make.leading.equalTo(0)
             make.top.equalTo(iconImageView.snp.bottom).offset(24)
             make.top.equalTo(iconImageView.snp.bottom).offset(24)
         }
         }
-        
-        let goodImageView = UIImageView.createImageView(imageName: config.goodImageNamed)
+    
+        let goodImageView = UIImageView.createImageView(imageName: config.goodImageNamed,autoMirrored: false)
         popupContentView.addSubview(goodImageView)
         popupContentView.addSubview(goodImageView)
         goodImageView.snp.makeConstraints { make in
         goodImageView.snp.makeConstraints { make in
             make.top.equalTo(titleLabel.snp.bottom).offset(32)
             make.top.equalTo(titleLabel.snp.bottom).offset(32)
@@ -207,7 +207,7 @@ class TSAIListHintBaseVC: TSBaseVC {
             make.trailing.equalTo(0)
             make.trailing.equalTo(0)
         }
         }
         
         
-        let badImageView = UIImageView.createImageView(imageName: config.badImageNamed)
+        let badImageView = UIImageView.createImageView(imageName: config.badImageNamed,autoMirrored: false)
         popupContentView.addSubview(badImageView)
         popupContentView.addSubview(badImageView)
         badImageView.snp.makeConstraints { make in
         badImageView.snp.makeConstraints { make in
             make.top.equalTo(goodInfoLabel.snp.bottom).offset(20)
             make.top.equalTo(goodInfoLabel.snp.bottom).offset(20)

+ 1 - 1
TSLiveWallpaper/Business/TSTabBarController/TSTabBarController.swift

@@ -118,7 +118,7 @@ extension TSTabBarController {
     private func tabBarItem(title: String, image: UIImage?, selectedImage: UIImage?, tag: Int) -> UITabBarItem {
     private func tabBarItem(title: String, image: UIImage?, selectedImage: UIImage?, tag: Int) -> UITabBarItem {
         let tabBarItem = UITabBarItem()
         let tabBarItem = UITabBarItem()
         tabBarItem.image = image?.withRenderingMode(.alwaysOriginal).mirrored
         tabBarItem.image = image?.withRenderingMode(.alwaysOriginal).mirrored
-        tabBarItem.selectedImage = selectedImage?.withRenderingMode(.alwaysOriginal)
+        tabBarItem.selectedImage = selectedImage?.withRenderingMode(.alwaysOriginal).mirrored
         tabBarItem.imageInsets = UIEdgeInsets(top: 0, left: 0, bottom: -8, right: 0) // 向下移动图标
         tabBarItem.imageInsets = UIEdgeInsets(top: 0, left: 0, bottom: -8, right: 0) // 向下移动图标
         return tabBarItem
         return tabBarItem
     }
     }

+ 2 - 2
TSLiveWallpaper/Common/Purchase/TSPurchaseEnum.swift

@@ -32,9 +32,9 @@ public enum PremiumPeriod: String, CaseIterable {
     var saveString: String {
     var saveString: String {
         switch self {
         switch self {
         case .none:
         case .none:
-            return "90%"
+            return String(format: "%d%".localized, 90)
         default:
         default:
-            return "90%"
+            return String(format: "%d%".localized, 90)
         }
         }
     }
     }
     
     

+ 1 - 0
TSLiveWallpaper/ar.lproj/Localizable.strings

@@ -120,3 +120,4 @@
 "Enlighten Tips" = "نصائح التنوير";
 "Enlighten Tips" = "نصائح التنوير";
 "Payment Failed" = "فشل الدفع";
 "Payment Failed" = "فشل الدفع";
 "The subscription was canceled" = "تم إلغاء الاشتراك";
 "The subscription was canceled" = "تم إلغاء الاشتراك";
+"%d%" = "%%%d";

+ 1 - 0
TSLiveWallpaper/en.lproj/Localizable.strings

@@ -118,3 +118,4 @@
 "Enlighten Tips" = "Enlighten Tips";
 "Enlighten Tips" = "Enlighten Tips";
 "Payment Failed" = "Payment Failed";
 "Payment Failed" = "Payment Failed";
 "The subscription was canceled" = "The subscription was canceled";
 "The subscription was canceled" = "The subscription was canceled";
+"%d%" = "%d%%";

+ 1 - 0
TSLiveWallpaper/es.lproj/Localizable.strings

@@ -119,3 +119,4 @@
 "Enlighten Tips" = "Consejos para iluminar";
 "Enlighten Tips" = "Consejos para iluminar";
 "Payment Failed" = "Pago fallido";
 "Payment Failed" = "Pago fallido";
 "The subscription was canceled" = "La suscripción fue cancelada";
 "The subscription was canceled" = "La suscripción fue cancelada";
+"%d%" = "%d%%";