ui(client): translation
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:lang="clr-namespace:ModpackUpdater.Apps.Client.Gui.LangRes"
|
||||
xmlns:svg="clr-namespace:Avalonia.Svg;assembly=Avalonia.Svg"
|
||||
mc:Ignorable="d"
|
||||
x:Class="ModpackUpdater.Apps.Client.Gui.MainForm"
|
||||
@@ -26,10 +27,10 @@
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<!-- Labels -->
|
||||
<Label Grid.Row="0" Grid.Column="0" VerticalAlignment="Center" Content="Minecraft profile:" />
|
||||
<Label Grid.Row="1" Grid.Column="0" VerticalAlignment="Center" Content="Modpack config url:" />
|
||||
<Label Grid.Row="2" Grid.Column="0" VerticalAlignment="Center" IsVisible="false" x:Name="LabelInstallKey" Content="Installation key:" />
|
||||
<Label Grid.Row="3" Grid.Column="0" VerticalAlignment="Center" Content="Status:" />
|
||||
<Label Grid.Row="0" Grid.Column="0" VerticalAlignment="Center" Content="{x:Static lang:GeneralLangRes.MinecraftProfile}:" />
|
||||
<Label Grid.Row="1" Grid.Column="0" VerticalAlignment="Center" Content="{x:Static lang:GeneralLangRes.ModpackConfigUrl}:" />
|
||||
<Label Grid.Row="2" Grid.Column="0" VerticalAlignment="Center" IsVisible="false" x:Name="LabelInstallKey" Content="{x:Static lang:GeneralLangRes.InstallationKey}:" />
|
||||
<Label Grid.Row="3" Grid.Column="0" VerticalAlignment="Center" Content="{x:Static lang:GeneralLangRes.Status}:" />
|
||||
<Label Grid.Row="3" Grid.Column="1" VerticalAlignment="Center">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Image Width="16" Height="16" x:Name="ImageStatus" />
|
||||
@@ -81,7 +82,7 @@
|
||||
>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Image VerticalAlignment="Center" Width="16" Height="16" x:Name="ButtonImageSearchProfileFolder" />
|
||||
<TextBlock VerticalAlignment="Center" Margin="3, 0, 0, 0">Search</TextBlock>
|
||||
<TextBlock VerticalAlignment="Center" Margin="3, 0, 0, 0" Text="{x:Static lang:GeneralLangRes.Select}" />
|
||||
</StackPanel>
|
||||
</Button>
|
||||
|
||||
@@ -94,7 +95,7 @@
|
||||
>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Image VerticalAlignment="Center" Width="16" Height="16" x:Name="ButtonImageCheckForUpdates" />
|
||||
<TextBlock VerticalAlignment="Center" Margin="3, 0, 0, 0">Check for updates</TextBlock>
|
||||
<TextBlock VerticalAlignment="Center" Margin="3, 0, 0, 0" Text="{x:Static lang:GeneralLangRes.CheckForUpdates}" />
|
||||
</StackPanel>
|
||||
</Button>
|
||||
|
||||
@@ -110,11 +111,11 @@
|
||||
>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Image VerticalAlignment="Center" Width="16" Height="16" x:Name="ButtonImageInstall" />
|
||||
<TextBlock VerticalAlignment="Center" Margin="3, 0, 0, 0">Install</TextBlock>
|
||||
<TextBlock VerticalAlignment="Center" Margin="3, 0, 0, 0" Text="{x:Static lang:GeneralLangRes.Install}" />
|
||||
</StackPanel>
|
||||
<SplitButton.Flyout>
|
||||
<MenuFlyout>
|
||||
<MenuItem Header="Repair" Click="MenuItemRepair_Click">
|
||||
<MenuItem Header="{x:Static lang:GeneralLangRes.Repair}" Click="MenuItemRepair_Click">
|
||||
<MenuItem.Icon>
|
||||
<Image Width="16" Height="16" x:Name="MenuItemImageRepair" />
|
||||
</MenuItem.Icon>
|
||||
|
||||
Reference in New Issue
Block a user