Skip to content

Commit

Permalink
M | translation | 补全所有翻译
Browse files Browse the repository at this point in the history
  • Loading branch information
FTS427 committed Jul 28, 2024
1 parent 3b8efba commit 2bea674
Show file tree
Hide file tree
Showing 17 changed files with 140 additions and 63 deletions.
61 changes: 50 additions & 11 deletions WonderLab/Assets/Languages/en-US.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
<sys:String x:Key="Home_Launch">Launch</sys:String>

<!--Download-->
<sys:String x:Key="Download_Search_Watermark">Type here to search</sys:String>
<sys:String x:Key="Nav_Download_ExtraResource">Extra Resource</sys:String>
<sys:String x:Key="Download_Search_Watermark">Tap here to search</sys:String>

<!--Multiplayer-->
<sys:String x:Key="Multiplayer_NetworkInfo">Network Info</sys:String>
Expand All @@ -21,11 +22,20 @@
<sys:String x:Key="Multiplayer_Action">Action</sys:String>
<sys:String x:Key="Multiplayer_Action_Connect">Connect</sys:String>
<sys:String x:Key="Multiplayer_Action_NewRoom">Create Room</sys:String>
<sys:String x:Key="Multiplayer_Action_JoinRoom">Jonin Room</sys:String>
<sys:String x:Key="Multiplayer_Action_JoinRoom">Join Room</sys:String>

<sys:String x:Key="Multiplayer_ControlRoom">Control Room</sys:String>
<sys:String x:Key="Multiplayer_ControlRoom_UserToken">Your User Token</sys:String>

<sys:String x:Key="Dialog_Multiplayer_NewConnect">Create a new connect</sys:String>
<sys:String x:Key="Dialog_Multiplayer_NewConnect_Ask">Are you sure create a new connect?(Tip: Wrap can't displace server, using server instead of Wrap when have a mount of players!)</sys:String>
<sys:String x:Key="Dialog_Multiplayer_JoinConnect">Join a connect</sys:String>
<sys:String x:Key="Dialog_Multiplayer_TypeToken">Enter token</sys:String>
<sys:String x:Key="Dialog_Multiplayer_NewRequest">New connect request</sys:String>
<sys:String x:Key="Dialog_Multiplayer_NewRequest_Ask">A new request want to join you, do you allow?</sys:String>

<sys:String x:Key="Multiplayer_Allow">Allow</sys:String>

<!--Settings-->
<!--Nav-->
<sys:String x:Key="Nav_Settings_Launch">Game</sys:String>
Expand All @@ -36,7 +46,7 @@

<!--About-->
<sys:String x:Key="Settings_About">About</sys:String>
<sys:String x:Key="Settings_About_Rights">Blessing Studio ©2021-2024. Rights</sys:String>
<sys:String x:Key="Settings_About_Rights">Copyright © 2021-2024 Blessing Studio</sys:String>
<sys:String x:Key="Settings_About_Version">Version</sys:String>
<sys:String x:Key="Settings_About_Donate">Donate</sys:String>

Expand All @@ -47,15 +57,37 @@
<sys:String x:Key="Settings_About_Developers_RD">RD</sys:String>

<sys:String x:Key="Settings_About_Thanks">Credits</sys:String>
<sys:String x:Key="Settings_About_Thanks_ServerSupport">Server Support</sys:String>
<sys:String x:Key="Settings_About_Thanks_TechSupport">Technical Support</sys:String>
<sys:String x:Key="Settings_About_Thanks_ServerSupport">Server support</sys:String>
<sys:String x:Key="Settings_About_Thanks_TechSupport">Technical support</sys:String>

<sys:String x:Key="Settings_About_IncludedOSLib">Open Source Library References</sys:String>

<!--Account-->
<sys:String x:Key="Settings_Account">Account Settings</sys:String>
<sys:String x:Key="Settings_Account_Add_Description">Add new account</sys:String>

<sys:String x:Key="Dialog_Account_Choose">Choose account type</sys:String>
<sys:String x:Key="Dialog_Account_Choose_Tip">Choose an account type, accounts' infomation will be saved in this machine</sys:String>

<sys:String x:Key="Dialog_Account_MS_Add">Add Microsoft account</sys:String>
<sys:String x:Key="Dialog_Account_MS_Add_Tip1">Use authentication code</sys:String>
<sys:String x:Key="Dialog_Account_MS_Add_Tip2">Open authentication website for the next step</sys:String>
<sys:String x:Key="Dialog_Account_MS_Add_Tip3">Be sure to complete the verification within the specified time, otherwise the verification code will be invalid!</sys:String>
<sys:String x:Key="Dialog_Account_MS_CopyToken">Copy authentication code</sys:String>
<sys:String x:Key="Dialog_Account_MS_OpenURL">Open authentication website</sys:String>

<sys:String x:Key="Dialog_Account_ThirdParty_New">Add Yggdrasil third-party account</sys:String>
<sys:String x:Key="Dialog_Account_ThirdParty_URL">Enter Yggdrasil server url</sys:String>
<sys:String x:Key="Dialog_Account_ThirdParty_Yuuka">Enter E-mail</sys:String>
<sys:String x:Key="Dialog_Account_ThirdParty_Passwd">Enter password</sys:String>

<sys:String x:Key="Dialog_Account_Offline_New">Add offline account</sys:String>
<sys:String x:Key="Dialog_Account_Offline_InputName">Enter name</sys:String>

<sys:String x:Key="Account_MS">Microsoft</sys:String>
<sys:String x:Key="Account_ThirdParty">Third-party</sys:String>
<sys:String x:Key="Account_Offline">Offline</sys:String>

<!--Detail-->
<sys:String x:Key="Settings_Appearance">Appearance Settings</sys:String>
<sys:String x:Key="Settings_Appearance_Theme">Theme</sys:String>
Expand All @@ -68,10 +100,10 @@
<sys:String x:Key="Settings_Background_BlurValue">Wallpaper blur value</sys:String>

<sys:String x:Key="Settings_Lang">Language Settings</sys:String>
<sys:String x:Key="Settings_Lang_Change">Select language</sys:String>
<sys:String x:Key="Settings_Lang_Change">Select your language</sys:String>

<sys:String x:Key="Settings_DebugMode">Debug Mode Settings</sys:String>
<sys:String x:Key="Settings_DebugMode_Change">Debug Mode</sys:String>
<sys:String x:Key="Settings_DebugMode_Change">Debug mode</sys:String>

<sys:String x:Key="Settings_OOBE">Jump to OOBE</sys:String>

Expand Down Expand Up @@ -107,22 +139,29 @@
<!--OOBE-->
<sys:String x:Key="OOBE_Guide">WonderLab - Guide</sys:String>
<sys:String x:Key="OOBE_Welcome">Welcome</sys:String>
<sys:String x:Key="OOBE_Welcome_Tip">Thanks choosing WonderLab, you'll follow this guide set basic option, this launcher won't upload your personal infomation</sys:String>
<sys:String x:Key="OOBE_Lang">Language</sys:String>
<sys:String x:Key="OOBE_Appearance">Appearance</sys:String>
<sys:String x:Key="OOBE_Lang_Ask">Choose your language</sys:String>
<sys:String x:Key="OOBE_Start">Launch!</sys:String>
<sys:String x:Key="OOBE_Next">Next</sys:String>
<sys:String x:Key="OOBE_Sorry">Sorry, isn't finished</sys:String>

<!--TestUser-->
<sys:String x:Key="Dialog_TestUser_RequestUUID">Your testing-user token</sys:String>
<sys:String x:Key="Dialog_TestUser_InputUUID">Enter your testing-user's UUID: </sys:String>

<!--AloneItem-->
<sys:String x:Key="Item_Afdian">AiFaDian</sys:String>
<sys:String x:Key="Item_MSAccount">Microsoft Account</sys:String>

<sys:String x:Key="Item_None">None</sys:String>
<sys:String x:Key="Item_Jump">Go</sys:String>
<sys:String x:Key="Item_Add">Add</sys:String>
<sys:String x:Key="Item_Browse">Browse</sys:String>
<sys:String x:Key="Item_Remove">Remove</sys:String>
<sys:String x:Key="Item_Search">Search</sys:String>
<sys:String x:Key="Item_Next">Next</sys:String>
<sys:String x:Key="Item_Yes">Sure</sys:String>
<sys:String x:Key="Item_Continue">Continue</sys:String>
<sys:String x:Key="Item_Sync">Refresh</sys:String>

<sys:String x:Key="Item_Theme_Light">Light</sys:String>
<sys:String x:Key="Item_Theme_Dark">Dark</sys:String>
Expand Down
51 changes: 45 additions & 6 deletions WonderLab/Assets/Languages/zh-CN.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<sys:String x:Key="Home_Launch">启动</sys:String>

<!--Download-->
<sys:String x:Key="Nav_Download_ExtraResource">扩展资源</sys:String>
<sys:String x:Key="Download_Search_Watermark">猜你想搜</sys:String>

<!--Multiplayer-->
Expand All @@ -22,16 +23,25 @@
<sys:String x:Key="Multiplayer_Action_Connect">连接</sys:String>
<sys:String x:Key="Multiplayer_Action_NewRoom">创建房间</sys:String>
<sys:String x:Key="Multiplayer_Action_JoinRoom">加入房间</sys:String>

<sys:String x:Key="Multiplayer_ControlRoom">房间管理</sys:String>
<sys:String x:Key="Multiplayer_ControlRoom_UserToken">你的用户令牌</sys:String>

<sys:String x:Key="Dialog_Multiplayer_NewConnect">创建新的连接</sys:String>
<sys:String x:Key="Dialog_Multiplayer_NewConnect_Ask">您确定要创建新的连接吗?(注:Wrap 服务并不能取代服务器,在创建大型多人游戏时仍建议采用服务器!)</sys:String>
<sys:String x:Key="Dialog_Multiplayer_JoinConnect">加入对方的连接</sys:String>
<sys:String x:Key="Dialog_Multiplayer_TypeToken">请输入对方的用户令牌</sys:String>
<sys:String x:Key="Dialog_Multiplayer_NewRequest">有新的请求</sys:String>
<sys:String x:Key="Dialog_Multiplayer_NewRequest_Ask">有一个新的请求试图加入你的连接,是否批准?</sys:String>

<sys:String x:Key="Multiplayer_Allow">批准</sys:String>

<!--Settings-->
<!--Nav-->
<sys:String x:Key="Nav_Settings_Launch">游戏</sys:String>
<sys:String x:Key="Nav_Settings_Account">账户</sys:String>
<sys:String x:Key="Nav_Settings_Network">网络</sys:String>
<sys:String x:Key="Nav_Settings_Appearance">外观</sys:String>
<sys:String x:Key="Nav_Settings_Appearance">个性化</sys:String>
<sys:String x:Key="Nav_Settings_About">关于</sys:String>

<!--About-->
Expand All @@ -56,6 +66,28 @@
<sys:String x:Key="Settings_Account">账户设置</sys:String>
<sys:String x:Key="Settings_Account_Add_Description">添加新账户</sys:String>

<sys:String x:Key="Dialog_Account_Choose">选择验证类型</sys:String>
<sys:String x:Key="Dialog_Account_Choose_Tip">请选择一种验证类型,如有正版账户请选择微软登录,账户信息会在验证完成后保存至本地</sys:String>

<sys:String x:Key="Dialog_Account_MS_Add">增添微软账户</sys:String>
<sys:String x:Key="Dialog_Account_MS_Add_Tip1">请使用验证代码</sys:String>
<sys:String x:Key="Dialog_Account_MS_Add_Tip2">访问验证网址以继续下一步验证操作</sys:String>
<sys:String x:Key="Dialog_Account_MS_Add_Tip3">网址访问速度可能比较慢,但请务必在规定的时间内完成验证操作,否则此验证码将失效!</sys:String>
<sys:String x:Key="Dialog_Account_MS_CopyToken">复制验证码</sys:String>
<sys:String x:Key="Dialog_Account_MS_OpenURL">打开验证网站</sys:String>

<sys:String x:Key="Dialog_Account_ThirdParty_New">增添 Yggdrasil 外置账户</sys:String>
<sys:String x:Key="Dialog_Account_ThirdParty_URL">请输入 Yggdrasil 服务器网址</sys:String>
<sys:String x:Key="Dialog_Account_ThirdParty_Yuuka">请输入优香</sys:String>
<sys:String x:Key="Dialog_Account_ThirdParty_Passwd">请输入密码</sys:String>

<sys:String x:Key="Dialog_Account_Offline_New">增添离线账户</sys:String>
<sys:String x:Key="Dialog_Account_Offline_InputName">请输入名称</sys:String>

<sys:String x:Key="Account_MS">微软</sys:String>
<sys:String x:Key="Account_ThirdParty">第三方</sys:String>
<sys:String x:Key="Account_Offline">离线</sys:String>

<!--Detail-->
<sys:String x:Key="Settings_Appearance">外观设置</sys:String>
<sys:String x:Key="Settings_Appearance_Theme">主题</sys:String>
Expand Down Expand Up @@ -107,22 +139,29 @@
<!--OOBE-->
<sys:String x:Key="OOBE_Guide">WonderLab - 设置向导</sys:String>
<sys:String x:Key="OOBE_Welcome">欢迎</sys:String>
<sys:String x:Key="OOBE_Welcome_Tip">感谢您使用 WonderLab,接下来将进行简单的设置向导,本启动器不会上传您的私人信息</sys:String>
<sys:String x:Key="OOBE_Lang">语言</sys:String>
<sys:String x:Key="OOBE_Appearance">个性化</sys:String>
<sys:String x:Key="OOBE_Lang_Ask">请选择当前您正在使用的语言</sys:String>
<sys:String x:Key="OOBE_Start">开始吧!</sys:String>
<sys:String x:Key="OOBE_Next">下一步</sys:String>
<sys:String x:Key="OOBE_Sorry">对不起,但是我们目前没有完成此功能</sys:String>

<!--TestUser-->
<sys:String x:Key="Dialog_TestUser_RequestUUID">请输入测试版许可证</sys:String>
<sys:String x:Key="Dialog_TestUser_InputUUID">请输入您的测试用户 UUID:</sys:String>

<!--AloneItem-->
<sys:String x:Key="Item_Afdian">爱发电</sys:String>
<sys:String x:Key="Item_MSAccount">微软账号</sys:String>


<sys:String x:Key="Item_None">无</sys:String>
<sys:String x:Key="Item_Jump">跳转</sys:String>
<sys:String x:Key="Item_Add">添加</sys:String>
<sys:String x:Key="Item_Browse">浏览</sys:String>
<sys:String x:Key="Item_Remove">移除</sys:String>
<sys:String x:Key="Item_Search">搜索</sys:String>
<sys:String x:Key="Item_Next">下一步</sys:String>
<sys:String x:Key="Item_Yes">确定</sys:String>
<sys:String x:Key="Item_Continue">继续</sys:String>
<sys:String x:Key="Item_Sync">刷新</sys:String>

<sys:String x:Key="Item_Theme_Light">亮色</sys:String>
<sys:String x:Key="Item_Theme_Dark">暗色</sys:String>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
xmlns:vm="using:WonderLab.ViewModels.Dialogs.Multiplayer"
x:DataType="vm:CreateMutilplayerDialogViewModel"
x:Class="WonderLab.Views.Dialogs.Multiplayer.CreateMutilplayerDialog">
<ui:DialogContentPanel Title="创建新的连接"
<ui:DialogContentPanel Title="{DynamicResource Dialog_Multiplayer_NewConnect}"
IsCloseButtonVisible="True"
PrimaryButtonContent="继续"
PrimaryButtonContent="{DynamicResource Item_Continue}"
IsPrimaryButtonVisible="True"
PrimaryButtonCommand="{Binding CreateCommand}">
<ui:DialogContentPanel.Content>
<Grid>
<TextBlock TextWrapping="WrapWithOverflow"
IsVisible="{Binding IsConnecting, Converter={StaticResource BooleanReverseConverter}}"
Text="您确定要创建新的连接吗?(注:Wrap 服务并不能取代服务器,在创建大型多人游戏时仍建议采用服务器!)"/>
Text="{DynamicResource Dialog_Multiplayer_NewConnect}"/>

<ui:ProgressRing BorderThickness="3"
IsIndeterminate="True"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
xmlns:vm="using:WonderLab.ViewModels.Dialogs.Multiplayer"
x:DataType="vm:JoinMutilplayerDialogViewModel"
x:Class="WonderLab.Views.Dialogs.Multiplayer.JoinMutilplayerDialog">
<ui:DialogContentPanel Title="加入对方的连接"
PrimaryButtonContent="确定"
<ui:DialogContentPanel Title="{DynamicResource Dialog_Multiplayer_JoinConnect}"
PrimaryButtonContent="{DynamicResource Item_Yes}"
IsCloseButtonVisible="True"
PrimaryButtonCommand="{Binding MakeRequestCommand}"
PrimaryButtonCommandParameter="{Binding ElementName=tokenTextBox, Path=Text}"
Expand All @@ -17,7 +17,7 @@
<Grid>
<TextBox Name="tokenTextBox"
UseFloatingWatermark="False"
Watermark="请输入对方的用户令牌"
Watermark="{DynamicResource Dialog_Multiplayer_TypeToken}"
IsVisible="{Binding IsMakedRequest, Converter={StaticResource BooleanReverseConverter}}"/>

<StackPanel Spacing="8"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
xmlns:vm="using:WonderLab.ViewModels.Dialogs.Multiplayer"
x:DataType="vm:JoinMutilplayerRequestDialogViewModel"
x:Class="WonderLab.Views.Dialogs.Multiplayer.JoinMutilplayerRequestDialog">
<ui:DialogContentPanel Title="有新的请求"
PrimaryButtonContent="批准"
<ui:DialogContentPanel Title="{DynamicResource Dialog_Multiplayer_NewRequest}"
PrimaryButtonContent="{DynamicResource Multiplayer_Allow}"
IsCloseButtonVisible="True"
PrimaryButtonCommand="{Binding AllowCommand}"
IsPrimaryButtonVisible="{Binding IsAllow, Converter={StaticResource BooleanReverseConverter}}">
<ui:DialogContentPanel.Content>
<Grid>
<TextBlock TextWrapping="WrapWithOverflow"
Text="有一个新的请求试图加入你的连接,请问是否准许?"
Text="{DynamicResource Dialog_Multiplayer_NewRequest_Ask}"
IsVisible="{Binding IsAllow, Converter={StaticResource BooleanReverseConverter}}"/>

<StackPanel Spacing="8"
Expand Down
10 changes: 5 additions & 5 deletions WonderLab/Views/Dialogs/Setting/ChooseAccountTypeDialog.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
xmlns:vm="using:WonderLab.ViewModels.Dialogs.Setting"
x:DataType="vm:ChooseAccountTypeDialogViewModel"
x:Class="WonderLab.Views.Dialogs.Setting.ChooseAccountTypeDialog">
<ui:DialogContentPanel Title="选择验证类型"
<ui:DialogContentPanel Title="{DynamicResource Dialog_Account_Choose}"
IsTopCloseButtonVisible="True">
<ui:DialogContentPanel.Content>
<TextBlock Margin="0 10 0 5" Text="请选择一种验证类型,如有正版账户请选择微软登录,账户信息会在验证完成后保存至本地。"/>
<TextBlock Margin="0 10 0 5" Text="{DynamicResource Dialog_Account_Choose_Tip}"/>
</ui:DialogContentPanel.Content>
<ui:DialogContentPanel.BottomBarContent>
<StackPanel Orientation="Horizontal">
<Button Width="65"
Content="微软"
Content="{DynamicResource Account_MS}"
Grid.Column="2"
Margin="10 0 0 0"
VerticalAlignment="Stretch"
Expand All @@ -26,7 +26,7 @@
Command="{Binding ChooseAccountTypeCommand}"/>

<Button Width="65"
Content="外置"
Content="{DynamicResource Account_ThirdParty}"
Grid.Column="2"
Margin="10 0 0 0"
VerticalAlignment="Stretch"
Expand All @@ -37,7 +37,7 @@
Command="{Binding ChooseAccountTypeCommand}"/>

<Button Width="65"
Content="离线"
Content="{DynamicResource Account_Offline}"
Grid.Column="2"
Margin="10 0 0 0"
CommandParameter="Offline"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
xmlns:vm="using:WonderLab.ViewModels.Dialogs.Setting"
x:DataType="vm:MicrosoftAuthenticateDialogViewModel"
x:Class="WonderLab.Views.Dialogs.Setting.MicrosoftAuthenticateDialog">
<ui:DialogContentPanel Title="登录微软账户"
<ui:DialogContentPanel Title="{DynamicResource Dialog_Account_MS_Add}"
IsTopCloseButtonVisible="True"
IsCloseButtonVisible="False"
IsPrimaryButtonVisible="False">
Expand All @@ -25,7 +25,7 @@
RowDefinitions="Auto Auto Auto Auto"
IsVisible="{Binding IsCodeLoadFinish}">
<TextBlock TextAlignment="Center"
Text="请使用验证代码"/>
Text="{DynamicResource Dialog_Account_MS_Add_Tip1}"/>

<SelectableTextBlock Grid.Row="1"
FontSize="18"
Expand All @@ -36,9 +36,9 @@

<TextBlock TextAlignment="Center"
Grid.Row="2">
<Run Text="访问验证网址以继续下一步验证操作"/>
<Run Text="{DynamicResource Dialog_Account_MS_Add_Tip2}"/>
<LineBreak/>
<Run Text="网址访问速度可能比较慢,但请务必在规定的时间内完成验证操作,否则此验证码将失效!"/>
<Run Text="{DynamicResource Dialog_Account_MS_Add_Tip3}"/>
</TextBlock>
</Grid>
</Grid>
Expand All @@ -47,10 +47,10 @@
<ui:DialogContentPanel.BottomBarContent>
<StackPanel Spacing="8"
Orientation="Horizontal">
<Button Content="复制验证码"
<Button Content="{DynamicResource Dialog_Account_MS_CopyToken}"
Command="{Binding CopyDeviceCodeCommand}"/>

<Button Content="打开验证网站"
<Button Content="{DynamicResource Dialog_Account_MS_OpenURL}"
Command="{Binding OpenUrlCommand}"/>
</StackPanel>
</ui:DialogContentPanel.BottomBarContent>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
xmlns:vm="using:WonderLab.ViewModels.Dialogs.Setting"
x:DataType="vm:OfflineAuthenticateDialogViewModel"
x:Class="WonderLab.Views.Dialogs.Setting.OfflineAuthenticateDialog">
<ui:DialogContentPanel Title="创建离线账户"
PrimaryButtonContent="确定"
<ui:DialogContentPanel Title="{DynamicResource Dialog_Account_Offline_New}"
PrimaryButtonContent="{DynamicResource Item_Yes}"
IsCloseButtonVisible="True"
IsPrimaryButtonVisible="True"
PrimaryButtonCommand="{Binding AuthenticateCommand}"
PrimaryButtonCommandParameter="{Binding ElementName=nameTextBox, Path=Text}">
<ui:DialogContentPanel.Content>
<TextBox Name="nameTextBox"
Watermark="请输入名称"
Watermark="{DynamicResource Dialog_Account_Offline_InputName}"
UseFloatingWatermark="False"/>
</ui:DialogContentPanel.Content>
</ui:DialogContentPanel>
Expand Down
1 change: 0 additions & 1 deletion WonderLab/Views/Dialogs/Setting/RecheckToOobeDialog.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@
IsPrimaryButtonVisible="True"
PrimaryButtonCommand="{Binding ToOobeCommand}"
Content="此操作会造成您的配置文件全部蒸发,确定要跳转吗喵?">

</ui:DialogContentPanel>
</UserControl>
Loading

0 comments on commit 2bea674

Please sign in to comment.