From 5b6ef76ad3915613e7a96107884481903e3d2609 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Wed, 6 Mar 2019 15:03:13 +0100 Subject: [PATCH] Created new resource file for financial controls --- .../Controls.Financial.Designer.cs | 99 +++++++++++++ .../Controls.Financial.resx | 132 ++++++++++++++++++ .../Controls.Swarm.designer.cs | 36 ----- Site/App_GlobalResources/Controls.Swarm.resx | 12 -- Site/Site.csproj | 11 ++ 5 files changed, 242 insertions(+), 48 deletions(-) create mode 100644 Site/App_GlobalResources/Controls.Financial.Designer.cs create mode 100644 Site/App_GlobalResources/Controls.Financial.resx diff --git a/Site/App_GlobalResources/Controls.Financial.Designer.cs b/Site/App_GlobalResources/Controls.Financial.Designer.cs new file mode 100644 index 00000000..e2911de0 --- /dev/null +++ b/Site/App_GlobalResources/Controls.Financial.Designer.cs @@ -0,0 +1,99 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Resources.Controls { + using System; + + + /// + /// 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 the Visual Studio project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Web.Application.StronglyTypedResourceProxyBuilder", "14.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Financial { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Financial() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Resources.Controls.Financial", global::System.Reflection.Assembly.Load("App_GlobalResources")); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to Your browser is malfunctioning. + /// + internal static string Bitcoin_ClientRefusesTracking_Header { + get { + return ResourceManager.GetString("Bitcoin_ClientRefusesTracking_Header", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Your browser is refusing to load bitcoin transaction trackers. These trackers are necessary to detect when you make a bitcoin transaction, in order to honor your payment.. + /// + internal static string Bitcoin_ClientRefusesTracking_Para1 { + get { + return ResourceManager.GetString("Bitcoin_ClientRefusesTracking_Para1", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Some browser extensions, such as EFF:s "Privacy Badger", prevent loading of bitcoin tracking by mistake, thinking it is advertising.. + /// + internal static string Bitcoin_ClientRefusesTracking_Para2 { + get { + return ResourceManager.GetString("Bitcoin_ClientRefusesTracking_Para2", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Please check your browser extensions and/or disable Privacy Badger, Adblock, etc., for this site.. + /// + internal static string Bitcoin_ClientRefusesTracking_Para3 { + get { + return ResourceManager.GetString("Bitcoin_ClientRefusesTracking_Para3", resourceCulture); + } + } + } +} diff --git a/Site/App_GlobalResources/Controls.Financial.resx b/Site/App_GlobalResources/Controls.Financial.resx new file mode 100644 index 00000000..db9734bd --- /dev/null +++ b/Site/App_GlobalResources/Controls.Financial.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 + + + Your browser is malfunctioning + + + Your browser is refusing to load bitcoin transaction trackers. These trackers are necessary to detect when you make a bitcoin transaction, in order to honor your payment. + + + Some browser extensions, such as EFF:s "Privacy Badger", prevent loading of bitcoin tracking by mistake, thinking it is advertising. + + + Please check your browser extensions and/or disable Privacy Badger, Adblock, etc., for this site. + + \ No newline at end of file diff --git a/Site/App_GlobalResources/Controls.Swarm.designer.cs b/Site/App_GlobalResources/Controls.Swarm.designer.cs index 86e071ca..f4c0d765 100644 --- a/Site/App_GlobalResources/Controls.Swarm.designer.cs +++ b/Site/App_GlobalResources/Controls.Swarm.designer.cs @@ -60,42 +60,6 @@ namespace Resources.Controls { } } - /// - /// Looks up a localized string similar to Your browser is malfunctioning. - /// - internal static string Bitcoin_ClientRefusesTracking_Header { - get { - return ResourceManager.GetString("Bitcoin_ClientRefusesTracking_Header", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Your browser is refusing to load bitcoin transaction trackers. These trackers are necessary to detect when you make a bitcoin transaction, in order to honor your payment.. - /// - internal static string Bitcoin_ClientRefusesTracking_Para1 { - get { - return ResourceManager.GetString("Bitcoin_ClientRefusesTracking_Para1", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Some browser extensions, such as EFF:s "Privacy Badger", prevent loading of bitcoin tracking by mistake, thinking it is advertising.. - /// - internal static string Bitcoin_ClientRefusesTracking_Para2 { - get { - return ResourceManager.GetString("Bitcoin_ClientRefusesTracking_Para2", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please check your browser extensions and/or disable Privacy Badger, Adblock, etc., for this site.. - /// - internal static string Bitcoin_ClientRefusesTracking_Para3 { - get { - return ResourceManager.GetString("Bitcoin_ClientRefusesTracking_Para3", resourceCulture); - } - } - /// /// Looks up a localized string similar to Assign another person.... /// diff --git a/Site/App_GlobalResources/Controls.Swarm.resx b/Site/App_GlobalResources/Controls.Swarm.resx index 5af5822e..67759237 100644 --- a/Site/App_GlobalResources/Controls.Swarm.resx +++ b/Site/App_GlobalResources/Controls.Swarm.resx @@ -196,16 +196,4 @@ Leaders of subdivisions - - Your browser is malfunctioning - - - Your browser is refusing to load bitcoin transaction trackers. These trackers are necessary to detect when you make a bitcoin transaction, in order to honor your payment. - - - Some browser extensions, such as EFF:s "Privacy Badger", prevent loading of bitcoin tracking by mistake, thinking it is advertising. - - - Please check your browser extensions and/or disable Privacy Badger, Adblock, etc., for this site. - \ No newline at end of file diff --git a/Site/Site.csproj b/Site/Site.csproj index d9e439f4..1b4f757c 100644 --- a/Site/Site.csproj +++ b/Site/Site.csproj @@ -158,6 +158,11 @@ True Pages.Swarm.ca-ES.resx + + True + True + Controls.Financial.resx + True True @@ -6699,6 +6704,12 @@ Pages.Swarm.mk-MK.designer.cs + + + GlobalResourceProxyGenerator + Controls.Financial.Designer.cs + + 10.0 $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)