diff --git a/ShadowsocksX-NG.xcodeproj/project.pbxproj b/ShadowsocksX-NG.xcodeproj/project.pbxproj index 58f8f09..9653106 100644 --- a/ShadowsocksX-NG.xcodeproj/project.pbxproj +++ b/ShadowsocksX-NG.xcodeproj/project.pbxproj @@ -12,9 +12,9 @@ 083BF8391D82759600831C68 /* StatusItemView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 083BF8381D82759600831C68 /* StatusItemView.swift */; }; 083BF83B1D8275A800831C68 /* SystemThemeChangeHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 083BF83A1D8275A800831C68 /* SystemThemeChangeHelper.swift */; }; 08635C771EF750FA00F1D25E /* SubscribeManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08635C761EF750FA00F1D25E /* SubscribeManager.swift */; }; + 086A31451F1AF797004C7285 /* SubscribePreferenceWindowController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 086A31471F1AF797004C7285 /* SubscribePreferenceWindowController.xib */; }; 0877D6541EF1E65600126865 /* Subscribe.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0877D6531EF1E65600126865 /* Subscribe.swift */; }; 0877D6571EF1E82400126865 /* SubscribePreferenceWindowController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0877D6551EF1E82400126865 /* SubscribePreferenceWindowController.swift */; }; - 0877D6581EF1E82400126865 /* SubscribePreferenceWindowController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 0877D6561EF1E82400126865 /* SubscribePreferenceWindowController.xib */; }; 0880CE401D6FE6D900BD39E2 /* example-gui-config.json in Resources */ = {isa = PBXBuildFile; fileRef = 0880CE3F1D6FE6D900BD39E2 /* example-gui-config.json */; }; 088EC3971D5F5B8600E40791 /* whitelist.pac in Resources */ = {isa = PBXBuildFile; fileRef = 088EC3961D5F5B8600E40791 /* whitelist.pac */; }; 088EC3991D5F5BA300E40791 /* whiteiplist.pac in Resources */ = {isa = PBXBuildFile; fileRef = 088EC3981D5F5BA300E40791 /* whiteiplist.pac */; }; @@ -115,9 +115,10 @@ 083BF83A1D8275A800831C68 /* SystemThemeChangeHelper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SystemThemeChangeHelper.swift; sourceTree = ""; }; 085641E91D7188C400116B27 /* Base */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = Base; path = Base.lproj/Localizable.strings; sourceTree = ""; }; 08635C761EF750FA00F1D25E /* SubscribeManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SubscribeManager.swift; sourceTree = ""; }; + 086A31461F1AF797004C7285 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/SubscribePreferenceWindowController.xib; sourceTree = ""; }; + 086A31491F1AF799004C7285 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/SubscribePreferenceWindowController.strings"; sourceTree = ""; }; 0877D6531EF1E65600126865 /* Subscribe.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Subscribe.swift; sourceTree = ""; }; 0877D6551EF1E82400126865 /* SubscribePreferenceWindowController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SubscribePreferenceWindowController.swift; sourceTree = ""; }; - 0877D6561EF1E82400126865 /* SubscribePreferenceWindowController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = SubscribePreferenceWindowController.xib; sourceTree = ""; }; 0880CE3F1D6FE6D900BD39E2 /* example-gui-config.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "example-gui-config.json"; sourceTree = ""; }; 088EC3961D5F5B8600E40791 /* whitelist.pac */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = whitelist.pac; sourceTree = ""; }; 088EC3981D5F5BA300E40791 /* whiteiplist.pac */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = whiteiplist.pac; sourceTree = ""; }; @@ -367,7 +368,7 @@ 9B3FFF301D08CEE40019A709 /* SWBQRCodeWindowController.h */, 9B3FFF311D08CEE40019A709 /* SWBQRCodeWindowController.m */, 0877D6551EF1E82400126865 /* SubscribePreferenceWindowController.swift */, - 0877D6561EF1E82400126865 /* SubscribePreferenceWindowController.xib */, + 086A31471F1AF797004C7285 /* SubscribePreferenceWindowController.xib */, 9BEEF0731D04EF3E00FC52B3 /* PreferencesWindowController.swift */, 9B2491B61D0ACC3A003BBECC /* PreferencesWindowController.xib */, 9BEEF0791D05631500FC52B3 /* AdvPreferencesWindowController.swift */, @@ -525,7 +526,7 @@ C6E28E951DA79705004F8330 /* HTTPPreferencesWindowController.xib in Resources */, 9BEEF0691D04D4D500FC52B3 /* install_ss_local.sh in Resources */, 9B0D55461D2CC85400A4A8E2 /* ProxyPreferencesController.xib in Resources */, - 0877D6581EF1E82400126865 /* SubscribePreferenceWindowController.xib in Resources */, + 086A31451F1AF797004C7285 /* SubscribePreferenceWindowController.xib in Resources */, 9B2491B41D0ACC3A003BBECC /* PreferencesWindowController.xib in Resources */, 9B3FFF291D08A1DF0019A709 /* user-rule.txt in Resources */, C6D429971DA75988002A5711 /* stop_privoxy.sh in Resources */, @@ -759,6 +760,15 @@ /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ + 086A31471F1AF797004C7285 /* SubscribePreferenceWindowController.xib */ = { + isa = PBXVariantGroup; + children = ( + 086A31461F1AF797004C7285 /* Base */, + 086A31491F1AF799004C7285 /* zh-Hans */, + ); + name = SubscribePreferenceWindowController.xib; + sourceTree = ""; + }; 9B0BFFEC1D0460A70040E62B /* MainMenu.xib */ = { isa = PBXVariantGroup; children = ( diff --git a/ShadowsocksX-NG/SubscribePreferenceWindowController.xib b/ShadowsocksX-NG/Base.lproj/SubscribePreferenceWindowController.xib similarity index 99% rename from ShadowsocksX-NG/SubscribePreferenceWindowController.xib rename to ShadowsocksX-NG/Base.lproj/SubscribePreferenceWindowController.xib index 26bd490..75224e9 100644 --- a/ShadowsocksX-NG/SubscribePreferenceWindowController.xib +++ b/ShadowsocksX-NG/Base.lproj/SubscribePreferenceWindowController.xib @@ -30,8 +30,8 @@ - - + + diff --git a/ShadowsocksX-NG/zh-Hans.lproj/MainMenu.strings b/ShadowsocksX-NG/zh-Hans.lproj/MainMenu.strings index 49b4f4d..fdf3220 100644 --- a/ShadowsocksX-NG/zh-Hans.lproj/MainMenu.strings +++ b/ShadowsocksX-NG/zh-Hans.lproj/MainMenu.strings @@ -119,4 +119,5 @@ "QJ6-eg-mzv.title" = "编辑订阅"; +"QJ6-eg-mzv.title" = "编辑订阅"; diff --git a/ShadowsocksX-NG/zh-Hans.lproj/SubscribePreferenceWindowController.strings b/ShadowsocksX-NG/zh-Hans.lproj/SubscribePreferenceWindowController.strings new file mode 100644 index 0000000..e99808d --- /dev/null +++ b/ShadowsocksX-NG/zh-Hans.lproj/SubscribePreferenceWindowController.strings @@ -0,0 +1,24 @@ + +/* Class = "NSButtonCell"; title = "OK"; ObjectID = "CfK-8Y-YNP"; */ +"CfK-8Y-YNP.title" = "OK"; + +/* Class = "NSWindow"; title = "Window"; ObjectID = "F0z-JX-Cv5"; */ +"F0z-JX-Cv5.title" = "Window"; + +/* Class = "NSTextFieldCell"; title = "Token"; ObjectID = "IrJ-D8-tlX"; */ +"IrJ-D8-tlX.title" = "Token"; + +/* Class = "NSTextFieldCell"; title = "Group"; ObjectID = "f2p-qb-uuE"; */ +"f2p-qb-uuE.title" = "Group"; + +/* Class = "NSTextFieldCell"; title = "Text"; ObjectID = "ik7-wS-gok"; */ +"ik7-wS-gok.title" = "Text"; + +/* Class = "NSTextFieldCell"; title = "Subscribe Feed URL"; ObjectID = "rMX-5B-Fvs"; */ +"rMX-5B-Fvs.title" = "订阅设置"; + +/* Class = "NSTextFieldCell"; title = "Count"; ObjectID = "wbG-HT-bdN"; */ +"wbG-HT-bdN.title" = "Count"; + +/* Class = "NSTextFieldCell"; title = "URL"; ObjectID = "yBp-oB-gbL"; */ +"yBp-oB-gbL.title" = "URL";