Skip to content

Commit

Permalink
add required tooltip to account nickname
Browse files Browse the repository at this point in the history
  • Loading branch information
Scighost committed Aug 28, 2023
1 parent 4394662 commit ae0bd31
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 1 deletion.
9 changes: 9 additions & 0 deletions src/Starward.Language/Lang.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions src/Starward.Language/Lang.en-US.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1060,4 +1060,7 @@ Do you accept the risk and continue to use it?</value>
<data name="DownloadGamePage_Merging" xml:space="preserve">
<value>Merging</value>
</data>
<data name="LauncherPage_Required" xml:space="preserve">
<value>Required</value>
</data>
</root>
4 changes: 4 additions & 0 deletions src/Starward.Language/Lang.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1060,4 +1060,8 @@ Do you accept the risk and continue to use it?</value>
<data name="DownloadGamePage_Merging" xml:space="preserve">
<value>Merging</value>
</data>
<data name="LauncherPage_Required" xml:space="preserve">
<value>Required</value>
<comment>Nickname is required.</comment>
</data>
</root>
3 changes: 3 additions & 0 deletions src/Starward.Language/Lang.zh-CN.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1060,4 +1060,7 @@
<data name="DownloadGamePage_Merging" xml:space="preserve">
<value>合并中</value>
</data>
<data name="LauncherPage_Required" xml:space="preserve">
<value>必需</value>
</data>
</root>
4 changes: 3 additions & 1 deletion src/Starward/Pages/LauncherPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,9 @@
Height="0"
IsHitTestVisible="False" />
<TextBlock Text="{x:Bind lang:Lang.LauncherPage_Nickname}" />
<TextBox IsSpellCheckEnabled="False" Text="{x:Bind SelectGameAccount.Name, Mode=TwoWay}" />
<TextBox IsSpellCheckEnabled="False"
PlaceholderText="{x:Bind lang:Lang.LauncherPage_Required}"
Text="{x:Bind SelectGameAccount.Name, Mode=TwoWay}" />
<TextBlock Margin="0,8,0,0" Text="Uid" />
<NumberBox Minimum="0" Value="{x:Bind SelectGameAccount.Uid, Mode=TwoWay}" />
<Grid Margin="0,16,0,0"
Expand Down

0 comments on commit ae0bd31

Please sign in to comment.