From 488bf585da5c9041ca00804a1ee595580c395cdf Mon Sep 17 00:00:00 2001 From: MysticBoy Date: Wed, 15 Jul 2020 23:54:40 +0800 Subject: [PATCH 01/24] All the new Chinese statements has been translated --- ILSpy-tests | 2 +- ILSpy.AddIn/ILSpy.AddIn.csproj | 1 + ILSpy.AddIn/VSPackage.zh-Hans.resx | 120 ++++++ ILSpy/Properties/Resources.Designer.cs | 541 ++++++++++++------------ ILSpy/Properties/Resources.zh-Hans.resx | 188 ++++++-- 5 files changed, 551 insertions(+), 301 deletions(-) create mode 100644 ILSpy.AddIn/VSPackage.zh-Hans.resx diff --git a/ILSpy-tests b/ILSpy-tests index aa8f1197e..e83c25d91 160000 --- a/ILSpy-tests +++ b/ILSpy-tests @@ -1 +1 @@ -Subproject commit aa8f1197e6a513bcc10bcc38ec7d2143d27a2246 +Subproject commit e83c25d910124986a42089055ecff70682c4fdb9 diff --git a/ILSpy.AddIn/ILSpy.AddIn.csproj b/ILSpy.AddIn/ILSpy.AddIn.csproj index 5a96857ac..64fc6e596 100644 --- a/ILSpy.AddIn/ILSpy.AddIn.csproj +++ b/ILSpy.AddIn/ILSpy.AddIn.csproj @@ -89,6 +89,7 @@ true VSPackage + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/ILSpy/Properties/Resources.Designer.cs b/ILSpy/Properties/Resources.Designer.cs index 50e640b22..ce852aecd 100644 --- a/ILSpy/Properties/Resources.Designer.cs +++ b/ILSpy/Properties/Resources.Designer.cs @@ -1,10 +1,10 @@ //------------------------------------------------------------------------------ // -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 +// 此代码由工具生成。 +// 运行时版本:4.0.30319.42000 // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ @@ -13,12 +13,12 @@ namespace ICSharpCode.ILSpy.Properties { /// - /// A strongly-typed resource class, for looking up localized strings, etc. + /// 一个强类型的资源类,用于查找本地化的字符串等。 /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. + // 此类是由 StronglyTypedResourceBuilder + // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 + // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen + // (以 /str 作为命令选项),或重新生成 VS 项目。 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] @@ -33,7 +33,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Returns the cached ResourceManager instance used by this class. + /// 返回此类使用的缓存的 ResourceManager 实例。 /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] public static global::System.Resources.ResourceManager ResourceManager { @@ -47,8 +47,8 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. + /// 重写当前线程的 CurrentUICulture 属性 + /// 重写当前线程的 CurrentUICulture 属性。 /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] public static global::System.Globalization.CultureInfo Culture { @@ -61,7 +61,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _About. + /// 查找类似 _About 的本地化字符串。 /// public static string _About { get { @@ -70,7 +70,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Add To Main List. + /// 查找类似 _Add To Main List 的本地化字符串。 /// public static string _AddMainList { get { @@ -79,7 +79,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Check for Updates. + /// 查找类似 _Check for Updates 的本地化字符串。 /// public static string _CheckUpdates { get { @@ -88,7 +88,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Collapse all tree nodes. + /// 查找类似 _Collapse all tree nodes 的本地化字符串。 /// public static string _CollapseTreeNodes { get { @@ -97,7 +97,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _File. + /// 查找类似 _File 的本地化字符串。 /// public static string _File { get { @@ -106,7 +106,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Help. + /// 查找类似 _Help 的本地化字符串。 /// public static string _Help { get { @@ -115,7 +115,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Load Dependencies. + /// 查找类似 _Load Dependencies 的本地化字符串。 /// public static string _LoadDependencies { get { @@ -124,7 +124,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _New. + /// 查找类似 _New 的本地化字符串。 /// public static string _New { get { @@ -133,7 +133,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Open.... + /// 查找类似 _Open... 的本地化字符串。 /// public static string _Open { get { @@ -142,7 +142,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Open Command Line Here. + /// 查找类似 _Open Command Line Here 的本地化字符串。 /// public static string _OpenCommandLineHere { get { @@ -151,7 +151,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Open Containing Folder. + /// 查找类似 _Open Containing Folder 的本地化字符串。 /// public static string _OpenContainingFolder { get { @@ -160,7 +160,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Options.... + /// 查找类似 _Options... 的本地化字符串。 /// public static string _Options { get { @@ -169,7 +169,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Reload. + /// 查找类似 _Reload 的本地化字符串。 /// public static string _Reload { get { @@ -178,7 +178,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Remove. + /// 查找类似 _Remove 的本地化字符串。 /// public static string _Remove { get { @@ -187,7 +187,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Remove Assemblies with load errors. + /// 查找类似 _Remove Assemblies with load errors 的本地化字符串。 /// public static string _RemoveAssembliesWithLoadErrors { get { @@ -196,7 +196,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Reset. + /// 查找类似 _Reset 的本地化字符串。 /// public static string _Reset { get { @@ -205,7 +205,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Resources. + /// 查找类似 Resources 的本地化字符串。 /// public static string _Resources { get { @@ -214,7 +214,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Save Code.... + /// 查找类似 _Save Code... 的本地化字符串。 /// public static string _SaveCode { get { @@ -223,7 +223,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Search:. + /// 查找类似 _Search: 的本地化字符串。 /// public static string _Search { get { @@ -232,7 +232,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Search for:. + /// 查找类似 _Search for: 的本地化字符串。 /// public static string _SearchFor { get { @@ -241,7 +241,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Show debug steps. + /// 查找类似 _Show debug steps 的本地化字符串。 /// public static string _ShowDebugSteps { get { @@ -250,7 +250,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Toggle Folding. + /// 查找类似 Toggle Folding 的本地化字符串。 /// public static string _ToggleFolding { get { @@ -259,7 +259,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _View. + /// 查找类似 _View 的本地化字符串。 /// public static string _View { get { @@ -268,7 +268,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Window. + /// 查找类似 _Window 的本地化字符串。 /// public static string _Window { get { @@ -277,7 +277,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to About. + /// 查找类似 About 的本地化字符串。 /// public static string About { get { @@ -286,7 +286,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Add preconfigured list.... + /// 查找类似 Add preconfigured list... 的本地化字符串。 /// public static string AddPreconfiguredList { get { @@ -295,7 +295,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Add shell integration. + /// 查找类似 Add shell integration 的本地化字符串。 /// public static string AddShellIntegration { get { @@ -304,9 +304,9 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to This will add "{0}" to the registry at "HKCU\Software\Classes\dllfile\shell\Open with ILSpy\command" and "HKCU\Software\Classes\exefile\shell\Open with ILSpy\command" to allow opening .dll and .exe files from the Windows Explorer context menu. + /// 查找类似 This will add "{0}" to the registry at "HKCU\Software\Classes\dllfile\shell\Open with ILSpy\command" and "HKCU\Software\Classes\exefile\shell\Open with ILSpy\command" to allow opening .dll and .exe files from the Windows Explorer context menu. /// - ///Do you want to continue?. + ///Do you want to continue? 的本地化字符串。 /// public static string AddShellIntegrationMessage { get { @@ -315,7 +315,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to |All Files|*.*. + /// 查找类似 |All Files|*.* 的本地化字符串。 /// public static string AllFiles { get { @@ -324,7 +324,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Allow multiple instances. + /// 查找类似 Allow multiple instances 的本地化字符串。 /// public static string AllowMultipleInstances { get { @@ -333,7 +333,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Always use braces. + /// 查找类似 Always use braces 的本地化字符串。 /// public static string AlwaysBraces { get { @@ -342,7 +342,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Analyze. + /// 查找类似 Analyze 的本地化字符串。 /// public static string Analyze { get { @@ -351,7 +351,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Assemblies. + /// 查找类似 Assemblies 的本地化字符串。 /// public static string Assemblies { get { @@ -360,7 +360,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Assembly. + /// 查找类似 Assembly 的本地化字符串。 /// public static string Assembly { get { @@ -369,8 +369,8 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to The directory is not empty. File will be overwritten. - ///Are you sure you want to continue?. + /// 查找类似 The directory is not empty. File will be overwritten. + ///Are you sure you want to continue? 的本地化字符串。 /// public static string AssemblySaveCodeDirectoryNotEmpty { get { @@ -379,7 +379,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Project Directory not empty. + /// 查找类似 Project Directory not empty 的本地化字符串。 /// public static string AssemblySaveCodeDirectoryNotEmptyTitle { get { @@ -388,7 +388,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Automatically check for updates every week. + /// 查找类似 Automatically check for updates every week 的本地化字符串。 /// public static string AutomaticallyCheckUpdatesEveryWeek { get { @@ -397,7 +397,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Back. + /// 查找类似 Back 的本地化字符串。 /// public static string Back { get { @@ -406,7 +406,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to C_lone. + /// 查找类似 C_lone 的本地化字符串。 /// public static string C_lone { get { @@ -415,7 +415,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Cancel. + /// 查找类似 Cancel 的本地化字符串。 /// public static string Cancel { get { @@ -424,7 +424,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Entity could not be resolved. Cannot analyze entities from missing assembly references. Add the missing reference and try again.. + /// 查找类似 Entity could not be resolved. Cannot analyze entities from missing assembly references. Add the missing reference and try again. 的本地化字符串。 /// public static string CannotAnalyzeMissingRef { get { @@ -433,7 +433,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Check again. + /// 查找类似 Check again 的本地化字符串。 /// public static string CheckAgain { get { @@ -442,7 +442,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Checking.... + /// 查找类似 Checking... 的本地化字符串。 /// public static string Checking { get { @@ -451,7 +451,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Check for updates. + /// 查找类似 Check for updates 的本地化字符串。 /// public static string CheckUpdates { get { @@ -460,7 +460,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Close. + /// 查找类似 Close 的本地化字符串。 /// public static string Close { get { @@ -469,7 +469,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Collapse all tree nodes. + /// 查找类似 Collapse all tree nodes 的本地化字符串。 /// public static string CollapseTreeNodes { get { @@ -478,7 +478,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Copy. + /// 查找类似 Copy 的本地化字符串。 /// public static string Copy { get { @@ -487,7 +487,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Copy error message. + /// 查找类似 Copy error message 的本地化字符串。 /// public static string CopyErrorMessage { get { @@ -496,7 +496,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Copy FQ Name. + /// 查找类似 Copy FQ Name 的本地化字符串。 /// public static string CopyName { get { @@ -505,7 +505,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Create. + /// 查找类似 Create 的本地化字符串。 /// public static string Create { get { @@ -514,7 +514,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Culture. + /// 查找类似 Culture 的本地化字符串。 /// public static string CultureLabel { get { @@ -523,7 +523,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to DEBUG -- Decompile All. + /// 查找类似 DEBUG -- Decompile All 的本地化字符串。 /// public static string DEBUGDecompile { get { @@ -532,7 +532,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to DEBUG -- Decompile 100x. + /// 查找类似 DEBUG -- Decompile 100x 的本地化字符串。 /// public static string DEBUGDecompile100x { get { @@ -541,7 +541,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to DEBUG -- Disassemble All. + /// 查找类似 DEBUG -- Disassemble All 的本地化字符串。 /// public static string DEBUGDisassemble { get { @@ -550,7 +550,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Debug Steps. + /// 查找类似 Debug Steps 的本地化字符串。 /// public static string DebugSteps { get { @@ -559,7 +559,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Debug this step. + /// 查找类似 Debug this step 的本地化字符串。 /// public static string DebugThisStep { get { @@ -568,7 +568,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompiler. + /// 查找类似 Decompiler 的本地化字符串。 /// public static string Decompiler { get { @@ -577,16 +577,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Aggressively perform Scalar Replacement Of Aggregates (SROA). - /// - public static string DecompilerSettings_AggressiveScalarReplacementOfAggregates { - get { - return ResourceManager.GetString("DecompilerSettings.AggressiveScalarReplacementOfAggregates", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Allow extension 'Add' methods in collection initializer expressions. + /// 查找类似 Allow extension 'Add' methods in collection initializer expressions 的本地化字符串。 /// public static string DecompilerSettings_AllowExtensionAddMethodsInCollectionInitializerExpressions { get { @@ -595,7 +586,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use 'ref' extension methods. + /// 查找类似 Use 'ref' extension methods 的本地化字符串。 /// public static string DecompilerSettings_AllowExtensionMethodSyntaxOnRef { get { @@ -604,7 +595,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Always cast targets of explicit interface implementation calls. + /// 查找类似 Always cast targets of explicit interface implementation calls 的本地化字符串。 /// public static string DecompilerSettings_AlwaysCastTargetsOfExplicitInterfaceImplementationCalls { get { @@ -613,7 +604,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Always show enum member values. + /// 查找类似 Always show enum member values 的本地化字符串。 /// public static string DecompilerSettings_AlwaysShowEnumMemberValues { get { @@ -622,7 +613,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Always use braces. + /// 查找类似 Always use braces 的本地化字符串。 /// public static string DecompilerSettings_AlwaysUseBraces { get { @@ -631,7 +622,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Apply Windows Runtime projections on loaded assemblies. + /// 查找类似 Apply Windows Runtime projections on loaded assemblies 的本地化字符串。 /// public static string DecompilerSettings_ApplyWindowsRuntimeProjectionsOnLoadedAssemblies { get { @@ -640,7 +631,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Array initializer expressions. + /// 查找类似 Array initializer expressions 的本地化字符串。 /// public static string DecompilerSettings_ArrayInitializerExpressions { get { @@ -649,7 +640,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompile async IAsyncEnumerator methods. + /// 查找类似 Decompile async IAsyncEnumerator methods 的本地化字符串。 /// public static string DecompilerSettings_AsyncEnumerator { get { @@ -658,7 +649,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompile ?. and ?[] operators. + /// 查找类似 Decompile ?. and ?[] operators 的本地化字符串。 /// public static string DecompilerSettings_DecompileAndOperators { get { @@ -667,7 +658,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompile anonymous methods/lambdas. + /// 查找类似 Decompile anonymous methods/lambdas 的本地化字符串。 /// public static string DecompilerSettings_DecompileAnonymousMethodsLambdas { get { @@ -676,7 +667,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompile anonymous types. + /// 查找类似 Decompile anonymous types 的本地化字符串。 /// public static string DecompilerSettings_DecompileAnonymousTypes { get { @@ -685,7 +676,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompile async methods. + /// 查找类似 Decompile async methods 的本地化字符串。 /// public static string DecompilerSettings_DecompileAsyncMethods { get { @@ -694,7 +685,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompile automatic events. + /// 查找类似 Decompile automatic events 的本地化字符串。 /// public static string DecompilerSettings_DecompileAutomaticEvents { get { @@ -703,7 +694,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompile automatic properties. + /// 查找类似 Decompile automatic properties 的本地化字符串。 /// public static string DecompilerSettings_DecompileAutomaticProperties { get { @@ -712,7 +703,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompile await in catch/finally blocks. + /// 查找类似 Decompile await in catch/finally blocks 的本地化字符串。 /// public static string DecompilerSettings_DecompileAwaitInCatchFinallyBlocks { get { @@ -721,7 +712,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompile C# 1.0 'public unsafe fixed int arr[10];' members. + /// 查找类似 Decompile C# 1.0 'public unsafe fixed int arr[10];' members 的本地化字符串。 /// public static string DecompilerSettings_DecompileC10PublicUnsafeFixedIntArr10Members { get { @@ -730,7 +721,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompile [DecimalConstant(...)] as simple literal values. + /// 查找类似 Decompile [DecimalConstant(...)] as simple literal values 的本地化字符串。 /// public static string DecompilerSettings_DecompileDecimalConstantAsSimpleLiteralValues { get { @@ -739,7 +730,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompile enumerators (yield return). + /// 查找类似 Decompile enumerators (yield return) 的本地化字符串。 /// public static string DecompilerSettings_DecompileEnumeratorsYieldReturn { get { @@ -748,7 +739,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompile expression trees. + /// 查找类似 Decompile expression trees 的本地化字符串。 /// public static string DecompilerSettings_DecompileExpressionTrees { get { @@ -757,7 +748,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompile use of the 'dynamic' type. + /// 查找类似 Decompile use of the 'dynamic' type 的本地化字符串。 /// public static string DecompilerSettings_DecompileUseOfTheDynamicType { get { @@ -766,7 +757,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Detect awaited using and foreach statements. + /// 查找类似 Detect awaited using and foreach statements 的本地化字符串。 /// public static string DecompilerSettings_DetectAsyncUsingAndForeachStatements { get { @@ -775,7 +766,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Detect foreach statements. + /// 查找类似 Detect foreach statements 的本地化字符串。 /// public static string DecompilerSettings_DetectForeachStatements { get { @@ -784,7 +775,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Detect lock statements. + /// 查找类似 Detect lock statements 的本地化字符串。 /// public static string DecompilerSettings_DetectLockStatements { get { @@ -793,7 +784,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Detect switch on string. + /// 查找类似 Detect switch on string 的本地化字符串。 /// public static string DecompilerSettings_DetectSwitchOnString { get { @@ -802,7 +793,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Detect tuple comparisons. + /// 查找类似 Detect tuple comparisons 的本地化字符串。 /// public static string DecompilerSettings_DetectTupleComparisons { get { @@ -811,7 +802,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Detect using statements. + /// 查找类似 Detect using statements 的本地化字符串。 /// public static string DecompilerSettings_DetectUsingStatements { get { @@ -820,7 +811,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Dictionary initializer expressions. + /// 查找类似 Dictionary initializer expressions 的本地化字符串。 /// public static string DecompilerSettings_DictionaryInitializerExpressions { get { @@ -829,7 +820,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Transform to do-while, if possible.. + /// 查找类似 Transform to do-while, if possible. 的本地化字符串。 /// public static string DecompilerSettings_DoWhileStatement { get { @@ -838,7 +829,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Transform to for, if possible.. + /// 查找类似 Transform to for, if possible. 的本地化字符串。 /// public static string DecompilerSettings_ForStatement { get { @@ -847,7 +838,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to F#-specific options. + /// 查找类似 F#-specific options 的本地化字符串。 /// public static string DecompilerSettings_FSpecificOptions { get { @@ -856,7 +847,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Include XML documentation comments in the decompiled code. + /// 查找类似 Include XML documentation comments in the decompiled code 的本地化字符串。 /// public static string DecompilerSettings_IncludeXMLDocumentationCommentsInTheDecompiledCode { get { @@ -865,7 +856,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Insert using declarations. + /// 查找类似 Insert using declarations 的本地化字符串。 /// public static string DecompilerSettings_InsertUsingDeclarations { get { @@ -874,7 +865,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Introduce local functions. + /// 查找类似 Introduce local functions 的本地化字符串。 /// public static string DecompilerSettings_IntroduceLocalFunctions { get { @@ -883,7 +874,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Introduce static local functions. + /// 查找类似 Introduce static local functions 的本地化字符串。 /// public static string DecompilerSettings_IntroduceStaticLocalFunctions { get { @@ -892,7 +883,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to IsByRefLikeAttribute should be replaced with 'ref' modifiers on structs. + /// 查找类似 IsByRefLikeAttribute should be replaced with 'ref' modifiers on structs 的本地化字符串。 /// public static string DecompilerSettings_IsByRefLikeAttributeShouldBeReplacedWithRefModifiersOnStructs { get { @@ -901,7 +892,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to IsReadOnlyAttribute should be replaced with 'readonly'/'in' modifiers on structs/parameters. + /// 查找类似 IsReadOnlyAttribute should be replaced with 'readonly'/'in' modifiers on structs/parameters 的本地化字符串。 /// public static string DecompilerSettings_IsReadOnlyAttributeShouldBeReplacedWithReadonlyInModifiersOnStructsParameters { get { @@ -911,7 +902,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to IsUnmanagedAttribute on type parameters should be replaced with 'unmanaged' constraints. + /// 查找类似 IsUnmanagedAttribute on type parameters should be replaced with 'unmanaged' constraints 的本地化字符串。 /// public static string DecompilerSettings_IsUnmanagedAttributeOnTypeParametersShouldBeReplacedWithUnmanagedConstraints { get { @@ -921,7 +912,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Nullable reference types. + /// 查找类似 Nullable reference types 的本地化字符串。 /// public static string DecompilerSettings_NullableReferenceTypes { get { @@ -930,7 +921,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Object/collection initializer expressions. + /// 查找类似 Object/collection initializer expressions 的本地化字符串。 /// public static string DecompilerSettings_ObjectCollectionInitializerExpressions { get { @@ -939,7 +930,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Other. + /// 查找类似 Other 的本地化字符串。 /// public static string DecompilerSettings_Other { get { @@ -948,7 +939,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Ranges. + /// 查找类似 Ranges 的本地化字符串。 /// public static string DecompilerSettings_Ranges { get { @@ -957,7 +948,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Read-only methods. + /// 查找类似 Read-only methods 的本地化字符串。 /// public static string DecompilerSettings_ReadOnlyMethods { get { @@ -966,7 +957,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Remove dead and side effect free code (use with caution!). + /// 查找类似 Remove dead and side effect free code (use with caution!) 的本地化字符串。 /// public static string DecompilerSettings_RemoveDeadAndSideEffectFreeCodeUseWithCaution { get { @@ -975,7 +966,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Remove dead stores (use with caution!). + /// 查找类似 Remove dead stores (use with caution!) 的本地化字符串。 /// public static string DecompilerSettings_RemoveDeadStores { get { @@ -984,7 +975,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Remove optional arguments, if possible. + /// 查找类似 Remove optional arguments, if possible 的本地化字符串。 /// public static string DecompilerSettings_RemoveOptionalArgumentsIfPossible { get { @@ -993,7 +984,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Separate local variable declarations and initializers (int x = 5; -> int x; x = 5;), if possible.. + /// 查找类似 Separate local variable declarations and initializers (int x = 5; -> int x; x = 5;), if possible. 的本地化字符串。 /// public static string DecompilerSettings_SeparateLocalVariableDeclarations { get { @@ -1002,7 +993,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show info from debug symbols, if available. + /// 查找类似 Show info from debug symbols, if available 的本地化字符串。 /// public static string DecompilerSettings_ShowInfoFromDebugSymbolsIfAvailable { get { @@ -1011,7 +1002,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use discards. + /// 查找类似 Use discards 的本地化字符串。 /// public static string DecompilerSettings_UseDiscards { get { @@ -1020,7 +1011,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use expression-bodied member syntax for get-only properties. + /// 查找类似 Use expression-bodied member syntax for get-only properties 的本地化字符串。 /// public static string DecompilerSettings_UseExpressionBodiedMemberSyntaxForGetOnlyProperties { get { @@ -1029,7 +1020,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use extension method syntax. + /// 查找类似 Use extension method syntax 的本地化字符串。 /// public static string DecompilerSettings_UseExtensionMethodSyntax { get { @@ -1038,7 +1029,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use implicit conversions between tuple types. + /// 查找类似 Use implicit conversions between tuple types 的本地化字符串。 /// public static string DecompilerSettings_UseImplicitConversionsBetweenTupleTypes { get { @@ -1047,7 +1038,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use implicit method group conversions. + /// 查找类似 Use implicit method group conversions 的本地化字符串。 /// public static string DecompilerSettings_UseImplicitMethodGroupConversions { get { @@ -1056,7 +1047,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use lambda syntax, if possible. + /// 查找类似 Use lambda syntax, if possible 的本地化字符串。 /// public static string DecompilerSettings_UseLambdaSyntaxIfPossible { get { @@ -1065,7 +1056,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use lifted operators for nullables. + /// 查找类似 Use lifted operators for nullables 的本地化字符串。 /// public static string DecompilerSettings_UseLiftedOperatorsForNullables { get { @@ -1074,7 +1065,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use LINQ expression syntax. + /// 查找类似 Use LINQ expression syntax 的本地化字符串。 /// public static string DecompilerSettings_UseLINQExpressionSyntax { get { @@ -1083,7 +1074,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use named arguments. + /// 查找类似 Use named arguments 的本地化字符串。 /// public static string DecompilerSettings_UseNamedArguments { get { @@ -1092,7 +1083,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use non-trailing named arguments. + /// 查找类似 Use non-trailing named arguments 的本地化字符串。 /// public static string DecompilerSettings_UseNonTrailingNamedArguments { get { @@ -1101,7 +1092,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use out variable declarations. + /// 查找类似 Use out variable declarations 的本地化字符串。 /// public static string DecompilerSettings_UseOutVariableDeclarations { get { @@ -1110,7 +1101,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use pattern-based fixed statement. + /// 查找类似 Use pattern-based fixed statement 的本地化字符串。 /// public static string DecompilerSettings_UsePatternBasedFixedStatement { get { @@ -1119,7 +1110,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use new SDK style format for generated project files (*.csproj). + /// 查找类似 Use new SDK style format for generated project files (*.csproj) 的本地化字符串。 /// public static string DecompilerSettings_UseSdkStyleProjectFormat { get { @@ -1128,7 +1119,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use stackalloc initializer syntax. + /// 查找类似 Use stackalloc initializer syntax 的本地化字符串。 /// public static string DecompilerSettings_UseStackallocInitializerSyntax { get { @@ -1137,7 +1128,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use string interpolation. + /// 查找类似 Use string interpolation 的本地化字符串。 /// public static string DecompilerSettings_UseStringInterpolation { get { @@ -1146,7 +1137,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use throw expressions. + /// 查找类似 Use throw expressions 的本地化字符串。 /// public static string DecompilerSettings_UseThrowExpressions { get { @@ -1155,7 +1146,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use tuple type syntax. + /// 查找类似 Use tuple type syntax 的本地化字符串。 /// public static string DecompilerSettings_UseTupleTypeSyntax { get { @@ -1164,7 +1155,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use variable names from debug symbols, if available. + /// 查找类似 Use variable names from debug symbols, if available 的本地化字符串。 /// public static string DecompilerSettings_UseVariableNamesFromDebugSymbolsIfAvailable { get { @@ -1173,7 +1164,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to VB-specific options. + /// 查找类似 VB-specific options 的本地化字符串。 /// public static string DecompilerSettings_VBSpecificOptions { get { @@ -1182,7 +1173,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to The settings selected below are applied to the decompiler output in combination with the selection in the language drop-down. Selecting a lower language version in the drop-down will deactivate all selected options of the higher versions. Note that some settings implicitly depend on each other, e.g.: LINQ expressions cannot be introduced without first transforming static calls to extension method calls.. + /// 查找类似 The settings selected below are applied to the decompiler output in combination with the selection in the language drop-down. Selecting a lower language version in the drop-down will deactivate all selected options of the higher versions. Note that some settings implicitly depend on each other, e.g.: LINQ expressions cannot be introduced without first transforming static calls to extension method calls. 的本地化字符串。 /// public static string DecompilerSettingsPanelLongText { get { @@ -1191,7 +1182,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompile to new tab. + /// 查找类似 Decompile to new tab 的本地化字符串。 /// public static string DecompileToNewPanel { get { @@ -1200,7 +1191,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompiling.... + /// 查找类似 Decompiling... 的本地化字符串。 /// public static string Decompiling { get { @@ -1209,7 +1200,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Dependencies. + /// 查找类似 Dependencies 的本地化字符串。 /// public static string Dependencies { get { @@ -1218,7 +1209,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Derived Types. + /// 查找类似 Derived Types 的本地化字符串。 /// public static string DerivedTypes { get { @@ -1227,7 +1218,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Display. + /// 查找类似 Display 的本地化字符串。 /// public static string Display { get { @@ -1236,7 +1227,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Display Code. + /// 查找类似 Display Code 的本地化字符串。 /// public static string DisplayCode { get { @@ -1245,7 +1236,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Font:. + /// 查找类似 Font: 的本地化字符串。 /// public static string DisplaySettingsPanel_Font { get { @@ -1254,7 +1245,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Download. + /// 查找类似 Download 的本地化字符串。 /// public static string Download { get { @@ -1263,7 +1254,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to E_xit. + /// 查找类似 E_xit 的本地化字符串。 /// public static string E_xit { get { @@ -1272,7 +1263,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Editor. + /// 查找类似 Editor 的本地化字符串。 /// public static string Editor { get { @@ -1281,7 +1272,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Enable folding on all blocks in braces. + /// 查找类似 Enable folding on all blocks in braces 的本地化字符串。 /// public static string EnableFoldingBlocksBraces { get { @@ -1290,7 +1281,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Enable word wrap. + /// 查找类似 Enable word wrap 的本地化字符串。 /// public static string EnableWordWrap { get { @@ -1299,7 +1290,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Enter a list name:. + /// 查找类似 Enter a list name: 的本地化字符串。 /// public static string EnterListName { get { @@ -1308,7 +1299,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Exit. + /// 查找类似 Exit 的本地化字符串。 /// public static string Exit { get { @@ -1317,7 +1308,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Expand member definitions after decompilation. + /// 查找类似 Expand member definitions after decompilation 的本地化字符串。 /// public static string ExpandMemberDefinitionsAfterDecompilation { get { @@ -1326,7 +1317,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Expand using declarations after decompilation. + /// 查找类似 Expand using declarations after decompilation 的本地化字符串。 /// public static string ExpandUsingDeclarationsAfterDecompilation { get { @@ -1335,7 +1326,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Folding. + /// 查找类似 Folding 的本地化字符串。 /// public static string Folding { get { @@ -1344,7 +1335,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Font. + /// 查找类似 Font 的本地化字符串。 /// public static string Font { get { @@ -1353,7 +1344,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Forward. + /// 查找类似 Forward 的本地化字符串。 /// public static string Forward { get { @@ -1362,7 +1353,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Generate portable PDB. + /// 查找类似 Generate portable PDB 的本地化字符串。 /// public static string GeneratePortable { get { @@ -1371,7 +1362,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Hide empty metadata tables from tree view. + /// 查找类似 Hide empty metadata tables from tree view 的本地化字符串。 /// public static string HideEmptyMetadataTables { get { @@ -1380,7 +1371,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Highlight matching braces. + /// 查找类似 Highlight matching braces 的本地化字符串。 /// public static string HighlightMatchingBraces { get { @@ -1389,7 +1380,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to ILSpy version . + /// 查找类似 ILSpy version 的本地化字符串。 /// public static string ILSpyVersion { get { @@ -1398,7 +1389,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to A new ILSpy version is available.. + /// 查找类似 A new ILSpy version is available. 的本地化字符串。 /// public static string ILSpyVersionAvailable { get { @@ -1407,7 +1398,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Indentation. + /// 查找类似 Indentation 的本地化字符串。 /// public static string Indentation { get { @@ -1416,7 +1407,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Indent size:. + /// 查找类似 Indent size: 的本地化字符串。 /// public static string IndentSize { get { @@ -1425,7 +1416,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Insert using declarations. + /// 查找类似 Insert using declarations 的本地化字符串。 /// public static string InsertUsingDeclarations { get { @@ -1434,7 +1425,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Are you sure that you want to delete the selected assembly list?. + /// 查找类似 Are you sure that you want to delete the selected assembly list? 的本地化字符串。 /// public static string ListDeleteConfirmation { get { @@ -1443,7 +1434,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to A list with the same name was found.. + /// 查找类似 A list with the same name was found. 的本地化字符串。 /// public static string ListExistsAlready { get { @@ -1452,7 +1443,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Are you sure that you want to remove all assembly lists and recreate the default assembly lists?. + /// 查找类似 Are you sure that you want to remove all assembly lists and recreate the default assembly lists? 的本地化字符串。 /// public static string ListsResetConfirmation { get { @@ -1461,7 +1452,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Load assemblies that were loaded in the last instance.. + /// 查找类似 Load assemblies that were loaded in the last instance. 的本地化字符串。 /// public static string LoadAssembliesThatWereLoadedInTheLastInstance { get { @@ -1470,7 +1461,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Loading.... + /// 查找类似 Loading... 的本地化字符串。 /// public static string Loading { get { @@ -1479,7 +1470,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Location. + /// 查找类似 Location 的本地化字符串。 /// public static string Location { get { @@ -1488,7 +1479,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Manage assembly _lists.... + /// 查找类似 Manage assembly _lists... 的本地化字符串。 /// public static string ManageAssembly_Lists { get { @@ -1497,7 +1488,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Manage Assembly Lists. + /// 查找类似 Manage Assembly Lists 的本地化字符串。 /// public static string ManageAssemblyLists { get { @@ -1506,7 +1497,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Misc. + /// 查找类似 Misc 的本地化字符串。 /// public static string Misc { get { @@ -1515,7 +1506,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Name. + /// 查找类似 Name 的本地化字符串。 /// public static string Name { get { @@ -1524,7 +1515,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Navigation. + /// 查找类似 Navigation 的本地化字符串。 /// public static string Navigation { get { @@ -1533,8 +1524,8 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Navigation failed because the target is hidden or a compiler-generated class.\n - ///Please disable all filters that might hide the item (i.e. activate "View > Show internal types and members") and try again.. + /// 查找类似 Navigation failed because the target is hidden or a compiler-generated class.\n + ///Please disable all filters that might hide the item (i.e. activate "View > Show internal types and members") and try again. 的本地化字符串。 /// public static string NavigationFailed { get { @@ -1543,7 +1534,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to New list. + /// 查找类似 New list 的本地化字符串。 /// public static string NewList { get { @@ -1552,7 +1543,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to New Tab. + /// 查找类似 New Tab 的本地化字符串。 /// public static string NewTab { get { @@ -1561,7 +1552,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Nuget Package Browser. + /// 查找类似 Nuget Package Browser 的本地化字符串。 /// public static string NugetPackageBrowser { get { @@ -1570,7 +1561,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to OK. + /// 查找类似 OK 的本地化字符串。 /// public static string OK { get { @@ -1579,7 +1570,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Open. + /// 查找类似 Open 的本地化字符串。 /// public static string Open { get { @@ -1588,7 +1579,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Open Explorer. + /// 查找类似 Open Explorer 的本地化字符串。 /// public static string OpenExplorer { get { @@ -1597,7 +1588,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Open From GAC. + /// 查找类似 Open From GAC 的本地化字符串。 /// public static string OpenFrom { get { @@ -1606,7 +1597,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Open from _GAC.... + /// 查找类似 Open from _GAC... 的本地化字符串。 /// public static string OpenFrom_GAC { get { @@ -1615,7 +1606,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Delete. + /// 查找类似 _Delete 的本地化字符串。 /// public static string OpenListDialog__Delete { get { @@ -1624,7 +1615,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Open. + /// 查找类似 _Open 的本地化字符串。 /// public static string OpenListDialog__Open { get { @@ -1633,7 +1624,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Options. + /// 查找类似 Options 的本地化字符串。 /// public static string Options { get { @@ -1642,7 +1633,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Other. + /// 查找类似 Other 的本地化字符串。 /// public static string Other { get { @@ -1651,7 +1642,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Other options. + /// 查找类似 Other options 的本地化字符串。 /// public static string OtherOptions { get { @@ -1660,7 +1651,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Other Resources. + /// 查找类似 Other Resources 的本地化字符串。 /// public static string OtherResources { get { @@ -1669,7 +1660,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to for ex. property getter/setter access. To get optimal decompilation results, please manually add the missing references to the list of loaded assemblies.. + /// 查找类似 for ex. property getter/setter access. To get optimal decompilation results, please manually add the missing references to the list of loaded assemblies. 的本地化字符串。 /// public static string PropertyManuallyMissingReferencesListLoadedAssemblies { get { @@ -1678,7 +1669,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Public Key Token. + /// 查找类似 Public Key Token 的本地化字符串。 /// public static string PublicToken { get { @@ -1687,7 +1678,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to R_ename. + /// 查找类似 R_ename 的本地化字符串。 /// public static string R_ename { get { @@ -1696,7 +1687,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Reference Name. + /// 查找类似 Reference Name 的本地化字符串。 /// public static string ReferenceName { get { @@ -1705,7 +1696,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to References. + /// 查找类似 References 的本地化字符串。 /// public static string References { get { @@ -1714,7 +1705,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Reload all assemblies. + /// 查找类似 Reload all assemblies 的本地化字符串。 /// public static string RefreshCommand_ReloadAssemblies { get { @@ -1723,7 +1714,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Reload all assemblies. + /// 查找类似 Reload all assemblies 的本地化字符串。 /// public static string ReloadAssemblies { get { @@ -1732,7 +1723,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Remove. + /// 查找类似 Remove 的本地化字符串。 /// public static string Remove { get { @@ -1741,7 +1732,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Remove dead and side effect free code. + /// 查找类似 Remove dead and side effect free code 的本地化字符串。 /// public static string RemoveDeadSideEffectFreeCode { get { @@ -1750,7 +1741,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Remove shell integration. + /// 查找类似 Remove shell integration 的本地化字符串。 /// public static string RemoveShellIntegration { get { @@ -1759,9 +1750,9 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to This will remove "{0}" from the registry at "HKCU\Software\Classes\dllfile\shell\Open with ILSpy\command" and "HKCU\Software\Classes\exefile\shell\Open with ILSpy\command". + /// 查找类似 This will remove "{0}" from the registry at "HKCU\Software\Classes\dllfile\shell\Open with ILSpy\command" and "HKCU\Software\Classes\exefile\shell\Open with ILSpy\command". /// - ///Do you want to continue?. + ///Do you want to continue? 的本地化字符串。 /// public static string RemoveShellIntegrationMessage { get { @@ -1770,7 +1761,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Rename list. + /// 查找类似 Rename list 的本地化字符串。 /// public static string RenameList { get { @@ -1779,7 +1770,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Reset to defaults. + /// 查找类似 Reset to defaults 的本地化字符串。 /// public static string ResetToDefaults { get { @@ -1788,7 +1779,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Do you really want to load the default settings for the active page?. + /// 查找类似 Do you really want to load the default settings for the active page? 的本地化字符串。 /// public static string ResetToDefaultsConfirmationMessage { get { @@ -1797,7 +1788,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Resources file (*.resources)|*.resources|Resource XML file|*.resx. + /// 查找类似 Resources file (*.resources)|*.resources|Resource XML file|*.resx 的本地化字符串。 /// public static string ResourcesFileFilter { get { @@ -1806,7 +1797,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Save. + /// 查找类似 Save 的本地化字符串。 /// public static string Save { get { @@ -1815,7 +1806,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Save Code. + /// 查找类似 Save Code 的本地化字符串。 /// public static string SaveCode { get { @@ -1824,7 +1815,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Search.... + /// 查找类似 Search... 的本地化字符串。 /// public static string Search { get { @@ -1833,7 +1824,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Search aborted, more than 1000 results found.. + /// 查找类似 Search aborted, more than 1000 results found. 的本地化字符串。 /// public static string SearchAbortedMoreThan1000ResultsFound { get { @@ -1842,7 +1833,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Search (Ctrl+Shift+F or Ctrl+E). + /// 查找类似 Search (Ctrl+Shift+F or Ctrl+E) 的本地化字符串。 /// public static string SearchCtrlShiftFOrCtrlE { get { @@ -1851,7 +1842,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Searching.... + /// 查找类似 Searching... 的本地化字符串。 /// public static string Searching { get { @@ -1860,7 +1851,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Search Microsoft Docs.... + /// 查找类似 Search Microsoft Docs... 的本地化字符串。 /// public static string SearchMSDN { get { @@ -1869,7 +1860,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Search. + /// 查找类似 Search 的本地化字符串。 /// public static string SearchPane_Search { get { @@ -1878,7 +1869,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Select All. + /// 查找类似 Select All 的本地化字符串。 /// public static string Select { get { @@ -1887,7 +1878,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Select assemblies to open:. + /// 查找类似 Select assemblies to open: 的本地化字符串。 /// public static string SelectAssembliesOpen { get { @@ -1896,7 +1887,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Select a list of assemblies. + /// 查找类似 Select a list of assemblies 的本地化字符串。 /// public static string SelectAssemblyListDropdownTooltip { get { @@ -1905,7 +1896,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Select language to decompile to. + /// 查找类似 Select language to decompile to 的本地化字符串。 /// public static string SelectLanguageDropdownTooltip { get { @@ -1914,7 +1905,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Select a list:. + /// 查找类似 Select a list: 的本地化字符串。 /// public static string SelectList { get { @@ -1923,7 +1914,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Select version of language to output. + /// 查找类似 Select version of language to output 的本地化字符串。 /// public static string SelectVersionDropdownTooltip { get { @@ -1932,7 +1923,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Shell. + /// 查找类似 Shell 的本地化字符串。 /// public static string Shell { get { @@ -1941,7 +1932,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show _all types and members. + /// 查找类似 Show _all types and members 的本地化字符串。 /// public static string Show_allTypesAndMembers { get { @@ -1950,7 +1941,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show public, private and internal. + /// 查找类似 Show public, private and internal 的本地化字符串。 /// public static string Show_internalTypesMembers { get { @@ -1959,7 +1950,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show only _public types and members. + /// 查找类似 Show only _public types and members 的本地化字符串。 /// public static string Show_publiconlyTypesMembers { get { @@ -1968,7 +1959,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show all types and members. + /// 查找类似 Show all types and members 的本地化字符串。 /// public static string ShowAllTypesAndMembers { get { @@ -1977,7 +1968,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show assembly load log. + /// 查找类似 Show assembly load log 的本地化字符串。 /// public static string ShowAssemblyLoad { get { @@ -1986,7 +1977,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to ShowChildIndexInBlock. + /// 查找类似 ShowChildIndexInBlock 的本地化字符串。 /// public static string ShowChildIndexInBlock { get { @@ -1995,7 +1986,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show XML documentation in decompiled code. + /// 查找类似 Show XML documentation in decompiled code 的本地化字符串。 /// public static string ShowDocumentationDecompiledCode { get { @@ -2004,7 +1995,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to ShowILRanges. + /// 查找类似 ShowILRanges 的本地化字符串。 /// public static string ShowILRanges { get { @@ -2013,7 +2004,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show info from debug symbols, if available. + /// 查找类似 Show info from debug symbols, if available 的本地化字符串。 /// public static string ShowInfoFromDebugSymbolsAvailable { get { @@ -2022,7 +2013,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show public, private and internal. + /// 查找类似 Show public, private and internal 的本地化字符串。 /// public static string ShowInternalTypesMembers { get { @@ -2031,7 +2022,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show line numbers. + /// 查找类似 Show line numbers 的本地化字符串。 /// public static string ShowLineNumbers { get { @@ -2040,7 +2031,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show metadata tokens. + /// 查找类似 Show metadata tokens 的本地化字符串。 /// public static string ShowMetadataTokens { get { @@ -2049,7 +2040,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show metadata tokens in base 10. + /// 查找类似 Show metadata tokens in base 10 的本地化字符串。 /// public static string ShowMetadataTokensInBase10 { get { @@ -2058,7 +2049,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show only public types and members. + /// 查找类似 Show only public types and members 的本地化字符串。 /// public static string ShowPublicOnlyTypesMembers { get { @@ -2067,7 +2058,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show state after this step. + /// 查找类似 Show state after this step 的本地化字符串。 /// public static string ShowStateAfterThisStep { get { @@ -2076,7 +2067,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show state before this step. + /// 查找类似 Show state before this step 的本地化字符串。 /// public static string ShowStateBeforeThisStep { get { @@ -2085,7 +2076,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Size:. + /// 查找类似 Size: 的本地化字符串。 /// public static string Size { get { @@ -2094,7 +2085,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Sort assembly _list by name. + /// 查找类似 Sort assembly _list by name 的本地化字符串。 /// public static string SortAssembly_listName { get { @@ -2103,7 +2094,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Sort assembly list by name. + /// 查找类似 Sort assembly list by name 的本地化字符串。 /// public static string SortAssemblyListName { get { @@ -2112,7 +2103,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Sort results by fitness. + /// 查找类似 Sort results by fitness 的本地化字符串。 /// public static string SortResultsFitness { get { @@ -2121,7 +2112,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Stand by.... + /// 查找类似 Stand by... 的本地化字符串。 /// public static string StandBy { get { @@ -2130,7 +2121,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Status. + /// 查找类似 Status 的本地化字符串。 /// public static string Status { get { @@ -2139,7 +2130,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to String Table. + /// 查找类似 String Table 的本地化字符串。 /// public static string StringTable { get { @@ -2148,7 +2139,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Tab size:. + /// 查找类似 Tab size: 的本地化字符串。 /// public static string TabSize { get { @@ -2157,7 +2148,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Toggle All Folding. + /// 查找类似 Toggle All Folding 的本地化字符串。 /// public static string ToggleFolding { get { @@ -2166,7 +2157,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Type. + /// 查找类似 Type 的本地化字符串。 /// public static string Type { get { @@ -2175,7 +2166,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to No update for ILSpy found.. + /// 查找类似 No update for ILSpy found. 的本地化字符串。 /// public static string UpdateILSpyFound { get { @@ -2184,7 +2175,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to UseFieldSugar. + /// 查找类似 UseFieldSugar 的本地化字符串。 /// public static string UseFieldSugar { get { @@ -2193,7 +2184,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to UseLogicOperationSugar. + /// 查找类似 UseLogicOperationSugar 的本地化字符串。 /// public static string UseLogicOperationSugar { get { @@ -2202,7 +2193,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use tabs instead of spaces. + /// 查找类似 Use tabs instead of spaces 的本地化字符串。 /// public static string UseTabsInsteadOfSpaces { get { @@ -2211,7 +2202,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to You are using the latest release.. + /// 查找类似 You are using the latest release. 的本地化字符串。 /// public static string UsingLatestRelease { get { @@ -2220,7 +2211,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to You are using a nightly build newer than the latest release.. + /// 查找类似 You are using a nightly build newer than the latest release. 的本地化字符串。 /// public static string UsingNightlyBuildNewerThanLatestRelease { get { @@ -2229,7 +2220,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Value. + /// 查找类似 Value 的本地化字符串。 /// public static string Value { get { @@ -2238,7 +2229,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Value (as string). + /// 查找类似 Value (as string) 的本地化字符串。 /// public static string ValueString { get { @@ -2247,7 +2238,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use variable names from debug symbols, if available. + /// 查找类似 Use variable names from debug symbols, if available 的本地化字符串。 /// public static string VariableNamesFromDebugSymbolsAvailable { get { @@ -2256,7 +2247,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Version. + /// 查找类似 Version 的本地化字符串。 /// public static string Version { get { @@ -2265,7 +2256,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Version {0} is available.. + /// 查找类似 Version {0} is available. 的本地化字符串。 /// public static string VersionAvailable { get { @@ -2274,7 +2265,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to View. + /// 查找类似 View 的本地化字符串。 /// public static string View { get { @@ -2283,7 +2274,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Warning: This assembly is marked as 'reference assembly', which means that it only contains metadata and no executable code.. + /// 查找类似 Warning: This assembly is marked as 'reference assembly', which means that it only contains metadata and no executable code. 的本地化字符串。 /// public static string WarningAsmMarkedRef { get { @@ -2292,7 +2283,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Warning: Some assembly references could not be resolved automatically. This might lead to incorrect decompilation of some parts,. + /// 查找类似 Warning: Some assembly references could not be resolved automatically. This might lead to incorrect decompilation of some parts, 的本地化字符串。 /// public static string WarningSomeAssemblyReference { get { @@ -2301,7 +2292,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Search for t:TypeName, m:Member or c:Constant; use exact match (=term), 'should not contain' (-term) or 'must contain' (+term); use /reg(ular)?Ex(pressions)?/ or both - t:/Type(Name)?/.... + /// 查找类似 Search for t:TypeName, m:Member or c:Constant; use exact match (=term), 'should not contain' (-term) or 'must contain' (+term); use /reg(ular)?Ex(pressions)?/ or both - t:/Type(Name)?/... 的本地化字符串。 /// public static string WatermarkText { get { @@ -2310,7 +2301,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Close all documents. + /// 查找类似 Close all documents 的本地化字符串。 /// public static string Window_CloseAllDocuments { get { @@ -2319,7 +2310,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Reset layout. + /// 查找类似 Reset layout 的本地化字符串。 /// public static string Window_ResetLayout { get { diff --git a/ILSpy/Properties/Resources.zh-Hans.resx b/ILSpy/Properties/Resources.zh-Hans.resx index 980fec4c7..4cf41e4ea 100644 --- a/ILSpy/Properties/Resources.zh-Hans.resx +++ b/ILSpy/Properties/Resources.zh-Hans.resx @@ -154,10 +154,7 @@ 打开(_O)... - 从_GAC中打开...... - - - 打开列表(_L) + 从_GAC打开... 重新加载全部程序集 @@ -184,7 +181,7 @@ 移除 - 保存代码(_S) + 保存代码(_S)... 显示调试步骤(_S) @@ -244,7 +241,7 @@ 引用 - ILSpy版本 + ILSpy 版本 正在反编译... @@ -352,7 +349,7 @@ 派生类型 - 资源文件 (*.resources)|*.resources|XML资源文件|*.resx + 资源文件 (*.resources)|*.resources|XML资源文件|*.resx 排序结果自适应 @@ -366,24 +363,15 @@ 打开(_O) - - 创建(_C) - 引用名称 版本 - - 区域 - 公钥标记 - - 打开列表 - 选择一个列表: @@ -396,9 +384,6 @@ Nuget 包浏览器 - - 新建列表 - 选择要打开的程序集: @@ -469,7 +454,7 @@ 每周自动检查更新 - 搜索 t:TypeName, m:Member 或c:Constant; 使用完全匹配 (=term), '不应包含' (-term) 或 '必须包含' (+term); 使用 /reg(ular)?Ex(pressions)?/或两者 - t:/Type(Name)?/... + 搜索 t:TypeName, m:Member 或c:Constant; 使用完全匹配 (=term), '不应包含' (-term) 或 '必须包含' (+term); 使用 /reg(ular)?Ex(pressions)?/或两者 - t:/Type(Name)?/... 选项 @@ -703,10 +688,7 @@ 如果可能, 删除可选参数 - 引入本地功能 - - - C# 7.0 本地函数未实现! + 引入本地函数 可空引用类型 @@ -721,7 +703,7 @@ F # 特定选项 - 删除死的和副作用免费的代码 (请谨慎使用) + 删除废弃和副作用免费的代码 (请谨慎使用!) 在已加载的程序集上应用 Windows 运行时投影 @@ -735,4 +717,160 @@ 使用新的 SDK 格式 (*.csproj) 生成项目文件 + + 新建(_N) + + + 窗口(_W) + + + 添加预配置列表... + + + 添加外部集成 + + + 将要向注册表中的"HKCU\Software\Classes\dllfile\shell\Open with ILSpy\command" 和"HKCU\Software\Classes\exefile\shell\Open with ILSpy\command" 添加"{0}"以便通过Windows资源管理器的右键菜单打开.dll 和 .exe 文件. + +你想继续吗? + + + 程序集 + + + 程序集 + + + 该目录不为空。文件将被覆盖。 +您确定要继续吗? + + + 项目目录不为空 + + + 克隆(_L) + + + 无法解析对象。无法从缺少程序集引用分析对接。添加缺少的引用,然后重试。 + + + 关闭 + + + 区域 + + + 使用'ref'扩展方法 + + + 允许显示枚举成员值 + + + 反编译异步IAsyncEnumerator方法 + + + 检测 awaited using 和 foreach 语句 + + + 如果可能,转换为do-while. + + + 如果可能,转换为for. + + + 引入静态本地函数 + + + 范围 + + + 只读方法 + + + 删除废弃的储存 (请慎重使用!) + + + 如果可能, 拆分局部变量定义和初始化器(int x = 5; -> int x; x = 5;). + + + 使用基于模式的 fixed 语句 + + + 使用throw表达式 + + + 反编译到新选项卡 + + + 从树视图中隐藏空元数据表 + + + 突出显示匹配的大括号 + + + 重置布局 + + + 关闭所有文档 + + + 仅显示public类型和成员 + + + 仅显示 _public 类型和成员 + + + 选择输出的语言版本 + + + 选择程序集列表 + + + 选择语言以反编译 + + + 重命名列表 + + + 重置为默认值 + + + 从注册表的 "HKCU\Software\Classes\dllfile\shell\Open with ILSpy\command" 和HKCU\Software\Classes\exefile\shell\Open with ILSpy\command"删除"{0}". + +您要继续吗? + + + 删除外部集成 + + + 你的想要为当前页面加载默认设置吗? + + + 重命名(_E) + + + 新建列表 + + + 新建选项卡 + + + 管理程序集列表(_L)... + + + 管理程序集列表 + + + 导航失败,因为目标是隐藏的或者是一个编译器生成的类.\n +请禁止可能隐藏目标的所有过滤器(比如: 激活 "视图 > 显示内部类型和成员")并且重试. + + + 你确定要删除选定的程序集列表吗? + + + 找到同名程序集列表. + + + 你确定要删除所有程序集列表并且重新创建默认的程序集列表? + \ No newline at end of file From 8863f977c5bdcd309f143d1489e8124449a771bc Mon Sep 17 00:00:00 2001 From: MysticBoy Date: Thu, 16 Jul 2020 01:29:48 +0800 Subject: [PATCH 02/24] ILSpy.ReadyToRun and more statements is Translated --- ILSpy.ReadyToRun/ILSpy.ReadyToRun.csproj | 15 ++ .../Properties/Resources.Designer.cs | 99 +++++++++++++ ILSpy.ReadyToRun/Properties/Resources.resx | 132 ++++++++++++++++++ .../Properties/Resources.zh-Hans.resx | 132 ++++++++++++++++++ ILSpy.ReadyToRun/ReadyToRunLanguage.cs | 3 +- ILSpy.ReadyToRun/ReadyToRunOptionPage.xaml | 7 +- ILSpy.ReadyToRun/ReadyToRunOptionPage.xaml.cs | 4 +- ILSpy/AboutPage.cs | 2 +- ILSpy/Commands/Pdb2XmlCommand.cs | 5 +- ILSpy/ILSpy.csproj | 1 + ILSpy/Properties/Resources.Designer.cs | 18 +++ ILSpy/Properties/Resources.resx | 6 + ILSpy/Properties/Resources.zh-Hans.resx | 16 ++- doc/ILSpyAboutPage.zh-Hans.txt | 13 ++ 14 files changed, 439 insertions(+), 14 deletions(-) create mode 100644 ILSpy.ReadyToRun/Properties/Resources.Designer.cs create mode 100644 ILSpy.ReadyToRun/Properties/Resources.resx create mode 100644 ILSpy.ReadyToRun/Properties/Resources.zh-Hans.resx create mode 100644 doc/ILSpyAboutPage.zh-Hans.txt diff --git a/ILSpy.ReadyToRun/ILSpy.ReadyToRun.csproj b/ILSpy.ReadyToRun/ILSpy.ReadyToRun.csproj index dddbbb74c..13d40df8a 100644 --- a/ILSpy.ReadyToRun/ILSpy.ReadyToRun.csproj +++ b/ILSpy.ReadyToRun/ILSpy.ReadyToRun.csproj @@ -44,6 +44,11 @@ + + True + True + Resources.resx + ReadyToRunOptionPage.xaml @@ -51,6 +56,16 @@ + + + PublicResXFileCodeGenerator + Resources.Designer.cs + + + + + + diff --git a/ILSpy.ReadyToRun/Properties/Resources.Designer.cs b/ILSpy.ReadyToRun/Properties/Resources.Designer.cs new file mode 100644 index 000000000..56cf7ac1f --- /dev/null +++ b/ILSpy.ReadyToRun/Properties/Resources.Designer.cs @@ -0,0 +1,99 @@ +//------------------------------------------------------------------------------ +// +// 此代码由工具生成。 +// 运行时版本:4.0.30319.42000 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace ILSpy.ReadyToRun.Properties { + using System; + + + /// + /// 一个强类型的资源类,用于查找本地化的字符串等。 + /// + // 此类是由 StronglyTypedResourceBuilder + // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 + // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen + // (以 /str 作为命令选项),或重新生成 VS 项目。 + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + public class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// 返回此类使用的缓存的 ResourceManager 实例。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ILSpy.ReadyToRun.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// 重写当前线程的 CurrentUICulture 属性 + /// 重写当前线程的 CurrentUICulture 属性。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// 查找类似 Disassembly Format 的本地化字符串。 + /// + public static string DisassemblyFormat { + get { + return ResourceManager.GetString("DisassemblyFormat", resourceCulture); + } + } + + /// + /// 查找类似 ReadyToRun 的本地化字符串。 + /// + public static string ReadyToRun { + get { + return ResourceManager.GetString("ReadyToRun", resourceCulture); + } + } + + /// + /// 查找类似 Show Debug Info 的本地化字符串。 + /// + public static string ShowDebugInfo { + get { + return ResourceManager.GetString("ShowDebugInfo", resourceCulture); + } + } + + /// + /// 查找类似 Show Unwind Info 的本地化字符串。 + /// + public static string ShowUnwindInfo { + get { + return ResourceManager.GetString("ShowUnwindInfo", resourceCulture); + } + } + } +} diff --git a/ILSpy.ReadyToRun/Properties/Resources.resx b/ILSpy.ReadyToRun/Properties/Resources.resx new file mode 100644 index 000000000..67b36ef54 --- /dev/null +++ b/ILSpy.ReadyToRun/Properties/Resources.resx @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ReadyToRun + + + Disassembly Format + + + Show Unwind Info + + + Show Debug Info + + \ No newline at end of file diff --git a/ILSpy.ReadyToRun/Properties/Resources.zh-Hans.resx b/ILSpy.ReadyToRun/Properties/Resources.zh-Hans.resx new file mode 100644 index 000000000..f13237c18 --- /dev/null +++ b/ILSpy.ReadyToRun/Properties/Resources.zh-Hans.resx @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ReadyToRun + + + 反汇编格式 + + + 显示调试信息 + + + 显示展开信息 + + \ No newline at end of file diff --git a/ILSpy.ReadyToRun/ReadyToRunLanguage.cs b/ILSpy.ReadyToRun/ReadyToRunLanguage.cs index f29c5ce73..b244a5b43 100644 --- a/ILSpy.ReadyToRun/ReadyToRunLanguage.cs +++ b/ILSpy.ReadyToRun/ReadyToRunLanguage.cs @@ -24,6 +24,7 @@ using System.Linq; using System.Reflection.Metadata; using System.Reflection.Metadata.Ecma335; using System.Reflection.PortableExecutable; +using System.Resources; using System.Runtime.CompilerServices; using Iced.Intel; @@ -35,7 +36,7 @@ using ICSharpCode.Decompiler.Solution; using ICSharpCode.Decompiler.TypeSystem; using ILCompiler.Reflection.ReadyToRun; using ILCompiler.Reflection.ReadyToRun.Amd64; - +[assembly: NeutralResourcesLanguage("en-US")] namespace ICSharpCode.ILSpy.ReadyToRun { [Export(typeof(Language))] diff --git a/ILSpy.ReadyToRun/ReadyToRunOptionPage.xaml b/ILSpy.ReadyToRun/ReadyToRunOptionPage.xaml index 188f52994..c3e28eaf0 100644 --- a/ILSpy.ReadyToRun/ReadyToRunOptionPage.xaml +++ b/ILSpy.ReadyToRun/ReadyToRunOptionPage.xaml @@ -1,5 +1,6 @@  @@ -11,11 +12,11 @@ - Disassembly Format + - Show Unwind Info + - Show Debug Info + \ No newline at end of file diff --git a/ILSpy.ReadyToRun/ReadyToRunOptionPage.xaml.cs b/ILSpy.ReadyToRun/ReadyToRunOptionPage.xaml.cs index 3e81b1c7c..59ee6d734 100644 --- a/ILSpy.ReadyToRun/ReadyToRunOptionPage.xaml.cs +++ b/ILSpy.ReadyToRun/ReadyToRunOptionPage.xaml.cs @@ -20,10 +20,10 @@ using System.ComponentModel; using System.Windows.Controls; using System.Xml.Linq; using ICSharpCode.ILSpy.Options; - +using ILSpy.ReadyToRun; namespace ICSharpCode.ILSpy.ReadyToRun { - [ExportOptionPage(Title = "ReadyToRun", Order = 40)] + [ExportOptionPage(Title = nameof(global::ILSpy.ReadyToRun.Properties.Resources.ReadyToRun), Order = 40)] partial class ReadyToRunOptionPage : UserControl, IOptionPage { public ReadyToRunOptionPage() diff --git a/ILSpy/AboutPage.cs b/ILSpy/AboutPage.cs index e904de4a8..1916abee5 100644 --- a/ILSpy/AboutPage.cs +++ b/ILSpy/AboutPage.cs @@ -88,7 +88,7 @@ namespace ICSharpCode.ILSpy plugin.Write(output); output.WriteLine(); output.Address = new Uri("resource://AboutPage"); - using (Stream s = typeof(AboutPage).Assembly.GetManifestResourceStream(typeof(AboutPage), "ILSpyAboutPage.txt")) { + using (Stream s = typeof(AboutPage).Assembly.GetManifestResourceStream(typeof(AboutPage), Resources.ILSpyAboutPageTxt)) { using (StreamReader r = new StreamReader(s)) { string line; while ((line = r.ReadLine()) != null) { diff --git a/ILSpy/Commands/Pdb2XmlCommand.cs b/ILSpy/Commands/Pdb2XmlCommand.cs index 91b481f7b..13856e8b0 100644 --- a/ILSpy/Commands/Pdb2XmlCommand.cs +++ b/ILSpy/Commands/Pdb2XmlCommand.cs @@ -24,13 +24,14 @@ using System.Linq; using System.Threading.Tasks; using ICSharpCode.AvalonEdit.Highlighting; using ICSharpCode.Decompiler; +using ICSharpCode.ILSpy.Properties; using ICSharpCode.ILSpy.TextView; using ICSharpCode.ILSpy.TreeNodes; using Microsoft.DiaSymReader.Tools; namespace ICSharpCode.ILSpy { - [ExportMainMenuCommand(Menu = "_File", Header = "DEBUG -- Dump PDB as XML", MenuCategory = "Open", MenuOrder = 2.6)] + [ExportMainMenuCommand(Menu = nameof(Resources._File) , Header = nameof(Resources.DEBUGDumpPDBAsXML), MenuCategory = nameof(Resources.Open), MenuOrder = 2.6)] sealed class Pdb2XmlCommand : SimpleCommand { public override bool CanExecute(object parameter) @@ -64,7 +65,7 @@ namespace ICSharpCode.ILSpy } } - [ExportContextMenuEntry(Header = "DEBUG -- Dump PDB as XML")] + [ExportContextMenuEntry(Header = nameof(Resources.DEBUGDumpPDBAsXML))] class Pdb2XmlCommandContextMenuEntry : IContextMenuEntry { public void Execute(TextViewContext context) diff --git a/ILSpy/ILSpy.csproj b/ILSpy/ILSpy.csproj index c47538ca4..1abc6c53e 100644 --- a/ILSpy/ILSpy.csproj +++ b/ILSpy/ILSpy.csproj @@ -456,6 +456,7 @@ + license.txt diff --git a/ILSpy/Properties/Resources.Designer.cs b/ILSpy/Properties/Resources.Designer.cs index ce852aecd..5b55dfdfc 100644 --- a/ILSpy/Properties/Resources.Designer.cs +++ b/ILSpy/Properties/Resources.Designer.cs @@ -549,6 +549,15 @@ namespace ICSharpCode.ILSpy.Properties { } } + /// + /// 查找类似 DEBUG -- Dump PDB as XML 的本地化字符串。 + /// + public static string DEBUGDumpPDBAsXML { + get { + return ResourceManager.GetString("DEBUGDumpPDBAsXML", resourceCulture); + } + } + /// /// 查找类似 Debug Steps 的本地化字符串。 /// @@ -1379,6 +1388,15 @@ namespace ICSharpCode.ILSpy.Properties { } } + /// + /// 查找类似 ILSpyAboutPage.txt 的本地化字符串。 + /// + public static string ILSpyAboutPageTxt { + get { + return ResourceManager.GetString("ILSpyAboutPageTxt", resourceCulture); + } + } + /// /// 查找类似 ILSpy version 的本地化字符串。 /// diff --git a/ILSpy/Properties/Resources.resx b/ILSpy/Properties/Resources.resx index 4fb242324..cc292085b 100644 --- a/ILSpy/Properties/Resources.resx +++ b/ILSpy/Properties/Resources.resx @@ -873,4 +873,10 @@ Do you want to continue? Use new SDK style format for generated project files (*.csproj) + + DEBUG -- Dump PDB as XML + + + ILSpyAboutPage.txt + \ No newline at end of file diff --git a/ILSpy/Properties/Resources.zh-Hans.resx b/ILSpy/Properties/Resources.zh-Hans.resx index 4cf41e4ea..164844b44 100644 --- a/ILSpy/Properties/Resources.zh-Hans.resx +++ b/ILSpy/Properties/Resources.zh-Hans.resx @@ -481,16 +481,16 @@ 调试步骤 - UseFieldSugar + 使用变量语法糖 - UseLogicOperationSugar + 使用逻辑操作符语法糖 - ShowILRanges + 显示IL范围 - ShowChildIndexInBlock + 在块中显示子索引 在此步骤之前显示状态 @@ -817,7 +817,7 @@ 仅显示public类型和成员 - 仅显示 _public 类型和成员 + 仅显示公共类型和成员(_P) 选择输出的语言版本 @@ -873,4 +873,10 @@ 你确定要删除所有程序集列表并且重新创建默认的程序集列表? + + ILSpyAboutPage.zh-Hans.txt + + + DEBUG --转存PDB为XML + \ No newline at end of file diff --git a/doc/ILSpyAboutPage.zh-Hans.txt b/doc/ILSpyAboutPage.zh-Hans.txt new file mode 100644 index 000000000..859f9a8e1 --- /dev/null +++ b/doc/ILSpyAboutPage.zh-Hans.txt @@ -0,0 +1,13 @@ +ILSpy ǿԴ.NETͷ. + +վ: https://ilspy.net/ +BUG: https://github.com/icsharpcode/ILSpy/issues/new/choose +ķ뷴:https://github.com/maikebing/ILSpy/issues + +Copyright 2011-2020 AlphaSierraPapa for the ILSpy team +ǰ͹ȥĹ: https://github.com/icsharpcode/ILSpy/graphs/contributors + +ILSpy MIT License . + +ILSpy ʹԴħʵ֣ ڴͬʱлΪЩǣ +ǸԵɺͰȨϢ鿴third-partyע. \ No newline at end of file From 09dea5b3a571fc1b99c646770d53633c6b6dc4a4 Mon Sep 17 00:00:00 2001 From: MysticBoy Date: Thu, 16 Jul 2020 01:46:43 +0800 Subject: [PATCH 03/24] fix for about page --- ILSpy/ILSpy.csproj | 2 +- ILSpy/Properties/Resources.zh-Hans.resx | 2 +- doc/ILSpyAboutPage.zh-Hans.txt | 13 ------------- doc/ILSpyAboutPage_zh_Hans.txt | 13 +++++++++++++ 4 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 doc/ILSpyAboutPage.zh-Hans.txt create mode 100644 doc/ILSpyAboutPage_zh_Hans.txt diff --git a/ILSpy/ILSpy.csproj b/ILSpy/ILSpy.csproj index 1abc6c53e..ad1517e5d 100644 --- a/ILSpy/ILSpy.csproj +++ b/ILSpy/ILSpy.csproj @@ -456,7 +456,7 @@ - + license.txt diff --git a/ILSpy/Properties/Resources.zh-Hans.resx b/ILSpy/Properties/Resources.zh-Hans.resx index 164844b44..fcdfe3750 100644 --- a/ILSpy/Properties/Resources.zh-Hans.resx +++ b/ILSpy/Properties/Resources.zh-Hans.resx @@ -874,7 +874,7 @@ 你确定要删除所有程序集列表并且重新创建默认的程序集列表? - ILSpyAboutPage.zh-Hans.txt + ILSpyAboutPage_zh_Hans.txt DEBUG --转存PDB为XML diff --git a/doc/ILSpyAboutPage.zh-Hans.txt b/doc/ILSpyAboutPage.zh-Hans.txt deleted file mode 100644 index 859f9a8e1..000000000 --- a/doc/ILSpyAboutPage.zh-Hans.txt +++ /dev/null @@ -1,13 +0,0 @@ -ILSpy ǿԴ.NETͷ. - -վ: https://ilspy.net/ -BUG: https://github.com/icsharpcode/ILSpy/issues/new/choose -ķ뷴:https://github.com/maikebing/ILSpy/issues - -Copyright 2011-2020 AlphaSierraPapa for the ILSpy team -ǰ͹ȥĹ: https://github.com/icsharpcode/ILSpy/graphs/contributors - -ILSpy MIT License . - -ILSpy ʹԴħʵ֣ ڴͬʱлΪЩǣ -ǸԵɺͰȨϢ鿴third-partyע. \ No newline at end of file diff --git a/doc/ILSpyAboutPage_zh_Hans.txt b/doc/ILSpyAboutPage_zh_Hans.txt new file mode 100644 index 000000000..ed771b2e5 --- /dev/null +++ b/doc/ILSpyAboutPage_zh_Hans.txt @@ -0,0 +1,13 @@ +ILSpy 是开源的.NET程序集浏览器和反编译器. + +网站: https://ilspy.net/ +反馈BUG: https://github.com/icsharpcode/ILSpy/issues/new/choose +中文翻译反馈:https://github.com/maikebing/ILSpy/issues + +Copyright 2011-2020 AlphaSierraPapa for the ILSpy team +当前和过去的贡献者: https://github.com/icsharpcode/ILSpy/graphs/contributors + +ILSpy 基于 MIT License 发行. + +ILSpy 使用了其他开源库才能魔术般的实现, 于此同时我们想感谢他们为那些组件付出的人们! +它们各自的许可和版权信息请查看third-party注意事项. \ No newline at end of file From 782e4dfb42ac5793246720e8443def9ef5cb69b2 Mon Sep 17 00:00:00 2001 From: MysticBoy Date: Fri, 17 Jul 2020 15:10:43 +0800 Subject: [PATCH 04/24] fix some words --- ILSpy/Properties/Resources.Designer.cs | 8 +++----- ILSpy/Properties/Resources.zh-Hans.resx | 6 ++++++ 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/ILSpy/Properties/Resources.Designer.cs b/ILSpy/Properties/Resources.Designer.cs index 1f5287733..d3c5eea8c 100644 --- a/ILSpy/Properties/Resources.Designer.cs +++ b/ILSpy/Properties/Resources.Designer.cs @@ -406,7 +406,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Base Types. + /// 查找类似 Base Types 的本地化字符串。 /// public static string BaseTypes { get { @@ -415,7 +415,6 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to C_lone. /// 查找类似 C_lone 的本地化字符串。 /// public static string C_lone { @@ -596,7 +595,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Allow extension 'Add' methods in collection initializer expressions. + /// 查找类似 Allow extension 'Add' methods in collection initializer expressions 的本地化字符串。 /// public static string DecompilerSettings_AllowExtensionAddMethodsInCollectionInitializerExpressions { get { @@ -931,7 +930,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use nint/nuint types. + /// 查找类似 Use nint/nuint types 的本地化字符串。 /// public static string DecompilerSettings_NativeIntegers { get { @@ -940,7 +939,6 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Nullable reference types. /// 查找类似 Nullable reference types 的本地化字符串。 /// public static string DecompilerSettings_NullableReferenceTypes { diff --git a/ILSpy/Properties/Resources.zh-Hans.resx b/ILSpy/Properties/Resources.zh-Hans.resx index fcdfe3750..fe673cca7 100644 --- a/ILSpy/Properties/Resources.zh-Hans.resx +++ b/ILSpy/Properties/Resources.zh-Hans.resx @@ -879,4 +879,10 @@ DEBUG --转存PDB为XML + + 使用 nint/nuint 类型 + + + 基础类型 + \ No newline at end of file From ba367032d6883ba255dc737dd96a8224f4d96c0a Mon Sep 17 00:00:00 2001 From: MysticBoy Date: Fri, 17 Jul 2020 15:12:29 +0800 Subject: [PATCH 05/24] https://github.com/icsharpcode/ILSpy/pull/2066 --- ILSpy/Properties/Resources.zh-Hans.resx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ILSpy/Properties/Resources.zh-Hans.resx b/ILSpy/Properties/Resources.zh-Hans.resx index fe673cca7..462b62bb7 100644 --- a/ILSpy/Properties/Resources.zh-Hans.resx +++ b/ILSpy/Properties/Resources.zh-Hans.resx @@ -139,7 +139,7 @@ 打开 - DEBUG -- 反编译全部 + DEBUG -- 全部反汇编 退出(_X) @@ -877,7 +877,7 @@ ILSpyAboutPage_zh_Hans.txt - DEBUG --转存PDB为XML + DEBUG -- 转存PDB为XML 使用 nint/nuint 类型 From 27fa43912fb3de45907e2fbd217bb507cf8ab2ad Mon Sep 17 00:00:00 2001 From: MysticBoy Date: Thu, 23 Jul 2020 14:05:18 +0800 Subject: [PATCH 06/24] fix for https://github.com/icsharpcode/ILSpy/pull/2066#discussion_r459021092 --- ILSpy/ILSpy.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ILSpy/ILSpy.csproj b/ILSpy/ILSpy.csproj index ba7e14394..6a00ead25 100644 --- a/ILSpy/ILSpy.csproj +++ b/ILSpy/ILSpy.csproj @@ -457,7 +457,7 @@ - + license.txt From d2dd6328fd02504c2134a98ac03874d8c5449fdb Mon Sep 17 00:00:00 2001 From: Berrysoft Date: Tue, 28 Jul 2020 20:53:15 +0800 Subject: [PATCH 07/24] Complete zh-Hans translation --- ILSpy/Commands/Pdb2XmlCommand.cs | 5 +- ILSpy/Properties/Resources.Designer.cs | 545 ++++++++++++------------ ILSpy/Properties/Resources.resx | 13 +- ILSpy/Properties/Resources.zh-Hans.resx | 285 ++++++++++--- 4 files changed, 504 insertions(+), 344 deletions(-) diff --git a/ILSpy/Commands/Pdb2XmlCommand.cs b/ILSpy/Commands/Pdb2XmlCommand.cs index 91b481f7b..66ad9a7a8 100644 --- a/ILSpy/Commands/Pdb2XmlCommand.cs +++ b/ILSpy/Commands/Pdb2XmlCommand.cs @@ -24,13 +24,14 @@ using System.Linq; using System.Threading.Tasks; using ICSharpCode.AvalonEdit.Highlighting; using ICSharpCode.Decompiler; +using ICSharpCode.ILSpy.Properties; using ICSharpCode.ILSpy.TextView; using ICSharpCode.ILSpy.TreeNodes; using Microsoft.DiaSymReader.Tools; namespace ICSharpCode.ILSpy { - [ExportMainMenuCommand(Menu = "_File", Header = "DEBUG -- Dump PDB as XML", MenuCategory = "Open", MenuOrder = 2.6)] + [ExportMainMenuCommand(Menu = "_File", Header = nameof(Resources.DEBUGDumpPdb2Xml), MenuCategory = "Open", MenuOrder = 2.6)] sealed class Pdb2XmlCommand : SimpleCommand { public override bool CanExecute(object parameter) @@ -64,7 +65,7 @@ namespace ICSharpCode.ILSpy } } - [ExportContextMenuEntry(Header = "DEBUG -- Dump PDB as XML")] + [ExportContextMenuEntry(Header = nameof(Resources.DEBUGDumpPdb2Xml))] class Pdb2XmlCommandContextMenuEntry : IContextMenuEntry { public void Execute(TextViewContext context) diff --git a/ILSpy/Properties/Resources.Designer.cs b/ILSpy/Properties/Resources.Designer.cs index 84a05cf4c..cc28600cd 100644 --- a/ILSpy/Properties/Resources.Designer.cs +++ b/ILSpy/Properties/Resources.Designer.cs @@ -1,10 +1,10 @@ //------------------------------------------------------------------------------ // -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 +// 此代码由工具生成。 +// 运行时版本:4.0.30319.42000 // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ @@ -13,12 +13,12 @@ namespace ICSharpCode.ILSpy.Properties { /// - /// A strongly-typed resource class, for looking up localized strings, etc. + /// 一个强类型的资源类,用于查找本地化的字符串等。 /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. + // 此类是由 StronglyTypedResourceBuilder + // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 + // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen + // (以 /str 作为命令选项),或重新生成 VS 项目。 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] @@ -33,7 +33,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Returns the cached ResourceManager instance used by this class. + /// 返回此类使用的缓存的 ResourceManager 实例。 /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] public static global::System.Resources.ResourceManager ResourceManager { @@ -47,8 +47,8 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. + /// 重写当前线程的 CurrentUICulture 属性 + /// 重写当前线程的 CurrentUICulture 属性。 /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] public static global::System.Globalization.CultureInfo Culture { @@ -61,7 +61,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _About. + /// 查找类似 _About 的本地化字符串。 /// public static string _About { get { @@ -70,7 +70,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Add To Main List. + /// 查找类似 _Add To Main List 的本地化字符串。 /// public static string _AddMainList { get { @@ -79,7 +79,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Check for Updates. + /// 查找类似 _Check for Updates 的本地化字符串。 /// public static string _CheckUpdates { get { @@ -88,7 +88,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Collapse all tree nodes. + /// 查找类似 _Collapse all tree nodes 的本地化字符串。 /// public static string _CollapseTreeNodes { get { @@ -97,7 +97,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _File. + /// 查找类似 _File 的本地化字符串。 /// public static string _File { get { @@ -106,7 +106,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Help. + /// 查找类似 _Help 的本地化字符串。 /// public static string _Help { get { @@ -115,7 +115,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Load Dependencies. + /// 查找类似 _Load Dependencies 的本地化字符串。 /// public static string _LoadDependencies { get { @@ -124,7 +124,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _New. + /// 查找类似 _New 的本地化字符串。 /// public static string _New { get { @@ -133,7 +133,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Open.... + /// 查找类似 _Open... 的本地化字符串。 /// public static string _Open { get { @@ -142,7 +142,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Open Command Line Here. + /// 查找类似 _Open Command Line Here 的本地化字符串。 /// public static string _OpenCommandLineHere { get { @@ -151,7 +151,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Open Containing Folder. + /// 查找类似 _Open Containing Folder 的本地化字符串。 /// public static string _OpenContainingFolder { get { @@ -160,7 +160,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Options.... + /// 查找类似 _Options... 的本地化字符串。 /// public static string _Options { get { @@ -169,7 +169,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Reload. + /// 查找类似 _Reload 的本地化字符串。 /// public static string _Reload { get { @@ -178,7 +178,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Remove. + /// 查找类似 _Remove 的本地化字符串。 /// public static string _Remove { get { @@ -187,7 +187,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Remove Assemblies with load errors. + /// 查找类似 _Remove Assemblies with load errors 的本地化字符串。 /// public static string _RemoveAssembliesWithLoadErrors { get { @@ -196,7 +196,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Reset. + /// 查找类似 _Reset 的本地化字符串。 /// public static string _Reset { get { @@ -205,7 +205,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Resources. + /// 查找类似 Resources 的本地化字符串。 /// public static string _Resources { get { @@ -214,7 +214,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Save Code.... + /// 查找类似 _Save Code... 的本地化字符串。 /// public static string _SaveCode { get { @@ -223,7 +223,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Search:. + /// 查找类似 _Search: 的本地化字符串。 /// public static string _Search { get { @@ -232,7 +232,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Search for:. + /// 查找类似 _Search for: 的本地化字符串。 /// public static string _SearchFor { get { @@ -241,7 +241,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Show debug steps. + /// 查找类似 _Show debug steps 的本地化字符串。 /// public static string _ShowDebugSteps { get { @@ -250,7 +250,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Toggle Folding. + /// 查找类似 Toggle Folding 的本地化字符串。 /// public static string _ToggleFolding { get { @@ -259,7 +259,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _View. + /// 查找类似 _View 的本地化字符串。 /// public static string _View { get { @@ -268,7 +268,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Window. + /// 查找类似 _Window 的本地化字符串。 /// public static string _Window { get { @@ -277,7 +277,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to About. + /// 查找类似 About 的本地化字符串。 /// public static string About { get { @@ -286,7 +286,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Add preconfigured list.... + /// 查找类似 Add preconfigured list... 的本地化字符串。 /// public static string AddPreconfiguredList { get { @@ -295,7 +295,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Add shell integration. + /// 查找类似 Add shell integration 的本地化字符串。 /// public static string AddShellIntegration { get { @@ -304,9 +304,9 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to This will add "{0}" to the registry at "HKCU\Software\Classes\dllfile\shell\Open with ILSpy\command" and "HKCU\Software\Classes\exefile\shell\Open with ILSpy\command" to allow opening .dll and .exe files from the Windows Explorer context menu. + /// 查找类似 This will add "{0}" to the registry at "HKCU\Software\Classes\dllfile\shell\Open with ILSpy\command" and "HKCU\Software\Classes\exefile\shell\Open with ILSpy\command" to allow opening .dll and .exe files from the Windows Explorer context menu. /// - ///Do you want to continue?. + ///Do you want to continue? 的本地化字符串。 /// public static string AddShellIntegrationMessage { get { @@ -315,7 +315,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to |All Files|*.*. + /// 查找类似 |All Files|*.* 的本地化字符串。 /// public static string AllFiles { get { @@ -324,7 +324,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Allow multiple instances. + /// 查找类似 Allow multiple instances 的本地化字符串。 /// public static string AllowMultipleInstances { get { @@ -333,7 +333,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Always use braces. + /// 查找类似 Always use braces 的本地化字符串。 /// public static string AlwaysBraces { get { @@ -342,7 +342,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Analyze. + /// 查找类似 Analyze 的本地化字符串。 /// public static string Analyze { get { @@ -351,7 +351,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Assemblies. + /// 查找类似 Assemblies 的本地化字符串。 /// public static string Assemblies { get { @@ -360,7 +360,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Assembly. + /// 查找类似 Assembly 的本地化字符串。 /// public static string Assembly { get { @@ -369,8 +369,8 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to The directory is not empty. File will be overwritten. - ///Are you sure you want to continue?. + /// 查找类似 The directory is not empty. File will be overwritten. + ///Are you sure you want to continue? 的本地化字符串。 /// public static string AssemblySaveCodeDirectoryNotEmpty { get { @@ -379,7 +379,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Project Directory not empty. + /// 查找类似 Project Directory not empty 的本地化字符串。 /// public static string AssemblySaveCodeDirectoryNotEmptyTitle { get { @@ -388,7 +388,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Automatically check for updates every week. + /// 查找类似 Automatically check for updates every week 的本地化字符串。 /// public static string AutomaticallyCheckUpdatesEveryWeek { get { @@ -397,7 +397,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Back. + /// 查找类似 Back 的本地化字符串。 /// public static string Back { get { @@ -406,7 +406,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Base Types. + /// 查找类似 Base Types 的本地化字符串。 /// public static string BaseTypes { get { @@ -415,7 +415,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to C_lone. + /// 查找类似 C_lone 的本地化字符串。 /// public static string C_lone { get { @@ -424,7 +424,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Cancel. + /// 查找类似 Cancel 的本地化字符串。 /// public static string Cancel { get { @@ -433,7 +433,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Entity could not be resolved. Cannot analyze entities from missing assembly references. Add the missing reference and try again.. + /// 查找类似 Entity could not be resolved. Cannot analyze entities from missing assembly references. Add the missing reference and try again. 的本地化字符串。 /// public static string CannotAnalyzeMissingRef { get { @@ -442,7 +442,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Check again. + /// 查找类似 Check again 的本地化字符串。 /// public static string CheckAgain { get { @@ -451,7 +451,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Checking.... + /// 查找类似 Checking... 的本地化字符串。 /// public static string Checking { get { @@ -460,7 +460,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Check for updates. + /// 查找类似 Check for updates 的本地化字符串。 /// public static string CheckUpdates { get { @@ -469,7 +469,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Close. + /// 查找类似 Close 的本地化字符串。 /// public static string Close { get { @@ -478,7 +478,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Collapse all tree nodes. + /// 查找类似 Collapse all tree nodes 的本地化字符串。 /// public static string CollapseTreeNodes { get { @@ -487,7 +487,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Copy. + /// 查找类似 Copy 的本地化字符串。 /// public static string Copy { get { @@ -496,7 +496,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Copy error message. + /// 查找类似 Copy error message 的本地化字符串。 /// public static string CopyErrorMessage { get { @@ -505,7 +505,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Copy FQ Name. + /// 查找类似 Copy FQ Name 的本地化字符串。 /// public static string CopyName { get { @@ -514,7 +514,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Create. + /// 查找类似 Create 的本地化字符串。 /// public static string Create { get { @@ -523,7 +523,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Culture. + /// 查找类似 Culture 的本地化字符串。 /// public static string CultureLabel { get { @@ -532,7 +532,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to DEBUG -- Decompile All. + /// 查找类似 DEBUG -- Decompile All 的本地化字符串。 /// public static string DEBUGDecompile { get { @@ -541,7 +541,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to DEBUG -- Decompile 100x. + /// 查找类似 DEBUG -- Decompile 100x 的本地化字符串。 /// public static string DEBUGDecompile100x { get { @@ -550,7 +550,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to DEBUG -- Disassemble All. + /// 查找类似 DEBUG -- Disassemble All 的本地化字符串。 /// public static string DEBUGDisassemble { get { @@ -559,7 +559,16 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Debug Steps. + /// 查找类似 DEBUG -- Dump PDB as XML 的本地化字符串。 + /// + public static string DEBUGDumpPdb2Xml { + get { + return ResourceManager.GetString("DEBUGDumpPdb2Xml", resourceCulture); + } + } + + /// + /// 查找类似 Debug Steps 的本地化字符串。 /// public static string DebugSteps { get { @@ -568,7 +577,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Debug this step. + /// 查找类似 Debug this step 的本地化字符串。 /// public static string DebugThisStep { get { @@ -577,7 +586,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompiler. + /// 查找类似 Decompiler 的本地化字符串。 /// public static string Decompiler { get { @@ -586,7 +595,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Allow extension 'Add' methods in collection initializer expressions. + /// 查找类似 Allow extension 'Add' methods in collection initializer expressions 的本地化字符串。 /// public static string DecompilerSettings_AllowExtensionAddMethodsInCollectionInitializerExpressions { get { @@ -595,7 +604,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use 'ref' extension methods. + /// 查找类似 Use 'ref' extension methods 的本地化字符串。 /// public static string DecompilerSettings_AllowExtensionMethodSyntaxOnRef { get { @@ -604,7 +613,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Always cast targets of explicit interface implementation calls. + /// 查找类似 Always cast targets of explicit interface implementation calls 的本地化字符串。 /// public static string DecompilerSettings_AlwaysCastTargetsOfExplicitInterfaceImplementationCalls { get { @@ -613,7 +622,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Always show enum member values. + /// 查找类似 Always show enum member values 的本地化字符串。 /// public static string DecompilerSettings_AlwaysShowEnumMemberValues { get { @@ -622,7 +631,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Always use braces. + /// 查找类似 Always use braces 的本地化字符串。 /// public static string DecompilerSettings_AlwaysUseBraces { get { @@ -631,7 +640,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Apply Windows Runtime projections on loaded assemblies. + /// 查找类似 Apply Windows Runtime projections on loaded assemblies 的本地化字符串。 /// public static string DecompilerSettings_ApplyWindowsRuntimeProjectionsOnLoadedAssemblies { get { @@ -640,7 +649,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Array initializer expressions. + /// 查找类似 Array initializer expressions 的本地化字符串。 /// public static string DecompilerSettings_ArrayInitializerExpressions { get { @@ -649,7 +658,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompile async IAsyncEnumerator methods. + /// 查找类似 Decompile async IAsyncEnumerator methods 的本地化字符串。 /// public static string DecompilerSettings_AsyncEnumerator { get { @@ -658,7 +667,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompile ?. and ?[] operators. + /// 查找类似 Decompile ?. and ?[] operators 的本地化字符串。 /// public static string DecompilerSettings_DecompileAndOperators { get { @@ -667,7 +676,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompile anonymous methods/lambdas. + /// 查找类似 Decompile anonymous methods/lambdas 的本地化字符串。 /// public static string DecompilerSettings_DecompileAnonymousMethodsLambdas { get { @@ -676,7 +685,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompile anonymous types. + /// 查找类似 Decompile anonymous types 的本地化字符串。 /// public static string DecompilerSettings_DecompileAnonymousTypes { get { @@ -685,7 +694,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompile async methods. + /// 查找类似 Decompile async methods 的本地化字符串。 /// public static string DecompilerSettings_DecompileAsyncMethods { get { @@ -694,7 +703,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompile automatic events. + /// 查找类似 Decompile automatic events 的本地化字符串。 /// public static string DecompilerSettings_DecompileAutomaticEvents { get { @@ -703,7 +712,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompile automatic properties. + /// 查找类似 Decompile automatic properties 的本地化字符串。 /// public static string DecompilerSettings_DecompileAutomaticProperties { get { @@ -712,7 +721,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompile await in catch/finally blocks. + /// 查找类似 Decompile await in catch/finally blocks 的本地化字符串。 /// public static string DecompilerSettings_DecompileAwaitInCatchFinallyBlocks { get { @@ -721,7 +730,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompile C# 1.0 'public unsafe fixed int arr[10];' members. + /// 查找类似 Decompile C# 1.0 'public unsafe fixed int arr[10];' members 的本地化字符串。 /// public static string DecompilerSettings_DecompileC10PublicUnsafeFixedIntArr10Members { get { @@ -730,7 +739,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompile [DecimalConstant(...)] as simple literal values. + /// 查找类似 Decompile [DecimalConstant(...)] as simple literal values 的本地化字符串。 /// public static string DecompilerSettings_DecompileDecimalConstantAsSimpleLiteralValues { get { @@ -739,7 +748,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompile enumerators (yield return). + /// 查找类似 Decompile enumerators (yield return) 的本地化字符串。 /// public static string DecompilerSettings_DecompileEnumeratorsYieldReturn { get { @@ -748,7 +757,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompile expression trees. + /// 查找类似 Decompile expression trees 的本地化字符串。 /// public static string DecompilerSettings_DecompileExpressionTrees { get { @@ -757,7 +766,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompile use of the 'dynamic' type. + /// 查找类似 Decompile use of the 'dynamic' type 的本地化字符串。 /// public static string DecompilerSettings_DecompileUseOfTheDynamicType { get { @@ -766,7 +775,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Detect awaited using and foreach statements. + /// 查找类似 Detect awaited using and foreach statements 的本地化字符串。 /// public static string DecompilerSettings_DetectAsyncUsingAndForeachStatements { get { @@ -775,7 +784,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Detect foreach statements. + /// 查找类似 Detect foreach statements 的本地化字符串。 /// public static string DecompilerSettings_DetectForeachStatements { get { @@ -784,7 +793,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Detect lock statements. + /// 查找类似 Detect lock statements 的本地化字符串。 /// public static string DecompilerSettings_DetectLockStatements { get { @@ -793,7 +802,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Detect switch on string. + /// 查找类似 Detect switch on string 的本地化字符串。 /// public static string DecompilerSettings_DetectSwitchOnString { get { @@ -802,7 +811,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Detect tuple comparisons. + /// 查找类似 Detect tuple comparisons 的本地化字符串。 /// public static string DecompilerSettings_DetectTupleComparisons { get { @@ -811,7 +820,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Detect using statements. + /// 查找类似 Detect using statements 的本地化字符串。 /// public static string DecompilerSettings_DetectUsingStatements { get { @@ -820,7 +829,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Dictionary initializer expressions. + /// 查找类似 Dictionary initializer expressions 的本地化字符串。 /// public static string DecompilerSettings_DictionaryInitializerExpressions { get { @@ -829,7 +838,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Transform to do-while, if possible.. + /// 查找类似 Transform to do-while, if possible 的本地化字符串。 /// public static string DecompilerSettings_DoWhileStatement { get { @@ -838,7 +847,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Transform to for, if possible.. + /// 查找类似 Transform to for, if possible 的本地化字符串。 /// public static string DecompilerSettings_ForStatement { get { @@ -847,7 +856,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to F#-specific options. + /// 查找类似 F#-specific options 的本地化字符串。 /// public static string DecompilerSettings_FSpecificOptions { get { @@ -856,7 +865,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Include XML documentation comments in the decompiled code. + /// 查找类似 Include XML documentation comments in the decompiled code 的本地化字符串。 /// public static string DecompilerSettings_IncludeXMLDocumentationCommentsInTheDecompiledCode { get { @@ -865,7 +874,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Insert using declarations. + /// 查找类似 Insert using declarations 的本地化字符串。 /// public static string DecompilerSettings_InsertUsingDeclarations { get { @@ -874,7 +883,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Introduce local functions. + /// 查找类似 Introduce local functions 的本地化字符串。 /// public static string DecompilerSettings_IntroduceLocalFunctions { get { @@ -883,7 +892,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Introduce static local functions. + /// 查找类似 Introduce static local functions 的本地化字符串。 /// public static string DecompilerSettings_IntroduceStaticLocalFunctions { get { @@ -892,7 +901,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to IsByRefLikeAttribute should be replaced with 'ref' modifiers on structs. + /// 查找类似 IsByRefLikeAttribute should be replaced with 'ref' modifiers on structs 的本地化字符串。 /// public static string DecompilerSettings_IsByRefLikeAttributeShouldBeReplacedWithRefModifiersOnStructs { get { @@ -901,7 +910,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to IsReadOnlyAttribute should be replaced with 'readonly'/'in' modifiers on structs/parameters. + /// 查找类似 IsReadOnlyAttribute should be replaced with 'readonly'/'in' modifiers on structs/parameters 的本地化字符串。 /// public static string DecompilerSettings_IsReadOnlyAttributeShouldBeReplacedWithReadonlyInModifiersOnStructsParameters { get { @@ -911,7 +920,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to IsUnmanagedAttribute on type parameters should be replaced with 'unmanaged' constraints. + /// 查找类似 IsUnmanagedAttribute on type parameters should be replaced with 'unmanaged' constraints 的本地化字符串。 /// public static string DecompilerSettings_IsUnmanagedAttributeOnTypeParametersShouldBeReplacedWithUnmanagedConstraints { get { @@ -921,7 +930,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use nint/nuint types. + /// 查找类似 Use nint/nuint types 的本地化字符串。 /// public static string DecompilerSettings_NativeIntegers { get { @@ -930,7 +939,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Nullable reference types. + /// 查找类似 Nullable reference types 的本地化字符串。 /// public static string DecompilerSettings_NullableReferenceTypes { get { @@ -939,7 +948,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Object/collection initializer expressions. + /// 查找类似 Object/collection initializer expressions 的本地化字符串。 /// public static string DecompilerSettings_ObjectCollectionInitializerExpressions { get { @@ -948,7 +957,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Other. + /// 查找类似 Other 的本地化字符串。 /// public static string DecompilerSettings_Other { get { @@ -957,7 +966,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Ranges. + /// 查找类似 Ranges 的本地化字符串。 /// public static string DecompilerSettings_Ranges { get { @@ -966,7 +975,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Read-only methods. + /// 查找类似 Read-only methods 的本地化字符串。 /// public static string DecompilerSettings_ReadOnlyMethods { get { @@ -975,7 +984,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Remove dead and side effect free code (use with caution!). + /// 查找类似 Remove dead and side effect free code (use with caution!) 的本地化字符串。 /// public static string DecompilerSettings_RemoveDeadAndSideEffectFreeCodeUseWithCaution { get { @@ -984,7 +993,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Remove dead stores (use with caution!). + /// 查找类似 Remove dead stores (use with caution!) 的本地化字符串。 /// public static string DecompilerSettings_RemoveDeadStores { get { @@ -993,7 +1002,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Remove optional arguments, if possible. + /// 查找类似 Remove optional arguments, if possible 的本地化字符串。 /// public static string DecompilerSettings_RemoveOptionalArgumentsIfPossible { get { @@ -1002,7 +1011,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Separate local variable declarations and initializers (int x = 5; -> int x; x = 5;), if possible.. + /// 查找类似 Separate local variable declarations and initializers (int x = 5; -> int x; x = 5;), if possible 的本地化字符串。 /// public static string DecompilerSettings_SeparateLocalVariableDeclarations { get { @@ -1011,7 +1020,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show info from debug symbols, if available. + /// 查找类似 Show info from debug symbols, if available 的本地化字符串。 /// public static string DecompilerSettings_ShowInfoFromDebugSymbolsIfAvailable { get { @@ -1020,7 +1029,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use discards. + /// 查找类似 Use discards 的本地化字符串。 /// public static string DecompilerSettings_UseDiscards { get { @@ -1029,7 +1038,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use expression-bodied member syntax for get-only properties. + /// 查找类似 Use expression-bodied member syntax for get-only properties 的本地化字符串。 /// public static string DecompilerSettings_UseExpressionBodiedMemberSyntaxForGetOnlyProperties { get { @@ -1038,7 +1047,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use extension method syntax. + /// 查找类似 Use extension method syntax 的本地化字符串。 /// public static string DecompilerSettings_UseExtensionMethodSyntax { get { @@ -1047,7 +1056,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use implicit conversions between tuple types. + /// 查找类似 Use implicit conversions between tuple types 的本地化字符串。 /// public static string DecompilerSettings_UseImplicitConversionsBetweenTupleTypes { get { @@ -1056,7 +1065,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use implicit method group conversions. + /// 查找类似 Use implicit method group conversions 的本地化字符串。 /// public static string DecompilerSettings_UseImplicitMethodGroupConversions { get { @@ -1065,7 +1074,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use lambda syntax, if possible. + /// 查找类似 Use lambda syntax, if possible 的本地化字符串。 /// public static string DecompilerSettings_UseLambdaSyntaxIfPossible { get { @@ -1074,7 +1083,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use lifted operators for nullables. + /// 查找类似 Use lifted operators for nullables 的本地化字符串。 /// public static string DecompilerSettings_UseLiftedOperatorsForNullables { get { @@ -1083,7 +1092,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use LINQ expression syntax. + /// 查找类似 Use LINQ expression syntax 的本地化字符串。 /// public static string DecompilerSettings_UseLINQExpressionSyntax { get { @@ -1092,7 +1101,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use named arguments. + /// 查找类似 Use named arguments 的本地化字符串。 /// public static string DecompilerSettings_UseNamedArguments { get { @@ -1101,7 +1110,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use non-trailing named arguments. + /// 查找类似 Use non-trailing named arguments 的本地化字符串。 /// public static string DecompilerSettings_UseNonTrailingNamedArguments { get { @@ -1110,7 +1119,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use out variable declarations. + /// 查找类似 Use out variable declarations 的本地化字符串。 /// public static string DecompilerSettings_UseOutVariableDeclarations { get { @@ -1119,7 +1128,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use pattern-based fixed statement. + /// 查找类似 Use pattern-based fixed statement 的本地化字符串。 /// public static string DecompilerSettings_UsePatternBasedFixedStatement { get { @@ -1128,7 +1137,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use new SDK style format for generated project files (*.csproj). + /// 查找类似 Use new SDK style format for generated project files (*.csproj) 的本地化字符串。 /// public static string DecompilerSettings_UseSdkStyleProjectFormat { get { @@ -1137,7 +1146,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use stackalloc initializer syntax. + /// 查找类似 Use stackalloc initializer syntax 的本地化字符串。 /// public static string DecompilerSettings_UseStackallocInitializerSyntax { get { @@ -1146,7 +1155,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use string interpolation. + /// 查找类似 Use string interpolation 的本地化字符串。 /// public static string DecompilerSettings_UseStringInterpolation { get { @@ -1155,7 +1164,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use throw expressions. + /// 查找类似 Use throw expressions 的本地化字符串。 /// public static string DecompilerSettings_UseThrowExpressions { get { @@ -1164,7 +1173,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use tuple type syntax. + /// 查找类似 Use tuple type syntax 的本地化字符串。 /// public static string DecompilerSettings_UseTupleTypeSyntax { get { @@ -1173,7 +1182,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use variable names from debug symbols, if available. + /// 查找类似 Use variable names from debug symbols, if available 的本地化字符串。 /// public static string DecompilerSettings_UseVariableNamesFromDebugSymbolsIfAvailable { get { @@ -1182,7 +1191,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to VB-specific options. + /// 查找类似 VB-specific options 的本地化字符串。 /// public static string DecompilerSettings_VBSpecificOptions { get { @@ -1191,7 +1200,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to The settings selected below are applied to the decompiler output in combination with the selection in the language drop-down. Selecting a lower language version in the drop-down will deactivate all selected options of the higher versions. Note that some settings implicitly depend on each other, e.g.: LINQ expressions cannot be introduced without first transforming static calls to extension method calls.. + /// 查找类似 The settings selected below are applied to the decompiler output in combination with the selection in the language drop-down. Selecting a lower language version in the drop-down will deactivate all selected options of the higher versions. Note that some settings implicitly depend on each other, e.g.: LINQ expressions cannot be introduced without first transforming static calls to extension method calls. 的本地化字符串。 /// public static string DecompilerSettingsPanelLongText { get { @@ -1200,7 +1209,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompile to new tab. + /// 查找类似 Decompile to new tab 的本地化字符串。 /// public static string DecompileToNewPanel { get { @@ -1209,7 +1218,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Decompiling.... + /// 查找类似 Decompiling... 的本地化字符串。 /// public static string Decompiling { get { @@ -1218,7 +1227,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Dependencies. + /// 查找类似 Dependencies 的本地化字符串。 /// public static string Dependencies { get { @@ -1227,7 +1236,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Derived Types. + /// 查找类似 Derived Types 的本地化字符串。 /// public static string DerivedTypes { get { @@ -1236,7 +1245,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Display. + /// 查找类似 Display 的本地化字符串。 /// public static string Display { get { @@ -1245,7 +1254,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Display Code. + /// 查找类似 Display Code 的本地化字符串。 /// public static string DisplayCode { get { @@ -1254,7 +1263,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Font:. + /// 查找类似 Font: 的本地化字符串。 /// public static string DisplaySettingsPanel_Font { get { @@ -1263,7 +1272,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Download. + /// 查找类似 Download 的本地化字符串。 /// public static string Download { get { @@ -1272,7 +1281,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to E_xit. + /// 查找类似 E_xit 的本地化字符串。 /// public static string E_xit { get { @@ -1281,7 +1290,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Editor. + /// 查找类似 Editor 的本地化字符串。 /// public static string Editor { get { @@ -1290,7 +1299,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Enable folding on all blocks in braces. + /// 查找类似 Enable folding on all blocks in braces 的本地化字符串。 /// public static string EnableFoldingBlocksBraces { get { @@ -1299,7 +1308,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Enable word wrap. + /// 查找类似 Enable word wrap 的本地化字符串。 /// public static string EnableWordWrap { get { @@ -1308,7 +1317,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Enter a list name:. + /// 查找类似 Enter a list name: 的本地化字符串。 /// public static string EnterListName { get { @@ -1317,7 +1326,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Exit. + /// 查找类似 Exit 的本地化字符串。 /// public static string Exit { get { @@ -1326,7 +1335,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Expand member definitions after decompilation. + /// 查找类似 Expand member definitions after decompilation 的本地化字符串。 /// public static string ExpandMemberDefinitionsAfterDecompilation { get { @@ -1335,7 +1344,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Expand using declarations after decompilation. + /// 查找类似 Expand using declarations after decompilation 的本地化字符串。 /// public static string ExpandUsingDeclarationsAfterDecompilation { get { @@ -1344,7 +1353,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Folding. + /// 查找类似 Folding 的本地化字符串。 /// public static string Folding { get { @@ -1353,7 +1362,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Font. + /// 查找类似 Font 的本地化字符串。 /// public static string Font { get { @@ -1362,7 +1371,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Forward. + /// 查找类似 Forward 的本地化字符串。 /// public static string Forward { get { @@ -1371,7 +1380,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Generate portable PDB. + /// 查找类似 Generate portable PDB 的本地化字符串。 /// public static string GeneratePortable { get { @@ -1380,7 +1389,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Hide empty metadata tables from tree view. + /// 查找类似 Hide empty metadata tables from tree view 的本地化字符串。 /// public static string HideEmptyMetadataTables { get { @@ -1389,7 +1398,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Highlight matching braces. + /// 查找类似 Highlight matching braces 的本地化字符串。 /// public static string HighlightMatchingBraces { get { @@ -1398,7 +1407,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to ILSpy version . + /// 查找类似 ILSpy version 的本地化字符串。 /// public static string ILSpyVersion { get { @@ -1407,7 +1416,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to A new ILSpy version is available.. + /// 查找类似 A new ILSpy version is available. 的本地化字符串。 /// public static string ILSpyVersionAvailable { get { @@ -1416,7 +1425,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Indentation. + /// 查找类似 Indentation 的本地化字符串。 /// public static string Indentation { get { @@ -1425,7 +1434,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Indent size:. + /// 查找类似 Indent size: 的本地化字符串。 /// public static string IndentSize { get { @@ -1434,7 +1443,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Insert using declarations. + /// 查找类似 Insert using declarations 的本地化字符串。 /// public static string InsertUsingDeclarations { get { @@ -1443,7 +1452,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Are you sure that you want to delete the selected assembly list?. + /// 查找类似 Are you sure that you want to delete the selected assembly list? 的本地化字符串。 /// public static string ListDeleteConfirmation { get { @@ -1452,7 +1461,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to A list with the same name was found.. + /// 查找类似 A list with the same name was found. 的本地化字符串。 /// public static string ListExistsAlready { get { @@ -1461,7 +1470,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Are you sure that you want to remove all assembly lists and recreate the default assembly lists?. + /// 查找类似 Are you sure that you want to remove all assembly lists and recreate the default assembly lists? 的本地化字符串。 /// public static string ListsResetConfirmation { get { @@ -1470,7 +1479,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Load assemblies that were loaded in the last instance.. + /// 查找类似 Load assemblies that were loaded in the last instance. 的本地化字符串。 /// public static string LoadAssembliesThatWereLoadedInTheLastInstance { get { @@ -1479,7 +1488,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Loading.... + /// 查找类似 Loading... 的本地化字符串。 /// public static string Loading { get { @@ -1488,7 +1497,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Location. + /// 查找类似 Location 的本地化字符串。 /// public static string Location { get { @@ -1497,7 +1506,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Manage assembly _lists.... + /// 查找类似 Manage assembly _lists... 的本地化字符串。 /// public static string ManageAssembly_Lists { get { @@ -1506,7 +1515,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Manage Assembly Lists. + /// 查找类似 Manage Assembly Lists 的本地化字符串。 /// public static string ManageAssemblyLists { get { @@ -1515,7 +1524,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Misc. + /// 查找类似 Misc 的本地化字符串。 /// public static string Misc { get { @@ -1524,7 +1533,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Name. + /// 查找类似 Name 的本地化字符串。 /// public static string Name { get { @@ -1533,7 +1542,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Navigation. + /// 查找类似 Navigation 的本地化字符串。 /// public static string Navigation { get { @@ -1542,8 +1551,8 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Navigation failed because the target is hidden or a compiler-generated class.\n - ///Please disable all filters that might hide the item (i.e. activate "View > Show internal types and members") and try again.. + /// 查找类似 Navigation failed because the target is hidden or a compiler-generated class.\n + ///Please disable all filters that might hide the item (i.e. activate "View > Show internal types and members") and try again. 的本地化字符串。 /// public static string NavigationFailed { get { @@ -1552,7 +1561,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to New list. + /// 查找类似 New list 的本地化字符串。 /// public static string NewList { get { @@ -1561,7 +1570,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to New Tab. + /// 查找类似 New Tab 的本地化字符串。 /// public static string NewTab { get { @@ -1570,7 +1579,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Nuget Package Browser. + /// 查找类似 Nuget Package Browser 的本地化字符串。 /// public static string NugetPackageBrowser { get { @@ -1579,7 +1588,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to OK. + /// 查找类似 OK 的本地化字符串。 /// public static string OK { get { @@ -1588,7 +1597,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Open. + /// 查找类似 Open 的本地化字符串。 /// public static string Open { get { @@ -1597,7 +1606,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Open Explorer. + /// 查找类似 Open Explorer 的本地化字符串。 /// public static string OpenExplorer { get { @@ -1606,7 +1615,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Open From GAC. + /// 查找类似 Open From GAC 的本地化字符串。 /// public static string OpenFrom { get { @@ -1615,7 +1624,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Open from _GAC.... + /// 查找类似 Open from _GAC... 的本地化字符串。 /// public static string OpenFrom_GAC { get { @@ -1624,7 +1633,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Delete. + /// 查找类似 _Delete 的本地化字符串。 /// public static string OpenListDialog__Delete { get { @@ -1633,7 +1642,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to _Open. + /// 查找类似 _Open 的本地化字符串。 /// public static string OpenListDialog__Open { get { @@ -1642,7 +1651,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Options. + /// 查找类似 Options 的本地化字符串。 /// public static string Options { get { @@ -1651,7 +1660,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Other. + /// 查找类似 Other 的本地化字符串。 /// public static string Other { get { @@ -1660,7 +1669,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Other options. + /// 查找类似 Other options 的本地化字符串。 /// public static string OtherOptions { get { @@ -1669,7 +1678,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Other Resources. + /// 查找类似 Other Resources 的本地化字符串。 /// public static string OtherResources { get { @@ -1678,7 +1687,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to for ex. property getter/setter access. To get optimal decompilation results, please manually add the missing references to the list of loaded assemblies.. + /// 查找类似 for ex. property getter/setter access. To get optimal decompilation results, please manually add the missing references to the list of loaded assemblies. 的本地化字符串。 /// public static string PropertyManuallyMissingReferencesListLoadedAssemblies { get { @@ -1687,7 +1696,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Public Key Token. + /// 查找类似 Public Key Token 的本地化字符串。 /// public static string PublicToken { get { @@ -1696,7 +1705,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to R_ename. + /// 查找类似 R_ename 的本地化字符串。 /// public static string R_ename { get { @@ -1705,7 +1714,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Reference Name. + /// 查找类似 Reference Name 的本地化字符串。 /// public static string ReferenceName { get { @@ -1714,7 +1723,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to References. + /// 查找类似 References 的本地化字符串。 /// public static string References { get { @@ -1723,7 +1732,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Reload all assemblies. + /// 查找类似 Reload all assemblies 的本地化字符串。 /// public static string RefreshCommand_ReloadAssemblies { get { @@ -1732,7 +1741,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Reload all assemblies. + /// 查找类似 Reload all assemblies 的本地化字符串。 /// public static string ReloadAssemblies { get { @@ -1741,7 +1750,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Remove. + /// 查找类似 Remove 的本地化字符串。 /// public static string Remove { get { @@ -1750,7 +1759,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Remove dead and side effect free code. + /// 查找类似 Remove dead and side effect free code 的本地化字符串。 /// public static string RemoveDeadSideEffectFreeCode { get { @@ -1759,7 +1768,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Remove shell integration. + /// 查找类似 Remove shell integration 的本地化字符串。 /// public static string RemoveShellIntegration { get { @@ -1768,9 +1777,9 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to This will remove "{0}" from the registry at "HKCU\Software\Classes\dllfile\shell\Open with ILSpy\command" and "HKCU\Software\Classes\exefile\shell\Open with ILSpy\command". + /// 查找类似 This will remove "{0}" from the registry at "HKCU\Software\Classes\dllfile\shell\Open with ILSpy\command" and "HKCU\Software\Classes\exefile\shell\Open with ILSpy\command". /// - ///Do you want to continue?. + ///Do you want to continue? 的本地化字符串。 /// public static string RemoveShellIntegrationMessage { get { @@ -1779,7 +1788,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Rename list. + /// 查找类似 Rename list 的本地化字符串。 /// public static string RenameList { get { @@ -1788,7 +1797,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Reset to defaults. + /// 查找类似 Reset to defaults 的本地化字符串。 /// public static string ResetToDefaults { get { @@ -1797,7 +1806,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Do you really want to load the default settings for the active page?. + /// 查找类似 Do you really want to load the default settings for the active page? 的本地化字符串。 /// public static string ResetToDefaultsConfirmationMessage { get { @@ -1806,7 +1815,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Resources file (*.resources)|*.resources|Resource XML file|*.resx. + /// 查找类似 Resources file (*.resources)|*.resources|Resource XML file|*.resx 的本地化字符串。 /// public static string ResourcesFileFilter { get { @@ -1815,7 +1824,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Save. + /// 查找类似 Save 的本地化字符串。 /// public static string Save { get { @@ -1824,7 +1833,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Save Code. + /// 查找类似 Save Code 的本地化字符串。 /// public static string SaveCode { get { @@ -1833,7 +1842,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Search.... + /// 查找类似 Search... 的本地化字符串。 /// public static string Search { get { @@ -1842,7 +1851,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Search aborted, more than 1000 results found.. + /// 查找类似 Search aborted, more than 1000 results found. 的本地化字符串。 /// public static string SearchAbortedMoreThan1000ResultsFound { get { @@ -1851,7 +1860,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Search (Ctrl+Shift+F or Ctrl+E). + /// 查找类似 Search (Ctrl+Shift+F or Ctrl+E) 的本地化字符串。 /// public static string SearchCtrlShiftFOrCtrlE { get { @@ -1860,7 +1869,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Searching.... + /// 查找类似 Searching... 的本地化字符串。 /// public static string Searching { get { @@ -1869,7 +1878,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Search Microsoft Docs.... + /// 查找类似 Search Microsoft Docs... 的本地化字符串。 /// public static string SearchMSDN { get { @@ -1878,7 +1887,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Search. + /// 查找类似 Search 的本地化字符串。 /// public static string SearchPane_Search { get { @@ -1887,7 +1896,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Select All. + /// 查找类似 Select All 的本地化字符串。 /// public static string Select { get { @@ -1896,7 +1905,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Select assemblies to open:. + /// 查找类似 Select assemblies to open: 的本地化字符串。 /// public static string SelectAssembliesOpen { get { @@ -1905,7 +1914,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Select a list of assemblies. + /// 查找类似 Select a list of assemblies 的本地化字符串。 /// public static string SelectAssemblyListDropdownTooltip { get { @@ -1914,7 +1923,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Select language to decompile to. + /// 查找类似 Select language to decompile to 的本地化字符串。 /// public static string SelectLanguageDropdownTooltip { get { @@ -1923,7 +1932,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Select a list:. + /// 查找类似 Select a list: 的本地化字符串。 /// public static string SelectList { get { @@ -1932,7 +1941,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Select version of language to output. + /// 查找类似 Select version of language to output 的本地化字符串。 /// public static string SelectVersionDropdownTooltip { get { @@ -1941,7 +1950,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Shell. + /// 查找类似 Shell 的本地化字符串。 /// public static string Shell { get { @@ -1950,7 +1959,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show _all types and members. + /// 查找类似 Show _all types and members 的本地化字符串。 /// public static string Show_allTypesAndMembers { get { @@ -1959,7 +1968,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show public, private and internal. + /// 查找类似 Show public, private and internal 的本地化字符串。 /// public static string Show_internalTypesMembers { get { @@ -1968,7 +1977,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show only _public types and members. + /// 查找类似 Show only _public types and members 的本地化字符串。 /// public static string Show_publiconlyTypesMembers { get { @@ -1977,7 +1986,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show all types and members. + /// 查找类似 Show all types and members 的本地化字符串。 /// public static string ShowAllTypesAndMembers { get { @@ -1986,7 +1995,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show assembly load log. + /// 查找类似 Show assembly load log 的本地化字符串。 /// public static string ShowAssemblyLoad { get { @@ -1995,7 +2004,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to ShowChildIndexInBlock. + /// 查找类似 ShowChildIndexInBlock 的本地化字符串。 /// public static string ShowChildIndexInBlock { get { @@ -2004,7 +2013,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show XML documentation in decompiled code. + /// 查找类似 Show XML documentation in decompiled code 的本地化字符串。 /// public static string ShowDocumentationDecompiledCode { get { @@ -2013,7 +2022,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to ShowILRanges. + /// 查找类似 ShowILRanges 的本地化字符串。 /// public static string ShowILRanges { get { @@ -2022,7 +2031,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show info from debug symbols, if available. + /// 查找类似 Show info from debug symbols, if available 的本地化字符串。 /// public static string ShowInfoFromDebugSymbolsAvailable { get { @@ -2031,7 +2040,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show public, private and internal. + /// 查找类似 Show public, private and internal 的本地化字符串。 /// public static string ShowInternalTypesMembers { get { @@ -2040,7 +2049,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show line numbers. + /// 查找类似 Show line numbers 的本地化字符串。 /// public static string ShowLineNumbers { get { @@ -2049,7 +2058,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show metadata tokens. + /// 查找类似 Show metadata tokens 的本地化字符串。 /// public static string ShowMetadataTokens { get { @@ -2058,7 +2067,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show metadata tokens in base 10. + /// 查找类似 Show metadata tokens in base 10 的本地化字符串。 /// public static string ShowMetadataTokensInBase10 { get { @@ -2067,7 +2076,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show only public types and members. + /// 查找类似 Show only public types and members 的本地化字符串。 /// public static string ShowPublicOnlyTypesMembers { get { @@ -2076,7 +2085,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show state after this step. + /// 查找类似 Show state after this step 的本地化字符串。 /// public static string ShowStateAfterThisStep { get { @@ -2085,7 +2094,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Show state before this step. + /// 查找类似 Show state before this step 的本地化字符串。 /// public static string ShowStateBeforeThisStep { get { @@ -2094,7 +2103,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Size:. + /// 查找类似 Size: 的本地化字符串。 /// public static string Size { get { @@ -2103,7 +2112,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Sort assembly _list by name. + /// 查找类似 Sort assembly _list by name 的本地化字符串。 /// public static string SortAssembly_listName { get { @@ -2112,7 +2121,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Sort assembly list by name. + /// 查找类似 Sort assembly list by name 的本地化字符串。 /// public static string SortAssemblyListName { get { @@ -2121,7 +2130,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Sort results by fitness. + /// 查找类似 Sort results by fitness 的本地化字符串。 /// public static string SortResultsFitness { get { @@ -2130,7 +2139,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Stand by.... + /// 查找类似 Stand by... 的本地化字符串。 /// public static string StandBy { get { @@ -2139,7 +2148,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Status. + /// 查找类似 Status 的本地化字符串。 /// public static string Status { get { @@ -2148,7 +2157,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to String Table. + /// 查找类似 String Table 的本地化字符串。 /// public static string StringTable { get { @@ -2157,7 +2166,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Tab size:. + /// 查找类似 Tab size: 的本地化字符串。 /// public static string TabSize { get { @@ -2166,7 +2175,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Toggle All Folding. + /// 查找类似 Toggle All Folding 的本地化字符串。 /// public static string ToggleFolding { get { @@ -2175,7 +2184,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Type. + /// 查找类似 Type 的本地化字符串。 /// public static string Type { get { @@ -2184,7 +2193,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to No update for ILSpy found.. + /// 查找类似 No update for ILSpy found. 的本地化字符串。 /// public static string UpdateILSpyFound { get { @@ -2193,7 +2202,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to UseFieldSugar. + /// 查找类似 UseFieldSugar 的本地化字符串。 /// public static string UseFieldSugar { get { @@ -2202,7 +2211,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to UseLogicOperationSugar. + /// 查找类似 UseLogicOperationSugar 的本地化字符串。 /// public static string UseLogicOperationSugar { get { @@ -2211,7 +2220,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use tabs instead of spaces. + /// 查找类似 Use tabs instead of spaces 的本地化字符串。 /// public static string UseTabsInsteadOfSpaces { get { @@ -2220,7 +2229,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to You are using the latest release.. + /// 查找类似 You are using the latest release. 的本地化字符串。 /// public static string UsingLatestRelease { get { @@ -2229,7 +2238,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to You are using a nightly build newer than the latest release.. + /// 查找类似 You are using a nightly build newer than the latest release. 的本地化字符串。 /// public static string UsingNightlyBuildNewerThanLatestRelease { get { @@ -2238,7 +2247,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Value. + /// 查找类似 Value 的本地化字符串。 /// public static string Value { get { @@ -2247,7 +2256,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Value (as string). + /// 查找类似 Value (as string) 的本地化字符串。 /// public static string ValueString { get { @@ -2256,7 +2265,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Use variable names from debug symbols, if available. + /// 查找类似 Use variable names from debug symbols, if available 的本地化字符串。 /// public static string VariableNamesFromDebugSymbolsAvailable { get { @@ -2265,7 +2274,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Version. + /// 查找类似 Version 的本地化字符串。 /// public static string Version { get { @@ -2274,7 +2283,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Version {0} is available.. + /// 查找类似 Version {0} is available. 的本地化字符串。 /// public static string VersionAvailable { get { @@ -2283,7 +2292,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to View. + /// 查找类似 View 的本地化字符串。 /// public static string View { get { @@ -2292,7 +2301,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Warning: This assembly is marked as 'reference assembly', which means that it only contains metadata and no executable code.. + /// 查找类似 Warning: This assembly is marked as 'reference assembly', which means that it only contains metadata and no executable code. 的本地化字符串。 /// public static string WarningAsmMarkedRef { get { @@ -2301,7 +2310,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Warning: Some assembly references could not be resolved automatically. This might lead to incorrect decompilation of some parts,. + /// 查找类似 Warning: Some assembly references could not be resolved automatically. This might lead to incorrect decompilation of some parts, 的本地化字符串。 /// public static string WarningSomeAssemblyReference { get { @@ -2310,7 +2319,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Search for t:TypeName, m:Member or c:Constant; use exact match (=term), 'should not contain' (-term) or 'must contain' (+term); use /reg(ular)?Ex(pressions)?/ or both - t:/Type(Name)?/.... + /// 查找类似 Search for t:TypeName, m:Member or c:Constant; use exact match (=term), 'should not contain' (-term) or 'must contain' (+term); use /reg(ular)?Ex(pressions)?/ or both - t:/Type(Name)?/... 的本地化字符串。 /// public static string WatermarkText { get { @@ -2319,7 +2328,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Close all documents. + /// 查找类似 _Close all documents 的本地化字符串。 /// public static string Window_CloseAllDocuments { get { @@ -2328,7 +2337,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// Looks up a localized string similar to Reset layout. + /// 查找类似 _Reset layout 的本地化字符串。 /// public static string Window_ResetLayout { get { diff --git a/ILSpy/Properties/Resources.resx b/ILSpy/Properties/Resources.resx index 62a8ffa83..bc61fcb17 100644 --- a/ILSpy/Properties/Resources.resx +++ b/ILSpy/Properties/Resources.resx @@ -782,10 +782,10 @@ Are you sure you want to continue? Assemblies - Close all documents + _Close all documents - Reset layout + _Reset layout _Window @@ -794,13 +794,13 @@ Are you sure you want to continue? Use pattern-based fixed statement - Transform to do-while, if possible. + Transform to do-while, if possible - Transform to for, if possible. + Transform to for, if possible - Separate local variable declarations and initializers (int x = 5; -> int x; x = 5;), if possible. + Separate local variable declarations and initializers (int x = 5; -> int x; x = 5;), if possible Reset to defaults @@ -879,4 +879,7 @@ Do you want to continue? Base Types + + DEBUG -- Dump PDB as XML + \ No newline at end of file diff --git a/ILSpy/Properties/Resources.zh-Hans.resx b/ILSpy/Properties/Resources.zh-Hans.resx index 980fec4c7..a31cb218d 100644 --- a/ILSpy/Properties/Resources.zh-Hans.resx +++ b/ILSpy/Properties/Resources.zh-Hans.resx @@ -139,7 +139,7 @@ 打开 - DEBUG -- 反编译全部 + 调试 -- 反汇编全部 退出(_X) @@ -154,22 +154,19 @@ 打开(_O)... - 从_GAC中打开...... - - - 打开列表(_L) + 从 GAC 中打开(_G)... 重新加载全部程序集 - DEBUG - 全部反编译 + 调试 -- 反编译全部 - DEBUG - 反编译100x + 调试 -- 反编译100x - 生成可携带PDB + 生成可携带 PDB 重新加载程序集 @@ -184,7 +181,7 @@ 移除 - 保存代码(_S) + 保存代码(_S)... 显示调试步骤(_S) @@ -211,7 +208,7 @@ 名称 - 值(为字符串) + 值(以字符串形式) 类型 @@ -244,7 +241,7 @@ 引用 - ILSpy版本 + ILSpy 版本 正在反编译... @@ -307,16 +304,16 @@ 在这里打开命令行(_O) - 复制FQ名称 + 复制完全限定名称 复制错误信息 - 使用调试符号中的变量名称 (如果可用) + 使用调试符号中的变量名称(如果可用) - 显示调试符号的信息 (如果可用) + 显示调试符号的信息(如果可用) 在反编译代码中显示 XML 文档 @@ -325,7 +322,7 @@ 在大括号中的所有块上启用折叠 - 删除死亡和副作用免费代码 + 删除死代码和无副作用的代码 插入使用声明 @@ -352,7 +349,7 @@ 派生类型 - 资源文件 (*.resources)|*.resources|XML资源文件|*.resx + 资源文件|*.resources|XML资源文件|*.resx 排序结果自适应 @@ -366,47 +363,35 @@ 打开(_O) - - 创建(_C) - 引用名称 版本 - - 区域 - 公钥标记 - - 打开列表 - - 选择一个列表: + 选择一个列表: 搜索(_S): - 从 GAC 打开 + 从 GAC 中打开 Nuget 包浏览器 - - 新建列表 - - 选择要打开的程序集: + 选择要打开的程序集: 创建 - 输入列表名称: + 输入列表名称: 分析 @@ -469,7 +454,7 @@ 每周自动检查更新 - 搜索 t:TypeName, m:Member 或c:Constant; 使用完全匹配 (=term), '不应包含' (-term) 或 '必须包含' (+term); 使用 /reg(ular)?Ex(pressions)?/或两者 - t:/Type(Name)?/... + 搜索 t:TypeName、m:Member 或 c:Constant;使用完全匹配 (=term), '不应包含' (-term) 或 '必须包含' (+term); 使用 /reg(ular)?Ex(pressions)?/或两者 - t:/Type(Name)?/... 选项 @@ -490,7 +475,7 @@ 字体: - 大小: + 大小: 调试步骤 @@ -517,13 +502,13 @@ 调试此步骤 - 警告: 此程序集被标记为 "引用程序集", 这意味着它只包含元数据, 没有可执行代码。 + 警告:此程序集被标记为“引用程序集”,这意味着它只包含元数据,没有可执行代码。 - 警告: 某些程序集引用无法自动解析。这可能会导致某些部分反编译错误, + 警告:某些程序集引用无法自动解析。这可能会导致某些部分反编译错误, - 比如属性getter/setter 访问。要获得最佳反编译结果, 请手动将缺少的引用添加到加载的程序集列表中。 + 例如属性 getter/setter 访问。要获得最佳反编译结果,请手动将缺少的引用添加到加载的程序集列表中。 显示程序集加载日志 @@ -532,10 +517,10 @@ 其他资源 - 使用Tab替代空格 + 使用 Tab 替代空格 - 在基数10中显示元数据标记 + 使用十进制显示元数据标记 反编译后展开引用和声明 @@ -547,13 +532,13 @@ 缩进 - 缩进长度: + 缩进长度: - Tab长度: + Tab 长度: - 搜索 (Ctrl + Shift + F 或 Ctrl + E) + 搜索(Ctrl + Shift + F 或 Ctrl + E) 显示所有类型和成员 @@ -568,10 +553,10 @@ 下面选择的设置将与语言下拉列表中的选择一起应用于反编译程序输出。在下拉列表中选择较低的语言版本将停用较高版本的所有选定选项。请注意, 某些设置隐式依赖于彼此, 例如: 如果不首先将静态调用转换为扩展方法调用, 则无法引入 LINQ 表达式。 - 反编译枚举器 (yield return) + 反编译枚举器(yield return) - 反编译匿名方法或lambdas + 反编译匿名方法或 lambda 反编译匿名类型 @@ -583,19 +568,19 @@ 反编译表达树 - 反编译使用"dynamic" 类型 + 反编译使用 dynamic 类型 反编译异步方法 - 反编译catch/finally内的await + 反编译 catch/finally 内的 await 反编译 [DecimalConstant(...)] 作为简单的文本值 - 反编译 C# 1.0 "public unsafe fixed int arr[10];" 成员 + 反编译 C# 1.0“public unsafe fixed int arr[10];”成员 对空变量使用提升运算符 @@ -610,7 +595,7 @@ 反编译自动事件 - 检测using语句 + 检测 using 语句 其他 @@ -619,16 +604,16 @@ 始终使用大括号 - 检测 foreach语句 + 检测 foreach 语句 - 检测 lock语句 + 检测 lock 语句 - 检测switch 的字符串 + 检测 switch 的字符串 - 插入using声明 + 插入 using 声明 使用扩展方法语法 @@ -643,7 +628,7 @@ 始终强制转换显式接口实现调用的目标 - 使用调试符号中的变量名 (如果可用) + 使用调试符号中的变量名(如果可用) 数组初始化器表达式 @@ -652,10 +637,10 @@ 对象或集合初始化器表达式 - Dictionary初始值设定项表达式 + Dictionary 初始值设定项表达式 - 在集合初始化器表达式中允许扩展 "添加" 方法 + 在集合初始化器表达式中允许扩展 Add 方法 使用字符串插值 @@ -673,16 +658,16 @@ 使用丢弃物 - IsByRefLikeAttribute应替换为结构上的 "ref" 修饰符 + IsByRefLikeAttribute 应替换为结构上的 ref 修饰符 - IsReadOnlyAttribute 应替为结构参数上的 "readonly"/"in"中的修饰符 + IsReadOnlyAttribute 应替为结构参数上的 readonly/in 中的修饰符 - 类型参数上的IsUnmanagedAttribute 应替换为 "非托管" 约束 + 类型参数上的 IsUnmanagedAttribute 应替换为 unmanaged 约束 - 使用stackalloc 初始化器语法 + 使用 stackalloc 初始化器语法 使用元组类型语法 @@ -700,13 +685,10 @@ 使用非尾随命名参数 - 如果可能, 删除可选参数 + 如果可能,删除可选参数 - 引入本地功能 - - - C# 7.0 本地函数未实现! + 引入局部函数(local functions) 可空引用类型 @@ -715,24 +697,189 @@ 显示调试符号中的信息 (如果可用) - Vb 特定选项 + VB 特定选项 - F # 特定选项 + F# 特定选项 - 删除死的和副作用免费的代码 (请谨慎使用) + 删除死代码和无副作用的代码(请谨慎使用) 在已加载的程序集上应用 Windows 运行时投影 - 搜索Microsoft Docs... + 搜索 Microsoft Docs... 关于 - 使用新的 SDK 格式 (*.csproj) 生成项目文件 + 使用新的 SDK 格式(*.csproj)生成项目文件 + + + 新建(_N) + + + 窗口(_W) + + + 添加预配置列表... + + + 添加文件资源管理器集成 + + + 这会在注册表的“HKCU\Software\Classes\dllfile\shell\Open with ILSpy\command”与“HKCU\Software\Classes\exefile\shell\Open with ILSpy\command”中添加“{0}”。这样在文件资源管理器中,.dll 文件与 .exe 文件可以在右键菜单中使用 ILSpy 打开。 + +确定继续? + + + 程序集 + + + 程序集 + + + 目录非空。文件会被覆盖。 +确定继续? + + + 项目目录非空 + + + 基类型 + + + 克隆(_L) + + + 区域 + + + 关闭 + + + 无法解析实体。可能是由于缺少程序集引用。请添加缺少的程序集并重试。 + + + 使用 ref 扩展方法 + + + 始终显示枚举数值 + + + 反编译异步 IAsyncEnumerator 方法 + + + 检测使用了 await 的 using 和 foreach 块 + + + 如果可能,转换到 do-while 块 + + + 如果可能,转换到 for 块 + + + 引入静态局部函数(static local functions) + + + 使用 nint/nuint 类型 + + + 范围(ranges) + + + 只读方法 + + + 删除死值(请谨慎使用) + + + 如果可能,分离局部变量的声明与初始化(int x = 5; -> int x; x = 5;) + + + 使用基于模式的 fixed 语句 + + + 使用 throw 表达式 + + + 在新选项卡反编译 + + + 在树视图中隐藏空的元数据表 + + + 高亮配对的大括号 + + + 管理程序集列表(_L)... + + + 管理程序集列表 + + + 是否删除选中的程序集列表? + + + 已有同名的列表。 + + + 是否删除所有程序集列表,并重建默认程序集列表? + + + 导航失败,因为目标是隐藏的或编译器生成的类。\n +请禁用所有的、可能隐藏它们的筛选器(例如,启用“视图 > 显示内部类型和成员”),并重试。 + + + 新建列表 + + + 新选项卡 + + + 重命名(_E) + + + 移除文件资源管理器集成 + + + 这会在注册表的“HKCU\Software\Classes\dllfile\shell\Open with ILSpy\command”与“HKCU\Software\Classes\exefile\shell\Open with ILSpy\command”中移除“{0}”。 + +确定继续? + + + 重命名列表 + + + 还原到默认值 + + + 是否为活动页面加载默认值? + + + 选择一个程序集列表 + + + 选择一个反编译目标语言 + + + 选择输出语言的版本 + + + 只显示公有类型和成员(_P) + + + 只显示公有类型和成员 + + + 关闭所有文档(_C) + + + 重置布局(_R) + + + 调试 -- PDB 转储为 XML \ No newline at end of file From 70529f92ac8353b03988db79cac005e4006bf097 Mon Sep 17 00:00:00 2001 From: Berrysoft Date: Tue, 28 Jul 2020 21:01:24 +0800 Subject: [PATCH 08/24] Fix ManageAssemblyLists menu text --- ILSpy/Commands/ManageAssemblyListsCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ILSpy/Commands/ManageAssemblyListsCommand.cs b/ILSpy/Commands/ManageAssemblyListsCommand.cs index 49effa4a7..10ba404d2 100644 --- a/ILSpy/Commands/ManageAssemblyListsCommand.cs +++ b/ILSpy/Commands/ManageAssemblyListsCommand.cs @@ -21,7 +21,7 @@ using ICSharpCode.ILSpy.Properties; namespace ICSharpCode.ILSpy { - [ExportMainMenuCommand(Menu = nameof(Resources._File), Header = nameof(Resources.ManageAssemblyLists), MenuIcon = "Images/AssemblyList", MenuCategory = nameof(Resources.Open), MenuOrder = 1.7)] + [ExportMainMenuCommand(Menu = nameof(Resources._File), Header = nameof(Resources.ManageAssembly_Lists), MenuIcon = "Images/AssemblyList", MenuCategory = nameof(Resources.Open), MenuOrder = 1.7)] sealed class ManageAssemblyListsCommand : SimpleCommand { public override void Execute(object parameter) From 11a2512413ae1d82c8806297bd4de5c3cb7092e9 Mon Sep 17 00:00:00 2001 From: Berrysoft Date: Tue, 28 Jul 2020 21:08:25 +0800 Subject: [PATCH 09/24] More translations --- ILSpy/Properties/Resources.zh-Hans.resx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ILSpy/Properties/Resources.zh-Hans.resx b/ILSpy/Properties/Resources.zh-Hans.resx index a31cb218d..89cbcd24f 100644 --- a/ILSpy/Properties/Resources.zh-Hans.resx +++ b/ILSpy/Properties/Resources.zh-Hans.resx @@ -406,7 +406,7 @@ 打开资源管理器 - |所有文件 |*.* + |所有文件|*.* 保存代码 @@ -478,19 +478,19 @@ 大小: - 调试步骤 + 调试步 - UseFieldSugar + 使用 fld 语法糖 - UseLogicOperationSugar + 使用 logic 语法糖 - ShowILRanges + 显示 IL 范围 - ShowChildIndexInBlock + 显示块中的子序号 在此步骤之前显示状态 @@ -499,7 +499,7 @@ 在此步骤之后显示状态 - 调试此步骤 + 调试此步 警告:此程序集被标记为“引用程序集”,这意味着它只包含元数据,没有可执行代码。 From 2f96faffb3ee9c468fba6dffa6e1f1743c595323 Mon Sep 17 00:00:00 2001 From: Berrysoft Date: Tue, 28 Jul 2020 21:21:17 +0800 Subject: [PATCH 10/24] Small adjust --- ILSpy/Properties/Resources.zh-Hans.resx | 32 ++++++++++++------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/ILSpy/Properties/Resources.zh-Hans.resx b/ILSpy/Properties/Resources.zh-Hans.resx index 89cbcd24f..4b523c2a5 100644 --- a/ILSpy/Properties/Resources.zh-Hans.resx +++ b/ILSpy/Properties/Resources.zh-Hans.resx @@ -208,7 +208,7 @@ 名称 - 值(以字符串形式) + 值(以字符串形式) 类型 @@ -310,10 +310,10 @@ 复制错误信息 - 使用调试符号中的变量名称(如果可用) + 使用调试符号中的变量名称(如果可用) - 显示调试符号的信息(如果可用) + 显示调试符号的信息(如果可用) 在反编译代码中显示 XML 文档 @@ -418,7 +418,7 @@ 搜索... - 搜索已中止, 发现超过1000个结果。 + 搜索已中止,发现超过1000个结果。 搜索... @@ -454,7 +454,7 @@ 每周自动检查更新 - 搜索 t:TypeName、m:Member 或 c:Constant;使用完全匹配 (=term), '不应包含' (-term) 或 '必须包含' (+term); 使用 /reg(ular)?Ex(pressions)?/或两者 - t:/Type(Name)?/... + 搜索 t:类型、m:成员 或 c:常量;使用完全匹配(=term)、不应包含(-term)或必须包含(+term);使用 /正(则)?表达(式)?/;或同时使用二者 - t:/类(型)?/... 选项 @@ -538,7 +538,7 @@ Tab 长度: - 搜索(Ctrl + Shift + F 或 Ctrl + E) + 搜索(Ctrl + Shift + F 或 Ctrl + E) 显示所有类型和成员 @@ -553,7 +553,7 @@ 下面选择的设置将与语言下拉列表中的选择一起应用于反编译程序输出。在下拉列表中选择较低的语言版本将停用较高版本的所有选定选项。请注意, 某些设置隐式依赖于彼此, 例如: 如果不首先将静态调用转换为扩展方法调用, 则无法引入 LINQ 表达式。 - 反编译枚举器(yield return) + 反编译枚举器(yield return) 反编译匿名方法或 lambda @@ -628,7 +628,7 @@ 始终强制转换显式接口实现调用的目标 - 使用调试符号中的变量名(如果可用) + 使用调试符号中的变量名(如果可用) 数组初始化器表达式 @@ -688,13 +688,13 @@ 如果可能,删除可选参数 - 引入局部函数(local functions) + 引入局部函数(local functions) 可空引用类型 - 显示调试符号中的信息 (如果可用) + 显示调试符号中的信息(如果可用) VB 特定选项 @@ -703,7 +703,7 @@ F# 特定选项 - 删除死代码和无副作用的代码(请谨慎使用) + 删除死代码和无副作用的代码(请谨慎使用) 在已加载的程序集上应用 Windows 运行时投影 @@ -715,7 +715,7 @@ 关于 - 使用新的 SDK 格式(*.csproj)生成项目文件 + 使用新的 SDK 格式(*.csproj)生成项目文件 新建(_N) @@ -781,19 +781,19 @@ 如果可能,转换到 for 块 - 引入静态局部函数(static local functions) + 引入静态局部函数(static local functions) 使用 nint/nuint 类型 - 范围(ranges) + 范围(ranges) 只读方法 - 删除死值(请谨慎使用) + 删除死值(请谨慎使用) 如果可能,分离局部变量的声明与初始化(int x = 5; -> int x; x = 5;) @@ -830,7 +830,7 @@ 导航失败,因为目标是隐藏的或编译器生成的类。\n -请禁用所有的、可能隐藏它们的筛选器(例如,启用“视图 > 显示内部类型和成员”),并重试。 +请禁用所有的、可能隐藏它们的筛选器(例如,启用“视图 > 显示内部类型和成员”),并重试。 新建列表 From 2065855b43a4a977fca2dab23790bce1cb106ba5 Mon Sep 17 00:00:00 2001 From: Berrysoft Date: Tue, 28 Jul 2020 21:26:15 +0800 Subject: [PATCH 11/24] Clarify decompile and disassemble --- ILSpy/Properties/Resources.zh-Hans.resx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ILSpy/Properties/Resources.zh-Hans.resx b/ILSpy/Properties/Resources.zh-Hans.resx index 4b523c2a5..adf0aeec4 100644 --- a/ILSpy/Properties/Resources.zh-Hans.resx +++ b/ILSpy/Properties/Resources.zh-Hans.resx @@ -139,7 +139,7 @@ 打开 - 调试 -- 反汇编全部 + 调试 -- 全部反编译到 IL 退出(_X) @@ -160,10 +160,10 @@ 重新加载全部程序集 - 调试 -- 反编译全部 + 调试 -- 全部反编译到 C# - 调试 -- 反编译100x + 调试 -- 反编译100次 生成可携带 PDB From 4bc5b2bcbb62fd42655312ac5b82522a45b79cce Mon Sep 17 00:00:00 2001 From: MysticBoy Date: Thu, 30 Jul 2020 12:14:33 +0800 Subject: [PATCH 12/24] update tests --- ILSpy-tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ILSpy-tests b/ILSpy-tests index e83c25d91..aa8f1197e 160000 --- a/ILSpy-tests +++ b/ILSpy-tests @@ -1 +1 @@ -Subproject commit e83c25d910124986a42089055ecff70682c4fdb9 +Subproject commit aa8f1197e6a513bcc10bcc38ec7d2143d27a2246 From c05151d28db5477e4daf881d9a08dee44702de6b Mon Sep 17 00:00:00 2001 From: Berrysoft Date: Thu, 30 Jul 2020 16:26:29 +0800 Subject: [PATCH 13/24] Adjust res order. --- ILSpy/Properties/Resources.zh-Hans.resx | 97 +++++++++++++------------ 1 file changed, 50 insertions(+), 47 deletions(-) diff --git a/ILSpy/Properties/Resources.zh-Hans.resx b/ILSpy/Properties/Resources.zh-Hans.resx index 05b3cf770..393a598ba 100644 --- a/ILSpy/Properties/Resources.zh-Hans.resx +++ b/ILSpy/Properties/Resources.zh-Hans.resx @@ -747,9 +747,6 @@ 项目目录非空 - - 基类型 - 克隆(_L) @@ -783,9 +780,6 @@ 引入静态局部函数(static local functions) - - 使用 nint/nuint 类型 - 范围(ranges) @@ -813,73 +807,82 @@ 高亮配对的大括号 - - 管理程序集列表(_L)... - - - 管理程序集列表 + + 重置布局(_R) - - 是否删除选中的程序集列表? + + 关闭所有文档(_C) - - 已有同名的列表。 + + 只显示公有类型和成员 - - 是否删除所有程序集列表,并重建默认程序集列表? + + 只显示公有类型和成员(_P) - - 导航失败,因为目标是隐藏的或编译器生成的类。\n -请禁用所有的、可能隐藏它们的筛选器(例如,启用“视图 > 显示内部类型和成员”),并重试。 + + 选择输出语言的版本 - - 新建列表 + + 选择一个程序集列表 - - 新选项卡 + + 选择一个反编译目标语言 - - 重命名(_E) + + 重命名列表 - - 移除文件资源管理器集成 + + 还原到默认值 这会在注册表的“HKCU\Software\Classes\dllfile\shell\Open with ILSpy\command”与“HKCU\Software\Classes\exefile\shell\Open with ILSpy\command”中移除“{0}”。 确定继续? - - 重命名列表 - - - 还原到默认值 + + 移除文件资源管理器集成 是否为活动页面加载默认值? - - 选择一个程序集列表 + + 重命名(_E) - - 选择一个反编译目标语言 + + 新建列表 - - 选择输出语言的版本 + + 新选项卡 - - 只显示公有类型和成员(_P) + + 管理程序集列表(_L)... - - 只显示公有类型和成员 + + 管理程序集列表 - - 关闭所有文档(_C) + + 导航失败,因为目标是隐藏的或编译器生成的类。\n +请禁用所有的、可能隐藏它们的筛选器(例如,启用“视图 > 显示内部类型和成员”),并重试。 - - 重置布局(_R) + + 是否删除选中的程序集列表? + + + 已有同名的列表。 + + + 是否删除所有程序集列表,并重建默认程序集列表? + + + ILSpyAboutPage_zh_Hans.txt 调试 -- PDB 转储为 XML + + 使用 nint/nuint 类型 + + + 基类型 + \ No newline at end of file From 3e64895ec2fb312e67cd6becc74c6e59e9b2c888 Mon Sep 17 00:00:00 2001 From: Berrysoft Date: Thu, 30 Jul 2020 16:48:21 +0800 Subject: [PATCH 14/24] =?UTF-8?q?Step=20->=20=E6=AD=A5=E9=AA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ILSpy/Properties/Resources.zh-Hans.resx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ILSpy/Properties/Resources.zh-Hans.resx b/ILSpy/Properties/Resources.zh-Hans.resx index 393a598ba..36bbc1b90 100644 --- a/ILSpy/Properties/Resources.zh-Hans.resx +++ b/ILSpy/Properties/Resources.zh-Hans.resx @@ -478,7 +478,7 @@ 大小: - 调试步 + 调试步骤 使用 fld 语法糖 @@ -499,7 +499,7 @@ 在此步骤之后显示状态 - 调试此步 + 调试此步骤 警告:此程序集被标记为“引用程序集”,这意味着它只包含元数据,没有可执行代码。 From 4b05d85565997e29a6d8b2dd4cb21d46c1ece96f Mon Sep 17 00:00:00 2001 From: Berrysoft Date: Thu, 30 Jul 2020 16:52:58 +0800 Subject: [PATCH 15/24] Update about page --- doc/ILSpyAboutPage_zh_Hans.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/ILSpyAboutPage_zh_Hans.txt b/doc/ILSpyAboutPage_zh_Hans.txt index ed771b2e5..9a9221be0 100644 --- a/doc/ILSpyAboutPage_zh_Hans.txt +++ b/doc/ILSpyAboutPage_zh_Hans.txt @@ -1,13 +1,13 @@ -ILSpy 是开源的.NET程序集浏览器和反编译器. +ILSpy 是开源的 .NET 程序集浏览器和反编译器。 网站: https://ilspy.net/ 反馈BUG: https://github.com/icsharpcode/ILSpy/issues/new/choose -中文翻译反馈:https://github.com/maikebing/ILSpy/issues +中文翻译反馈:https://github.com/maikebing/ILSpy/issues Copyright 2011-2020 AlphaSierraPapa for the ILSpy team 当前和过去的贡献者: https://github.com/icsharpcode/ILSpy/graphs/contributors -ILSpy 基于 MIT License 发行. +ILSpy 基于 MIT 许可证发行。 -ILSpy 使用了其他开源库才能魔术般的实现, 于此同时我们想感谢他们为那些组件付出的人们! -它们各自的许可和版权信息请查看third-party注意事项. \ No newline at end of file +ILSpy 使用了其他开源库才能魔术般地实现,在此我们想感谢为那些组件付出的人们! +它们各自的许可和版权信息请查看第三方注意事项(third-party notices)。 \ No newline at end of file From 0830a7dadaf71b5199a42eaf0479b9d62a6ca5cd Mon Sep 17 00:00:00 2001 From: MysticBoy Date: Thu, 30 Jul 2020 19:54:06 +0800 Subject: [PATCH 16/24] for vsct --- ILSpy.AddIn/ILSpy.AddIn.csproj | 27 ++++-- ILSpy.AddIn/ILSpyAddIn.en-US.vsct | 124 ++++++++++++++++++++++++++++ ILSpy.AddIn/ILSpyAddIn.vsct | 102 +---------------------- ILSpy.AddIn/ILSpyAddIn.zh-Hans.vsct | 123 +++++++++++++++++++++++++++ ILSpy.AddIn/ILSpyAddInPackage.cs | 1 + 5 files changed, 269 insertions(+), 108 deletions(-) create mode 100644 ILSpy.AddIn/ILSpyAddIn.en-US.vsct create mode 100644 ILSpy.AddIn/ILSpyAddIn.zh-Hans.vsct diff --git a/ILSpy.AddIn/ILSpy.AddIn.csproj b/ILSpy.AddIn/ILSpy.AddIn.csproj index 2ffbb6b44..adf54d6f9 100644 --- a/ILSpy.AddIn/ILSpy.AddIn.csproj +++ b/ILSpy.AddIn/ILSpy.AddIn.csproj @@ -122,23 +122,36 @@ - + + true + \ILSpy\zh-Hans\ + + + + + + + Designer - - - + + + Menus.ctmenu + Designer + - - - + + Menus.ctmenu Designer + + + diff --git a/ILSpy.AddIn/ILSpyAddIn.en-US.vsct b/ILSpy.AddIn/ILSpyAddIn.en-US.vsct new file mode 100644 index 000000000..f0867de8b --- /dev/null +++ b/ILSpy.AddIn/ILSpyAddIn.en-US.vsct @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ILSpy.AddIn/ILSpyAddIn.vsct b/ILSpy.AddIn/ILSpyAddIn.vsct index d747baf57..156263ee9 100644 --- a/ILSpy.AddIn/ILSpyAddIn.vsct +++ b/ILSpy.AddIn/ILSpyAddIn.vsct @@ -19,107 +19,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/ILSpy.AddIn/ILSpyAddIn.zh-Hans.vsct b/ILSpy.AddIn/ILSpyAddIn.zh-Hans.vsct new file mode 100644 index 000000000..544ddc299 --- /dev/null +++ b/ILSpy.AddIn/ILSpyAddIn.zh-Hans.vsct @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ILSpy.AddIn/ILSpyAddInPackage.cs b/ILSpy.AddIn/ILSpyAddInPackage.cs index 533a78bdd..950cdc0d5 100644 --- a/ILSpy.AddIn/ILSpyAddInPackage.cs +++ b/ILSpy.AddIn/ILSpyAddInPackage.cs @@ -37,6 +37,7 @@ namespace ICSharpCode.ILSpy.AddIn [ProvideMenuResource("Menus.ctmenu", 1)] [Guid(GuidList.guidILSpyAddInPkgString)] [ProvideAutoLoad(VSConstants.UICONTEXT.SolutionExistsAndFullyLoaded_string, PackageAutoLoadFlags.BackgroundLoad)] + [ProvideBindingPath] public sealed class ILSpyAddInPackage : AsyncPackage { /// From 9aa39a941a09089b654bc57c17858047ca1cfdf0 Mon Sep 17 00:00:00 2001 From: MysticBoy Date: Thu, 30 Jul 2020 21:37:04 +0800 Subject: [PATCH 17/24] modify for vsct --- ILSpy.AddIn/ILSpy.AddIn.csproj | 23 +++-- ILSpy.AddIn/ILSpyAddIn.en-US.vsct | 32 +------ ILSpy.AddIn/ILSpyAddIn.vsct | 50 +++++++++- ILSpy.AddIn/ILSpyAddIn.zh-Hans.vsct | 33 +------ ILSpy.AddIn/Properties/AssemblyInfo.cs | 3 +- ILSpy.AddIn/VSPackage.en-US.resx | 126 +++++++++++++++++++++++++ ILSpy.AddIn/VSPackage.zh-Hans.resx | 6 ++ 7 files changed, 199 insertions(+), 74 deletions(-) create mode 100644 ILSpy.AddIn/VSPackage.en-US.resx diff --git a/ILSpy.AddIn/ILSpy.AddIn.csproj b/ILSpy.AddIn/ILSpy.AddIn.csproj index adf54d6f9..b4f78a163 100644 --- a/ILSpy.AddIn/ILSpy.AddIn.csproj +++ b/ILSpy.AddIn/ILSpy.AddIn.csproj @@ -12,7 +12,6 @@ IC#Code ILSpy - en-US 1.7.1.0 1.7.1.0 @@ -90,11 +89,20 @@ Resources.Designer.cs Designer + + true + VSPackage.en-US.resources + VSPackage.resx + true VSPackage - + + true + VSPackage.zh-Hans.resources + VSPackage.resx + - - - - - - - - - - - - - - - - - - - @@ -109,15 +87,7 @@ - - - - - + diff --git a/ILSpy.AddIn/ILSpyAddIn.vsct b/ILSpy.AddIn/ILSpyAddIn.vsct index 156263ee9..3d992eae7 100644 --- a/ILSpy.AddIn/ILSpyAddIn.vsct +++ b/ILSpy.AddIn/ILSpyAddIn.vsct @@ -19,11 +19,55 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -36,7 +80,7 @@ - + diff --git a/ILSpy.AddIn/ILSpyAddIn.zh-Hans.vsct b/ILSpy.AddIn/ILSpyAddIn.zh-Hans.vsct index 544ddc299..f84717c94 100644 --- a/ILSpy.AddIn/ILSpyAddIn.zh-Hans.vsct +++ b/ILSpy.AddIn/ILSpyAddIn.zh-Hans.vsct @@ -35,28 +35,6 @@ with command ids defined by other packages. --> - - - - - - - - - - - - - - - - - - - @@ -108,16 +86,7 @@ - - - - - - + diff --git a/ILSpy.AddIn/Properties/AssemblyInfo.cs b/ILSpy.AddIn/Properties/AssemblyInfo.cs index db36e8d59..64f95fad1 100644 --- a/ILSpy.AddIn/Properties/AssemblyInfo.cs +++ b/ILSpy.AddIn/Properties/AssemblyInfo.cs @@ -1,5 +1,6 @@ using System; using System.Reflection; +using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; @@ -11,6 +12,6 @@ using System.Runtime.InteropServices; [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] [assembly: CLSCompliant(false)] - +[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] [assembly: InternalsVisibleTo("ILSpy.AddIn_IntegrationTests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100653c4a319be4f524972c3c5bba5fd243330f8e900287d9022d7821a63fd0086fd3801e3683dbe9897f2ecc44727023e9b40adcf180730af70c81c54476b3e5ba8b0f07f5132b2c3cc54347a2c1a9d64ebaaaf3cbffc1a18c427981e2a51d53d5ab02536b7550e732f795121c38a0abfdb38596353525d034baf9e6f1fd8ac4ac")] [assembly: InternalsVisibleTo("ILSpy.AddIn_UnitTests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100653c4a319be4f524972c3c5bba5fd243330f8e900287d9022d7821a63fd0086fd3801e3683dbe9897f2ecc44727023e9b40adcf180730af70c81c54476b3e5ba8b0f07f5132b2c3cc54347a2c1a9d64ebaaaf3cbffc1a18c427981e2a51d53d5ab02536b7550e732f795121c38a0abfdb38596353525d034baf9e6f1fd8ac4ac")] diff --git a/ILSpy.AddIn/VSPackage.en-US.resx b/ILSpy.AddIn/VSPackage.en-US.resx new file mode 100644 index 000000000..73c158134 --- /dev/null +++ b/ILSpy.AddIn/VSPackage.en-US.resx @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ILSpy.AddIn + + + Integration of the ILSpy Decompiler into Visual Studio. + + \ No newline at end of file diff --git a/ILSpy.AddIn/VSPackage.zh-Hans.resx b/ILSpy.AddIn/VSPackage.zh-Hans.resx index 1af7de150..73c158134 100644 --- a/ILSpy.AddIn/VSPackage.zh-Hans.resx +++ b/ILSpy.AddIn/VSPackage.zh-Hans.resx @@ -117,4 +117,10 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + ILSpy.AddIn + + + Integration of the ILSpy Decompiler into Visual Studio. + \ No newline at end of file From 5f150efb74660e32f08750bdc0becb151ccc1a55 Mon Sep 17 00:00:00 2001 From: MysticBoy Date: Thu, 30 Jul 2020 21:58:50 +0800 Subject: [PATCH 18/24] add for vsixlangpack --- ILSpy.AddIn/ILSpy.AddIn.csproj | 9 ++++++--- ILSpy.AddIn/zh-Hans/extension.vsixlangpack | 7 +++++++ 2 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 ILSpy.AddIn/zh-Hans/extension.vsixlangpack diff --git a/ILSpy.AddIn/ILSpy.AddIn.csproj b/ILSpy.AddIn/ILSpy.AddIn.csproj index b4f78a163..a5471e387 100644 --- a/ILSpy.AddIn/ILSpy.AddIn.csproj +++ b/ILSpy.AddIn/ILSpy.AddIn.csproj @@ -130,14 +130,13 @@ - + true \ILSpy\zh-Hans\ - - + Designer @@ -147,6 +146,10 @@ Designer + + true + Always + Menus.ctmenu Designer diff --git a/ILSpy.AddIn/zh-Hans/extension.vsixlangpack b/ILSpy.AddIn/zh-Hans/extension.vsixlangpack new file mode 100644 index 000000000..2ebb0cd5a --- /dev/null +++ b/ILSpy.AddIn/zh-Hans/extension.vsixlangpack @@ -0,0 +1,7 @@ + + + + ILSpy + 可以在Visual Studio中直接打开反编译工具ILSpy. + + \ No newline at end of file From 485278acf8be1a86d3b3d0e68f238d56fa8274a1 Mon Sep 17 00:00:00 2001 From: MysticBoy Date: Fri, 31 Jul 2020 12:17:24 +0800 Subject: [PATCH 19/24] add ILSpy.ReadyToRun.Plugin.resources.dll to appveyor.yml for 7z --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 151bac6c2..5b3fdceef 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -22,7 +22,7 @@ build_script: - msbuild ILSpy.sln /v:minimal /p:ResolveNuGetPackages=false "/logger:%ProgramFiles%\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" after_build: -- 7z a ILSpy_binaries.zip %APPVEYOR_BUILD_FOLDER%\ILSpy\bin\%configuration%\net472\*.dll %APPVEYOR_BUILD_FOLDER%\ILSpy\bin\%configuration%\net472\*.exe %APPVEYOR_BUILD_FOLDER%\ILSpy\bin\%configuration%\net472\*.config %APPVEYOR_BUILD_FOLDER%\ILSpy\bin\%configuration%\net472\*\ILSpy.resources.dll +- 7z a ILSpy_binaries.zip %APPVEYOR_BUILD_FOLDER%\ILSpy\bin\%configuration%\net472\*.dll %APPVEYOR_BUILD_FOLDER%\ILSpy\bin\%configuration%\net472\*.exe %APPVEYOR_BUILD_FOLDER%\ILSpy\bin\%configuration%\net472\*.config %APPVEYOR_BUILD_FOLDER%\ILSpy\bin\%configuration%\net472\*\ILSpy.resources.dll %APPVEYOR_BUILD_FOLDER%\ILSpy\bin\%configuration%\net472\*\ILSpy.ReadyToRun.Plugin.resources.dll test_script: - vstest.console.exe /logger:Appveyor /Parallel "ICSharpCode.Decompiler.Tests\bin\%configuration%\net472\ICSharpCode.Decompiler.Tests.exe" "ILSpy.Tests\bin\%configuration%\net472\ILSpy.Tests.exe" "ILSpy.BamlDecompiler.Tests\bin\%configuration%\net472\ILSpy.BamlDecompiler.Tests.exe" From 865f85550159f351f185ce020503cb2eccf2e836 Mon Sep 17 00:00:00 2001 From: MysticBoy Date: Fri, 31 Jul 2020 12:31:26 +0800 Subject: [PATCH 20/24] Add something missing. --- ILSpy/Commands/DecompileCommand.cs | 5 +- ILSpy/Commands/GeneratePdbContextMenuEntry.cs | 10 +-- ILSpy/Commands/SaveCodeContextMenuEntry.cs | 2 +- ILSpy/Commands/SelectPdbContextMenuEntry.cs | 5 +- ILSpy/Properties/Resources.Designer.cs | 64 +++++++++++++++++-- ILSpy/Properties/Resources.resx | 18 ++++++ ILSpy/Properties/Resources.zh-Hans.resx | 18 ++++++ 7 files changed, 107 insertions(+), 15 deletions(-) diff --git a/ILSpy/Commands/DecompileCommand.cs b/ILSpy/Commands/DecompileCommand.cs index 24c6c4180..d9485e512 100644 --- a/ILSpy/Commands/DecompileCommand.cs +++ b/ILSpy/Commands/DecompileCommand.cs @@ -24,11 +24,12 @@ using System.Windows.Controls; using ICSharpCode.Decompiler.Metadata; using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.ILSpy.Metadata; +using ICSharpCode.ILSpy.Properties; using ICSharpCode.ILSpy.TreeNodes; namespace ICSharpCode.ILSpy.Commands { - [ExportContextMenuEntry(Header = "Decompile", Order = 10)] + [ExportContextMenuEntry(Header = nameof(Resources.Decompile), Order = 10)] class DecompileCommand : IContextMenuEntry { public bool IsVisible(TextViewContext context) @@ -68,7 +69,7 @@ namespace ICSharpCode.ILSpy.Commands } } - [ExportContextMenuEntry(Header = "Go to token", Order = 10)] + [ExportContextMenuEntry(Header = nameof(Resources.GoToToken), Order = 10)] class GoToToken : IContextMenuEntry { public void Execute(TextViewContext context) diff --git a/ILSpy/Commands/GeneratePdbContextMenuEntry.cs b/ILSpy/Commands/GeneratePdbContextMenuEntry.cs index 9bea8740e..609356f59 100644 --- a/ILSpy/Commands/GeneratePdbContextMenuEntry.cs +++ b/ILSpy/Commands/GeneratePdbContextMenuEntry.cs @@ -32,7 +32,7 @@ using ICSharpCode.ILSpy.Properties; namespace ICSharpCode.ILSpy { - [ExportContextMenuEntry(Header = "Generate portable PDB")] + [ExportContextMenuEntry(Header = nameof(Resources.GeneratePortable))] class GeneratePdbContextMenuEntry : IContextMenuEntry { public void Execute(TextViewContext context) @@ -55,12 +55,12 @@ namespace ICSharpCode.ILSpy { var file = assembly.GetPEFileOrNull(); if (!PortablePdbWriter.HasCodeViewDebugDirectoryEntry(file)) { - MessageBox.Show($"Cannot create PDB file for {Path.GetFileName(assembly.FileName)}, because it does not contain a PE Debug Directory Entry of type 'CodeView'."); + MessageBox.Show(string.Format(Resources.CannotCreatePDBFile, Path.GetFileName(assembly.FileName))); return; } SaveFileDialog dlg = new SaveFileDialog(); dlg.FileName = DecompilerTextView.CleanUpName(assembly.ShortName) + ".pdb"; - dlg.Filter = "Portable PDB|*.pdb|All files|*.*"; + dlg.Filter = Resources.PortablePDBPdbAllFiles; dlg.InitialDirectory = Path.GetDirectoryName(assembly.FileName); if (dlg.ShowDialog() != true) return; DecompilationOptions options = new DecompilationOptions(); @@ -81,14 +81,14 @@ namespace ICSharpCode.ILSpy stopwatch.Stop(); output.WriteLine("Generation complete in " + stopwatch.Elapsed.TotalSeconds.ToString("F1") + " seconds."); output.WriteLine(); - output.AddButton(null, "Open Explorer", delegate { Process.Start("explorer", "/select,\"" + fileName + "\""); }); + output.AddButton(null, Resources.OpenExplorer, delegate { Process.Start("explorer", "/select,\"" + fileName + "\""); }); output.WriteLine(); return output; }, ct)).Then(output => Docking.DockWorkspace.Instance.ShowText(output)).HandleExceptions(); } } - [ExportMainMenuCommand(Menu = nameof(Resources._File), Header = nameof(Resources.GeneratePortable), MenuCategory = "Save")] + [ExportMainMenuCommand(Menu = nameof(Resources._File), Header = nameof(Resources.GeneratePortable), MenuCategory = Resources.Save)] class GeneratePdbMainMenuEntry : SimpleCommand { public override bool CanExecute(object parameter) diff --git a/ILSpy/Commands/SaveCodeContextMenuEntry.cs b/ILSpy/Commands/SaveCodeContextMenuEntry.cs index 84282eaa2..c54a2ba7b 100644 --- a/ILSpy/Commands/SaveCodeContextMenuEntry.cs +++ b/ILSpy/Commands/SaveCodeContextMenuEntry.cs @@ -93,7 +93,7 @@ namespace ICSharpCode.ILSpy.TextView { SaveFileDialog dlg = new SaveFileDialog(); dlg.FileName = "Solution.sln"; - dlg.Filter = "Visual Studio Solution file|*.sln|All files|*.*"; + dlg.Filter = Resources.VisualStudioSolutionFileSlnAllFiles; if (dlg.ShowDialog() != true) { return null; diff --git a/ILSpy/Commands/SelectPdbContextMenuEntry.cs b/ILSpy/Commands/SelectPdbContextMenuEntry.cs index 3303ca15c..b538ad708 100644 --- a/ILSpy/Commands/SelectPdbContextMenuEntry.cs +++ b/ILSpy/Commands/SelectPdbContextMenuEntry.cs @@ -18,12 +18,13 @@ using System.IO; using System.Linq; +using ICSharpCode.ILSpy.Properties; using ICSharpCode.ILSpy.TextView; using ICSharpCode.ILSpy.TreeNodes; using Microsoft.Win32; namespace ICSharpCode.ILSpy { - [ExportContextMenuEntry(Header = "Select PDB...")] + [ExportContextMenuEntry(Header = nameof(Resources.SelectPDB))] class SelectPdbContextMenuEntry : IContextMenuEntry { public void Execute(TextViewContext context) @@ -32,7 +33,7 @@ namespace ICSharpCode.ILSpy if (assembly == null) return; OpenFileDialog dlg = new OpenFileDialog(); dlg.FileName = DecompilerTextView.CleanUpName(assembly.ShortName) + ".pdb"; - dlg.Filter = "Portable PDB|*.pdb|All files|*.*"; + dlg.Filter = Resources.PortablePDBPdbAllFiles; dlg.InitialDirectory = Path.GetDirectoryName(assembly.FileName); if (dlg.ShowDialog() != true) return; diff --git a/ILSpy/Properties/Resources.Designer.cs b/ILSpy/Properties/Resources.Designer.cs index d3c5eea8c..08ee41409 100644 --- a/ILSpy/Properties/Resources.Designer.cs +++ b/ILSpy/Properties/Resources.Designer.cs @@ -441,6 +441,15 @@ namespace ICSharpCode.ILSpy.Properties { } } + /// + /// 查找类似 Cannot create PDB file for {0}, because it does not contain a PE Debug Directory Entry of type 'CodeView'. 的本地化字符串。 + /// + public static string CannotCreatePDBFile { + get { + return ResourceManager.GetString("CannotCreatePDBFile", resourceCulture); + } + } + /// /// 查找类似 Check again 的本地化字符串。 /// @@ -585,6 +594,15 @@ namespace ICSharpCode.ILSpy.Properties { } } + /// + /// 查找类似 Decompile 的本地化字符串。 + /// + public static string Decompile { + get { + return ResourceManager.GetString("Decompile", resourceCulture); + } + } + /// /// 查找类似 Decompiler 的本地化字符串。 /// @@ -838,7 +856,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// 查找类似 Transform to do-while, if possible. 的本地化字符串。 + /// 查找类似 Transform to do-while, if possible 的本地化字符串。 /// public static string DecompilerSettings_DoWhileStatement { get { @@ -847,7 +865,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// 查找类似 Transform to for, if possible. 的本地化字符串。 + /// 查找类似 Transform to for, if possible 的本地化字符串。 /// public static string DecompilerSettings_ForStatement { get { @@ -1011,7 +1029,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// 查找类似 Separate local variable declarations and initializers (int x = 5; -> int x; x = 5;), if possible. 的本地化字符串。 + /// 查找类似 Separate local variable declarations and initializers (int x = 5; -> int x; x = 5;), if possible 的本地化字符串。 /// public static string DecompilerSettings_SeparateLocalVariableDeclarations { get { @@ -1388,6 +1406,15 @@ namespace ICSharpCode.ILSpy.Properties { } } + /// + /// 查找类似 Go to token 的本地化字符串。 + /// + public static string GoToToken { + get { + return ResourceManager.GetString("GoToToken", resourceCulture); + } + } + /// /// 查找类似 Hide empty metadata tables from tree view 的本地化字符串。 /// @@ -1695,6 +1722,15 @@ namespace ICSharpCode.ILSpy.Properties { } } + /// + /// 查找类似 Portable PDB|*.pdb|All files|*.* 的本地化字符串。 + /// + public static string PortablePDBPdbAllFiles { + get { + return ResourceManager.GetString("PortablePDBPdbAllFiles", resourceCulture); + } + } + /// /// 查找类似 for ex. property getter/setter access. To get optimal decompilation results, please manually add the missing references to the list of loaded assemblies. 的本地化字符串。 /// @@ -1949,6 +1985,15 @@ namespace ICSharpCode.ILSpy.Properties { } } + /// + /// 查找类似 Select PDB... 的本地化字符串。 + /// + public static string SelectPDB { + get { + return ResourceManager.GetString("SelectPDB", resourceCulture); + } + } + /// /// 查找类似 Select version of language to output 的本地化字符串。 /// @@ -2309,6 +2354,15 @@ namespace ICSharpCode.ILSpy.Properties { } } + /// + /// 查找类似 Visual Studio Solution file|*.sln|All files|*.* 的本地化字符串。 + /// + public static string VisualStudioSolutionFileSlnAllFiles { + get { + return ResourceManager.GetString("VisualStudioSolutionFileSlnAllFiles", resourceCulture); + } + } + /// /// 查找类似 Warning: This assembly is marked as 'reference assembly', which means that it only contains metadata and no executable code. 的本地化字符串。 /// @@ -2337,7 +2391,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// 查找类似 Close all documents 的本地化字符串。 + /// 查找类似 _Close all documents 的本地化字符串。 /// public static string Window_CloseAllDocuments { get { @@ -2346,7 +2400,7 @@ namespace ICSharpCode.ILSpy.Properties { } /// - /// 查找类似 Reset layout 的本地化字符串。 + /// 查找类似 _Reset layout 的本地化字符串。 /// public static string Window_ResetLayout { get { diff --git a/ILSpy/Properties/Resources.resx b/ILSpy/Properties/Resources.resx index 5930fc5f8..67976b582 100644 --- a/ILSpy/Properties/Resources.resx +++ b/ILSpy/Properties/Resources.resx @@ -885,4 +885,22 @@ Do you want to continue? ILSpyAboutPage.txt + + Select PDB... + + + Portable PDB|*.pdb|All files|*.* + + + Decompile + + + Go to token + + + Cannot create PDB file for {0}, because it does not contain a PE Debug Directory Entry of type 'CodeView'. + + + Visual Studio Solution file|*.sln|All files|*.* + \ No newline at end of file diff --git a/ILSpy/Properties/Resources.zh-Hans.resx b/ILSpy/Properties/Resources.zh-Hans.resx index 36bbc1b90..cb3403087 100644 --- a/ILSpy/Properties/Resources.zh-Hans.resx +++ b/ILSpy/Properties/Resources.zh-Hans.resx @@ -885,4 +885,22 @@ 基类型 + + 无法创建为{0}创建PDB文件,因为它不包含PE调试目录类型 'CodeView'. + + + Visual Studio 解决方案文件(*.sln)|*.sln|所有文件(*.*)|*.* + + + 转至令牌 + + + 反编译 + + + 可携带 PDB(*.pdb)|*.pdb|所有文件(*.*)|*.* + + + 选择 PDB... + \ No newline at end of file From 3edc8860c873df77261d2997118f0c535db63114 Mon Sep 17 00:00:00 2001 From: MysticBoy Date: Fri, 31 Jul 2020 12:40:11 +0800 Subject: [PATCH 21/24] fix An attribute argument must be a constant expression, typeof expression or array creation expression of an attribute parameter type --- ILSpy/Commands/GeneratePdbContextMenuEntry.cs | 6 +++--- ILSpy/Properties/Resources.Designer.cs | 18 ++++++++++++++++++ ILSpy/Properties/Resources.resx | 6 ++++++ ILSpy/Properties/Resources.zh-Hans.resx | 6 ++++++ 4 files changed, 33 insertions(+), 3 deletions(-) diff --git a/ILSpy/Commands/GeneratePdbContextMenuEntry.cs b/ILSpy/Commands/GeneratePdbContextMenuEntry.cs index 609356f59..36330fefa 100644 --- a/ILSpy/Commands/GeneratePdbContextMenuEntry.cs +++ b/ILSpy/Commands/GeneratePdbContextMenuEntry.cs @@ -74,12 +74,12 @@ namespace ICSharpCode.ILSpy PortablePdbWriter.WritePdb(file, decompiler, options.DecompilerSettings, stream); } catch (OperationCanceledException) { output.WriteLine(); - output.WriteLine("Generation was cancelled."); + output.WriteLine(Resources.GenerationWasCancelled); throw; } } stopwatch.Stop(); - output.WriteLine("Generation complete in " + stopwatch.Elapsed.TotalSeconds.ToString("F1") + " seconds."); + output.WriteLine(string.Format(Resources.GenerationCompleteInSeconds, stopwatch.Elapsed.TotalSeconds.ToString("F1"))); output.WriteLine(); output.AddButton(null, Resources.OpenExplorer, delegate { Process.Start("explorer", "/select,\"" + fileName + "\""); }); output.WriteLine(); @@ -88,7 +88,7 @@ namespace ICSharpCode.ILSpy } } - [ExportMainMenuCommand(Menu = nameof(Resources._File), Header = nameof(Resources.GeneratePortable), MenuCategory = Resources.Save)] + [ExportMainMenuCommand(Menu = nameof(Resources._File), Header = nameof(Resources.GeneratePortable), MenuCategory = nameof(Resources.Save))] class GeneratePdbMainMenuEntry : SimpleCommand { public override bool CanExecute(object parameter) diff --git a/ILSpy/Properties/Resources.Designer.cs b/ILSpy/Properties/Resources.Designer.cs index 08ee41409..62e6bfb9b 100644 --- a/ILSpy/Properties/Resources.Designer.cs +++ b/ILSpy/Properties/Resources.Designer.cs @@ -1406,6 +1406,24 @@ namespace ICSharpCode.ILSpy.Properties { } } + /// + /// 查找类似 Generation complete in {0} seconds. 的本地化字符串。 + /// + public static string GenerationCompleteInSeconds { + get { + return ResourceManager.GetString("GenerationCompleteInSeconds", resourceCulture); + } + } + + /// + /// 查找类似 Generation was cancelled. 的本地化字符串。 + /// + public static string GenerationWasCancelled { + get { + return ResourceManager.GetString("GenerationWasCancelled", resourceCulture); + } + } + /// /// 查找类似 Go to token 的本地化字符串。 /// diff --git a/ILSpy/Properties/Resources.resx b/ILSpy/Properties/Resources.resx index 67976b582..adb29448e 100644 --- a/ILSpy/Properties/Resources.resx +++ b/ILSpy/Properties/Resources.resx @@ -903,4 +903,10 @@ Do you want to continue? Visual Studio Solution file|*.sln|All files|*.* + + Generation complete in {0} seconds. + + + Generation was cancelled. + \ No newline at end of file diff --git a/ILSpy/Properties/Resources.zh-Hans.resx b/ILSpy/Properties/Resources.zh-Hans.resx index cb3403087..99f0552a2 100644 --- a/ILSpy/Properties/Resources.zh-Hans.resx +++ b/ILSpy/Properties/Resources.zh-Hans.resx @@ -903,4 +903,10 @@ 选择 PDB... + + 生成已取消。 + + + 生成完成,耗时 {0} 秒. + \ No newline at end of file From d1bced7eb3b11cd8006905545b3a46cfedd3c80b Mon Sep 17 00:00:00 2001 From: MysticBoy Date: Fri, 31 Jul 2020 13:36:40 +0800 Subject: [PATCH 22/24] fix for Berrysoft 's suggestion --- ILSpy.AddIn/zh-Hans/extension.vsixlangpack | 2 +- ILSpy/Properties/Resources.zh-Hans.resx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ILSpy.AddIn/zh-Hans/extension.vsixlangpack b/ILSpy.AddIn/zh-Hans/extension.vsixlangpack index 2ebb0cd5a..06e466b6e 100644 --- a/ILSpy.AddIn/zh-Hans/extension.vsixlangpack +++ b/ILSpy.AddIn/zh-Hans/extension.vsixlangpack @@ -2,6 +2,6 @@ ILSpy - 可以在Visual Studio中直接打开反编译工具ILSpy. + 可以在Visual Studio中直接打开反编译工具ILSpy。 \ No newline at end of file diff --git a/ILSpy/Properties/Resources.zh-Hans.resx b/ILSpy/Properties/Resources.zh-Hans.resx index 99f0552a2..2ecf5a42b 100644 --- a/ILSpy/Properties/Resources.zh-Hans.resx +++ b/ILSpy/Properties/Resources.zh-Hans.resx @@ -904,9 +904,9 @@ 选择 PDB... - 生成已取消。 + 已取消生成。 - 生成完成,耗时 {0} 秒. + 生成完成,耗时 {0} 秒。 \ No newline at end of file From 383d02611f655ae03c4cf8d18e9ee5b823ec5482 Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Fri, 31 Jul 2020 09:55:14 +0200 Subject: [PATCH 23/24] Add BuildTools/sort-resx.ps1 and sort contents of resx files by key --- BuildTools/sort-resx.ps1 | 18 + ILSpy.ReadyToRun/Properties/Resources.resx | 10 +- .../Properties/Resources.zh-Hans.resx | 6 +- ILSpy/ILSpy.csproj | 9 +- ILSpy/Properties/Resources.resx | 1060 ++++++++-------- ILSpy/Properties/Resources.zh-Hans.resx | 1064 ++++++++--------- 6 files changed, 1096 insertions(+), 1071 deletions(-) create mode 100644 BuildTools/sort-resx.ps1 diff --git a/BuildTools/sort-resx.ps1 b/BuildTools/sort-resx.ps1 new file mode 100644 index 000000000..d85d46849 --- /dev/null +++ b/BuildTools/sort-resx.ps1 @@ -0,0 +1,18 @@ +$ErrorActionPreference = "Stop"; + +[Reflection.Assembly]::LoadWithPartialName("System.Xml.Linq") | Out-Null + +Write-Host "Sorting .resx files..."; + +Get-ChildItem -Include *.resx -Recurse | foreach ($_) { + Write-Host $_.FullName; + + $doc = [System.Xml.Linq.XDocument]::Load($_.FullName); + $descendants = [System.Linq.Enumerable]::ToArray($doc.Descendants("data")); + + [System.Xml.Linq.Extensions]::Remove($descendants); + $ordered = [System.Linq.Enumerable]::OrderBy($descendants, [System.Func[System.Xml.Linq.XElement,string]] { param ($e) $e.Attribute("name").Value }, [System.StringComparer]::Ordinal); + $doc.Root.Add($ordered); + $doc.Save($_.FullName); +} + diff --git a/ILSpy.ReadyToRun/Properties/Resources.resx b/ILSpy.ReadyToRun/Properties/Resources.resx index 67b36ef54..8c6d1ce8c 100644 --- a/ILSpy.ReadyToRun/Properties/Resources.resx +++ b/ILSpy.ReadyToRun/Properties/Resources.resx @@ -117,16 +117,16 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - ReadyToRun - Disassembly Format - - Show Unwind Info + + ReadyToRun Show Debug Info + + Show Unwind Info + \ No newline at end of file diff --git a/ILSpy.ReadyToRun/Properties/Resources.zh-Hans.resx b/ILSpy.ReadyToRun/Properties/Resources.zh-Hans.resx index f13237c18..9430c8a3d 100644 --- a/ILSpy.ReadyToRun/Properties/Resources.zh-Hans.resx +++ b/ILSpy.ReadyToRun/Properties/Resources.zh-Hans.resx @@ -117,12 +117,12 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - ReadyToRun - 反汇编格式 + + ReadyToRun + 显示调试信息 diff --git a/ILSpy/ILSpy.csproj b/ILSpy/ILSpy.csproj index c19321de3..197bd9ed7 100644 --- a/ILSpy/ILSpy.csproj +++ b/ILSpy/ILSpy.csproj @@ -844,7 +844,14 @@ - + + + + powershell -NoProfile -ExecutionPolicy Bypass -File BuildTools/sort-resx.ps1 + + + + diff --git a/ILSpy/Properties/Resources.resx b/ILSpy/Properties/Resources.resx index adb29448e..32fc39d61 100644 --- a/ILSpy/Properties/Resources.resx +++ b/ILSpy/Properties/Resources.resx @@ -117,796 +117,796 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Navigation + + About - - Back + + Add preconfigured list... - - Forward + + Add shell integration - - _Check for Updates + + This will add "{0}" to the registry at "HKCU\Software\Classes\dllfile\shell\Open with ILSpy\command" and "HKCU\Software\Classes\exefile\shell\Open with ILSpy\command" to allow opening .dll and .exe files from the Windows Explorer context menu. + +Do you want to continue? - - _Help + + |All Files|*.* - - _File + + Allow multiple instances - - Open + + Always use braces - - DEBUG -- Disassemble All + + Analyze - - E_xit + + Assemblies - - Exit + + Assembly - - Save + + The directory is not empty. File will be overwritten. +Are you sure you want to continue? - - _Open... + + Project Directory not empty - - Open from _GAC... + + Automatically check for updates every week - - Manage assembly _lists... + + Back - - Reload all assemblies + + Base Types - - DEBUG -- Decompile All + + C_lone - - DEBUG -- Decompile 100x + + Cancel - - Generate portable PDB + + Entity could not be resolved. Cannot analyze entities from missing assembly references. Add the missing reference and try again. - - Reload all assemblies + + Cannot create PDB file for {0}, because it does not contain a PE Debug Directory Entry of type 'CodeView'. - - _Reload + + Check again - - _Remove Assemblies with load errors + + Check for updates - - Remove + + Checking... - - _Save Code... + + Close - - _Show debug steps + + Collapse all tree nodes - - _View + + Copy - - Sort assembly _list by name + + Copy error message - - View + + Copy FQ Name - - Sort assembly list by name + + Create - - _Collapse all tree nodes + + Culture - - Collapse all tree nodes + + DEBUG -- Decompile All - - Name + + DEBUG -- Decompile 100x - - Value (as string) + + DEBUG -- Disassemble All - - Type + + DEBUG -- Dump PDB as XML - - String Table + + Debug Steps - - Value + + Debug this step - - Use variable names from debug symbols, if available + + Decompile - - Show info from debug symbols, if available + + Decompile to new tab - - Show XML documentation in decompiled code + + Decompiler - - Enable folding on all blocks in braces + + Allow extension 'Add' methods in collection initializer expressions - - Remove dead and side effect free code + + Use 'ref' extension methods - - Insert using declarations + + Always cast targets of explicit interface implementation calls - + + Always show enum member values + + Always use braces - - Expand member definitions after decompilation + + Apply Windows Runtime projections on loaded assemblies - - Font + + Array initializer expressions - - Other options + + Decompile async IAsyncEnumerator methods - - Show line numbers + + Decompile ?. and ?[] operators - - Show metadata tokens + + Decompile anonymous methods/lambdas - - Enable word wrap + + Decompile anonymous types - - Sort results by fitness + + Decompile async methods - - Allow multiple instances + + Decompile automatic events - - Cancel + + Decompile automatic properties - - OK + + Decompile await in catch/finally blocks - - Search + + Decompile C# 1.0 'public unsafe fixed int arr[10];' members - - Search for t:TypeName, m:Member or c:Constant; use exact match (=term), 'should not contain' (-term) or 'must contain' (+term); use /reg(ular)?Ex(pressions)?/ or both - t:/Type(Name)?/... + + Decompile [DecimalConstant(...)] as simple literal values - - _Search for: + + Decompile enumerators (yield return) - - Location + + Decompile expression trees - - Decompiling... + + Decompile use of the 'dynamic' type - - Copy + + Detect awaited using and foreach statements - - Editor + + Detect foreach statements - - Toggle All Folding + + Detect lock statements - - Folding + + Detect switch on string - - Resources file (*.resources)|*.resources|Resource XML file|*.resx + + Detect tuple comparisons - - _Remove + + Detect using statements - - _Load Dependencies + + Dictionary initializer expressions - - Dependencies + + Transform to do-while, if possible - - _Add To Main List + + F#-specific options - - _Open Containing Folder + + Transform to for, if possible - - Shell + + Include XML documentation comments in the decompiled code - - _Open Command Line Here + + Insert using declarations - - Copy FQ Name + + Introduce local functions - - Loading... + + Introduce static local functions - - Copy error message + + IsByRefLikeAttribute should be replaced with 'ref' modifiers on structs - - Derived Types + + IsReadOnlyAttribute should be replaced with 'readonly'/'in' modifiers on structs/parameters - - References + + IsUnmanagedAttribute on type parameters should be replaced with 'unmanaged' constraints - - Resources + + Use nint/nuint types - - _About + + Nullable reference types - - ILSpy version + + Object/collection initializer expressions - - Automatically check for updates every week + + Other - - Check for updates + + Ranges - - Checking... + + Read-only methods - - You are using the latest release. + + Remove dead and side effect free code (use with caution!) - - Version {0} is available. + + Remove dead stores (use with caution!) - - Download + + Remove optional arguments, if possible - - You are using a nightly build newer than the latest release. + + Separate local variable declarations and initializers (int x = 5; -> int x; x = 5;), if possible - - Show public, private and internal + + Show info from debug symbols, if available - - Show public, private and internal + + Use discards - - Stand by... + + Use expression-bodied member syntax for get-only properties - - Status + + Use extension method syntax - - A new ILSpy version is available. + + Use implicit conversions between tuple types - - No update for ILSpy found. + + Use implicit method group conversions - - Check again + + Use LINQ expression syntax - - Searching... + + Use lambda syntax, if possible - - Search aborted, more than 1000 results found. + + Use lifted operators for nullables - - Search... + + Use named arguments - - Display Code + + Use non-trailing named arguments - - Save Code + + Use out variable declarations - - |All Files|*.* + + Use pattern-based fixed statement - - Open Explorer + + Use new SDK style format for generated project files (*.csproj) - - Select All + + Use stackalloc initializer syntax - - Toggle Folding + + Use string interpolation - - Analyze + + Use throw expressions - - Enter a list name: + + Use tuple type syntax - - Create + + Use variable names from debug symbols, if available - - New list + + VB-specific options - - Select assemblies to open: + + The settings selected below are applied to the decompiler output in combination with the selection in the language drop-down. Selecting a lower language version in the drop-down will deactivate all selected options of the higher versions. Note that some settings implicitly depend on each other, e.g.: LINQ expressions cannot be introduced without first transforming static calls to extension method calls. - - Nuget Package Browser + + Decompiling... - - Open From GAC + + Dependencies - - _Search: + + Derived Types - - Reference Name + + Display - - Version + + Display Code - - Public Key Token + + Font: - - Manage Assembly Lists + + Download - - Select a list: + + E_xit - - _New + + Editor - - _Open + + Enable folding on all blocks in braces - - _Delete + + Enable word wrap - - _Reset + + Enter a list name: - - Options + + Exit - - _Options... + + Expand member definitions after decompilation - - Display + + Expand using declarations after decompilation - - Decompiler + + Folding - - Misc + + Font - - Font: + + Forward - - Size: + + Generate portable PDB - - Debug Steps + + Generation complete in {0} seconds. - - UseFieldSugar + + Generation was cancelled. - - UseLogicOperationSugar + + Go to token - - ShowILRanges - - - ShowChildIndexInBlock - - - Show state before this step + + Hide empty metadata tables from tree view - - Show state after this step + + Highlight matching braces - - Debug this step + + ILSpyAboutPage.txt - - Warning: This assembly is marked as 'reference assembly', which means that it only contains metadata and no executable code. + + ILSpy version - - Warning: Some assembly references could not be resolved automatically. This might lead to incorrect decompilation of some parts, + + A new ILSpy version is available. - - for ex. property getter/setter access. To get optimal decompilation results, please manually add the missing references to the list of loaded assemblies. + + Indent size: - - Show assembly load log + + Indentation - - Other Resources + + Insert using declarations - - Use tabs instead of spaces + + Are you sure that you want to delete the selected assembly list? - - Show metadata tokens in base 10 + + A list with the same name was found. - - Expand using declarations after decompilation + + Are you sure that you want to remove all assembly lists and recreate the default assembly lists? Load assemblies that were loaded in the last instance. - - Indentation - - - Indent size: + + Loading... - - Tab size: + + Location - - Search (Ctrl+Shift+F or Ctrl+E) + + Manage Assembly Lists - - Show all types and members + + Manage assembly _lists... - - Other + + Misc - - Show _all types and members + + Name - - The settings selected below are applied to the decompiler output in combination with the selection in the language drop-down. Selecting a lower language version in the drop-down will deactivate all selected options of the higher versions. Note that some settings implicitly depend on each other, e.g.: LINQ expressions cannot be introduced without first transforming static calls to extension method calls. + + Navigation - - Decompile enumerators (yield return) + + Navigation failed because the target is hidden or a compiler-generated class.\n +Please disable all filters that might hide the item (i.e. activate "View > Show internal types and members") and try again. - - Decompile anonymous methods/lambdas + + New list - - Decompile anonymous types + + New Tab - - Use lambda syntax, if possible + + Nuget Package Browser - - Decompile expression trees + + OK - - Decompile use of the 'dynamic' type + + Open - - Decompile async methods + + Open Explorer - - Decompile await in catch/finally blocks + + Open From GAC - - Decompile [DecimalConstant(...)] as simple literal values + + Open from _GAC... - - Decompile C# 1.0 'public unsafe fixed int arr[10];' members + + _Delete - - Use lifted operators for nullables + + _Open - - Decompile ?. and ?[] operators + + Options - - Decompile automatic properties + + Other - - Decompile automatic events + + Other options - - Detect using statements + + Other Resources - - Other + + Portable PDB|*.pdb|All files|*.* - - Always use braces + + for ex. property getter/setter access. To get optimal decompilation results, please manually add the missing references to the list of loaded assemblies. - - Detect foreach statements + + Public Key Token - - Detect lock statements + + R_ename - - Detect switch on string + + Reference Name - - Insert using declarations + + References - - Use extension method syntax + + Reload all assemblies - - Use LINQ expression syntax + + Reload all assemblies - - Use implicit method group conversions + + Remove - - Always cast targets of explicit interface implementation calls + + Remove dead and side effect free code - - Use variable names from debug symbols, if available + + Remove shell integration - - Array initializer expressions + + This will remove "{0}" from the registry at "HKCU\Software\Classes\dllfile\shell\Open with ILSpy\command" and "HKCU\Software\Classes\exefile\shell\Open with ILSpy\command". + +Do you want to continue? - - Object/collection initializer expressions + + Rename list - - Dictionary initializer expressions + + Reset to defaults - - Allow extension 'Add' methods in collection initializer expressions + + Do you really want to load the default settings for the active page? - - Use string interpolation + + Resources file (*.resources)|*.resources|Resource XML file|*.resx - - Include XML documentation comments in the decompiled code + + Save - - Use expression-bodied member syntax for get-only properties + + Save Code - - Use out variable declarations + + Search... - - Use discards + + Search aborted, more than 1000 results found. - - IsByRefLikeAttribute should be replaced with 'ref' modifiers on structs + + Search (Ctrl+Shift+F or Ctrl+E) - - IsReadOnlyAttribute should be replaced with 'readonly'/'in' modifiers on structs/parameters + + Search Microsoft Docs... - - IsUnmanagedAttribute on type parameters should be replaced with 'unmanaged' constraints + + Search - - Use stackalloc initializer syntax + + Searching... - - Use tuple type syntax + + Select All - - Use implicit conversions between tuple types + + Select assemblies to open: - - Detect tuple comparisons + + Select a list of assemblies - - Use named arguments + + Select language to decompile to - - Use non-trailing named arguments - - - Remove optional arguments, if possible - - - Introduce local functions + + Select a list: - - Nullable reference types + + Select PDB... - - Show info from debug symbols, if available + + Select version of language to output - - VB-specific options + + Shell - - F#-specific options + + Show all types and members - - Remove dead and side effect free code (use with caution!) + + Show assembly load log - - Apply Windows Runtime projections on loaded assemblies + + ShowChildIndexInBlock - - Search Microsoft Docs... + + Show XML documentation in decompiled code - - Entity could not be resolved. Cannot analyze entities from missing assembly references. Add the missing reference and try again. + + ShowILRanges - - Use throw expressions + + Show info from debug symbols, if available - - Use 'ref' extension methods + + Show public, private and internal - - The directory is not empty. File will be overwritten. -Are you sure you want to continue? + + Show line numbers - - Project Directory not empty + + Show metadata tokens - - Highlight matching braces + + Show metadata tokens in base 10 - - Select language to decompile to + + Show only public types and members - - Select version of language to output + + Show state after this step - - Remove dead stores (use with caution!) + + Show state before this step - - Always show enum member values + + Show _all types and members - - Show only public types and members + + Show public, private and internal Show only _public types and members - - Assembly + + Size: - - Decompile to new tab + + Sort assembly list by name - - Decompile async IAsyncEnumerator methods + + Sort assembly _list by name - - Read-only methods + + Sort results by fitness - - Detect awaited using and foreach statements + + Stand by... - - About + + Status - - Assemblies + + String Table - - _Close all documents + + Tab size: - - _Reset layout + + Toggle All Folding - - _Window + + Type - - Use pattern-based fixed statement + + No update for ILSpy found. - - Transform to do-while, if possible + + UseFieldSugar - - Transform to for, if possible + + UseLogicOperationSugar - - Separate local variable declarations and initializers (int x = 5; -> int x; x = 5;), if possible + + Use tabs instead of spaces - - Reset to defaults + + You are using the latest release. - - Do you really want to load the default settings for the active page? + + You are using a nightly build newer than the latest release. - - Select a list of assemblies + + Value - - Close + + Value (as string) - - C_lone + + Use variable names from debug symbols, if available - - Are you sure that you want to delete the selected assembly list? + + Version - - A list with the same name was found. + + Version {0} is available. - - Are you sure that you want to remove all assembly lists and recreate the default assembly lists? + + View - - Introduce static local functions + + Visual Studio Solution file|*.sln|All files|*.* - - Hide empty metadata tables from tree view + + Warning: This assembly is marked as 'reference assembly', which means that it only contains metadata and no executable code. - - Navigation failed because the target is hidden or a compiler-generated class.\n -Please disable all filters that might hide the item (i.e. activate "View > Show internal types and members") and try again. + + Warning: Some assembly references could not be resolved automatically. This might lead to incorrect decompilation of some parts, - - Add shell integration + + Search for t:TypeName, m:Member or c:Constant; use exact match (=term), 'should not contain' (-term) or 'must contain' (+term); use /reg(ular)?Ex(pressions)?/ or both - t:/Type(Name)?/... - - This will add "{0}" to the registry at "HKCU\Software\Classes\dllfile\shell\Open with ILSpy\command" and "HKCU\Software\Classes\exefile\shell\Open with ILSpy\command" to allow opening .dll and .exe files from the Windows Explorer context menu. - -Do you want to continue? + + _Close all documents - - Remove shell integration + + _Reset layout - - This will remove "{0}" from the registry at "HKCU\Software\Classes\dllfile\shell\Open with ILSpy\command" and "HKCU\Software\Classes\exefile\shell\Open with ILSpy\command". - -Do you want to continue? + + _About - - Ranges + + _Add To Main List - - Add preconfigured list... + + _Check for Updates - - R_ename + + _Collapse all tree nodes - - Rename list + + _File - - Culture + + _Help - - New Tab + + _Load Dependencies - - Use new SDK style format for generated project files (*.csproj) + + _New - - Use nint/nuint types + + _Open... - - Base Types + + _Open Command Line Here - - DEBUG -- Dump PDB as XML + + _Open Containing Folder - - ILSpyAboutPage.txt + + _Options... - - Select PDB... + + _Reload - - Portable PDB|*.pdb|All files|*.* + + _Remove - - Decompile + + _Remove Assemblies with load errors - - Go to token + + _Reset - - Cannot create PDB file for {0}, because it does not contain a PE Debug Directory Entry of type 'CodeView'. + + Resources - - Visual Studio Solution file|*.sln|All files|*.* + + _Save Code... - - Generation complete in {0} seconds. + + _Search: - - Generation was cancelled. + + _Search for: + + + _Show debug steps + + + Toggle Folding + + + _View + + + _Window \ No newline at end of file diff --git a/ILSpy/Properties/Resources.zh-Hans.resx b/ILSpy/Properties/Resources.zh-Hans.resx index 2ecf5a42b..5636a202e 100644 --- a/ILSpy/Properties/Resources.zh-Hans.resx +++ b/ILSpy/Properties/Resources.zh-Hans.resx @@ -117,796 +117,796 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 导航 + + 关于 - - 后退 + + 添加预配置列表... - - 前进 + + 添加文件资源管理器集成 - - 检查更新(_C) + + 这会在注册表的“HKCU\Software\Classes\dllfile\shell\Open with ILSpy\command”与“HKCU\Software\Classes\exefile\shell\Open with ILSpy\command”中添加“{0}”。这样在文件资源管理器中,.dll 文件与 .exe 文件可以在右键菜单中使用 ILSpy 打开。 + +确定继续? - - 帮助(_H) + + |所有文件|*.* - - 文件(_F) + + 允许多个实例 - - 打开 + + 始终使用大括号 - - 调试 -- 全部反编译到 IL + + 分析 - - 退出(_X) + + 程序集 - - 退出 + + 程序集 - - 保存 + + 目录非空。文件会被覆盖。 +确定继续? - - 打开(_O)... + + 项目目录非空 - - 从 GAC 中打开(_G)... + + 每周自动检查更新 - - 重新加载全部程序集 + + 后退 - - 调试 -- 全部反编译到 C# + + 基类型 - - 调试 -- 反编译100次 + + 克隆(_L) - - 生成可携带 PDB + + 取消 - - 重新加载程序集 + + 无法解析实体。可能是由于缺少程序集引用。请添加缺少的程序集并重试。 - - 重新加载(_R) + + 无法创建为{0}创建PDB文件,因为它不包含PE调试目录类型 'CodeView'. - - 移除程序集及其加载错误(_R) + + 再次检查 - - 移除 + + 检查更新 - - 保存代码(_S)... + + 检查... - - 显示调试步骤(_S) + + 关闭 - - 视图(_V) + + 折叠所有树节点 - - 按名称排列程序集列表(_L) + + 复制 - - 视图 + + 复制错误信息 - - 按名称排列程序集列表 + + 复制完全限定名称 - - 折叠所有树节点(_C) + + 创建 - - 折叠所有树节点 + + 区域 - - 名称 + + 调试 -- 全部反编译到 C# - - 值(以字符串形式) + + 调试 -- 反编译100次 - - 类型 + + 调试 -- 全部反编译到 IL - - 字符串表 + + 调试 -- PDB 转储为 XML - - + + 调试步骤 - - 资源 + + 调试此步骤 - - 下载 + + 反编译 - - 检查... + + 在新选项卡反编译 - - 检查更新 + + 反编译器 - - 关于(_A) + + 在集合初始化器表达式中允许扩展 Add 方法 - - 加载中... + + 使用 ref 扩展方法 - - 引用 + + 始终强制转换显式接口实现调用的目标 - - ILSpy 版本 + + 始终显示枚举数值 - - 正在反编译... + + 始终使用大括号 - - 复制 + + 在已加载的程序集上应用 Windows 运行时投影 - - 编辑器 + + 数组初始化器表达式 - - 位置 + + 反编译异步 IAsyncEnumerator 方法 - - 搜索(_S): + + 反编译 ?. 和 ?[] 运算符 - - 移除(_R) + + 反编译匿名方法或 lambda - - 加载依赖(_L) + + 反编译匿名类型 - - 依赖(_L) + + 反编译异步方法 - - 确定 + + 反编译自动事件 - - 搜索 + + 反编译自动属性 - - 状态 + + 反编译 catch/finally 内的 await - - 字体 + + 反编译 C# 1.0“public unsafe fixed int arr[10];”成员 - - 其他选项 + + 反编译 [DecimalConstant(...)] 作为简单的文本值 - - 显示行号 + + 反编译枚举器(yield return) - - 取消 + + 反编译表达树 - - 折叠 + + 反编译使用 dynamic 类型 - - 添加到主列表(_A) + + 检测使用了 await 的 using 和 foreach 块 - - 打开包含文件夹(_O) + + 检测 foreach 语句 - - Shell + + 检测 lock 语句 - - 在这里打开命令行(_O) + + 检测 switch 的字符串 - - 复制完全限定名称 + + 检测元组比较 - - 复制错误信息 - - - 使用调试符号中的变量名称(如果可用) - - - 显示调试符号的信息(如果可用) - - - 在反编译代码中显示 XML 文档 - - - 在大括号中的所有块上启用折叠 - - - 删除死代码和无副作用的代码 - - - 插入使用声明 + + 检测 using 语句 - - 始终使用大括号 + + Dictionary 初始值设定项表达式 - - 在反编译后展开成员定义 + + 如果可能,转换到 do-while 块 - - 显示元数据标记 + + F# 特定选项 - - 启用自动换行 + + 如果可能,转换到 for 块 - - 允许多个实例 + + 在反编译代码中包括 XML 文档注释 - - 切换所有折叠 + + 插入 using 声明 - - 派生类型 + + 引入局部函数(local functions) - - 资源文件|*.resources|XML资源文件|*.resx + + 引入静态局部函数(static local functions) - - 排序结果自适应 + + IsByRefLikeAttribute 应替换为结构上的 ref 修饰符 - - 重置(_R) + + IsReadOnlyAttribute 应替为结构参数上的 readonly/in 中的修饰符 - - 删除(_D) + + 类型参数上的 IsUnmanagedAttribute 应替换为 unmanaged 约束 - - 打开(_O) + + 使用 nint/nuint 类型 - - 引用名称 + + 可空引用类型 - - 版本 + + 对象或集合初始化器表达式 - - 公钥标记 + + 其他 - - 选择一个列表: + + 范围(ranges) - - 搜索(_S): + + 只读方法 - - 从 GAC 中打开 + + 删除死代码和无副作用的代码(请谨慎使用) - - Nuget 包浏览器 + + 删除死值(请谨慎使用) - - 选择要打开的程序集: + + 如果可能,删除可选参数 - - 创建 + + 如果可能,分离局部变量的声明与初始化(int x = 5; -> int x; x = 5;) - - 输入列表名称: + + 显示调试符号中的信息(如果可用) - - 分析 + + 使用丢弃物 - - 切换折叠 + + 对仅获取属性使用表达式内部成员语法 - - 全部选择 + + 使用扩展方法语法 - - 打开资源管理器 + + 在元组类型之间使用隐式转换 - - |所有文件|*.* + + 使用隐式方法组转换 - - 保存代码 + + 使用 LINQ 表达式语法 - - 显示代码 + + 如果可能, 请使用 lambda 语法 - - 搜索... + + 对空变量使用提升运算符 - - 搜索已中止,发现超过1000个结果。 + + 使用命名参数 - - 搜索... + + 使用非尾随命名参数 - - 再次检查 + + 使用外部变量声明 - - 找不到 ILSpy 的更新。 + + 使用基于模式的 fixed 语句 - - 有新的 ILSpy 版本已经可用。 + + 使用新的 SDK 格式(*.csproj)生成项目文件 - - 就绪... + + 使用 stackalloc 初始化器语法 - - 显示内部类型和成员 + + 使用字符串插值 - - 显示内部类型和成员(_I) + + 使用 throw 表达式 - - 您使用的是每日构建版本,比最新版本更新。 + + 使用元组类型语法 - - 版本 {0} 已可用。 + + 使用调试符号中的变量名(如果可用) - - 您使用的是最新版本。 + + VB 特定选项 - - 每周自动检查更新 + + 下面选择的设置将与语言下拉列表中的选择一起应用于反编译程序输出。在下拉列表中选择较低的语言版本将停用较高版本的所有选定选项。请注意, 某些设置隐式依赖于彼此, 例如: 如果不首先将静态调用转换为扩展方法调用, 则无法引入 LINQ 表达式。 - - 搜索 t:类型、m:成员 或 c:常量;使用完全匹配(=term)、不应包含(-term)或必须包含(+term);使用 /正(则)?表达(式)?/;或同时使用二者 - t:/类(型)?/... + + 正在反编译... - - 选项 + + 依赖(_L) - - 选项(_O)... + + 派生类型 显示 - - 反编译器 - - - 杂项 + + 显示代码 字体: - - 大小: + + 下载 - - 调试步骤 + + 退出(_X) - - 使用 fld 语法糖 + + 编辑器 - - 使用 logic 语法糖 + + 在大括号中的所有块上启用折叠 - - 显示 IL 范围 + + 启用自动换行 - - 在块中显示子索引 + + 输入列表名称: - - 在此步骤之前显示状态 + + 退出 - - 在此步骤之后显示状态 + + 在反编译后展开成员定义 - - 调试此步骤 + + 反编译后展开引用和声明 - - 警告:此程序集被标记为“引用程序集”,这意味着它只包含元数据,没有可执行代码。 + + 折叠 - - 警告:某些程序集引用无法自动解析。这可能会导致某些部分反编译错误, + + 字体 - - 例如属性 getter/setter 访问。要获得最佳反编译结果,请手动将缺少的引用添加到加载的程序集列表中。 + + 前进 - - 显示程序集加载日志 + + 生成可携带 PDB - - 其他资源 + + 生成完成,耗时 {0} 秒。 - - 使用 Tab 替代空格 + + 已取消生成。 - - 使用十进制显示元数据标记 + + 转至令牌 - - 反编译后展开引用和声明 + + 在树视图中隐藏空的元数据表 - - 加载在最后一个实例中加载的程序集。 + + 高亮配对的大括号 - - 缩进 + + ILSpyAboutPage_zh_Hans.txt + + + ILSpy 版本 + + + 有新的 ILSpy 版本已经可用。 缩进长度: - - Tab 长度: - - - 搜索(Ctrl + Shift + F 或 Ctrl + E) + + 缩进 - - 显示所有类型和成员 + + 插入使用声明 - - 其他 + + 是否删除选中的程序集列表? - - 显示所有类型和成员(_A) + + 已有同名的列表。 - - 下面选择的设置将与语言下拉列表中的选择一起应用于反编译程序输出。在下拉列表中选择较低的语言版本将停用较高版本的所有选定选项。请注意, 某些设置隐式依赖于彼此, 例如: 如果不首先将静态调用转换为扩展方法调用, 则无法引入 LINQ 表达式。 + + 是否删除所有程序集列表,并重建默认程序集列表? - - 反编译枚举器(yield return) + + 加载在最后一个实例中加载的程序集。 - - 反编译匿名方法或 lambda + + 加载中... - - 反编译匿名类型 + + 位置 - - 如果可能, 请使用 lambda 语法 + + 管理程序集列表 - - 反编译表达树 + + 管理程序集列表(_L)... - - 反编译使用 dynamic 类型 + + 杂项 - - 反编译异步方法 + + 名称 - - 反编译 catch/finally 内的 await + + 导航 - - 反编译 [DecimalConstant(...)] 作为简单的文本值 + + 导航失败,因为目标是隐藏的或编译器生成的类。\n +请禁用所有的、可能隐藏它们的筛选器(例如,启用“视图 > 显示内部类型和成员”),并重试。 - - 反编译 C# 1.0“public unsafe fixed int arr[10];”成员 + + 新建列表 - - 对空变量使用提升运算符 + + 新选项卡 - - 反编译 ?. 和 ?[] 运算符 + + Nuget 包浏览器 - - 反编译自动属性 + + 确定 - - 反编译自动事件 + + 打开 - - 检测 using 语句 + + 打开资源管理器 - - 其他 + + 从 GAC 中打开 - - 始终使用大括号 + + 从 GAC 中打开(_G)... - - 检测 foreach 语句 + + 删除(_D) - - 检测 lock 语句 + + 打开(_O) - - 检测 switch 的字符串 + + 选项 - - 插入 using 声明 + + 其他 - - 使用扩展方法语法 + + 其他选项 - - 使用 LINQ 表达式语法 + + 其他资源 - - 使用隐式方法组转换 + + 可携带 PDB(*.pdb)|*.pdb|所有文件(*.*)|*.* - - 始终强制转换显式接口实现调用的目标 + + 例如属性 getter/setter 访问。要获得最佳反编译结果,请手动将缺少的引用添加到加载的程序集列表中。 - - 使用调试符号中的变量名(如果可用) + + 公钥标记 - - 数组初始化器表达式 + + 重命名(_E) - - 对象或集合初始化器表达式 + + 引用名称 - - Dictionary 初始值设定项表达式 + + 引用 - - 在集合初始化器表达式中允许扩展 Add 方法 + + 重新加载程序集 - - 使用字符串插值 + + 重新加载全部程序集 - - 在反编译代码中包括 XML 文档注释 + + 移除 - - 对仅获取属性使用表达式内部成员语法 + + 删除死代码和无副作用的代码 - - 使用外部变量声明 + + 移除文件资源管理器集成 - - 使用丢弃物 + + 这会在注册表的“HKCU\Software\Classes\dllfile\shell\Open with ILSpy\command”与“HKCU\Software\Classes\exefile\shell\Open with ILSpy\command”中移除“{0}”。 + +确定继续? - - IsByRefLikeAttribute 应替换为结构上的 ref 修饰符 + + 重命名列表 - - IsReadOnlyAttribute 应替为结构参数上的 readonly/in 中的修饰符 + + 还原到默认值 - - 类型参数上的 IsUnmanagedAttribute 应替换为 unmanaged 约束 + + 是否为活动页面加载默认值? - - 使用 stackalloc 初始化器语法 + + 资源文件|*.resources|XML资源文件|*.resx - - 使用元组类型语法 + + 保存 - - 在元组类型之间使用隐式转换 + + 保存代码 - - 检测元组比较 + + 搜索... - - 使用命名参数 + + 搜索已中止,发现超过1000个结果。 - - 使用非尾随命名参数 + + 搜索(Ctrl + Shift + F 或 Ctrl + E) - - 如果可能,删除可选参数 + + 搜索 Microsoft Docs... - - 引入局部函数(local functions) + + 搜索 - - 可空引用类型 + + 搜索... - - 显示调试符号中的信息(如果可用) + + 全部选择 - - VB 特定选项 + + 选择要打开的程序集: - - F# 特定选项 + + 选择一个程序集列表 - - 删除死代码和无副作用的代码(请谨慎使用) + + 选择一个反编译目标语言 - - 在已加载的程序集上应用 Windows 运行时投影 + + 选择一个列表: - - 搜索 Microsoft Docs... + + 选择 PDB... - - 关于 + + 选择输出语言的版本 - - 使用新的 SDK 格式(*.csproj)生成项目文件 + + Shell - - 新建(_N) + + 显示所有类型和成员 - - 窗口(_W) + + 显示程序集加载日志 - - 添加预配置列表... + + 在块中显示子索引 - - 添加文件资源管理器集成 + + 在反编译代码中显示 XML 文档 - - 这会在注册表的“HKCU\Software\Classes\dllfile\shell\Open with ILSpy\command”与“HKCU\Software\Classes\exefile\shell\Open with ILSpy\command”中添加“{0}”。这样在文件资源管理器中,.dll 文件与 .exe 文件可以在右键菜单中使用 ILSpy 打开。 - -确定继续? + + 显示 IL 范围 - - 程序集 + + 显示调试符号的信息(如果可用) - - 程序集 + + 显示内部类型和成员 - - 目录非空。文件会被覆盖。 -确定继续? + + 显示行号 - - 项目目录非空 + + 显示元数据标记 - - 克隆(_L) + + 使用十进制显示元数据标记 - - 区域 + + 只显示公有类型和成员 - - 关闭 + + 在此步骤之后显示状态 - - 无法解析实体。可能是由于缺少程序集引用。请添加缺少的程序集并重试。 + + 在此步骤之前显示状态 - - 使用 ref 扩展方法 + + 显示所有类型和成员(_A) - - 始终显示枚举数值 + + 显示内部类型和成员(_I) - - 反编译异步 IAsyncEnumerator 方法 + + 只显示公有类型和成员(_P) - - 检测使用了 await 的 using 和 foreach 块 + + 大小: - - 如果可能,转换到 do-while 块 + + 按名称排列程序集列表 - - 如果可能,转换到 for 块 + + 按名称排列程序集列表(_L) - - 引入静态局部函数(static local functions) + + 排序结果自适应 - - 范围(ranges) + + 就绪... - - 只读方法 + + 状态 - - 删除死值(请谨慎使用) + + 字符串表 - - 如果可能,分离局部变量的声明与初始化(int x = 5; -> int x; x = 5;) + + Tab 长度: - - 使用基于模式的 fixed 语句 + + 切换所有折叠 - - 使用 throw 表达式 + + 类型 - - 在新选项卡反编译 + + 找不到 ILSpy 的更新。 - - 在树视图中隐藏空的元数据表 + + 使用 fld 语法糖 - - 高亮配对的大括号 + + 使用 logic 语法糖 - - 重置布局(_R) + + 使用 Tab 替代空格 - - 关闭所有文档(_C) + + 您使用的是最新版本。 - - 只显示公有类型和成员 + + 您使用的是每日构建版本,比最新版本更新。 - - 只显示公有类型和成员(_P) + + - - 选择输出语言的版本 + + 值(以字符串形式) - - 选择一个程序集列表 + + 使用调试符号中的变量名称(如果可用) - - 选择一个反编译目标语言 + + 版本 - - 重命名列表 + + 版本 {0} 已可用。 - - 还原到默认值 + + 视图 - - 这会在注册表的“HKCU\Software\Classes\dllfile\shell\Open with ILSpy\command”与“HKCU\Software\Classes\exefile\shell\Open with ILSpy\command”中移除“{0}”。 - -确定继续? + + Visual Studio 解决方案文件(*.sln)|*.sln|所有文件(*.*)|*.* - - 移除文件资源管理器集成 + + 警告:此程序集被标记为“引用程序集”,这意味着它只包含元数据,没有可执行代码。 - - 是否为活动页面加载默认值? + + 警告:某些程序集引用无法自动解析。这可能会导致某些部分反编译错误, - - 重命名(_E) + + 搜索 t:类型、m:成员 或 c:常量;使用完全匹配(=term)、不应包含(-term)或必须包含(+term);使用 /正(则)?表达(式)?/;或同时使用二者 - t:/类(型)?/... - - 新建列表 + + 关闭所有文档(_C) - - 新选项卡 + + 重置布局(_R) - - 管理程序集列表(_L)... + + 关于(_A) - - 管理程序集列表 + + 添加到主列表(_A) - - 导航失败,因为目标是隐藏的或编译器生成的类。\n -请禁用所有的、可能隐藏它们的筛选器(例如,启用“视图 > 显示内部类型和成员”),并重试。 + + 检查更新(_C) - - 是否删除选中的程序集列表? + + 折叠所有树节点(_C) - - 已有同名的列表。 + + 文件(_F) - - 是否删除所有程序集列表,并重建默认程序集列表? + + 帮助(_H) - - ILSpyAboutPage_zh_Hans.txt + + 加载依赖(_L) - - 调试 -- PDB 转储为 XML + + 新建(_N) - - 使用 nint/nuint 类型 + + 打开(_O)... - - 基类型 + + 在这里打开命令行(_O) - - 无法创建为{0}创建PDB文件,因为它不包含PE调试目录类型 'CodeView'. + + 打开包含文件夹(_O) - - Visual Studio 解决方案文件(*.sln)|*.sln|所有文件(*.*)|*.* + + 选项(_O)... - - 转至令牌 + + 重新加载(_R) - - 反编译 + + 移除(_R) - - 可携带 PDB(*.pdb)|*.pdb|所有文件(*.*)|*.* + + 移除程序集及其加载错误(_R) - - 选择 PDB... + + 重置(_R) - - 已取消生成。 + + 资源 - - 生成完成,耗时 {0} 秒。 + + 保存代码(_S)... + + + 搜索(_S): + + + 搜索(_S): + + + 显示调试步骤(_S) + + + 切换折叠 + + + 视图(_V) + + + 窗口(_W) \ No newline at end of file From bb39fe9f87eb15fff0232dac01dd608bc1151ba3 Mon Sep 17 00:00:00 2001 From: MysticBoy Date: Fri, 31 Jul 2020 18:07:36 +0800 Subject: [PATCH 24/24] =?UTF-8?q?fix=20=20for=20Berrysoft=E2=80=98s=20sugg?= =?UTF-8?q?estion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ILSpy.AddIn/ILSpyAddIn.zh-Hans.vsct | 6 ++-- ILSpy.AddIn/VSPackage.zh-Hans.resx | 2 +- ILSpy.AddIn/zh-Hans/extension.vsixlangpack | 2 +- ILSpy.ReadyToRun/ILSpy.ReadyToRun.csproj | 3 +- ILSpy.ReadyToRun/Properties/AssemblyInfo.cs | 31 +++------------------ ILSpy.ReadyToRun/ReadyToRunLanguage.cs | 3 +- 6 files changed, 12 insertions(+), 35 deletions(-) diff --git a/ILSpy.AddIn/ILSpyAddIn.zh-Hans.vsct b/ILSpy.AddIn/ILSpyAddIn.zh-Hans.vsct index f84717c94..d50bfb062 100644 --- a/ILSpy.AddIn/ILSpyAddIn.zh-Hans.vsct +++ b/ILSpy.AddIn/ILSpyAddIn.zh-Hans.vsct @@ -53,7 +53,7 @@ DynamicVisibility DefaultInvisible - 用ILSpy打开 + 用 ILSpy 打开 @@ -63,7 +63,7 @@ DynamicVisibility DefaultInvisible - 用ILSpy打开输出 + 用 ILSpy 打开输出 @@ -73,7 +73,7 @@ DynamicVisibility DefaultInvisible - 用ILSpy打开代码 + 用 ILSpy 打开代码 diff --git a/ILSpy.AddIn/VSPackage.zh-Hans.resx b/ILSpy.AddIn/VSPackage.zh-Hans.resx index 73c158134..db43f348a 100644 --- a/ILSpy.AddIn/VSPackage.zh-Hans.resx +++ b/ILSpy.AddIn/VSPackage.zh-Hans.resx @@ -121,6 +121,6 @@ ILSpy.AddIn - Integration of the ILSpy Decompiler into Visual Studio. + 可以在 Visual Studio 中直接打开反编译工具 ILSpy 。 \ No newline at end of file diff --git a/ILSpy.AddIn/zh-Hans/extension.vsixlangpack b/ILSpy.AddIn/zh-Hans/extension.vsixlangpack index 06e466b6e..c650a50a2 100644 --- a/ILSpy.AddIn/zh-Hans/extension.vsixlangpack +++ b/ILSpy.AddIn/zh-Hans/extension.vsixlangpack @@ -2,6 +2,6 @@ ILSpy - 可以在Visual Studio中直接打开反编译工具ILSpy。 + 可以在 Visual Studio 中直接打开反编译工具 ILSpy 。 \ No newline at end of file diff --git a/ILSpy.ReadyToRun/ILSpy.ReadyToRun.csproj b/ILSpy.ReadyToRun/ILSpy.ReadyToRun.csproj index 77203a458..878beb5d6 100644 --- a/ILSpy.ReadyToRun/ILSpy.ReadyToRun.csproj +++ b/ILSpy.ReadyToRun/ILSpy.ReadyToRun.csproj @@ -7,7 +7,7 @@ 8.0 False - + en-US false true false @@ -46,6 +46,7 @@ + True True diff --git a/ILSpy.ReadyToRun/Properties/AssemblyInfo.cs b/ILSpy.ReadyToRun/Properties/AssemblyInfo.cs index 85918694e..cd1bac780 100644 --- a/ILSpy.ReadyToRun/Properties/AssemblyInfo.cs +++ b/ILSpy.ReadyToRun/Properties/AssemblyInfo.cs @@ -1,33 +1,10 @@ -#region Using directives - +using System; using System.Reflection; -using System.Runtime.InteropServices; +using System.Resources; using System.Runtime.CompilerServices; - -#endregion +using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. -[assembly: AssemblyTitle("ILSpy.ReadyToRun.Plugin")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("ILSpy.ReadyToRun.Plugin")] -[assembly: AssemblyCopyright("Copyright 2011")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// This sets the default COM visibility of types in the assembly to invisible. -// If you need to expose a type to COM, use [ComVisible(true)] on that type. -[assembly: ComVisible(false)] - -[assembly: InternalsVisibleTo("ILSpy.ReadyToRun.Tests")] - -// The assembly version has following format : -// -// Major.Minor.Build.Revision -// -// You can specify all the values or you can use the default the Revision and -// Build Numbers by using the '*' as shown below: -[assembly: AssemblyVersion("1.0.0.0")] +[assembly: NeutralResourcesLanguage("en-US")] diff --git a/ILSpy.ReadyToRun/ReadyToRunLanguage.cs b/ILSpy.ReadyToRun/ReadyToRunLanguage.cs index b244a5b43..2bfb3bccf 100644 --- a/ILSpy.ReadyToRun/ReadyToRunLanguage.cs +++ b/ILSpy.ReadyToRun/ReadyToRunLanguage.cs @@ -27,7 +27,6 @@ using System.Reflection.PortableExecutable; using System.Resources; using System.Runtime.CompilerServices; using Iced.Intel; - using ICSharpCode.AvalonEdit.Highlighting; using ICSharpCode.Decompiler; using ICSharpCode.Decompiler.IL; @@ -36,7 +35,7 @@ using ICSharpCode.Decompiler.Solution; using ICSharpCode.Decompiler.TypeSystem; using ILCompiler.Reflection.ReadyToRun; using ILCompiler.Reflection.ReadyToRun.Amd64; -[assembly: NeutralResourcesLanguage("en-US")] + namespace ICSharpCode.ILSpy.ReadyToRun { [Export(typeof(Language))]