|
325 | 325 | Width="290" Height="35" |
326 | 326 | Margin="10,0,0,0" HorizontalAlignment="Left" |
327 | 327 | SelectedIndex="{Binding AppSettings.BackgroundModeSelection, Mode=TwoWay, Converter={StaticResource EnumToIntConverter}}"> |
328 | | - <ComboBoxItem Content="Never" /> |
329 | | - <ComboBoxItem Content="When System is Idle" /> |
330 | | - <ComboBoxItem Content="On Schedule" /> |
331 | | - <ComboBoxItem Content="On Schedule if system is also idle" /> |
| 328 | + <ComboBoxItem Content="{local:Localize SettingsBackgroundWatcherSettingsCompressFoldersNever}" d:Content="Never" /> |
| 329 | + <ComboBoxItem Content="{local:Localize SettingsBackgroundWatcherSettingsCompressFoldersIdle}" d:Content="When System is Idle" /> |
| 330 | + <ComboBoxItem Content="{local:Localize SettingsBackgroundWatcherSettingsCompressFoldersOnSchedule}" d:Content="On Schedule" /> |
| 331 | + <ComboBoxItem Content="{local:Localize SettingsBackgroundWatcherSettingsCompressFoldersOnScheduleIdle}" d:Content="On Schedule if system is also idle" /> |
332 | 332 |
|
333 | 333 | </ComboBox> |
334 | 334 |
|
|
374 | 374 | </DataTemplate> |
375 | 375 | </ComboBox.ItemTemplate> |
376 | 376 | </ComboBox> |
377 | | - |
| 377 | + |
378 | 378 | </StackPanel> |
379 | 379 |
|
380 | 380 | </WrapPanel> |
381 | | - <TextBlock Text="{Binding AppSettings.ScheduledBackgroundLastRan, StringFormat='{}Last ran: {0:dd MMM yyyy \\a\\t HH:mm:ss }', Mode=OneWay}" |
| 381 | + <TextBlock Text="{Binding AppSettings.ScheduledBackgroundLastRan, StringFormat={local:Localize SettingsBackgroundWatcherSettingsCompressFoldersLastRanFormat},Mode=OneWay}" |
382 | 382 | Margin="45,10,0,0" |
383 | 383 | Foreground="#30FFFFFF" /> |
384 | 384 |
|
385 | | - <TextBlock Text="{Binding AppSettings.NextScheduledBackgroundRun, StringFormat='{}Next scheduled: {0:dd MMM yyyy \\a\\t HH:mm:ss }', Mode=OneWay}" |
| 385 | + <TextBlock Text="{Binding AppSettings.NextScheduledBackgroundRun, StringFormat={local:Localize SettingsBackgroundWatcherSettingsCompressFoldersNextScheduledFormat},Mode=OneWay}" |
386 | 386 | Margin="45,10,0,0" |
387 | 387 | Foreground="#30FFFFFF" |
388 | 388 | Visibility="{Binding AppSettings.BackgroundModeSelection, Mode=OneWay, Converter={StaticResource BackgroundModeToVisibilityConverter}}" /> |
|
437 | 437 | </ui:CardExpander.Header> |
438 | 438 |
|
439 | 439 |
|
440 | | - <StackPanel Margin="15,-10,15,10" FlowDirection="LeftToRight"> |
441 | | - <!-- Language Selector --> |
442 | | - <Grid Margin="0,10,0,10"> |
443 | | - <Grid.ColumnDefinitions> |
444 | | - <ColumnDefinition Width="*" /> |
445 | | - <ColumnDefinition Width="Auto" /> |
446 | | - </Grid.ColumnDefinitions> |
| 440 | + <StackPanel Margin="15,-10,15,10" FlowDirection="LeftToRight"> |
| 441 | + <!-- Language Selector --> |
| 442 | + <Grid Margin="0,10,0,10"> |
| 443 | + <Grid.ColumnDefinitions> |
| 444 | + <ColumnDefinition Width="*" /> |
| 445 | + <ColumnDefinition Width="Auto" /> |
| 446 | + </Grid.ColumnDefinitions> |
447 | 447 | <Label Content="{Binding SettingsUiSettingsLanguageChangedLabel, RelativeSource={RelativeSource AncestorType=Page}}" |
448 | 448 | d:Content="Language (Requires Restart)" VerticalAlignment="Center"/> |
449 | | - <ComboBox x:Name="UiLanguageComboBox" Grid.Column="1" Width="150" SelectedIndex="0" SelectionChanged="UiLanguageComboBox_SelectionChanged"> |
450 | | - <ComboBoxItem Content="English" Tag="en-US" /> |
451 | | - <ComboBoxItem Content="简体中文" Tag="zh-CN" /> |
452 | | - </ComboBox> |
453 | | - </Grid> |
454 | | - <StackPanel Margin="-10,10,0,0"> |
455 | | - <CheckBox x:Name="UiAlwaysShowDetailedCompressionMode" |
| 449 | + <ComboBox x:Name="UiLanguageComboBox" |
| 450 | + Width="120" Margin="250,0,0,0" HorizontalAlignment="Left" |
| 451 | + SelectedIndex="0" SelectionChanged="UiLanguageComboBox_SelectionChanged"> |
| 452 | + <ComboBoxItem Content="English" Tag="en-US" /> |
| 453 | + <ComboBoxItem Content="简体中文" Tag="zh-CN" /> |
| 454 | + </ComboBox> |
| 455 | + </Grid> |
| 456 | + <StackPanel Margin="-10,10,0,0"> |
| 457 | + <CheckBox x:Name="UiAlwaysShowDetailedCompressionMode" |
456 | 458 | Content="{local:Localize SettingsUiSettingsCompressionButtons}" |
457 | 459 | d:Content="Always show details on Compression Mode buttons" |
458 | 460 | Margin="0,-3" |
459 | 461 | IsChecked="{Binding AppSettings.AlwaysShowDetailedCompressionMode}" /> |
460 | | - </StackPanel> |
461 | | - </StackPanel> |
| 462 | + </StackPanel> |
| 463 | + </StackPanel> |
462 | 464 |
|
463 | 465 | </ui:CardExpander> |
464 | 466 |
|
|
0 commit comments