diff --git a/ILSpy/Languages/CSharpLanguage.cs b/ILSpy/Languages/CSharpLanguage.cs index 26b4532ad..f4439ed22 100644 --- a/ILSpy/Languages/CSharpLanguage.cs +++ b/ILSpy/Languages/CSharpLanguage.cs @@ -289,9 +289,9 @@ namespace ICSharpCode.ILSpy var loadedAssembly = MainWindow.Instance.CurrentAssemblyList.GetAssemblies().FirstOrDefault(la => la.GetPEFileOrNull() == module); if (loadedAssembly == null || !loadedAssembly.LoadedAssemblyReferencesInfo.HasErrors) return; - const string line1 = "Warning: Some assembly references could not be resolved automatically. This might lead to incorrect decompilation of some parts,"; - const string line2 = "for ex. property getter/setter access. To get optimal decompilation results, please manually add the missing references to the list of loaded assemblies."; - AddWarningMessage(module, output, line1, line2, "Show assembly load log", Images.ViewCode, delegate { + string line1 = Properties.Resources.WarningSomeAssemblyReference; + string line2 = Properties.Resources.PropertyManuallyMissingReferencesListLoadedAssemblies; + AddWarningMessage(module, output, line1, line2, Properties.Resources.ShowAssemblyLoad, Images.ViewCode, delegate { MainWindow.Instance.SelectNode(MainWindow.Instance.FindTreeNode(module).Children.OfType().First()); }); } @@ -301,7 +301,7 @@ namespace ICSharpCode.ILSpy var metadata = module.Metadata; if (!metadata.GetCustomAttributes(Handle.AssemblyDefinition).HasKnownAttribute(metadata, KnownAttribute.ReferenceAssembly)) return; - const string line1 = "Warning: This assembly is marked as 'reference assembly', which means that it only contains metadata and no executable code."; + string line1 = Properties.Resources.WarningAsmMarkedRef; AddWarningMessage(module, output, line1); } diff --git a/appveyor.yml b/appveyor.yml index 94021c08e..a87fecd73 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -15,7 +15,7 @@ before_build: 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%\net46\*.dll %APPVEYOR_BUILD_FOLDER%\ILSpy\bin\%configuration%\net46\*.exe %APPVEYOR_BUILD_FOLDER%\ILSpy\bin\%configuration%\net46\*.config +- 7z a ILSpy_binaries.zip %APPVEYOR_BUILD_FOLDER%\ILSpy\bin\%configuration%\net46\*.dll %APPVEYOR_BUILD_FOLDER%\ILSpy\bin\%configuration%\net46\*.exe %APPVEYOR_BUILD_FOLDER%\ILSpy\bin\%configuration%\net46\*.config %APPVEYOR_BUILD_FOLDER%\ILSpy\bin\%configuration%\net46\zh-Hans\ILSpy.resources.dll test: assemblies: - 'ICSharpCode.Decompiler.Tests\bin\%configuration%\net46\ICSharpCode.Decompiler.Tests.exe'