From 3e1104eae865ee18c2c43eab96c20ee955a54b8f Mon Sep 17 00:00:00 2001 From: Shinichiro Oba Date: Fri, 9 Nov 2018 16:35:46 +0000 Subject: [PATCH 01/12] Add Japanese localization for Settings.bundle --- BoostRemote/Settings.bundle/ja.lproj/Root.strings | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 BoostRemote/Settings.bundle/ja.lproj/Root.strings diff --git a/BoostRemote/Settings.bundle/ja.lproj/Root.strings b/BoostRemote/Settings.bundle/ja.lproj/Root.strings new file mode 100644 index 0000000..2df1623 --- /dev/null +++ b/BoostRemote/Settings.bundle/ja.lproj/Root.strings @@ -0,0 +1,4 @@ +/* A single strings file, whose title is specified in your preferences schema. The strings files provide the localized content to display to the user for each of your preferences. */ + +"Version" = "バージョン"; +"Licenses" = "ライセンス"; From 4c4b8670603a0fa164933012e06c88be8f1b0583 Mon Sep 17 00:00:00 2001 From: Shinichiro Oba Date: Fri, 9 Nov 2018 16:35:51 +0000 Subject: [PATCH 02/12] Fix project --- BoostRemote.xcodeproj/project.pbxproj | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/BoostRemote.xcodeproj/project.pbxproj b/BoostRemote.xcodeproj/project.pbxproj index 210799f..4fb9df7 100644 --- a/BoostRemote.xcodeproj/project.pbxproj +++ b/BoostRemote.xcodeproj/project.pbxproj @@ -39,7 +39,6 @@ CBF9D2B91F3CACA800B97E11 /* MoveHubManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = CBF9D2B81F3CACA800B97E11 /* MoveHubManager.swift */; }; CBF9D2D61F3CB52800B97E11 /* MoveHubService.swift in Sources */ = {isa = PBXBuildFile; fileRef = CBF9D2D51F3CB52800B97E11 /* MoveHubService.swift */; }; CBF9D2F61F3CDAC700B97E11 /* Data+HexString.swift in Sources */ = {isa = PBXBuildFile; fileRef = CBF9D2F51F3CDAC700B97E11 /* Data+HexString.swift */; }; - DC1E38FB2111EE4900DA9522 /* Main.strings in Resources */ = {isa = PBXBuildFile; fileRef = DC1E38F92111EE4900DA9522 /* Main.strings */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -292,7 +291,6 @@ CBF9D2D51F3CB52800B97E11 /* MoveHubService.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MoveHubService.swift; sourceTree = ""; }; CBF9D2F51F3CDAC700B97E11 /* Data+HexString.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Data+HexString.swift"; sourceTree = ""; }; DC1E38F82111EE2D00DA9522 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/InfoPlist.strings; sourceTree = ""; }; - DC1E38FA2111EE4900DA9522 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/Main.strings; sourceTree = ""; }; DC1E38FC2111EE8100DA9522 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/Main.strings; sourceTree = ""; }; DCEE1D2B2111EDFC00FFCFAF /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/Localizable.strings; sourceTree = ""; }; /* End PBXFileReference section */ @@ -334,7 +332,6 @@ children = ( CB3BE8B01F2FF2F4000561F7 /* AppDelegate.swift */, CB3BE8B41F2FF2F4000561F7 /* Main.storyboard */, - DC1E38F92111EE4900DA9522 /* Main.strings */, CB8C7EB3201FEF6500274A09 /* SettingsViewController.swift */, CB3BE8B21F2FF2F4000561F7 /* ControllerViewController.swift */, CBC72DF9201AC35C00ABE096 /* Controller.swift */, @@ -695,7 +692,6 @@ CB5891F9200D2DF300E15F92 /* InfoPlist.strings in Resources */, CB3BE8BB1F2FF2F4000561F7 /* LaunchScreen.storyboard in Resources */, CB3BE8B81F2FF2F4000561F7 /* Assets.xcassets in Resources */, - DC1E38FB2111EE4900DA9522 /* Main.strings in Resources */, CB385A4A1F4E35210061EBE4 /* Settings.bundle in Resources */, CB3BE8B61F2FF2F4000561F7 /* Main.storyboard in Resources */, ); @@ -791,14 +787,6 @@ name = InfoPlist.strings; sourceTree = ""; }; - DC1E38F92111EE4900DA9522 /* Main.strings */ = { - isa = PBXVariantGroup; - children = ( - DC1E38FA2111EE4900DA9522 /* de */, - ); - name = Main.strings; - sourceTree = ""; - }; /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ From 55536924057a607c1d8afbea4ac09f30a7868392 Mon Sep 17 00:00:00 2001 From: Shinichiro Oba Date: Fri, 9 Nov 2018 17:16:08 +0000 Subject: [PATCH 03/12] Fix layout --- BoostRemote/Base.lproj/Main.storyboard | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/BoostRemote/Base.lproj/Main.storyboard b/BoostRemote/Base.lproj/Main.storyboard index 94e4197..588055b 100644 --- a/BoostRemote/Base.lproj/Main.storyboard +++ b/BoostRemote/Base.lproj/Main.storyboard @@ -1,13 +1,11 @@ - + - - - + @@ -171,7 +169,7 @@