Add notice about usernames in register form

This commit is contained in:
jvyden 2022-08-01 17:49:34 -04:00
parent fdf1988a34
commit 98a444499e
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
5 changed files with 40 additions and 0 deletions

View file

@ -24,6 +24,10 @@
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Status.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Register.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Register.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
</Project>

View file

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="username_notice" xml:space="preserve">
<value>Caution: Your username MUST match your PSN/RPCN username in order to be able to sign in from in-game.</value>
</data>
</root>

View file

@ -0,0 +1,8 @@
namespace LBPUnion.ProjectLighthouse.Localization.StringLists;
public static class RegisterStrings
{
public static readonly TranslatableString UsernameNotice = create("username_notice");
private static TranslatableString create(string key) => new(TranslationAreas.Register, key);
}

View file

@ -7,4 +7,5 @@ public enum TranslationAreas
General,
LoggedOut,
Status,
Register,
}