Some more localization for string freeze

This commit is contained in:
Rick Falkvinge
2016-10-07 13:57:44 +02:00
parent a8cbfe310c
commit 629746a165
6 changed files with 176 additions and 52 deletions
+54
View File
@@ -1293,6 +1293,15 @@ namespace Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Twitter ID.
/// </summary>
internal static string Global_TwitterId {
get {
return ResourceManager.GetString("Global_TwitterId", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unknown or Undisclosed.
/// </summary>
@@ -1437,6 +1446,51 @@ namespace Resources {
}
}
/// <summary>
/// Looks up a localized string similar to 2FA (disabling quarantines login).
/// </summary>
internal static string Master_EditPerson2FAEnable {
get {
return ResourceManager.GetString("Master_EditPerson2FAEnable", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Account.
/// </summary>
internal static string Master_EditPersonHeaderAccount {
get {
return ResourceManager.GetString("Master_EditPersonHeaderAccount", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Security Provisioning.
/// </summary>
internal static string Master_EditPersonHeaderSecurityProvisioning {
get {
return ResourceManager.GetString("Master_EditPersonHeaderSecurityProvisioning", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Reset password.
/// </summary>
internal static string Master_EditPersonResetPasswordButton {
get {
return ResourceManager.GetString("Master_EditPersonResetPasswordButton", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Mail a password-reset link.
/// </summary>
internal static string Master_EditPersonResetPasswordLabel {
get {
return ResourceManager.GetString("Master_EditPersonResetPasswordLabel", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to You are currently logged into &lt;strong&gt;{0}&lt;/strong&gt;. Would you like to switch to another organization?.
/// </summary>
+19
View File
@@ -736,4 +736,23 @@
<data name="Error_UnspecifiedAjaxSetValue" xml:space="preserve">
<value>There was an unspecified error attempting to set this value.</value>
</data>
<data name="Global_TwitterId" xml:space="preserve">
<value>Twitter ID</value>
</data>
<data name="Master_EditPerson2FAEnable" xml:space="preserve">
<value>2FA (disabling quarantines login)</value>
<comment>This means that a disabling of two-factor authentication will notify the user and lock them out from logging back on for a while, typically 48 hours or seven days.</comment>
</data>
<data name="Master_EditPersonHeaderAccount" xml:space="preserve">
<value>Account</value>
</data>
<data name="Master_EditPersonHeaderSecurityProvisioning" xml:space="preserve">
<value>Security Provisioning</value>
</data>
<data name="Master_EditPersonResetPasswordButton" xml:space="preserve">
<value>Reset password</value>
</data>
<data name="Master_EditPersonResetPasswordLabel" xml:space="preserve">
<value>Mail a password-reset link</value>
</data>
</root>
+11 -11
View File
@@ -222,7 +222,7 @@
<DialogCode>
<div id="divTabsEditPerson" class="easyui-tabs" data-options="tabWidth:70,tabHeight:70">
<div title="<img id='imgFirstTabMasterEditPerson' src='/Images/Icons/iconshock-redshirt-128px.png' width='64' height='64' />">
<h2><span class="spanModalEditingPersonName">PERSONNAME</span>: Account</h2>
<h2><span class="spanModalEditingPersonName">PERSONNAME</span>: <asp:Label runat="server" ID="MasterLabelEditPersonHeaderAccount"></asp:Label></h2>
<div class="entryFields">
<Swarmops5:AjaxTextBox ID="MasterEditPersonName" runat="server" OnChange="masterPersonEditorOnFieldChange" Cookie="Name" AjaxCallbackUrl="" />&#8203;<br/>
<Swarmops5:AjaxTextBox ID="MasterEditPersonMail" runat="server" OnChange="masterPersonEditorOnFieldChange" Cookie="Mail" AjaxCallbackUrl="" />&#8203;<br/>
@@ -230,13 +230,13 @@
<Swarmops5:AjaxTextBox ID="MasterEditPersonTwitterId" runat="server" OnChange="masterPersonEditorOnFieldChange" Cookie="TwitterId" AjaxCallbackUrl="" />
</div>
<div class="entryLabels">
Name<br/>
Mail<br/>
Phone<br/>
Twitter<br/>
<asp:Label runat="server" ID="MasterLabelEditPersonName" /><br/>
<asp:Label runat="server" ID="MasterLabelEditPersonMail" /><br/>
<asp:Label runat="server" ID="MasterLabelEditPersonPhone" /><br/>
<asp:Label runat="server" ID="MasterLabelEditPersonTwitter" /><br/>
</div>
</div>
<div title="<img src='/Images/Icons/iconshock-lock-256px.png' height='64' width='64' />">
<!--<div title="<img src='/Images/Icons/iconshock-lock-256px.png' height='64' width='64' />">
<h2><span class="spanModalEditingPersonName">PERSONNAME</span>: Security (your own)</h2>
<div class="entryFields">...</div>
<div class="entryLabels">
@@ -245,16 +245,16 @@
Enable BitId (bitcoin signature login)<br/>
Enter current password to save
</div>
</div>
</div>-->
<div title="<img src='/Images/Icons/iconshock-lock-256px.png' height='64' width='64' />">
<h2><span class="spanModalEditingPersonName">PERSONNAME</span>: Security provisioning</h2>
<h2><span class="spanModalEditingPersonName">PERSONNAME</span>: <asp:Label ID="MasterLabelEditPersonHeaderSecurityProvisioning" runat="server" /></h2>
<div class="entryFields">
<input type="button" value="#SendResetMail#" />&#8203;<br/>
<input type="switch" todo="true"/>
<input type="input" todo="true"/>
</div>
<div class="entryLabels">
Mail a password-reset link<br/>
2FA (disabling sets login quarantine)
<asp:Label runat="server" ID="MasterLabelEditPersonResetPassword" /><br/>
<asp:Label runat="server" ID="MasterLabelEditPersonSecurity2FASwitch" />
</div>
</div>
<!--
+20 -2
View File
@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Drawing;
using System.Globalization;
using System.IO;
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
using System.Threading;
using System.Web;
@@ -227,6 +228,18 @@ namespace Swarmops.Frontend
this.LinkLogout.Text = Global.CurrentUserInfo_Logout;
this.LabelPreferences.Text = Global.CurrentUserInfo_Preferences;
// this.LiteralCurrentlyLoggedIntoSwitch.Text = string.Format(Resources.Global.Master_SwitchOrganizationDialog, _currentOrganization.Name);
this.MasterLabelEditPersonHeaderAccount.Text = Resources.Global.Master_EditPersonHeaderAccount;
this.MasterLabelEditPersonHeaderSecurityProvisioning.Text =
Resources.Global.Master_EditPersonHeaderSecurityProvisioning;
this.MasterLabelEditPersonMail.Text = Resources.Global.Global_Mail;
this.MasterLabelEditPersonName.Text = Resources.Global.Global_Name;
this.MasterLabelEditPersonPhone.Text = Resources.Global.Global_Phone;
this.MasterLabelEditPersonResetPassword.Text = Resources.Global.Master_EditPersonResetPasswordLabel;
this.MasterLabelEditPersonSecurity2FASwitch.Text = Resources.Global.Master_EditPerson2FAEnable;
this.MasterLabelEditPersonTwitter.Text = Resources.Global.Global_TwitterId;
}
protected string _cacheVersionMark; // this is just a cache buster for style sheets on new versions
@@ -405,12 +418,17 @@ namespace Swarmops.Frontend
}
// Localized strings for accessing from aspx page
// Localized strings for accessing from aspx pages
// ReSharper disable once InconsistentNaming
// ReSharper disable InconsistentNaming <-- because the Localized_ prefix isn't appreciated
public string Localized_LoadingPlaceholderShort
{
get { return CommonV5.JavascriptEscape (Resources.Global.Global_LoadingPlaceholderShort); }
}
public string Localized_MasterPersonEditResetPasswordButton
{
get { return CommonV5.JavascriptEscape(Resources.Global.Master_EditPersonResetPasswordButton); }
}
}
}
+72
View File
@@ -282,6 +282,15 @@ namespace Swarmops.Frontend {
/// </remarks>
protected global::Swarmops.Frontend.Controls.Base.ModalDialog ModalMasterEditPerson;
/// <summary>
/// MasterLabelEditPersonHeaderAccount control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label MasterLabelEditPersonHeaderAccount;
/// <summary>
/// MasterEditPersonName control.
/// </summary>
@@ -318,6 +327,69 @@ namespace Swarmops.Frontend {
/// </remarks>
protected global::Swarmops.Frontend.Controls.Base.AjaxTextBox MasterEditPersonTwitterId;
/// <summary>
/// MasterLabelEditPersonName control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label MasterLabelEditPersonName;
/// <summary>
/// MasterLabelEditPersonMail control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label MasterLabelEditPersonMail;
/// <summary>
/// MasterLabelEditPersonPhone control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label MasterLabelEditPersonPhone;
/// <summary>
/// MasterLabelEditPersonTwitter control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label MasterLabelEditPersonTwitter;
/// <summary>
/// MasterLabelEditPersonHeaderSecurityProvisioning control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label MasterLabelEditPersonHeaderSecurityProvisioning;
/// <summary>
/// MasterLabelEditPersonResetPassword control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label MasterLabelEditPersonResetPassword;
/// <summary>
/// MasterLabelEditPersonSecurity2FASwitch control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label MasterLabelEditPersonSecurity2FASwitch;
/// <summary>
/// MasterEditPersonOrgMail control.
/// </summary>
-39
View File
@@ -38,30 +38,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{39D954
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Site", "Site\Site.csproj", "{A36F6B67-4B17-419A-9200-C247EA6B88A2}"
EndProject
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "Site5", "Site5\", "{367F36EA-AE1C-4E15-BAF9-BA75B18B3807}"
ProjectSection(WebsiteProperties) = preProject
TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.5"
ProjectReferences = "{3A5B5F19-51A5-48CE-A82E-97D5C189E5CB}|Swarmops.Database.dll;{6608C2E6-F841-4CD1-8AB2-28DC3B1DDDD1}|Swarmops.Basic.dll;{13E59551-34AC-43DC-9A03-EF5E4721DC61}|Swarmops.Logic.dll;{C540570C-20E0-4979-84EB-8833810DDDF6}|Swarmops.Utility.dll;{BBF83512-8486-469E-9D7B-C3C1B78C3F4D}|Swarmops.Common.dll;"
Debug.AspNetCompiler.VirtualPath = "/Precompiled"
Debug.AspNetCompiler.PhysicalPath = "Site5\"
Debug.AspNetCompiler.TargetPath = "Precompiled\"
Debug.AspNetCompiler.Updateable = "true"
Debug.AspNetCompiler.ForceOverwrite = "true"
Debug.AspNetCompiler.FixedNames = "false"
Debug.AspNetCompiler.Debug = "True"
Release.AspNetCompiler.VirtualPath = "/Precompiled"
Release.AspNetCompiler.PhysicalPath = "Site5\"
Release.AspNetCompiler.TargetPath = "Precompiled\"
Release.AspNetCompiler.Updateable = "true"
Release.AspNetCompiler.ForceOverwrite = "true"
Release.AspNetCompiler.FixedNames = "false"
Release.AspNetCompiler.Debug = "False"
VWDPort = "8081"
VWDDynamicPort = "false"
VWDVirtualPath = "/"
DefaultWebSiteLanguage = "Visual C#"
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Interface", "Interface\Interface.csproj", "{BA24FAF7-D518-49E8-952A-45595682877E}"
EndProject
Global
@@ -209,21 +185,6 @@ Global
{A36F6B67-4B17-419A-9200-C247EA6B88A2}.Release|Any CPU.Build.0 = Release|Any CPU
{A36F6B67-4B17-419A-9200-C247EA6B88A2}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{A36F6B67-4B17-419A-9200-C247EA6B88A2}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{367F36EA-AE1C-4E15-BAF9-BA75B18B3807}.Autobuild|.NET.ActiveCfg = Debug|Any CPU
{367F36EA-AE1C-4E15-BAF9-BA75B18B3807}.Autobuild|Any CPU.ActiveCfg = Debug|Any CPU
{367F36EA-AE1C-4E15-BAF9-BA75B18B3807}.Autobuild|Any CPU.Build.0 = Debug|Any CPU
{367F36EA-AE1C-4E15-BAF9-BA75B18B3807}.Autobuild|Mixed Platforms.ActiveCfg = Debug|Any CPU
{367F36EA-AE1C-4E15-BAF9-BA75B18B3807}.Autobuild|Mixed Platforms.Build.0 = Debug|Any CPU
{367F36EA-AE1C-4E15-BAF9-BA75B18B3807}.Debug|.NET.ActiveCfg = Debug|Any CPU
{367F36EA-AE1C-4E15-BAF9-BA75B18B3807}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{367F36EA-AE1C-4E15-BAF9-BA75B18B3807}.Debug|Any CPU.Build.0 = Debug|Any CPU
{367F36EA-AE1C-4E15-BAF9-BA75B18B3807}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{367F36EA-AE1C-4E15-BAF9-BA75B18B3807}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{367F36EA-AE1C-4E15-BAF9-BA75B18B3807}.Release|.NET.ActiveCfg = Debug|Any CPU
{367F36EA-AE1C-4E15-BAF9-BA75B18B3807}.Release|Any CPU.ActiveCfg = Debug|Any CPU
{367F36EA-AE1C-4E15-BAF9-BA75B18B3807}.Release|Any CPU.Build.0 = Debug|Any CPU
{367F36EA-AE1C-4E15-BAF9-BA75B18B3807}.Release|Mixed Platforms.ActiveCfg = Debug|Any CPU
{367F36EA-AE1C-4E15-BAF9-BA75B18B3807}.Release|Mixed Platforms.Build.0 = Debug|Any CPU
{BA24FAF7-D518-49E8-952A-45595682877E}.Autobuild|.NET.ActiveCfg = Release|Any CPU
{BA24FAF7-D518-49E8-952A-45595682877E}.Autobuild|Any CPU.ActiveCfg = Release|Any CPU
{BA24FAF7-D518-49E8-952A-45595682877E}.Autobuild|Any CPU.Build.0 = Release|Any CPU