XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 0
返回提交历史

SpaceEngineersModDev/SpaceEngineersBlueprintEditorInWinUI

完善部分前端页面的en本地化

261b534
XFE工作室室长 <mail@xfegzs.com>
提交于

代码差异

6 个文件 +187 -35
Modified SpaceEngineersBlueprintEditor/Strings/en-us/Resources.resw +152 -0
@@ -305,4 +305,156 @@
305 305 <value>Scenarios Definitions</value>
306 306 <comment>预设存档定义集</comment>
307 307 </data>
308 <data name="BlueprintDetailPage_RequiredDLC.Header" xml:space="preserve">
309 <value>Required DLC</value>
310 <comment>所需DLC</comment>
311 </data>
312 <data name="BlueprintDetailPage_RequiredComponent.Header" xml:space="preserve">
313 <value>Component for build</value>
314 <comment>建造所需材料</comment>
315 </data>
316 <data name="BlueprintDetailPage_BlueprintGrids.Text" xml:space="preserve">
317 <value>Blueprint's grids</value>
318 <comment>蓝图网格</comment>
319 </data>
320 <data name="BlueprintDetailPage_OpenInEditor.Text" xml:space="preserve">
321 <value>Open in editor</value>
322 <comment>在编辑器中打开</comment>
323 </data>
324 <data name="BlueprintDetailPage_BlueprintBaseInfo.Text" xml:space="preserve">
325 <value>Blueprint's base info</value>
326 <comment>蓝图基本信息</comment>
327 </data>
328 <data name="BlueprintEditSubPage_File.Title" xml:space="preserve">
329 <value>File</value>
330 <comment>文件</comment>
331 </data>
332 <data name="BlueprintEditSubPage_Edit.Title" xml:space="preserve">
333 <value>Edit</value>
334 <comment>编辑</comment>
335 </data>
336 <data name="BlueprintEditSubPage_View.Title" xml:space="preserve">
337 <value>View</value>
338 <comment>查看</comment>
339 </data>
340 <data name="BlueprintEditSubPage_OpenBlueprint.Text" xml:space="preserve">
341 <value>Open blueprint</value>
342 <comment>打开蓝图文件</comment>
343 </data>
344 <data name="BlueprintEditSubPage_ConvertDestructible.Text" xml:space="preserve">
345 <value>Convert to destructible</value>
346 <comment>转为可破坏</comment>
347 </data>
348 <data name="BlueprintEditSubPage_ConvertIndestructible.Text" xml:space="preserve">
349 <value>Convert to indestructible</value>
350 <comment>转为不可破坏</comment>
351 </data>
352 <data name="BlueprintEditSubPage_ConvertEditable.Text" xml:space="preserve">
353 <value>Convert to editable</value>
354 <comment>转为可编辑</comment>
355 </data>
356 <data name="BlueprintEditSubPage_ConvertNonEditable.Text" xml:space="preserve">
357 <value>Convert to non-editable</value>
358 <comment>转为不可编辑</comment>
359 </data>
360 <data name="BlueprintEditSubPage_Save.Text" xml:space="preserve">
361 <value>Save</value>
362 <comment>保存</comment>
363 </data>
364 <data name="BlueprintEditSubPage_OpenInFolder.Text" xml:space="preserve">
365 <value>Open in folder</value>
366 <comment>在文件夹中打开</comment>
367 </data>
368 <data name="BlueprintEditSubPage_SelectorBar_Grids.Text" xml:space="preserve">
369 <value>Grids</value>
370 <comment>网格</comment>
371 </data>
372 <data name="BlueprintEditSubPage_SelectorBar_Groups.Text" xml:space="preserve">
373 <value>Groups (Experimentation)</value>
374 <comment>编组(实验性功能)</comment>
375 </data>
376 <data name="BlueprintEditSubPage_SelectorBar_Properties.Text" xml:space="preserve">
377 <value>Properties</value>
378 <comment>属性</comment>
379 </data>
380 <data name="BlueprintEditSubPage_AutoSuggestBox_CubeBlocks.PlaceholderText" xml:space="preserve">
381 <value>Search cube blocks...</value>
382 <comment>搜索方块...</comment>
383 </data>
384 <data name="TextBlock_DragBlueprint.Text" xml:space="preserve">
385 <value>Drage blueprint here</value>
386 <comment>拖拽蓝图文件至此</comment>
387 </data>
388 <data name="TextBlock_ViewBlueprintsList.Text" xml:space="preserve">
389 <value>View blueprints list</value>
390 <comment>查看蓝图列表</comment>
391 </data>
392 <data name="TextBlock_OpenLocalFile.Text" xml:space="preserve">
393 <value>Open local file</value>
394 <comment>打开本地文件</comment>
395 </data>
396 <data name="BlueprintViewPage_AppBarButton_Open.Label" xml:space="preserve">
397 <value>Open</value>
398 <comment>打开</comment>
399 </data>
400 <data name="BlueprintViewPage_AppBarButton_Copy.Label" xml:space="preserve">
401 <value>Copy</value>
402 <comment>复制</comment>
403 </data>
404 <data name="BlueprintViewPage_AppBarButton_Delete.Label" xml:space="preserve">
405 <value>Delete</value>
406 <comment>删除</comment>
407 </data>
408 <data name="BlueprintViewPage_EnterNewBlueprintName.PlaceholderText" xml:space="preserve">
409 <value>Enter the new blueprint's name</value>
410 <comment>输入新蓝图的名称</comment>
411 </data>
412 <data name="BlueprintViewPage_NoBlueprint.Text" xml:space="preserve">
413 <value>No Blueprint</value>
414 <comment>无蓝图文件</comment>
415 </data>
416 <data name="BlueprintViewPage_AutoSuggestBox_Blueprints.PlaceholderText" xml:space="preserve">
417 <value>Search blueprints...</value>
418 <comment>搜索蓝图名称...</comment>
419 </data>
420 <data name="BlueprintViewPage_RefreshBlueprintsList.Text" xml:space="preserve">
421 <value>Refresh list</value>
422 <comment>刷新列表</comment>
423 </data>
424 <data name="GameDefinitionsViewPage_AutoSuggestBox_Properties.PlaceholderText" xml:space="preserve">
425 <value>Search properties...</value>
426 <comment>搜索属性...</comment>
427 </data>
428 <data name="Button_Yes.Content" xml:space="preserve">
429 <value>Yes</value>
430 <comment>是</comment>
431 </data>
432 <data name="Button_No.Content" xml:space="preserve">
433 <value>No</value>
434 <comment>否</comment>
435 </data>
436 <data name="Button_Confirm.Content" xml:space="preserve">
437 <value>Confirm</value>
438 <comment>确认</comment>
439 </data>
440 <data name="Button_Cancel.Content" xml:space="preserve">
441 <value>Cancel</value>
442 <comment>取消</comment>
443 </data>
444 <data name="ContentDialog_YesOrNo.PrimaryButtonText" xml:space="preserve">
445 <value>Yes</value>
446 <comment>是</comment>
447 </data>
448 <data name="ContentDialog_YesOrNo.SecondaryButtonText" xml:space="preserve">
449 <value>No</value>
450 <comment>否</comment>
451 </data>
452 <data name="ContentDialog_ConfirmOrCancel.PrimaryButtonText" xml:space="preserve">
453 <value>Confirm</value>
454 <comment>确认</comment>
455 </data>
456 <data name="ContentDialog_ConfirmOrCancel.SecondaryButtonText" xml:space="preserve">
457 <value>Cancel</value>
458 <comment>取消</comment>
459 </data>
308 460 </root>
Modified SpaceEngineersBlueprintEditor/Views/BlueprintDetailPage.xaml +5 -5
@@ -13,7 +13,7 @@
13 13 <StackPanel Orientation="Vertical" Spacing="20">
14 14 <Grid HorizontalAlignment="Stretch" VerticalAlignment="Top" Height="300" ColumnDefinitions="Auto, *, Auto" ColumnSpacing="20" RowDefinitions="*, *, *, *, *, *">
15 15 <Image x:Name="detailPreviewImage" Grid.RowSpan="6" Stretch="Uniform"/>
16 <TextBlock Grid.Column="1" Grid.Row="0" IsTextSelectionEnabled="True" TextWrapping="Wrap" Text="蓝图基本信息" Style="{ThemeResource BodyStrongTextBlockStyle}"/>
16 <TextBlock x:Uid="BlueprintDetailPage_BlueprintBaseInfo" Grid.Column="1" Grid.Row="0" IsTextSelectionEnabled="True" TextWrapping="Wrap" Style="{ThemeResource BodyStrongTextBlockStyle}"/>
17 17 <TextBlock Grid.Column="1" Grid.Row="1" IsTextSelectionEnabled="True" TextWrapping="Wrap" Text="{x:Bind ViewModel.AuthorName, Mode=OneWay}"/>
18 18 <TextBlock Grid.Column="1" Grid.Row="2" IsTextSelectionEnabled="True" TextWrapping="WrapWholeWords" Text="{x:Bind ViewModel.BlueprintFileSize, Mode=OneWay}"/>
19 19 <TextBlock Grid.Column="1" Grid.Row="3" IsTextSelectionEnabled="True" TextWrapping="WrapWholeWords" Text="{x:Bind ViewModel.BlueprintPath, Mode=OneWay}"/>
@@ -21,15 +21,15 @@
21 21 <TextBlock Grid.Column="1" Grid.Row="5" IsTextSelectionEnabled="True" TextWrapping="WrapWholeWords" Text="{x:Bind ViewModel.IsBlueprintEditable, Mode=OneWay}"/>
22 22 <Button Grid.Column="2" Grid.RowSpan="6" HorizontalAlignment="Right" VerticalAlignment="Top" Command="{x:Bind ViewModel.GoToEditorPageCommand}">
23 23 <StackPanel Orientation="Horizontal" Spacing="20">
24 <TextBlock Text="Open in editor"/>
24 <TextBlock x:Uid="BlueprintDetailPage_OpenInEditor"/>
25 25 <FontIcon Glyph="&#xE8A7;"/>
26 26 </StackPanel>
27 27 </Button>
28 28 </Grid>
29 <Expander Header="所需DLC列表" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch">
29 <Expander x:Uid="BlueprintDetailPage_RequiredDLC" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch">
30 30 <ListView ItemsSource="{x:Bind ViewModel.DLCList, Mode=OneWay}" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch"/>
31 31 </Expander>
32 <Expander Header="所需材料" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch">
32 <Expander x:Uid="BlueprintDetailPage_RequiredComponent" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch">
33 33 <ItemsView ItemsSource="{x:Bind ViewModel.ComponentList, Mode=OneWay}" Padding="4" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" ItemTemplate="{StaticResource ComponentDataTemplate}">
34 34 <ItemsView.Layout>
35 35 <UniformGridLayout Orientation="Horizontal"/>
@@ -39,7 +39,7 @@
39 39 <Expander HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch">
40 40 <Expander.Header>
41 41 <Grid ColumnDefinitions="*, Auto, Auto" ColumnSpacing="20">
42 <TextBlock Text="蓝图网格" HorizontalAlignment="Left"/>
42 <TextBlock x:Uid="BlueprintDetailPage_BlueprintGrids" HorizontalAlignment="Left"/>
43 43 <TextBlock Grid.Column="1" Text="{x:Bind ViewModel.TotalGridNumber, Mode=OneWay}"/>
44 44 <TextBlock Grid.Column="2" Text="{x:Bind ViewModel.TotalCubeNumber, Mode=OneWay}"/>
45 45 </Grid>
Modified SpaceEngineersBlueprintEditor/Views/BlueprintEditSubPage.xaml +17 -17
@@ -86,27 +86,27 @@
86 86 <RowDefinition/>
87 87 </Grid.RowDefinitions>
88 88 <MenuBar>
89 <MenuBarItem Title="File">
90 <MenuFlyoutItem Text="Open blueprint" Icon="OpenFile" Command="{x:Bind ViewModel.OpenBlueprintCommand}">
89 <MenuBarItem x:Uid="BlueprintEditSubPage_File">
90 <MenuFlyoutItem x:Uid="BlueprintEditSubPage_OpenBlueprint" Icon="OpenFile" Command="{x:Bind ViewModel.OpenBlueprintCommand}">
91 91 <MenuFlyoutItem.KeyboardAccelerators>
92 92 <KeyboardAccelerator Modifiers="Control" Key="N"/>
93 93 </MenuFlyoutItem.KeyboardAccelerators>
94 94 </MenuFlyoutItem>
95 <MenuFlyoutItem Text="Save" Icon="Save" Command="{x:Bind ViewModel.SaveCommand}">
95 <MenuFlyoutItem x:Uid="BlueprintEditSubPage_Save" Icon="Save" Command="{x:Bind ViewModel.SaveCommand}">
96 96 <MenuFlyoutItem.KeyboardAccelerators>
97 97 <KeyboardAccelerator Modifiers="Control" Key="S"/>
98 98 </MenuFlyoutItem.KeyboardAccelerators>
99 99 </MenuFlyoutItem>
100 100 </MenuBarItem>
101 <MenuBarItem Title="Edit">
102 <MenuFlyoutItem Icon="RepeatAll" Text="Convert to destructible" Command="{x:Bind ViewModel.ConvertBlueprintCommand}" CommandParameter="Destructible"/>
103 <MenuFlyoutItem Icon="RepeatAll" Text="Convert to indestructible" Command="{x:Bind ViewModel.ConvertBlueprintCommand}" CommandParameter="Indestructible"/>
101 <MenuBarItem x:Uid="BlueprintEditSubPage_Edit">
102 <MenuFlyoutItem Icon="RepeatAll" x:Uid="BlueprintEditSubPage_ConvertDestructible" Command="{x:Bind ViewModel.ConvertBlueprintCommand}" CommandParameter="Destructible"/>
103 <MenuFlyoutItem Icon="RepeatAll" x:Uid="BlueprintEditSubPage_ConvertIndestructible" Command="{x:Bind ViewModel.ConvertBlueprintCommand}" CommandParameter="Indestructible"/>
104 104 <MenuFlyoutSeparator/>
105 <MenuFlyoutItem Icon="RepeatAll" Text="Convert to editable" Command="{x:Bind ViewModel.ConvertBlueprintCommand}" CommandParameter="Editable"/>
106 <MenuFlyoutItem Icon="RepeatAll" Text="Convert to non-editable" Command="{x:Bind ViewModel.ConvertBlueprintCommand}" CommandParameter="Non-Editable"/>
105 <MenuFlyoutItem Icon="RepeatAll" x:Uid="BlueprintEditSubPage_ConvertEditable" Command="{x:Bind ViewModel.ConvertBlueprintCommand}" CommandParameter="Editable"/>
106 <MenuFlyoutItem Icon="RepeatAll" x:Uid="BlueprintEditSubPage_ConvertNonEditable" Command="{x:Bind ViewModel.ConvertBlueprintCommand}" CommandParameter="Non-Editable"/>
107 107 </MenuBarItem>
108 <MenuBarItem Title="View">
109 <MenuFlyoutItem Text="Open in folder" Icon="OpenLocal" Command="{x:Bind ViewModel.OpenInFolderCommand}"/>
108 <MenuBarItem x:Uid="BlueprintEditSubPage_View">
109 <MenuFlyoutItem x:Uid="BlueprintEditSubPage_OpenInFolder" Icon="OpenLocal" Command="{x:Bind ViewModel.OpenInFolderCommand}"/>
110 110 </MenuBarItem>
111 111 </MenuBar>
112 112 <Grid Grid.Row="1" Visibility="{x:Bind ViewModel.IsContentGridVisible, Mode=OneWay}">
@@ -115,9 +115,9 @@
115 115 <RowDefinition/>
116 116 </Grid.RowDefinitions>
117 117 <SelectorBar x:Name="selectorBar">
118 <SelectorBarItem Text="Grids" Tag="Grids" IsSelected="True"/>
119 <SelectorBarItem Text="Groups (Experimentation)" Tag="Groups"/>
120 <SelectorBarItem Text="Properties" Tag="Properties"/>
118 <SelectorBarItem x:Uid="BlueprintEditSubPage_SelectorBar_Grids" Tag="Grids" IsSelected="True"/>
119 <SelectorBarItem x:Uid="BlueprintEditSubPage_SelectorBar_Groups" Tag="Groups"/>
120 <SelectorBarItem x:Uid="BlueprintEditSubPage_SelectorBar_Properties" Tag="Properties"/>
121 121 </SelectorBar>
122 122 <Grid Grid.Row="1">
123 123 <Grid RowSpacing="10" Visibility="{x:Bind ViewModel.IsCubeGridListVisible, Mode=OneWay}">
@@ -129,7 +129,7 @@
129 129 <RowDefinition Height="Auto"/>
130 130 <RowDefinition/>
131 131 </Grid.RowDefinitions>
132 <AutoSuggestBox Margin="5,0,0,0" Width="250" Text="{x:Bind ViewModel.SearchText, Mode=TwoWay}" PlaceholderText="Search cube blocks..." QueryIcon="Find" HorizontalAlignment="Left"/>
132 <AutoSuggestBox x:Uid="BlueprintEditSubPage_AutoSuggestBox_CubeBlocks" Margin="5,0,0,0" Width="250" Text="{x:Bind ViewModel.SearchText, Mode=TwoWay}" QueryIcon="Find" HorizontalAlignment="Left"/>
133 133 <ListView x:Name="cubeGridsListView" Grid.Row="1" ItemsSource="{x:Bind CubeGridViewSource.View, Mode=OneWay}" SelectedItem="{x:Bind ViewModel.SelectedCubeBlock, Mode=TwoWay}">
134 134 <ListView.ItemsPanel>
135 135 <ItemsPanelTemplate>
@@ -202,7 +202,7 @@
202 202 </Rectangle>
203 203 <StackPanel Orientation="Vertical" VerticalAlignment="Center" HorizontalAlignment="Center" Spacing="10">
204 204 <FontIcon Glyph="&#xF8AA;" FontSize="80"/>
205 <TextBlock Text="Drag blueprint here" Style="{ThemeResource SubtitleTextBlockStyle}"/>
205 <TextBlock x:Uid="TextBlock_DragBlueprint" Style="{ThemeResource SubtitleTextBlockStyle}"/>
206 206 </StackPanel>
207 207 </Grid>
208 208 <Grid ColumnSpacing="10" Margin="0,20,0,0">
@@ -213,13 +213,13 @@
213 213 <Button x:Name="viewBlueprintsList" VerticalAlignment="Top" HorizontalAlignment="Right" Command="{x:Bind ViewModel.ViewBlueprintsListCommand}">
214 214 <StackPanel Orientation="Horizontal" Spacing="5">
215 215 <FontIcon Glyph="&#xE890;"/>
216 <TextBlock Text="查看蓝图列表"/>
216 <TextBlock x:Uid="TextBlock_ViewBlueprintsList"/>
217 217 </StackPanel>
218 218 </Button>
219 219 <Button x:Name="openLocalFile" Grid.Column="1" VerticalAlignment="Top" HorizontalAlignment="Left" Command="{x:Bind ViewModel.OpenBlueprintCommand}">
220 220 <StackPanel Orientation="Horizontal" Spacing="5">
221 221 <FontIcon Glyph="&#xE8DA;"/>
222 <TextBlock Text="打开本地文件"/>
222 <TextBlock x:Uid="TextBlock_OpenLocalFile"/>
223 223 </StackPanel>
224 224 </Button>
225 225 </Grid>
Modified SpaceEngineersBlueprintEditor/Views/BlueprintsViewPage.xaml +9 -9
@@ -10,14 +10,14 @@
10 10 mc:Ignorable="d">
11 11 <Page.Resources>
12 12 <CommandBarFlyout Placement="Right" x:FieldModifier="internal" x:Name="commandBarFlyout" ShowMode="Auto">
13 <AppBarButton Label="Open" Icon="OpenLocal" ToolTipService.ToolTip="Open In Folder" Command="{x:Bind ViewModel.OpenInFolderCommand}"/>
14 <AppBarButton Label="Copy" Icon="Copy" ToolTipService.ToolTip="Copy" Command="{x:Bind ViewModel.CopyToCommand}"/>
15 <AppBarButton Label="Delete" Icon="Delete" ToolTipService.ToolTip="Delete">
13 <AppBarButton x:Uid="BlueprintViewPage_AppBarButton_Open" Icon="OpenLocal" ToolTipService.ToolTip="Open In Folder" Command="{x:Bind ViewModel.OpenInFolderCommand}"/>
14 <AppBarButton x:Uid="BlueprintViewPage_AppBarButton_Copy" Icon="Copy" ToolTipService.ToolTip="Copy" Command="{x:Bind ViewModel.CopyToCommand}"/>
15 <AppBarButton x:Uid="BlueprintViewPage_AppBarButton_Delete" Icon="Delete" ToolTipService.ToolTip="Delete">
16 16 <AppBarButton.Flyout>
17 17 <Flyout>
18 18 <StackPanel Spacing="20" MaxWidth="250">
19 19 <TextBlock Text="{x:Bind ViewModel.DeleteEnsureText, Mode=OneWay}" TextWrapping="WrapWholeWords"/>
20 <Button HorizontalAlignment="Center" Content="Yes" Command="{x:Bind ViewModel.DeleteBlueprintCommand}"/>
20 <Button x:Uid="BlueprintViewPage_Button_Confirm" HorizontalAlignment="Center" Command="{x:Bind ViewModel.DeleteBlueprintCommand}"/>
21 21 </StackPanel>
22 22 </Flyout>
23 23 </AppBarButton.Flyout>
@@ -26,8 +26,8 @@
26 26 </Page.Resources>
27 27
28 28 <Grid>
29 <ContentDialog x:Name="copyToContentDialog" IsPrimaryButtonEnabled="True" IsSecondaryButtonEnabled="True" PrimaryButtonText="OK" SecondaryButtonText="Cancel" DefaultButton="Primary">
30 <TextBox Text="{x:Bind ViewModel.CopyFolderText, Mode=TwoWay}" PlaceholderText="Enter the new blueprint's name"/>
29 <ContentDialog x:Name="copyToContentDialog" x:Uid="ContentDialog_YesOrNo" IsPrimaryButtonEnabled="True" IsSecondaryButtonEnabled="True" DefaultButton="Primary">
30 <TextBox x:Uid="BlueprintViewPage_EnterNewBlueprintName" Text="{x:Bind ViewModel.CopyFolderText, Mode=TwoWay}"/>
31 31 </ContentDialog>
32 32 <GridView x:Name="blueprintGridView" ItemsSource="{x:Bind ViewModel.BlueprintInfoViewDataList}" SelectionMode="None" IsItemClickEnabled="True" ItemClick="GridView_ItemClick" Loaded="BlueprintGridView_Loaded">
33 33 <GridView.ItemTemplate>
@@ -37,7 +37,7 @@
37 37 <Image x:Name="connectedElement" Grid.RowSpan="2" Source="{x:Bind BlueprintImage, FallbackValue='/Assets/Images/BlueprintDrag.png'}" Stretch="Uniform" VerticalAlignment="Top"/>
38 38 <StackPanel Visibility="{x:Bind NoBlueprint}" Opacity="0.5" Background="{ThemeResource AcrylicInAppFillColorDefaultBrush}">
39 39 <Image Source="/Assets/Images/forbidden.svg" Width="80" Height="80"/>
40 <TextBlock Text="No Blueprint" Style="{ThemeResource TitleTextBlockStyle}" HorizontalAlignment="Center"/>
40 <TextBlock x:Uid="BlueprintViewPage_NoBlueprint" Style="{ThemeResource TitleTextBlockStyle}" HorizontalAlignment="Center"/>
41 41 </StackPanel>
42 42 <Grid Height="38" ColumnSpacing="5" Padding="5,0,5,0" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Background="{ThemeResource AcrylicInAppFillColorDefaultBrush}">
43 43 <Grid.ColumnDefinitions>
@@ -53,11 +53,11 @@
53 53 </GridView>
54 54 <Grid Margin="0,0,0,20" Padding="5" CornerRadius="8" VerticalAlignment="Bottom" HorizontalAlignment="Center" Background="{ThemeResource AcrylicInAppFillColorDefaultBrush}">
55 55 <StackPanel Orientation="Horizontal" Spacing="10">
56 <AutoSuggestBox Width="250" QueryIcon="Find" Text="{x:Bind ViewModel.SearchText,Mode=TwoWay}" PlaceholderText="Search blueprints..." />
56 <AutoSuggestBox x:Uid="BlueprintViewPage_AutoSuggestBox_Blueprints" Width="250" QueryIcon="Find" Text="{x:Bind ViewModel.SearchText,Mode=TwoWay}"/>
57 57 <Button Grid.Column="1" Command="{x:Bind ViewModel.RefreshBlueprintsCommand}">
58 58 <StackPanel Orientation="Horizontal" Spacing="5">
59 59 <FontIcon Glyph="&#xE72C;"/>
60 <TextBlock Text="Refresh list"/>
60 <TextBlock x:Uid="BlueprintViewPage_RefreshBlueprintsList"/>
61 61 </StackPanel>
62 62 </Button>
63 63 </StackPanel>
Modified SpaceEngineersBlueprintEditor/Views/GameDefinitionsViewPage.xaml +1 -1
@@ -21,7 +21,7 @@
21 21 <Image Source="{x:Bind ViewModel.SelectedDefinitionViewData.ImageSource, Mode=OneWay}" HorizontalAlignment="Left" Width="128" Height="128"/>
22 22 <TextBlock Text="{x:Bind ViewModel.SelectedDefinitionViewData.DefinitionBase.DescriptionText, Mode=OneWay}" HorizontalAlignment="Left" Style="{ThemeResource CaptionTextBlockStyle}"/>
23 23 </StackPanel>
24 <AutoSuggestBox Margin="5,10,5,0" Grid.Row="1" HorizontalAlignment="Stretch" PlaceholderText="Search properties..." QueryIcon="Find" Text="{x:Bind ViewModel.PropertiesSearchText, Mode=TwoWay}"/>
24 <AutoSuggestBox x:Uid="GameDefinitionsViewPage_AutoSuggestBox_Properties" Margin="5,10,5,0" Grid.Row="1" HorizontalAlignment="Stretch" QueryIcon="Find" Text="{x:Bind ViewModel.PropertiesSearchText, Mode=TwoWay}"/>
25 25 <ScrollView Padding="5" Grid.Row="2">
26 26 <ListView ItemsSource="{x:Bind ViewModel.PropertiesInfo}">
27 27 <ListView.ItemTemplate>
Modified SpaceEngineersBlueprintEditor/Views/MainPage.xaml +3 -3
@@ -22,7 +22,7 @@
22 22 </Rectangle>
23 23 <StackPanel Orientation="Vertical" VerticalAlignment="Center" HorizontalAlignment="Center" Spacing="10">
24 24 <FontIcon Glyph="&#xF8AA;" FontSize="80"/>
25 <TextBlock Text="Drag blueprint here" Style="{ThemeResource SubtitleTextBlockStyle}"/>
25 <TextBlock x:Uid="TextBlock_DragBlueprint" Style="{ThemeResource SubtitleTextBlockStyle}"/>
26 26 </StackPanel>
27 27 </Grid>
28 28 <Grid ColumnSpacing="10" Margin="0,20,0,0">
@@ -33,13 +33,13 @@
33 33 <Button x:Name="viewBlueprintsList" VerticalAlignment="Top" HorizontalAlignment="Right" Command="{x:Bind ViewModel.ViewBlueprintsListCommand}">
34 34 <StackPanel Orientation="Horizontal" Spacing="5">
35 35 <FontIcon Glyph="&#xE890;"/>
36 <TextBlock Text="查看蓝图列表"/>
36 <TextBlock x:Uid="TextBlock_ViewBlueprintsList"/>
37 37 </StackPanel>
38 38 </Button>
39 39 <Button x:Name="openLocalFile" Grid.Column="1" VerticalAlignment="Top" HorizontalAlignment="Left" Command="{x:Bind ViewModel.OpenBlueprintInFolderCommand}">
40 40 <StackPanel Orientation="Horizontal" Spacing="5">
41 41 <FontIcon Glyph="&#xE8DA;"/>
42 <TextBlock Text="打开本地文件"/>
42 <TextBlock x:Uid="TextBlock_OpenLocalFile"/>
43 43 </StackPanel>
44 44 </Button>
45 45 </Grid>