diff --git a/Backend/packages.config b/Backend/packages.config index fac9a260..224a7681 100644 --- a/Backend/packages.config +++ b/Backend/packages.config @@ -15,7 +15,7 @@ - + diff --git a/Logic/packages.config b/Logic/packages.config index c9482108..a52278f1 100644 --- a/Logic/packages.config +++ b/Logic/packages.config @@ -23,7 +23,7 @@ - + diff --git a/Site/App_GlobalResources/deploy-mono-folderfix b/Site/App_GlobalResources/deploy-mono-folderfix deleted file mode 100755 index 3e579b6b..00000000 --- a/Site/App_GlobalResources/deploy-mono-folderfix +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -if [ $(cat /etc/hostname) != 'swarmops-build' ]; then - echo "This script will only run on the build machine." - exit 1 -fi - -# Standard resources files -#find -iname '*.??-??.resx' -exec cp {} . \; - -# Filipino fil-PH -#find -iname '*.fil-PH.resx' -exec cp {} . \; - -# Serbian sr-Cyrl-RS, sr-Latn-RS -#find -iname '*.sr-????-??.resx' -exec cp {} . \; - diff --git a/Site/Security/Login.aspx.cs b/Site/Security/Login.aspx.cs index d51d26ea..f5f2dc27 100644 --- a/Site/Security/Login.aspx.cs +++ b/Site/Security/Login.aspx.cs @@ -2,6 +2,8 @@ using System.Diagnostics; using System.Globalization; using System.IO; +using System.Reflection; +using System.Resources; using System.Runtime.Versioning; using System.Web; using System.Web.ExtensionMethods; @@ -432,13 +434,15 @@ namespace Swarmops.Pages.Security this.LabelSidebarManualLoginHeader.Text = Resources.Pages.Security.Login_ManualLogin; this.LabelHeader.Text = Resources.Pages.Security.Login_Header; this.LabelSidebarResetPassword.Text = Resources.Pages.Security.Login_ResetPassword; */ + + /* -- commenting this out to see if we can get to a known good state: 2021-Feb-16 this.LabelManualLoginHeader.Text = Resources.Pages.Security.Login_ManualLoginHeader; this.LabelUseManualLogin.Text = Resources.Pages.Security.Login_UseManualLogin; this.LabelUseBitIdLogin.Text = Resources.Pages.Security.Login_UseBitIdLogin; this.LabelForgotPassword.Text = Resources.Pages.Security.Login_ResetPassword; this.LiteralCredentialsUser.Text = Resources.Pages.Security.Login_Username; this.LiteralCredentialsPass.Text = Resources.Pages.Security.Login_Password; - this.LiteralCredentials2FA.Text = Resources.Pages.Security.Login_GoogleAuthenticatorCode; + this.LiteralCredentials2FA.Text = Resources.Pages.Security.Login_GoogleAuthenticatorCode;*/ } @@ -527,9 +531,22 @@ namespace Swarmops.Pages.Security public string Localized_BitIdRequired_Dialog { - get { return CommonV5.JavascriptEscape(Resources.Pages.Security.Login_BitIdRequired_Dialog); } + get + { + return CommonV5.JavascriptEscape(Resources.Pages.Security.Login_BitIdRequired_Dialog); + + } } + /* + protected ResourceManager Localization + { + get + { + return new ResourceManager("Pages.Security", Assembly.LoadFrom("Pages.Security.resources.dll")); + } + }*/ + // ReSharper restore InconsistentNaming } } \ No newline at end of file diff --git a/Site/Site.csproj b/Site/Site.csproj index a9bdc495..b64a98d6 100644 --- a/Site/Site.csproj +++ b/Site/Site.csproj @@ -2242,7 +2242,6 @@ - diff --git a/Site/packages.config b/Site/packages.config index d5167073..aa6639bf 100644 --- a/Site/packages.config +++ b/Site/packages.config @@ -19,7 +19,7 @@ - +