From cfb74cd83493f14da27e596552af39c9b79efc04 Mon Sep 17 00:00:00 2001 From: Brock Allen Date: Mon, 30 Jun 2014 09:45:35 -0400 Subject: [PATCH] add signout message to resx --- .../Shared/SignOut.cshtml.Designer.cs | 19 ++- .../Shared/SignOut.cshtml.resx | 125 +++++++++--------- .../WebSite/Views/Shared/SignOut.cshtml | 2 +- 3 files changed, 79 insertions(+), 67 deletions(-) diff --git a/src/OnPremise/WebSite/App_LocalResources/Shared/SignOut.cshtml.Designer.cs b/src/OnPremise/WebSite/App_LocalResources/Shared/SignOut.cshtml.Designer.cs index 257c077a..02200d5c 100644 --- a/src/OnPremise/WebSite/App_LocalResources/Shared/SignOut.cshtml.Designer.cs +++ b/src/OnPremise/WebSite/App_LocalResources/Shared/SignOut.cshtml.Designer.cs @@ -1,17 +1,17 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.18033 +// Runtime Version:4.0.30319.34014 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ -namespace Thinktecture.IdentityServer.Web.App_LocalResources.Shared -{ - - +namespace Thinktecture.IdentityServer.Web.App_LocalResources.Shared { + using System; + + /// /// A strongly-typed resource class, for looking up localized strings, etc. /// @@ -69,6 +69,15 @@ public static string ReturnToRP { } } + /// + /// Looks up a localized string similar to You are now signed out.. + /// + public static string SignedOutMessage { + get { + return ResourceManager.GetString("SignedOutMessage", resourceCulture); + } + } + /// /// Looks up a localized string similar to Sign Out. /// diff --git a/src/OnPremise/WebSite/App_LocalResources/Shared/SignOut.cshtml.resx b/src/OnPremise/WebSite/App_LocalResources/Shared/SignOut.cshtml.resx index 41be47da..5dd57c86 100644 --- a/src/OnPremise/WebSite/App_LocalResources/Shared/SignOut.cshtml.resx +++ b/src/OnPremise/WebSite/App_LocalResources/Shared/SignOut.cshtml.resx @@ -1,6 +1,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + Return to application - + + You are now signed out. + + Sign Out \ No newline at end of file diff --git a/src/OnPremise/WebSite/Views/Shared/SignOut.cshtml b/src/OnPremise/WebSite/Views/Shared/SignOut.cshtml index a06cd030..753bcbe2 100644 --- a/src/OnPremise/WebSite/Views/Shared/SignOut.cshtml +++ b/src/OnPremise/WebSite/Views/Shared/SignOut.cshtml @@ -7,7 +7,7 @@ }

@SignOut_cshtml.SignOut

-

You are now signed out.

+

@SignOut_cshtml.SignedOutMessage

@if (!string.IsNullOrWhiteSpace(ViewBag.ReturnUrl)) {