diff --git a/MonitorControl.xcodeproj/project.pbxproj b/MonitorControl.xcodeproj/project.pbxproj index 8628c06..99d1f8e 100644 --- a/MonitorControl.xcodeproj/project.pbxproj +++ b/MonitorControl.xcodeproj/project.pbxproj @@ -100,6 +100,9 @@ 28D1DE0F227FD006004CB494 /* MediaKeyTap.framework.dSYM */ = {isa = PBXFileReference; lastKnownFileType = wrapper.dsym; name = MediaKeyTap.framework.dSYM; path = Carthage/Build/Mac/MediaKeyTap.framework.dSYM; sourceTree = ""; }; 28D1DE10227FD006004CB494 /* AMCoreAudio.framework.dSYM */ = {isa = PBXFileReference; lastKnownFileType = wrapper.dsym; name = AMCoreAudio.framework.dSYM; path = Carthage/Build/Mac/AMCoreAudio.framework.dSYM; sourceTree = ""; }; 28D1DE11227FD006004CB494 /* DDC.framework.dSYM */ = {isa = PBXFileReference; lastKnownFileType = wrapper.dsym; name = DDC.framework.dSYM; path = Carthage/Build/Mac/DDC.framework.dSYM; sourceTree = ""; }; + 47A9F59F22ACAFBE00F649BB /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Main.strings"; sourceTree = ""; }; + 47A9F5A022ACAFBE00F649BB /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/MainMenu.strings"; sourceTree = ""; }; + 47A9F5A122ACAFBE00F649BB /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Localizable.strings"; sourceTree = ""; }; 56754EAB1D9A4016007BCDC5 /* MonitorControl.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MonitorControl.app; sourceTree = BUILT_PRODUCTS_DIR; }; 56754EAE1D9A4016007BCDC5 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; lineEnding = 0; path = AppDelegate.swift; sourceTree = ""; }; 56754EB01D9A4016007BCDC5 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; @@ -339,6 +342,7 @@ fr, de, uk, + "zh-Hans", ); mainGroup = 56754EA21D9A4016007BCDC5; productRefGroup = 56754EAC1D9A4016007BCDC5 /* Products */; @@ -484,6 +488,7 @@ F01B0682228221B6008E64DB /* en */, F01B0684228221B6008E64DB /* fr */, 1E7ECF3F22A4552400E4E701 /* uk */, + 47A9F5A122ACAFBE00F649BB /* zh-Hans */, ); name = Localizable.strings; sourceTree = ""; @@ -496,6 +501,7 @@ F01B06A522822215008E64DB /* en */, F01B06A622822217008E64DB /* fr */, 1E7ECF4022A4552B00E4E701 /* uk */, + 47A9F59F22ACAFBE00F649BB /* zh-Hans */, ); name = Main.storyboard; sourceTree = ""; @@ -508,6 +514,7 @@ F01B06A222822208008E64DB /* en */, F01B06A32282220A008E64DB /* fr */, 1E7ECF4122A4553000E4E701 /* uk */, + 47A9F5A022ACAFBE00F649BB /* zh-Hans */, ); name = MainMenu.xib; sourceTree = ""; diff --git a/MonitorControl/Support/zh-Hans.lproj/Localizable.strings b/MonitorControl/Support/zh-Hans.lproj/Localizable.strings new file mode 100644 index 0000000..bfd018b --- /dev/null +++ b/MonitorControl/Support/zh-Hans.lproj/Localizable.strings @@ -0,0 +1,50 @@ + +/* Sown in menu */ +"Brightness" = "Brightness"; + +/* Build */ +"Build" = "Build"; + +/* Shown in menu */ +"Contrast" = "Contrast"; + +/* Shown in menu */ +"Default" = "Default"; + +/* No comment provided by engineer. */ +"Display" = "Display"; + +/* Shown in the main prefs window */ +"General" = "General"; + +/* Shown in the main prefs window */ +"Keys" = "Keys"; + +/* Shown in menu */ +"No supported display found" = "No supported display found"; + +/* Shown in the alert dialog */ +"Ok" = "Ok"; + +/* Shown in Preferences window */ +"Preferences" = "Preferences"; + +/* Shown in menu */ +"Set as default" = "Set as default"; + +/* Shown in the alert dialog */ +"Shortcuts not available" = "Shortcuts not available"; + +/* Unknown display name + Unknown model + Unknown vendor */ +"Unknown" = "Unknown"; + +/* Version */ +"Version" = "Version"; + +/* Shown in menu */ +"Volume" = "Volume"; + +/* Shown in the alert dialog */ +"You need to enable MonitorControl in System Preferences > Security and Privacy > Accessibility for the keyboard shortcuts to work" = "You need to enable MonitorControl in System Preferences > Security and Privacy > Accessibility for the keyboard shortcuts to work"; diff --git a/MonitorControl/UI/Base.lproj/Main.storyboard b/MonitorControl/UI/Base.lproj/Main.storyboard index 30afd92..3ee70ec 100644 --- a/MonitorControl/UI/Base.lproj/Main.storyboard +++ b/MonitorControl/UI/Base.lproj/Main.storyboard @@ -346,7 +346,7 @@ -