emby-toolbox/EmbyToolbox/Views/AddFilesOptionsDialog.xaml
Emby Toolbox 6264b487fe Initial commit: Emby Toolbox (conversion scroll fix, bulk Del for tracks).
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-12 21:33:47 +05:00

51 lines
2.1 KiB
XML

<Window x:Class="EmbyToolbox.Views.AddFilesOptionsDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Параметры добавления"
Width="520"
Height="230"
ResizeMode="NoResize"
WindowStartupLocation="CenterOwner"
Background="{DynamicResource Ui.Brush.Surface}">
<Grid Margin="14">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<TextBlock Grid.Row="0"
Text="Как обработать иностранные встроенные дорожки?"
TextWrapping="Wrap"
Style="{StaticResource UiTextBody}"
Margin="0,0,0,12" />
<StackPanel Grid.Row="1">
<RadioButton GroupName="AddFilesOptions"
Style="{DynamicResource UiRadio}"
Content="Оставить все дорожки"
IsChecked="{Binding OptionKeepAllTracks, Mode=TwoWay}"
Margin="0,0,0,8" />
<RadioButton GroupName="AddFilesOptions"
Style="{DynamicResource UiRadio}"
Content="Пометить иностранные аудио и субтитры на удаление"
IsChecked="{Binding OptionRemoveForeignTracks, Mode=TwoWay}" />
</StackPanel>
<StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,12,0,0">
<Button MinWidth="100"
Margin="0,0,8,0"
Style="{StaticResource UiButtonPrimary}"
Foreground="White"
Content="Добавить"
IsDefault="True"
Command="{Binding AddCommand}" />
<Button MinWidth="100"
Style="{StaticResource UiButtonSecondary}"
Content="Отмена"
IsCancel="True"
Command="{Binding CancelCommand}" />
</StackPanel>
</Grid>
</Window>