From df0beab83638d224a4b7ec00c5adff4690d0623b Mon Sep 17 00:00:00 2001 From: Charlie Qiu Date: Sat, 11 Jun 2016 06:12:27 +0800 Subject: [PATCH] Translation. --- ShadowsocksX-NG.xcodeproj/project.pbxproj | 4 +-- .../PreferencesWindowController.strings | 36 +++++++++++++++++++ .../PreferencesWindowController.strings | 3 ++ 3 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 ShadowsocksX-NG/en.lproj/PreferencesWindowController.strings diff --git a/ShadowsocksX-NG.xcodeproj/project.pbxproj b/ShadowsocksX-NG.xcodeproj/project.pbxproj index d4d9ac0..4d55507 100644 --- a/ShadowsocksX-NG.xcodeproj/project.pbxproj +++ b/ShadowsocksX-NG.xcodeproj/project.pbxproj @@ -122,7 +122,6 @@ 9B172A6D1D0ADDE800B87B9A /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Localizable.strings"; sourceTree = ""; }; 9B2491B51D0ACC3A003BBECC /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/PreferencesWindowController.xib; sourceTree = ""; }; 9B2491B81D0ACC3E003BBECC /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/AdvPreferencesWindowController.xib; sourceTree = ""; }; - 9B2491BA1D0ACC49003BBECC /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/PreferencesWindowController.strings"; sourceTree = ""; }; 9B2491BC1D0ACC49003BBECC /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/MainMenu.strings"; sourceTree = ""; }; 9B3FFF0C1D05FEB30019A709 /* Utils.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Utils.swift; sourceTree = ""; }; 9B3FFF131D0705810019A709 /* Notifications.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Notifications.swift; sourceTree = ""; }; @@ -150,6 +149,7 @@ 9B3FFF501D09DAEA0019A709 /* proxy_conf_helper_version.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = proxy_conf_helper_version.h; sourceTree = ""; }; 9B3FFF511D09DBA20019A709 /* ShadowsocksX-NG-Bridging-Header.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "ShadowsocksX-NG-Bridging-Header.h"; sourceTree = ""; }; 9BE8FBBD1D0B1FB900CAFD01 /* libcrypto.1.0.0.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; path = libcrypto.1.0.0.dylib; sourceTree = ""; }; + 9BE8FBC11D0B71CF00CAFD01 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/PreferencesWindowController.strings"; sourceTree = ""; }; 9BEEF0651D04CB8500FC52B3 /* install_ss_local.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = install_ss_local.sh; sourceTree = ""; }; 9BEEF0661D04CE8D00FC52B3 /* start_ss_local.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = start_ss_local.sh; sourceTree = ""; }; 9BEEF0671D04CE9A00FC52B3 /* stop_ss_local.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = stop_ss_local.sh; sourceTree = ""; }; @@ -767,7 +767,7 @@ isa = PBXVariantGroup; children = ( 9B2491B51D0ACC3A003BBECC /* Base */, - 9B2491BA1D0ACC49003BBECC /* zh-Hans */, + 9BE8FBC11D0B71CF00CAFD01 /* zh-Hans */, ); name = PreferencesWindowController.xib; sourceTree = ""; diff --git a/ShadowsocksX-NG/en.lproj/PreferencesWindowController.strings b/ShadowsocksX-NG/en.lproj/PreferencesWindowController.strings new file mode 100644 index 0000000..8cabe1f --- /dev/null +++ b/ShadowsocksX-NG/en.lproj/PreferencesWindowController.strings @@ -0,0 +1,36 @@ + +/* Class = "NSTextFieldCell"; title = "Text"; ObjectID = "COZ-Qr-bmU"; */ +"COZ-Qr-bmU.title" = "Text"; + +/* Class = "NSWindow"; title = "Server Preferences"; ObjectID = "F0z-JX-Cv5"; */ +"F0z-JX-Cv5.title" = "Server Preferences"; + +/* Class = "NSBox"; title = "Box"; ObjectID = "Gqv-5O-Wwf"; */ +"Gqv-5O-Wwf.title" = "Box"; + +/* Class = "NSTextFieldCell"; title = ":"; ObjectID = "Ibr-Gs-5Js"; */ +"Ibr-Gs-5Js.title" = ":"; + +/* Class = "NSTextFieldCell"; title = "Remarks:"; ObjectID = "MiN-VE-FtC"; */ +"MiN-VE-FtC.title" = "Remarks:"; + +/* Class = "NSButtonCell"; title = "Enable OTA"; ObjectID = "hRZ-Rp-I5e"; */ +"hRZ-Rp-I5e.title" = "Enable OTA"; + +/* Class = "NSButtonCell"; title = "Cacnel"; ObjectID = "j03-9E-uHW"; */ +"j03-9E-uHW.title" = "Cacnel"; + +/* Class = "NSTextFieldCell"; title = "Password:"; ObjectID = "kil-xC-HPD"; */ +"kil-xC-HPD.title" = "Password:"; + +/* Class = "NSTextFieldCell"; title = "Encryption:"; ObjectID = "mOh-nD-7EX"; */ +"mOh-nD-7EX.title" = "Encryption:"; + +/* Class = "NSButtonCell"; title = "Copy URL to Clipboard"; ObjectID = "t3T-Kd-5La"; */ +"t3T-Kd-5La.title" = "Copy URL to Clipboard"; + +/* Class = "NSTextFieldCell"; title = "Address:"; ObjectID = "yHs-XE-XEB"; */ +"yHs-XE-XEB.title" = "Address:"; + +/* Class = "NSButtonCell"; title = "OK"; ObjectID = "zPE-oD-PwK"; */ +"zPE-oD-PwK.title" = "OK"; diff --git a/ShadowsocksX-NG/zh-Hans.lproj/PreferencesWindowController.strings b/ShadowsocksX-NG/zh-Hans.lproj/PreferencesWindowController.strings index 4e47dcd..afd97be 100644 --- a/ShadowsocksX-NG/zh-Hans.lproj/PreferencesWindowController.strings +++ b/ShadowsocksX-NG/zh-Hans.lproj/PreferencesWindowController.strings @@ -14,6 +14,9 @@ /* Class = "NSTextFieldCell"; title = "Remarks:"; ObjectID = "MiN-VE-FtC"; */ "MiN-VE-FtC.title" = "备注:"; +/* Class = "NSButtonCell"; title = "Enable OTA"; ObjectID = "hRZ-Rp-I5e"; */ +"hRZ-Rp-I5e.title" = "启用 OTA"; + /* Class = "NSButtonCell"; title = "Cacnel"; ObjectID = "j03-9E-uHW"; */ "j03-9E-uHW.title" = "取消";