1
0
mirror of synced 2025-01-19 08:07:24 +01:00

Add several more translation as example

This commit is contained in:
asesidaa 2024-01-22 01:21:22 +08:00
parent 81b065c358
commit 49b55b00c2
3 changed files with 28 additions and 4 deletions

View File

@ -20,4 +20,16 @@
<data name="edit profile" xml:space="preserve"> <data name="edit profile" xml:space="preserve">
<value>Edit Profile</value> <value>Edit Profile</value>
</data> </data>
<data name="user" xml:space="preserve">
<value>User</value>
</data>
<data name="view play data" xml:space="preserve">
<value>View Play Data</value>
</data>
<data name="high scores" xml:space="preserve">
<value>High Scores</value>
</data>
<data name="dani dojo" xml:space="preserve">
<value>Dani Dojo</value>
</data>
</root> </root>

View File

@ -20,4 +20,16 @@
<data name="edit profile" xml:space="preserve"> <data name="edit profile" xml:space="preserve">
<value>编辑档案</value> <value>编辑档案</value>
</data> </data>
<data name="user" xml:space="preserve">
<value>用户</value>
</data>
<data name="view play data" xml:space="preserve">
<value>查看最高分</value>
</data>
<data name="high scores" xml:space="preserve">
<value>演奏模式</value>
</data>
<data name="dani dojo" xml:space="preserve">
<value>段位道场</value>
</data>
</root> </root>

View File

@ -38,7 +38,7 @@
<MudCard Outlined="true"> <MudCard Outlined="true">
<MudCardHeader> <MudCardHeader>
<CardHeaderContent> <CardHeaderContent>
<MudText Typo="Typo.h6" Style="font-weight:bold">User: @user.Baid</MudText> <MudText Typo="Typo.h6" Style="font-weight:bold">@Localizer["user"]: @user.Baid</MudText>
</CardHeaderContent> </CardHeaderContent>
<CardHeaderActions> <CardHeaderActions>
<MudMenu Icon="@Icons.Material.Filled.MoreVert" Dense="true" AnchorOrigin="Origin.BottomLeft" <MudMenu Icon="@Icons.Material.Filled.MoreVert" Dense="true" AnchorOrigin="Origin.BottomLeft"
@ -99,14 +99,14 @@
<MudMenu Size="Size.Small" <MudMenu Size="Size.Small"
Dense="true" Dense="true"
Color="Color.Primary" Color="Color.Primary"
Label="View Play Data" Label="@Localizer["view play data"]"
StartIcon="@Icons.Material.Filled.FeaturedPlayList" StartIcon="@Icons.Material.Filled.FeaturedPlayList"
EndIcon="@Icons.Material.Filled.KeyboardArrowDown" EndIcon="@Icons.Material.Filled.KeyboardArrowDown"
FullWidth="true" FullWidth="true"
AnchorOrigin="Origin.BottomCenter" AnchorOrigin="Origin.BottomCenter"
TransformOrigin="Origin.TopCenter"> TransformOrigin="Origin.TopCenter">
<MudMenuItem Href="@($"Users/{user.Baid}/HighScores")">High Scores</MudMenuItem> <MudMenuItem Href="@($"Users/{user.Baid}/HighScores")">@Localizer["high scores"]</MudMenuItem>
<MudMenuItem Href="@($"Users/{user.Baid}/DaniDojo")">Dani Dojo</MudMenuItem> <MudMenuItem Href="@($"Users/{user.Baid}/DaniDojo")">@Localizer["dani dojo"]</MudMenuItem>
</MudMenu> </MudMenu>
</MudStack> </MudStack>
</MudCardActions> </MudCardActions>