Skip to content

Commit

Permalink
U | 翻译更新
Browse files Browse the repository at this point in the history
  • Loading branch information
FTS427 committed Oct 3, 2024
1 parent cc8f9fd commit 30b100d
Show file tree
Hide file tree
Showing 18 changed files with 115 additions and 77 deletions.
55 changes: 41 additions & 14 deletions WonderLab/Assets/Languages/en-US.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,22 @@

<!--Home-->
<sys:String x:Key="Home_Launch">Launch</sys:String>
<sys:String x:Key="No_Game_Core">There is no gmae core, click here to choose</sys:String>

<sys:String x:Key="GMP_AllCore">All Game Cores</sys:String>
<sys:String x:Key="GMP_InstallCore">Install a new game core</sys:String>
<sys:String x:Key="GMP_ModPack">Local modpacks</sys:String>
<sys:String x:Key="GMP_SearchCore">Search from your game library...</sys:String>

<!--Task Manager-->
<sys:String x:Key="Task_Manager">Tasks Center</sys:String>
<sys:String x:Key="Task_Running">Running </sys:String>
<sys:String x:Key="Task_Count"> task</sys:String>
<sys:String x:Key="Task_List">Task List</sys:String>
<sys:String x:Key="Task_NothingToDo">There is nothing to do</sys:String>

<!--Download-->
<sys:String x:Key="Nav_Download_ExtraResource">Extra Resource</sys:String>
<sys:String x:Key="Download_ExtraResource">Extra Resource</sys:String>
<sys:String x:Key="Download_Search_Watermark">Tap here to search</sys:String>
<sys:String x:Key="Download_Minecraft">Download Minecraft</sys:String>
<sys:String x:Key="Download_Tips1">Find all versions Minecraft here</sys:String>
Expand Down Expand Up @@ -62,14 +75,16 @@
<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_IncludedIconLib">Icon library references</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_Title">Account Settings</sys:String>
<sys:String x:Key="Settings_Account_Action">Account Actions</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_Choose_Tip">Choose an account type, accounts' infomation will be saved locally</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>
Expand All @@ -86,30 +101,38 @@
<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="Settings_Account_ActionsForThis">Operation for this account</sys:String>

<sys:String x:Key="Dialog_NeverUsed">Last used: never used</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>
<sys:String x:Key="Account_ThirdParty">Third Party</sys:String>

<!--Detail-->
<sys:String x:Key="Settings_Appearance_Title">Appearance Settings</sys:String>
<sys:String x:Key="Settings_Appearance">Appearance Settings</sys:String>
<sys:String x:Key="Settings_Appearance_Theme">Theme</sys:String>

<sys:String x:Key="Settings_PanelKeepCenter">Keep botton panel center</sys:String>

<sys:String x:Key="Settings_Background_Mode">Background rendering mode</sys:String>
<sys:String x:Key="Settings_Background_Image">Background Pictue Settings</sys:String>
<sys:String x:Key="Settings_Background_ImageChange">Change pictue</sys:String>
<sys:String x:Key="Settings_Background_Image">Background Picture Settings</sys:String>
<sys:String x:Key="Settings_Background_ImageChange">Change picture</sys:String>
<sys:String x:Key="Settings_Background_ParallaxEffects">Background parallax effects</sys:String>
<sys:String x:Key="Settings_Background_GradualBlur">Wallpaper gradual blur</sys:String>
<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 your language</sys:String>
<sys:String x:Key="Settings_Lang_Change">Select 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_OOBE">Jump to OOBE</sys:String>

<!--Launch-->
<sys:String x:Key="Settings_Launch_Title">Launch Settings</sys:String>
<sys:String x:Key="Settings_Launch_Folder">Minecraft Directory Settings</sys:String>
<sys:String x:Key="Settings_Launch_Folder_Select">Select directory</sys:String>
<sys:String x:Key="Settings_Launch_Folder_New">Add directory</sys:String>
Expand All @@ -126,9 +149,10 @@
<sys:String x:Key="Settings_Launch_Game_MemoryAuto">Auto allocate suitable memory</sys:String>

<sys:String x:Key="Settings_Launch_Independent">Game direcotories isolated</sys:String>
<sys:String x:Key="Settings_Launch_FullScreen">Full screen mode</sys:String>
<sys:String x:Key="Settings_Launch_FullScreen">Full screen</sys:String>

<!--Network-->
<sys:String x:Key="Settings_Network_Title">Network Settings</sys:String>
<sys:String x:Key="Settings_Mirror">Mirror Settings</sys:String>
<sys:String x:Key="Settings_Mirror_Change">Enable mirror download</sys:String>
<sys:String x:Key="Settings_Download">Download Settings</sys:String>
Expand All @@ -144,7 +168,7 @@
<sys:String x:Key="OOBE_Start">Launch!</sys:String>
<sys:String x:Key="OOBE_Sorry">Sorry, isn't finished</sys:String>

<!--TestUser-->
<!--InsiderUser-->
<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>

Expand All @@ -159,8 +183,11 @@
<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_Cancel">Cancel</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_Unknown">Unknown</sys:String>
<sys:String x:Key="Item_Reselect">Reselect</sys:String>

<sys:String x:Key="Item_Theme_Light">Light</sys:String>
<sys:String x:Key="Item_Theme_Dark">Dark</sys:String>
Expand All @@ -174,10 +201,10 @@

<!--Info-->
<sys:String x:Key="Info_DebugMode_Changed">You have been changed Debug option, restart launcher to make it work!</sys:String>
<sys:String x:Key="Unknown">Unknown</sys:String>
<sys:String x:Key="ExpandInterface">Expand</sys:String>
<sys:String x:Key="CollapseInterface">Collapse</sys:String>
<sys:String x:Key="GameSearchBoxWatermark">Find your game core here</sys:String>

<!--DragDropSelect-->
<sys:String x:Key="DDS_ThisAsk">This?</sys:String>
<sys:String x:Key="DDS_EnsureLaunchAsk">Are you sure about launching with this profile?</sys:String>
<sys:String x:Key="DDS_DragProfile">Drag profile here</sys:String>

</ResourceDictionary>
49 changes: 38 additions & 11 deletions WonderLab/Assets/Languages/zh-CN.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,22 @@

<!--Home-->
<sys:String x:Key="Home_Launch">启动</sys:String>
<sys:String x:Key="No_Game_Core">未选择任何核心,点击展开选择页面</sys:String>

<sys:String x:Key="GMP_AllCore">全部核心</sys:String>
<sys:String x:Key="GMP_InstallCore">安装新的游戏核心</sys:String>
<sys:String x:Key="GMP_ModPack">导入本地整合包</sys:String>
<sys:String x:Key="GMP_SearchCore">搜索游戏库...</sys:String>

<!--Task Manager-->
<sys:String x:Key="Task_Manager">任务中心</sys:String>
<sys:String x:Key="Task_Running">当前正在执行</sys:String>
<sys:String x:Key="Task_Count">个任务</sys:String>
<sys:String x:Key="Task_List">任务列表</sys:String>
<sys:String x:Key="Task_NothingToDo">今日无事可做</sys:String>

<!--Download-->
<sys:String x:Key="Nav_Download_ExtraResource">扩展资源</sys:String>
<sys:String x:Key="Download_ExtraResource">扩展资源</sys:String>
<sys:String x:Key="Download_Search_Watermark">猜你想搜</sys:String>
<sys:String x:Key="Download_Minecraft">下载 Minecraft</sys:String>
<sys:String x:Key="Download_Tips1">在此寻你所寻</sys:String>
Expand Down Expand Up @@ -62,10 +75,12 @@
<sys:String x:Key="Settings_About_Thanks_ServerSupport">服务器支持</sys:String>
<sys:String x:Key="Settings_About_Thanks_TechSupport">技术支持</sys:String>

<sys:String x:Key="Settings_About_IncludedIconLib">部分图标引用自</sys:String>
<sys:String x:Key="Settings_About_IncludedOSLib">开源库引用</sys:String>

<!--Account-->
<sys:String x:Key="Settings_Account">账户设置</sys:String>
<sys:String x:Key="Settings_Account_Title">账户设置</sys:String>
<sys:String x:Key="Settings_Account_Action">账户操作</sys:String>
<sys:String x:Key="Settings_Account_Add_Description">添加新账户</sys:String>

<sys:String x:Key="Dialog_Account_Choose">选择验证类型</sys:String>
Expand All @@ -86,14 +101,21 @@
<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>
<sys:String x:Key="Settings_Account_ActionsForThis">此账户可以执行的操作</sys:String>

<sys:String x:Key="Dialog_NeverUsed">上次使用: 从未使用</sys:String>

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

<!--Detail-->
<sys:String x:Key="Settings_Appearance_Title">个性化设置</sys:String>
<sys:String x:Key="Settings_Appearance">外观设置</sys:String>
<sys:String x:Key="Settings_Appearance_Theme">主题</sys:String>

<sys:String x:Key="Settings_PanelKeepCenter">底栏居中对齐</sys:String>

<sys:String x:Key="Settings_Background_Mode">背景渲染模式</sys:String>
<sys:String x:Key="Settings_Background_Image">背景图片设置</sys:String>
<sys:String x:Key="Settings_Background_ImageChange">更改图片</sys:String>
Expand All @@ -110,6 +132,7 @@
<sys:String x:Key="Settings_OOBE">一键跳转 OOBE</sys:String>

<!--Launch-->
<sys:String x:Key="Settings_Launch_Title">启动设置</sys:String>
<sys:String x:Key="Settings_Launch_Folder">Minecraft 目录设置</sys:String>
<sys:String x:Key="Settings_Launch_Folder_Select">选择目录</sys:String>
<sys:String x:Key="Settings_Launch_Folder_New">增加目录</sys:String>
Expand All @@ -129,6 +152,7 @@
<sys:String x:Key="Settings_Launch_FullScreen">全屏模式</sys:String>

<!--Network-->
<sys:String x:Key="Settings_Network_Title">网络设置</sys:String>
<sys:String x:Key="Settings_Mirror">镜像源设置</sys:String>
<sys:String x:Key="Settings_Mirror_Change">用镜像源</sys:String>
<sys:String x:Key="Settings_Download">下载设置</sys:String>
Expand Down Expand Up @@ -159,9 +183,12 @@
<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_Cancel">取消</sys:String>
<sys:String x:Key="Item_Continue">继续</sys:String>
<sys:String x:Key="Item_Sync">刷新</sys:String>

<sys:String x:Key="Item_Unknown">未知</sys:String>
<sys:String x:Key="Item_Reselect">重新选择</sys:String>

<sys:String x:Key="Item_Theme_Light">亮色</sys:String>
<sys:String x:Key="Item_Theme_Dark">暗色</sys:String>
<sys:String x:Key="Item_Theme_Auto">自适应</sys:String>
Expand All @@ -174,10 +201,10 @@

<!--Info-->
<sys:String x:Key="Info_DebugMode_Changed">您更改了调试(Debug)模式选项,如要使功能生效请重启程序!</sys:String>

<sys:String x:Key="Unknown">未知</sys:String>
<sys:String x:Key="ExpandInterface">展开界面</sys:String>
<sys:String x:Key="CollapseInterface">收起界面</sys:String>
<sys:String x:Key="GameSearchBoxWatermark">在此处查找您的本地游戏实例</sys:String>

<!--DragDropSelect-->
<sys:String x:Key="DDS_ThisAsk">就用这个?</sys:String>
<sys:String x:Key="DDS_EnsureLaunchAsk">确定用此档案启动游戏?</sys:String>
<sys:String x:Key="DDS_DragProfile">拖动档案至此处</sys:String>

</ResourceDictionary>
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ private void AccountViewHandle(object obj, AccountViewMessage accountMessage) {
private void AccountChangeHandle(object obj, AccountChangeNotificationMessage accountMessage) {
if (Accounts.Remove(accountMessage.Account)) {
_notificationService.QueueJob(new NotificationViewData {
Title = "成功",
Content = $"已成功将账户 {accountMessage.Account.Account.Name} 移除!",
Title = "Success",
Content = $"成功移除 {accountMessage.Account.Account.Name} 账户",
NotificationType = NotificationType.Success
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
CommandParameter="{TemplateBinding PrimaryButtonCommandParameter}"/>

<Button Width="65"
Content="关闭"
Content="{DynamicResource Item_Cancel}"
Grid.Column="2"
Margin="8 0 0 0"
Name="closeButton"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
</controls:FontIcon.Transitions>
</controls:FontIcon>

<TextBlock Text="就这个?"
<TextBlock Text="{DynamicResource DDS_ThisAsk}"
FontSize="14"
Opacity="0"
FontWeight="Bold"
Expand All @@ -105,7 +105,7 @@
FontSize="12"
Margin="0 8 0 0"
Name="PART_SubTextBlock"
Text="确定以这个档案启动游戏吗"
Text="{DynamicResource DDS_EnsureLaunchAsk}"
HorizontalAlignment="Center">
<TextBlock.Transitions>
<Transitions>
Expand All @@ -120,7 +120,7 @@
<TextBlock Grid.Row="1"
FontSize="12"
Margin="0 8 0 0"
Text="将档案拖至此处"
Text="{DynamicResource DDS_DragProfile}"
Name="PART_TextBlock"
HorizontalAlignment="Center">
<TextBlock.Transitions>
Expand All @@ -144,15 +144,15 @@
ColumnDefinitions="Auto, Auto, Auto">
<Button Width="180"
Height="35"
Content="取消启动"
Content="{DynamicResource Item_Cancel}"
Classes="launchbutton"
Name="PART_CancelButton"
Command="{TemplateBinding CancelCommand}"
Transitions="{TemplateBinding Transitions}"/>

<Button Width="0"
Height="35"
Content="确定"
Content="{DynamicResource Item_Yes}"
Grid.Column="1"
Classes="launchbutton"
Name="PART_ConfirmButton"
Expand All @@ -163,7 +163,7 @@
<Button Width="0"
Height="35"
Grid.Column="3"
Content="重新选择"
Content="{DynamicResource Item_Reselect}"
Margin="8 0 0 0"
CornerRadius="12"
IsVisible="False"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
Margin="36 16"
Orientation="Vertical">
<TextBlock FontSize="22"
Text="所有核心"
Text="{DynamicResource GMP_AllCore}"
Margin="0 6 0 2"
FontWeight="Bold"
VerticalAlignment="Top"
Expand Down Expand Up @@ -135,14 +135,14 @@
<StackPanel Spacing="8"
Orientation="Horizontal">
<Button CornerRadius="12"
Content="安装新的游戏核心"/>
Content="{DynamicResource GMP_InstallCore}"/>
<Button CornerRadius="12"
Content="导入游戏整合包"/>
Content="{DynamicResource GMP_ModPack}"/>
</StackPanel>

<TextBox Height="35"
Grid.Row="2"
Watermark="搜索你的游戏库..."/>
Watermark="{DynamicResource GMP_SearchCore}"/>
</Grid>
</Border>
</Grid>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

<Grid Margin="15 12"
RowDefinitions="Auto, 1*">
<TextBlock Text="任务列表"
<TextBlock Text="{DynamicResource Task_List}"
FontSize="16"
FontWeight="Bold"/>

Expand Down Expand Up @@ -155,7 +155,7 @@
<TextBlock Grid.Row="1"
FontSize="12"
Name="PART_TaskListTip"
Text="没有正在进行中的任务"
Text="{DynamicResource Task_NothingToDo}"
IsHitTestVisible="False"
VerticalAlignment="Center"
HorizontalAlignment="Center">
Expand Down
2 changes: 1 addition & 1 deletion WonderLab/Views/Dialogs/AccountDropDialog.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
<TextBlock Grid.Row="3"
FontSize="10"
Margin="08"
Text="上次使用:从未使用"
Text="{DynamicResource Dialog_NeverUsed}"
Foreground="{DynamicResource DefaultBrush400}"
HorizontalAlignment="Center"/>
</Grid>
Expand Down
Loading

0 comments on commit 30b100d

Please sign in to comment.