Browse Source

fix for Berrysoft‘s suggestion

pull/2066/head
MysticBoy 5 years ago
parent
commit
bb39fe9f87
  1. 6
      ILSpy.AddIn/ILSpyAddIn.zh-Hans.vsct
  2. 2
      ILSpy.AddIn/VSPackage.zh-Hans.resx
  3. 2
      ILSpy.AddIn/zh-Hans/extension.vsixlangpack
  4. 3
      ILSpy.ReadyToRun/ILSpy.ReadyToRun.csproj
  5. 31
      ILSpy.ReadyToRun/Properties/AssemblyInfo.cs
  6. 3
      ILSpy.ReadyToRun/ReadyToRunLanguage.cs

6
ILSpy.AddIn/ILSpyAddIn.zh-Hans.vsct

@ -53,7 +53,7 @@
<CommandFlag>DynamicVisibility</CommandFlag> <CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag> <CommandFlag>DefaultInvisible</CommandFlag>
<Strings> <Strings>
<ButtonText>用ILSpy打开</ButtonText> <ButtonText>用 ILSpy 打开</ButtonText>
</Strings> </Strings>
</Button> </Button>
@ -63,7 +63,7 @@
<CommandFlag>DynamicVisibility</CommandFlag> <CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag> <CommandFlag>DefaultInvisible</CommandFlag>
<Strings> <Strings>
<ButtonText>用ILSpy打开输出</ButtonText> <ButtonText>用 ILSpy 打开输出</ButtonText>
</Strings> </Strings>
</Button> </Button>
@ -73,7 +73,7 @@
<CommandFlag>DynamicVisibility</CommandFlag> <CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag> <CommandFlag>DefaultInvisible</CommandFlag>
<Strings> <Strings>
<ButtonText>用ILSpy打开代码</ButtonText> <ButtonText>用 ILSpy 打开代码</ButtonText>
</Strings> </Strings>
</Button> </Button>

2
ILSpy.AddIn/VSPackage.zh-Hans.resx

@ -121,6 +121,6 @@
<value>ILSpy.AddIn</value> <value>ILSpy.AddIn</value>
</data> </data>
<data name="112" xml:space="preserve"> <data name="112" xml:space="preserve">
<value>Integration of the ILSpy Decompiler into Visual Studio.</value> <value>可以在 Visual Studio 中直接打开反编译工具 ILSpy 。</value>
</data> </data>
</root> </root>

2
ILSpy.AddIn/zh-Hans/extension.vsixlangpack

@ -2,6 +2,6 @@
<PackageLanguagePackManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011"> <PackageLanguagePackManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011">
<Metadata> <Metadata>
<DisplayName>ILSpy</DisplayName> <DisplayName>ILSpy</DisplayName>
<Description>可以在Visual Studio中直接打开反编译工具ILSpy。</Description> <Description>可以在 Visual Studio 中直接打开反编译工具 ILSpy 。</Description>
</Metadata> </Metadata>
</PackageLanguagePackManifest> </PackageLanguagePackManifest>

3
ILSpy.ReadyToRun/ILSpy.ReadyToRun.csproj

@ -7,7 +7,7 @@
<LangVersion>8.0</LangVersion> <LangVersion>8.0</LangVersion>
<GenerateAssemblyInfo>False</GenerateAssemblyInfo> <GenerateAssemblyInfo>False</GenerateAssemblyInfo>
<NeutralResourcesLanguage>en-US</NeutralResourcesLanguage>
<EnableDefaultItems>false</EnableDefaultItems> <EnableDefaultItems>false</EnableDefaultItems>
<UseWpf>true</UseWpf> <UseWpf>true</UseWpf>
<ExtrasEnableDefaultPageItems>false</ExtrasEnableDefaultPageItems> <ExtrasEnableDefaultPageItems>false</ExtrasEnableDefaultPageItems>
@ -46,6 +46,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\Resources.Designer.cs"> <Compile Include="Properties\Resources.Designer.cs">
<DesignTime>True</DesignTime> <DesignTime>True</DesignTime>
<AutoGen>True</AutoGen> <AutoGen>True</AutoGen>

31
ILSpy.ReadyToRun/Properties/AssemblyInfo.cs

@ -1,33 +1,10 @@
#region Using directives using System;
using System.Reflection; using System.Reflection;
using System.Runtime.InteropServices; using System.Resources;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#endregion
// General Information about an assembly is controlled through the following // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information // set of attributes. Change these attribute values to modify the information
// associated with an assembly. // associated with an assembly.
[assembly: AssemblyTitle("ILSpy.ReadyToRun.Plugin")] [assembly: NeutralResourcesLanguage("en-US")]
[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")]

3
ILSpy.ReadyToRun/ReadyToRunLanguage.cs

@ -27,7 +27,6 @@ using System.Reflection.PortableExecutable;
using System.Resources; using System.Resources;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using Iced.Intel; using Iced.Intel;
using ICSharpCode.AvalonEdit.Highlighting; using ICSharpCode.AvalonEdit.Highlighting;
using ICSharpCode.Decompiler; using ICSharpCode.Decompiler;
using ICSharpCode.Decompiler.IL; using ICSharpCode.Decompiler.IL;
@ -36,7 +35,7 @@ using ICSharpCode.Decompiler.Solution;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
using ILCompiler.Reflection.ReadyToRun; using ILCompiler.Reflection.ReadyToRun;
using ILCompiler.Reflection.ReadyToRun.Amd64; using ILCompiler.Reflection.ReadyToRun.Amd64;
[assembly: NeutralResourcesLanguage("en-US")]
namespace ICSharpCode.ILSpy.ReadyToRun namespace ICSharpCode.ILSpy.ReadyToRun
{ {
[Export(typeof(Language))] [Export(typeof(Language))]

Loading…
Cancel
Save