|
20 | 20 | <Converters:BooleanToVisibilityConverter x:Key="booleanToVisConverter" />
|
21 | 21 | <Converters:BooleanConverter x:Key="booleanConverter" />
|
22 | 22 | <subtitles:CanBurnSubtitleConverter x:Key="canBurnSubtitleConverter" />
|
| 23 | + <Converters:ThemeImageConverter x:Key="themeConverter" /> |
23 | 24 |
|
24 | 25 | <Style x:Key="LongToolTip" TargetType="TextBlock">
|
25 | 26 | <Setter Property="Width" Value="400" />
|
|
56 | 57 | <ColumnDefinition Width="Auto" />
|
57 | 58 | <ColumnDefinition Width="Auto" />
|
58 | 59 | <ColumnDefinition Width="Auto" />
|
59 |
| - <ColumnDefinition Width="*" /> |
60 | 60 | <ColumnDefinition Width="Auto" />
|
| 61 | + <ColumnDefinition Width="*" /> |
61 | 62 | <ColumnDefinition Width="Auto" />
|
62 | 63 | </Grid.ColumnDefinitions>
|
63 | 64 |
|
|
77 | 78 | <Button.ContextMenu>
|
78 | 79 | <ContextMenu x:Name="MainContextMenu" PlacementRectangle="{Binding RelativeSource={RelativeSource Self}}">
|
79 | 80 | <MenuItem Header="{x:Static Properties:Resources.Shared_AddNewTrack}" cal:Message.Attach="[Event Click] = [Action Add]" />
|
80 |
| - <MenuItem Header="Add All Remaining Tracks" cal:Message.Attach="[Event Click] = [Action AddAllRemaining]" /> |
81 |
| - <MenuItem Header="Add All Remaining Closed Captions" cal:Message.Attach="[Event Click] = [Action AddAllClosedCaptions]" /> |
82 |
| - <MenuItem Header="Add All Remaining Selected Languages" cal:Message.Attach="[Event Click] = [Action AddAllRemainingForSelectedLanguages]" /> |
| 81 | + <MenuItem Header="{x:Static Properties:Resources.Shared_AddAllRemaining}" cal:Message.Attach="[Event Click] = [Action AddAllRemaining]" /> |
| 82 | + <MenuItem Header="{x:Static Properties:Resources.SubtitleView_AddRemainingCC}" cal:Message.Attach="[Event Click] = [Action AddAllClosedCaptions]" /> |
| 83 | + <MenuItem Header="{x:Static Properties:Resources.Shared_AddAllForSelected}" cal:Message.Attach="[Event Click] = [Action AddAllRemainingForSelectedLanguages]" /> |
| 84 | + <Separator/> |
| 85 | + <MenuItem Header="{x:Static Properties:Resources.SubtitlesView_ImportSubtitle}" cal:Message.Attach="[Event Click] = [Action Import]" /> |
83 | 86 | </ContextMenu>
|
84 | 87 | </Button.ContextMenu>
|
85 | 88 | </Button>
|
86 | 89 |
|
87 |
| - <Button MinWidth="75" Grid.Column="1" |
88 |
| - cal:Message.Attach="[Event Click] = [Action Import]" |
89 |
| - Content="{x:Static Properties:Resources.SubtitlesView_ImportSubtitle}" |
90 |
| - Margin="0,0,10,0"/> |
91 |
| - <Button MinWidth="65" Grid.Column="2" |
92 |
| - Margin="0,0,10,0" |
93 |
| - cal:Message.Attach="[Event Click] = [Action Clear]" |
94 |
| - Content="{x:Static Properties:Resources.Generic_Clear}" /> |
95 | 90 |
|
96 |
| - <Button MinWidth="65" Grid.Column="4" |
97 |
| - Margin="0,0,10,0" |
| 91 | + <Button MinWidth="65" Grid.Column="2" |
| 92 | + Margin="10,0,5,0" |
98 | 93 | cal:Message.Attach="[Event Click] = [Action ShowSubtitleDefaultsPanel]"
|
99 | 94 | Content="{Binding SwitchDisplayTitle}" />
|
100 | 95 |
|
101 |
| - <Button MinWidth="65" Grid.Column="5" |
| 96 | + <Button MinWidth="65" Grid.Column="3" |
102 | 97 | cal:Message.Attach="[Event Click] = [Action ReloadDefaults]"
|
103 | 98 | Content="{x:Static Properties:Resources.Shared_ReloadDefaults}" />
|
| 99 | + |
| 100 | + <Button MinWidth="65" Grid.Column="5" |
| 101 | + Margin="0,0,0,0" |
| 102 | + cal:Message.Attach="[Event Click] = [Action Clear]" |
| 103 | + Content="{x:Static Properties:Resources.Generic_Clear}" /> |
104 | 104 | </Grid>
|
105 | 105 |
|
106 | 106 |
|
|
162 | 162 | <RowDefinition Height="Auto" />
|
163 | 163 | </Grid.RowDefinitions>
|
164 | 164 |
|
| 165 | + <Image Width="16" Source="{Binding Converter={StaticResource themeConverter}, ConverterParameter='Reorder.png'}" /> |
| 166 | + |
165 | 167 | <ComboBox Grid.Column="1" Height="22" Width="235" Margin="5,0,5,0" HorizontalAlignment="Stretch"
|
166 | 168 | ItemsSource="{Binding DataContext.SourceTracks, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}"
|
167 | 169 | SelectedItem="{Binding SourceTrack}" />
|
|
0 commit comments