mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Move new strings to resources.
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
xmlns:windowManager="clr-namespace:Iciclecreek.Avalonia.WindowManager;assembly=Iciclecreek.Avalonia.WindowManager"
|
||||
xmlns:dialogs="clr-namespace:Aaru.Tui.ViewModels.Dialogs"
|
||||
xmlns:brushes="https://github.com/jinek/consolonia"
|
||||
xmlns:localization="clr-namespace:Aaru.Tui.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -14,7 +15,7 @@
|
||||
WindowStartupLocation="CenterScreen"
|
||||
BorderBrush="Blue"
|
||||
CanResize="False"
|
||||
Title="Help">
|
||||
Title="{x:Static localization:Resources.Help_Title}">
|
||||
<Design.DataContext>
|
||||
<dialogs:ImageHelpDialogViewModel />
|
||||
</Design.DataContext>
|
||||
@@ -31,7 +32,7 @@
|
||||
Text="ESC" />
|
||||
<TextBlock Grid.Column="1"
|
||||
Foreground="SlateBlue"
|
||||
Text="Go back to previous window" />
|
||||
Text="{x:Static localization:Resources.GoBack_Text}" />
|
||||
</Grid>
|
||||
<Grid ColumnDefinitions="Auto,*"
|
||||
ColumnSpacing="2">
|
||||
@@ -40,7 +41,7 @@
|
||||
Text="F1 " />
|
||||
<TextBlock Grid.Column="1"
|
||||
Foreground="SlateBlue"
|
||||
Text="Shows this help" />
|
||||
Text="{x:Static localization:Resources.ShowHelp_Text}" />
|
||||
</Grid>
|
||||
<Grid ColumnDefinitions="Auto,*"
|
||||
ColumnSpacing="2">
|
||||
@@ -49,12 +50,12 @@
|
||||
Text="F10" />
|
||||
<TextBlock Grid.Column="1"
|
||||
Foreground="SlateBlue"
|
||||
Text="Exits the application" />
|
||||
Text="{x:Static localization:Resources.ExitApplication_Text}" />
|
||||
</Grid>
|
||||
<StackPanel Orientation="Horizontal"
|
||||
HorizontalAlignment="Right"
|
||||
Spacing="1">
|
||||
<Button Content="OK"
|
||||
<Button Content="{x:Static localization:Resources.OkButton_Content}"
|
||||
Command="{Binding OkCommand, Mode=OneWay}" />
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
Reference in New Issue
Block a user