add localization

This commit is contained in:
Вячеслав 2026-01-03 12:23:50 +05:00
parent 864a07c75c
commit ab49284f2f
10 changed files with 475 additions and 50 deletions

View file

@ -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:MetaforceInstaller.UI.Lang"
mc:Ignorable="d" d:DesignWidth="200" d:DesignHeight="400"
x:Class="MetaforceInstaller.UI.Windows.NewInstallationDialog"
Title="MetaforceInstaller - Add new installation"
@ -9,19 +10,19 @@
CanResize="False">
<StackPanel Margin="24" Spacing="12">
<Label FontSize="36">Add new installation</Label>
<TextBox Name="TitleTextBox" Watermark="Name of new installation"/>
<Button Name="ChooseZip">Choose .zip with installation</Button>
<CheckBox Name="ServerCheckBox">Install server</CheckBox>
<CheckBox Name="PcAdminCheckBox">Install admin</CheckBox>
<CheckBox Name="AndroidAdminCheckbox">Save android admin</CheckBox>
<CheckBox Name="VrClientCheckbox">Save VR client</CheckBox>
<Label FontSize="36" Content="{x:Static lang:Resources.AddInstallation}" />
<TextBox Name="TitleTextBox" Watermark="{x:Static lang:Resources.NameOfNewInstallation}" />
<Button Name="ChooseZip" Content="{x:Static lang:Resources.ChooseZip}" />
<CheckBox Name="ServerCheckBox" Content="{x:Static lang:Resources.InstallServerCheckbox}" />
<CheckBox Name="PcAdminCheckBox" Content="{x:Static lang:Resources.InstallAdminCheckbox}" />
<CheckBox Name="AndroidAdminCheckbox" Content="{x:Static lang:Resources.SaveAndroidAdminCheckbox}" />
<CheckBox Name="VrClientCheckbox" Content="{x:Static lang:Resources.SaveVRClientCheckbox}" />
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Bottom" Spacing="8">
<Button Name="InstallButton">Install</Button>
<Button Name="CancelButton">Cancel</Button>
<Button Name="InstallButton" Content="{x:Static lang:Resources.InstallButton}" />
<Button Name="CancelButton" Content="{x:Static lang:Resources.CancelButton}" />
</StackPanel>
<ProgressBar Name="ProgressBar" Minimum="0" Maximum="100" Value="0"/>
<ProgressBar Name="ProgressBar" Minimum="0" Maximum="100" Value="0" />
</StackPanel>
</Window>