diff --git a/Site/App_GlobalResources/DebugResx.Designer.cs b/Site/App_GlobalResources/DebugResx.Designer.cs new file mode 100644 index 00000000..efb15f09 --- /dev/null +++ b/Site/App_GlobalResources/DebugResx.Designer.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// 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 { + 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 DebugResx { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal DebugResx() { + } + + /// + /// 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.DebugResx", 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 Testing, Ignore. + /// + internal static string TestingIgnore { + get { + return ResourceManager.GetString("TestingIgnore", resourceCulture); + } + } + } +} diff --git a/Site/App_GlobalResources/DebugResx.resx b/Site/App_GlobalResources/DebugResx.resx new file mode 100644 index 00000000..93b99c1a --- /dev/null +++ b/Site/App_GlobalResources/DebugResx.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + Testing, Ignore + + \ No newline at end of file diff --git a/Site/Pages/v5/Public/DummyPageWithResources.aspx b/Site/Pages/v5/Public/DummyPageWithResources.aspx index 823fc6da..41a4dc30 100644 --- a/Site/Pages/v5/Public/DummyPageWithResources.aspx +++ b/Site/Pages/v5/Public/DummyPageWithResources.aspx @@ -1,4 +1,4 @@ -<%@ Page Language="C#" AutoEventWireup="true" Inherits="Swarmops.Frontend.Pages.v5.Public.DummyPageWithResources" CodeFile="DummyPageWithResources.aspx.cs" %> +<%@ Page Language="C#" AutoEventWireup="true" Inherits="Swarmops.Frontend.Pages.v5.Public.DummyPageWithResources" Codebehind="DummyPageWithResources.aspx.cs" %> diff --git a/Site/Pages/v5/Public/DummyPageWithResources.aspx.cs b/Site/Pages/v5/Public/DummyPageWithResources.aspx.cs index c6fe16a8..397d9f3f 100644 --- a/Site/Pages/v5/Public/DummyPageWithResources.aspx.cs +++ b/Site/Pages/v5/Public/DummyPageWithResources.aspx.cs @@ -12,7 +12,8 @@ namespace Swarmops.Frontend.Pages.v5.Public { protected void Page_Load(object sender, EventArgs e) { - this.LabelTest.Text = Resources.Global.Dashboard_Main_Temporary; + this.LabelTest.Text = this.ResourceManager.GetString("Global.Dashboard_Main_Temporary"); + } } } \ No newline at end of file diff --git a/Site/Site.csproj b/Site/Site.csproj index fd2f8d4a..eab190a8 100644 --- a/Site/Site.csproj +++ b/Site/Site.csproj @@ -125,6 +125,11 @@ True Controls.Financial.resx + + True + True + DebugResx.resx + Json-MasterPersonEditPaymentHistory.aspx ASPXCodeBehind @@ -2410,6 +2415,12 @@ Controls.Financial.Designer.cs + + + GlobalResourceProxyGenerator + DebugResx.Designer.cs + + 10.0 $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)