diff options
author | Scott <[email protected]> | 2015-09-19 23:08:36 +0100 |
---|---|---|
committer | Scott <[email protected]> | 2015-09-19 23:08:36 +0100 |
commit | 74234342b8ec3aa7fcbd5a3b2cdf3d5e56bd3d99 (patch) | |
tree | efe87692d1fd38bad4173f389d2d29076d3c391d /win | |
parent | 5b446548672626c960b8c72db72d8e6f82b7e955 (diff) |
WinGui: Adding a number of new tooltips for some of the more complicated controls.
Diffstat (limited to 'win')
-rw-r--r-- | win/CS/HandBrakeWPF/Properties/ResourcesTooltips.Designer.cs | 148 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Properties/ResourcesTooltips.resx | 64 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Views/FiltersView.xaml | 14 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Views/MainView.xaml | 8 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Views/PictureSettingsView.xaml | 11 |
5 files changed, 234 insertions, 11 deletions
diff --git a/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.Designer.cs b/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.Designer.cs index 449eb17fa..c94852f1f 100644 --- a/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.Designer.cs +++ b/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.Designer.cs @@ -61,6 +61,154 @@ namespace HandBrakeWPF.Properties { }
/// <summary>
+ /// Looks up a localized string similar to The deblocking filter removes a common type of compression artifact.
+ ///If your source exhibits 'blockiness', this filter may help clean it up..
+ /// </summary>
+ public static string FilterView_Deblock {
+ get {
+ return ResourceManager.GetString("FilterView_Deblock", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Choose decomb or deinterlace filter options.
+ ///
+ ///The decomb filter selectively deinterlaces frames that appear to be interlaced.
+ ///This will preserve quality in frames that are not interlaced.
+ ///
+ ///The classic deinterlace filter is applied to all frames.
+ ///Frames that are not interlaced will suffer some quality degradation..
+ /// </summary>
+ public static string FilterView_DecombDeinterlace {
+ get {
+ return ResourceManager.GetString("FilterView_DecombDeinterlace", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Denoise filtering reduces or removes the appearance of noise and grain.
+ ///Film grain and other types of high frequency noise are difficult to compress.
+ ///Using this filter on such sources can result in smaller file sizes..
+ /// </summary>
+ public static string FilterView_Denoise {
+ get {
+ return ResourceManager.GetString("FilterView_Denoise", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to This filter removes 'combing' artifacts that are the result of telecining.
+ ///
+ ///Telecining is a process that adjusts film framerates that are 24fps to NTSC video frame rates which are 30fps..
+ /// </summary>
+ public static string FilterView_Detelecine {
+ get {
+ return ResourceManager.GetString("FilterView_Detelecine", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to If enabled, filter colour components out of video..
+ /// </summary>
+ public static string FilterView_Grayscale {
+ get {
+ return ResourceManager.GetString("FilterView_Grayscale", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to This is the location and filename where your encoded file will be saved..
+ /// </summary>
+ public static string MainView_Destination {
+ get {
+ return ResourceManager.GetString("MainView_Destination", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Add iPod Atom needed by some older iPods..
+ /// </summary>
+ public static string MainView_IpodAtom {
+ get {
+ return ResourceManager.GetString("MainView_IpodAtom", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Format to mux encoded tracks to..
+ /// </summary>
+ public static string MainView_Mux {
+ get {
+ return ResourceManager.GetString("MainView_Mux", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Optimise the layout of the MP4 file for progressive download.
+ ///This allows a player to initiate playback before downloading the entire file..
+ /// </summary>
+ public static string MainView_Optimise {
+ get {
+ return ResourceManager.GetString("MainView_Optimise", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Choose a start and end point of the source title to encode. This can be in chapters, seconds or frames..
+ /// </summary>
+ public static string MainView_Range {
+ get {
+ return ResourceManager.GetString("MainView_Range", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Set the title to encode.
+ ///By default, HandBrake will try and select the main title, or the longest if one isn't found..
+ /// </summary>
+ public static string MainView_Title {
+ get {
+ return ResourceManager.GetString("MainView_Title", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to None - Force pixel aspect ratio to 1:1.
+ ///Loose - Align dimensions to chosen 'Alignment' value
+ /// and pick pixel aspect ratio that preserves the
+ /// original display aspect ratio
+ ///Strict - Keep original source dimensions and pixel aspect ratio.
+ /// </summary>
+ public static string PictureSettingsView_Anamorphic {
+ get {
+ return ResourceManager.GetString("PictureSettingsView_Anamorphic", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Align storage dimensions to multiples of this value.
+ ///
+ ///This setting is only necessary for compatibility with some devices.
+ ///You should use 2 unless you experience compatibility issues..
+ /// </summary>
+ public static string PictureSettingsView_Modulus {
+ get {
+ return ResourceManager.GetString("PictureSettingsView_Modulus", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Pixel aspect defines the shape of the pixels.
+ ///A 1:1 ratio defines a square pixel. Other values define rectangular shapes.
+ ///Players will scale the image in order to achieve the specified aspect..
+ /// </summary>
+ public static string PictureSettingsView_PAR {
+ get {
+ return ResourceManager.GetString("PictureSettingsView_PAR", resourceCulture);
+ }
+ }
+
+ /// <summary>
/// Looks up a localized string similar to Delete the job from the queue..
/// </summary>
public static string QueueView_DeleteJob {
diff --git a/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.resx b/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.resx index a97cb693e..f3a1ab415 100644 --- a/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.resx +++ b/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.resx @@ -117,6 +117,70 @@ <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
+ <data name="FilterView_Deblock" xml:space="preserve">
+ <value>The deblocking filter removes a common type of compression artifact.
+If your source exhibits 'blockiness', this filter may help clean it up.</value>
+ </data>
+ <data name="FilterView_DecombDeinterlace" xml:space="preserve">
+ <value>Choose decomb or deinterlace filter options.
+
+The decomb filter selectively deinterlaces frames that appear to be interlaced.
+This will preserve quality in frames that are not interlaced.
+
+The classic deinterlace filter is applied to all frames.
+Frames that are not interlaced will suffer some quality degradation.</value>
+ </data>
+ <data name="FilterView_Denoise" xml:space="preserve">
+ <value>Denoise filtering reduces or removes the appearance of noise and grain.
+Film grain and other types of high frequency noise are difficult to compress.
+Using this filter on such sources can result in smaller file sizes.</value>
+ </data>
+ <data name="FilterView_Detelecine" xml:space="preserve">
+ <value>This filter removes 'combing' artifacts that are the result of telecining.
+
+Telecining is a process that adjusts film framerates that are 24fps to NTSC video frame rates which are 30fps.</value>
+ </data>
+ <data name="FilterView_Grayscale" xml:space="preserve">
+ <value>If enabled, filter colour components out of video.</value>
+ </data>
+ <data name="MainView_Destination" xml:space="preserve">
+ <value>This is the location and filename where your encoded file will be saved.</value>
+ </data>
+ <data name="MainView_IpodAtom" xml:space="preserve">
+ <value>Add iPod Atom needed by some older iPods.</value>
+ </data>
+ <data name="MainView_Mux" xml:space="preserve">
+ <value>Format to mux encoded tracks to.</value>
+ </data>
+ <data name="MainView_Optimise" xml:space="preserve">
+ <value>Optimise the layout of the MP4 file for progressive download.
+This allows a player to initiate playback before downloading the entire file.</value>
+ </data>
+ <data name="MainView_Range" xml:space="preserve">
+ <value>Choose a start and end point of the source title to encode. This can be in chapters, seconds or frames.</value>
+ </data>
+ <data name="MainView_Title" xml:space="preserve">
+ <value>Set the title to encode.
+By default, HandBrake will try and select the main title, or the longest if one isn't found.</value>
+ </data>
+ <data name="PictureSettingsView_Anamorphic" xml:space="preserve">
+ <value>None - Force pixel aspect ratio to 1:1.
+Loose - Align dimensions to chosen 'Alignment' value
+ and pick pixel aspect ratio that preserves the
+ original display aspect ratio
+Strict - Keep original source dimensions and pixel aspect ratio</value>
+ </data>
+ <data name="PictureSettingsView_Modulus" xml:space="preserve">
+ <value>Align storage dimensions to multiples of this value.
+
+This setting is only necessary for compatibility with some devices.
+You should use 2 unless you experience compatibility issues.</value>
+ </data>
+ <data name="PictureSettingsView_PAR" xml:space="preserve">
+ <value>Pixel aspect defines the shape of the pixels.
+A 1:1 ratio defines a square pixel. Other values define rectangular shapes.
+Players will scale the image in order to achieve the specified aspect.</value>
+ </data>
<data name="QueueView_DeleteJob" xml:space="preserve">
<value>Delete the job from the queue.</value>
</data>
diff --git a/win/CS/HandBrakeWPF/Views/FiltersView.xaml b/win/CS/HandBrakeWPF/Views/FiltersView.xaml index d8304c1c6..471d41049 100644 --- a/win/CS/HandBrakeWPF/Views/FiltersView.xaml +++ b/win/CS/HandBrakeWPF/Views/FiltersView.xaml @@ -48,6 +48,7 @@ <TextBlock Text="{x:Static Properties:ResourcesUI.FiltersView_Detelecine}" Grid.Row="0" Grid.Column="0" Margin="0,0,0,10" />
<ComboBox Width="120" Grid.Row="0" ItemsSource="{Binding DetelecineOptions, Converter={StaticResource boolComboConverter}}"
SelectedItem="{Binding SelectedDetelecine, Converter={StaticResource boolComboConverter}}" Grid.Column="1" Margin="0,0,0,10"
+ ToolTip="{x:Static Properties:ResourcesTooltips.FilterView_Detelecine}"
HorizontalAlignment="Left"/>
<TextBox Width="120" Grid.Row="0" Grid.Column="2" Margin="0,0,0,10" Text="{Binding CustomDetelecine, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Left"
Visibility="{Binding ShowDetelecineCustom, Converter={StaticResource boolToVisConverter}}"/>
@@ -55,8 +56,10 @@ <TextBlock Text="{Binding DeinterlaceControlText}" Grid.Row="1" Grid.Column="0" Margin="0,0,0,10" VerticalAlignment="Top"/>
<StackPanel Grid.Row="1" Grid.Column="1" >
<StackPanel Orientation="Horizontal">
- <RadioButton GroupName="Interlace" Content="{x:Static Properties:ResourcesUI.FiltersView_Deinterlace}" IsChecked="{Binding IsDeinterlaceMode}" />
- <RadioButton GroupName="Interlace" Content="{x:Static Properties:ResourcesUI.FiltersView_Decomb}" Margin="10,0,0,0" IsChecked="{Binding IsDeinterlaceMode, Converter={StaticResource inverseBooleanConverter}}" />
+ <RadioButton GroupName="Interlace" Content="{x:Static Properties:ResourcesUI.FiltersView_Deinterlace}" IsChecked="{Binding IsDeinterlaceMode}"
+ ToolTip="{x:Static Properties:ResourcesTooltips.FilterView_DecombDeinterlace}" />
+ <RadioButton GroupName="Interlace" Content="{x:Static Properties:ResourcesUI.FiltersView_Decomb}" Margin="10,0,0,0" IsChecked="{Binding IsDeinterlaceMode, Converter={StaticResource inverseBooleanConverter}}"
+ ToolTip="{x:Static Properties:ResourcesTooltips.FilterView_DecombDeinterlace}"/>
</StackPanel>
<ComboBox Width="120" ItemsSource="{Binding DecombOptions, Converter={StaticResource boolComboConverter}}" HorizontalAlignment="Left"
@@ -77,7 +80,7 @@ <TextBlock Text="{x:Static Properties:ResourcesUI.FiltersView_Denoise}" Grid.Row="3" Grid.Column="0" Margin="0,0,0,10"/>
<ComboBox Width="120" Grid.Row="3" ItemsSource="{Binding DenoiseOptions, Converter={StaticResource boolComboConverter}}"
SelectedItem="{Binding SelectedDenoise, Converter={StaticResource boolComboConverter}}" Grid.Column="1"
- HorizontalAlignment="Left" VerticalAlignment="Center" Margin="0,0,0,10" />
+ HorizontalAlignment="Left" VerticalAlignment="Center" Margin="0,0,0,10" ToolTip="{x:Static Properties:ResourcesTooltips.FilterView_Denoise}" />
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" Grid.Row="3" Grid.Column="2" Margin="0,0,0,10"
Visibility="{Binding ShowDenoiseOptions, Converter={StaticResource boolToVisConverter}}">
@@ -107,10 +110,11 @@ <TextBlock Text="{x:Static Properties:ResourcesUI.FiltersView_Deblock}" Grid.Row="4" Grid.Column="0" Margin="0,0,0,10"/>
<Slider Width="120" Value="{Binding DeblockValue}" TickPlacement="BottomRight" Minimum="4" Maximum="15" Grid.Row="4" Grid.Column="1" Margin="0,0,0,10"
- HorizontalAlignment="Left" />
+ HorizontalAlignment="Left" ToolTip="{x:Static Properties:ResourcesTooltips.FilterView_Deblock}" />
<TextBlock Text="{Binding DeblockText}" Grid.Row="4" Grid.Column="2" Margin="0,0,0,10"/>
- <CheckBox Content="{x:Static Properties:ResourcesUI.FiltersView_Grayscale}" IsChecked="{Binding Grayscale}" Grid.Row="5" Grid.Column="1" Margin="0,0,0,10"/>
+ <CheckBox Content="{x:Static Properties:ResourcesUI.FiltersView_Grayscale}" IsChecked="{Binding Grayscale}" Grid.Row="5" Grid.Column="1" Margin="0,0,0,10"
+ ToolTip="{x:Static Properties:ResourcesTooltips.FilterView_Grayscale}" />
</Grid>
</StackPanel>
diff --git a/win/CS/HandBrakeWPF/Views/MainView.xaml b/win/CS/HandBrakeWPF/Views/MainView.xaml index ff8ebc600..da7c7d0cc 100644 --- a/win/CS/HandBrakeWPF/Views/MainView.xaml +++ b/win/CS/HandBrakeWPF/Views/MainView.xaml @@ -351,6 +351,7 @@ MinWidth="100"
Margin="8,0,0,0"
ItemsSource="{Binding ScannedSource.Titles}"
+ ToolTip="{x:Static Properties:ResourcesTooltips.MainView_Title}"
SelectedItem="{Binding Path=SelectedTitle}"
/>
<Label Margin="8,0,0,0" Content="{x:Static Properties:ResourcesUI.MainView_Angle}" />
@@ -364,7 +365,7 @@ <ComboBox Name="PointToPointMode"
MinWidth="80"
Margin="8,0,0,0"
- ItemsSource="{Binding RangeMode}"
+ ItemsSource="{Binding RangeMode}" ToolTip="{x:Static Properties:ResourcesTooltips.MainView_Range}"
SelectedItem="{Binding SelectedPointToPoint}"
/>
<ComboBox Name="StartPoint"
@@ -423,7 +424,7 @@ <Label Margin="8,0,0,0" Content="{x:Static Properties:ResourcesUI.MainView_File}" />
<TextBox Name="Destination"
Grid.Column="1"
- Margin="8,0,0,0"
+ Margin="8,0,0,0" ToolTip="{x:Static Properties:ResourcesTooltips.MainView_Destination}"
Text="{Binding Destination,
UpdateSourceTrigger=PropertyChanged}"
>
@@ -454,6 +455,7 @@ <ComboBox Name="Container"
MinWidth="100"
Margin="8,0,0,0"
+ ToolTip="{x:Static Properties:ResourcesTooltips.MainView_Mux}"
ItemsSource="{Binding OutputFormats, Converter={StaticResource enumComboConverter}}"
SelectedItem="{Binding SelectedOutputFormat, Converter={StaticResource enumComboConverter}}"
/>
@@ -462,6 +464,7 @@ VerticalAlignment="Center"
Content="{x:Static Properties:ResourcesUI.MainView_WebOptimized}"
IsChecked="{Binding Path=CurrentTask.OptimizeMP4}"
+ ToolTip="{x:Static Properties:ResourcesTooltips.MainView_Optimise}"
Visibility="{Binding IsMkv,
Converter={StaticResource boolToVisConverter},
ConverterParameter=true}"
@@ -470,6 +473,7 @@ Margin="8,0,0,0"
VerticalAlignment="Center"
Content="{x:Static Properties:ResourcesUI.MainView_iPod5G}"
+ ToolTip="{x:Static Properties:ResourcesTooltips.MainView_IpodAtom}"
IsChecked="{Binding Path=CurrentTask.IPod5GSupport}"
Visibility="{Binding IsMkv,
Converter={StaticResource boolToVisConverter},
diff --git a/win/CS/HandBrakeWPF/Views/PictureSettingsView.xaml b/win/CS/HandBrakeWPF/Views/PictureSettingsView.xaml index 1d76cc49f..be53554d9 100644 --- a/win/CS/HandBrakeWPF/Views/PictureSettingsView.xaml +++ b/win/CS/HandBrakeWPF/Views/PictureSettingsView.xaml @@ -69,9 +69,10 @@ <Label Content="{x:Static Properties:ResourcesUI.PictureSettingsView_Modulus}" Grid.Row="1" Grid.Column="0"
Visibility="{Binding ShowModulus, Converter={StaticResource boolToVisConverter}}" />
- <ComboBox Width="110" Grid.Row="0" ItemsSource="{Binding AnamorphicModes}" SelectedItem="{Binding SelectedAnamorphicMode}" Grid.Column="1" HorizontalAlignment="Left" Margin="0,0,0,5" />
+ <ComboBox Width="110" Grid.Row="0" ItemsSource="{Binding AnamorphicModes}" SelectedItem="{Binding SelectedAnamorphicMode}" Grid.Column="1" HorizontalAlignment="Left" Margin="0,0,0,5"
+ ToolTip="{x:Static Properties:ResourcesTooltips.PictureSettingsView_Anamorphic}" />
<ComboBox Width="110" Grid.Row="1" ItemsSource="{Binding ModulusValues}" SelectedItem="{Binding SelectedModulus}"
- Visibility="{Binding ShowModulus, Converter={StaticResource boolToVisConverter}}"
+ Visibility="{Binding ShowModulus, Converter={StaticResource boolToVisConverter}}" ToolTip="{x:Static Properties:ResourcesTooltips.PictureSettingsView_Modulus}"
Grid.Column="1" HorizontalAlignment="Left" Margin="0,0,0,5" />
</Grid>
@@ -95,9 +96,11 @@ <controls:NumberBox Width="60" Number="{Binding DisplayWidth, Mode=TwoWay}" Grid.Row="0" Grid.Column="1" HorizontalAlignment="Left" Margin="0,0,0,5"
AllowEmpty="False" />
<controls:NumberBox Width="60" Number="{Binding ParWidth, Mode=TwoWay}" Grid.Row="1" Grid.Column="1" HorizontalAlignment="Left" AllowEmpty="False"
- IsEnabled="{Binding MaintainAspectRatio, Converter={StaticResource boolConverter}, ConverterParameter=true}" Margin="0,0,0,5" />
+ IsEnabled="{Binding MaintainAspectRatio, Converter={StaticResource boolConverter}, ConverterParameter=true}" Margin="0,0,0,5"
+ ToolTip="{x:Static Properties:ResourcesTooltips.PictureSettingsView_PAR}"/>
<controls:NumberBox Width="60" Number="{Binding ParHeight, Mode=TwoWay}" Grid.Row="2" Grid.Column="1" HorizontalAlignment="Left" AllowEmpty="False"
- IsEnabled="{Binding MaintainAspectRatio, Converter={StaticResource boolConverter}, ConverterParameter=true}" Margin="0,0,0,5" />
+ IsEnabled="{Binding MaintainAspectRatio, Converter={StaticResource boolConverter}, ConverterParameter=true}" Margin="0,0,0,5"
+ ToolTip="{x:Static Properties:ResourcesTooltips.PictureSettingsView_PAR}"/>
</Grid>
</StackPanel>
|