From 3569b46d3531e783a687ae3c627b54d042b0bd6f Mon Sep 17 00:00:00 2001 From: Tony Arnold Date: Mon, 20 May 2019 11:01:24 +1000 Subject: [PATCH] Fix localization region deprecation warnings --- Sparkle.xcodeproj/project.pbxproj | 15 +++++---------- .../{English.lproj => en.lproj}/InfoPlist.strings | 0 .../{English.lproj => en.lproj}/MainMenu.xib | 0 3 files changed, 5 insertions(+), 10 deletions(-) rename TestApplication/{English.lproj => en.lproj}/InfoPlist.strings (100%) rename TestApplication/{English.lproj => en.lproj}/MainMenu.xib (100%) diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index addb3a9c..f5466f66 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -922,8 +922,6 @@ 61B5F90209C4CEE200B25A18 /* Sparkle Test App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Sparkle Test App.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 61B5F90409C4CEE200B25A18 /* TestApplication-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "TestApplication-Info.plist"; sourceTree = ""; }; 61B5F92409C4CFC900B25A18 /* main.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - 61B5F92B09C4CFD800B25A18 /* English */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; }; - 61B5F92D09C4CFD800B25A18 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/MainMenu.xib; sourceTree = ""; }; 61B5FB9409C4F04600B25A18 /* SUAppcast.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUAppcast.h; sourceTree = ""; }; 61B5FB9509C4F04600B25A18 /* SUAppcast.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUAppcast.m; sourceTree = ""; }; 61B5FC3F09C4FD4000B25A18 /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = System/Library/Frameworks/WebKit.framework; sourceTree = SDKROOT; }; @@ -1210,6 +1208,8 @@ 72F9EC471D5EA7D3004AC8B6 /* SPUUpdaterDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SPUUpdaterDelegate.h; sourceTree = ""; }; 8DC2EF5A0486A6940098B216 /* Sparkle-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "Sparkle-Info.plist"; sourceTree = ""; }; 8DC2EF5B0486A6940098B216 /* Sparkle.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Sparkle.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 901C63762292336900D4D658 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + 901C63772292336900D4D658 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainMenu.xib; sourceTree = ""; }; A5BF4F1B1BC7668B007A052A /* SUTestWebServer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUTestWebServer.h; sourceTree = ""; }; A5BF4F1C1BC7668B007A052A /* SUTestWebServer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUTestWebServer.m; sourceTree = ""; }; C23E88591BE7AF890050BB73 /* SparkleTestCodeSignApp.enc.dmg */ = {isa = PBXFileReference; lastKnownFileType = file; path = SparkleTestCodeSignApp.enc.dmg; sourceTree = ""; }; @@ -2559,14 +2559,9 @@ }; buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "Sparkle" */; compatibilityVersion = "Xcode 6.3"; - developmentRegion = English; + developmentRegion = en; hasScannedForEncodings = 1; knownRegions = ( - English, - Japanese, - French, - German, - Italian, zh_TW, en, ca, @@ -3547,7 +3542,6 @@ 1A985A3A1C5C32A50001163A /* da */, 1A985A341C5C329E0001163A /* de */, 1A985A531C5C32BD0001163A /* el */, - 61B5F92B09C4CFD800B25A18 /* English */, 1A985A3B1C5C32A60001163A /* es */, 1A985A3C1C5C32A70001163A /* fi */, 1A985A331C5C329D0001163A /* fr */, @@ -3575,6 +3569,7 @@ 1A985A511C5C32BB0001163A /* uk */, 1A985A4A1C5C32B50001163A /* zh-Hans */, 1A985A351C5C329E0001163A /* zh-Hant */, + 901C63762292336900D4D658 /* en */, ); name = InfoPlist.strings; sourceTree = ""; @@ -3582,7 +3577,7 @@ 61B5F92C09C4CFD800B25A18 /* MainMenu.xib */ = { isa = PBXVariantGroup; children = ( - 61B5F92D09C4CFD800B25A18 /* English */, + 901C63772292336900D4D658 /* en */, ); name = MainMenu.xib; sourceTree = ""; diff --git a/TestApplication/English.lproj/InfoPlist.strings b/TestApplication/en.lproj/InfoPlist.strings similarity index 100% rename from TestApplication/English.lproj/InfoPlist.strings rename to TestApplication/en.lproj/InfoPlist.strings diff --git a/TestApplication/English.lproj/MainMenu.xib b/TestApplication/en.lproj/MainMenu.xib similarity index 100% rename from TestApplication/English.lproj/MainMenu.xib rename to TestApplication/en.lproj/MainMenu.xib