From 41d0b98b200e868665c908bf06c2925a82f303b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20H=C3=B6glinger-Stelzer?= Date: Fri, 26 Oct 2018 20:52:25 +0200 Subject: [PATCH] Added summary text resources --- DerpingDrivers/DerpingDrivers.csproj | 13 ++++++++----- DerpingDrivers/MainWindow.xaml.cs | 2 +- DerpingDrivers/Properties/Resources.Designer.cs | 10 ++++++++++ DerpingDrivers/Properties/Resources.resx | 17 ++++++++++++----- DerpingDrivers/Resources/testsigning.md | 5 +++++ README.md | 2 +- 6 files changed, 37 insertions(+), 12 deletions(-) create mode 100644 DerpingDrivers/Resources/testsigning.md diff --git a/DerpingDrivers/DerpingDrivers.csproj b/DerpingDrivers/DerpingDrivers.csproj index f9d175b..550d149 100644 --- a/DerpingDrivers/DerpingDrivers.csproj +++ b/DerpingDrivers/DerpingDrivers.csproj @@ -112,6 +112,11 @@ Designer + + True + True + Resources.resx + @@ -133,11 +138,6 @@ Code - - True - True - Resources.resx - True Settings.settings @@ -165,6 +165,9 @@ + + + diff --git a/DerpingDrivers/MainWindow.xaml.cs b/DerpingDrivers/MainWindow.xaml.cs index 7c60cca..3760771 100644 --- a/DerpingDrivers/MainWindow.xaml.cs +++ b/DerpingDrivers/MainWindow.xaml.cs @@ -72,7 +72,7 @@ namespace DerpingDrivers { get { - var markdown = "🔥 *None available*"; + var markdown = Encoding.UTF8.GetString(Properties.Resources.testsigning); // Convert Markdown to XAML var xaml = Markdown.ToXaml(markdown, BuildPipeline()); diff --git a/DerpingDrivers/Properties/Resources.Designer.cs b/DerpingDrivers/Properties/Resources.Designer.cs index da6a21a..d00fba3 100644 --- a/DerpingDrivers/Properties/Resources.Designer.cs +++ b/DerpingDrivers/Properties/Resources.Designer.cs @@ -59,5 +59,15 @@ namespace DerpingDrivers.Properties { resourceCulture = value; } } + + /// + /// Looks up a localized resource of type System.Byte[]. + /// + internal static byte[] testsigning { + get { + object obj = ResourceManager.GetObject("testsigning", resourceCulture); + return ((byte[])(obj)); + } + } } } diff --git a/DerpingDrivers/Properties/Resources.resx b/DerpingDrivers/Properties/Resources.resx index af7dbeb..2f9f8a4 100644 --- a/DerpingDrivers/Properties/Resources.resx +++ b/DerpingDrivers/Properties/Resources.resx @@ -46,7 +46,7 @@ mimetype: application/x-microsoft.net.object.binary.base64 value : The object must be serialized with - : System.Serialization.Formatters.Binary.BinaryFormatter + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.soap.base64 @@ -60,6 +60,7 @@ : and then encoded with base64 encoding. --> + @@ -68,9 +69,10 @@ - + + @@ -85,9 +87,10 @@ - + + @@ -109,9 +112,13 @@ 2.0 - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ..\Resources\testsigning.md;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + \ No newline at end of file diff --git a/DerpingDrivers/Resources/testsigning.md b/DerpingDrivers/Resources/testsigning.md new file mode 100644 index 0000000..5404861 --- /dev/null +++ b/DerpingDrivers/Resources/testsigning.md @@ -0,0 +1,5 @@ +# Hello + +## Second + +🎃 Waddup! \ No newline at end of file diff --git a/README.md b/README.md index a893a99..43ac1bc 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Derping Drivers! +# Derping Drivers ## Sources