summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Controls
diff options
context:
space:
mode:
authorsr55 <[email protected]>2019-10-05 20:03:57 +0100
committersr55 <[email protected]>2019-10-05 20:04:04 +0100
commita5f0eb5c91888caf44125f5f193756256df4e8bf (patch)
tree11b694c73ad6459cccd9e75f8ce84b5b07b27d30 /win/CS/HandBrakeWPF/Controls
parent4238775818207edef7f303dabf99684f5542bc53 (diff)
WinGui: Make a number of UI compoents translatable. #2345
Diffstat (limited to 'win/CS/HandBrakeWPF/Controls')
-rw-r--r--win/CS/HandBrakeWPF/Controls/NumberBox.xaml.cs2
-rw-r--r--win/CS/HandBrakeWPF/Controls/SourceSelection.xaml4
2 files changed, 3 insertions, 3 deletions
diff --git a/win/CS/HandBrakeWPF/Controls/NumberBox.xaml.cs b/win/CS/HandBrakeWPF/Controls/NumberBox.xaml.cs
index 477e79c37..938f4b40b 100644
--- a/win/CS/HandBrakeWPF/Controls/NumberBox.xaml.cs
+++ b/win/CS/HandBrakeWPF/Controls/NumberBox.xaml.cs
@@ -108,7 +108,7 @@ namespace HandBrakeWPF.Controls
/// </summary>
public NumberBox()
{
- this.noneCaption = "(none)";
+ this.noneCaption = string.Empty;
this.UpdateBindingOnTextChange = true;
this.ShowIncrementButtons = true;
this.SelectAllOnClick = true;
diff --git a/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml b/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml
index 1a5934c94..7069fde07 100644
--- a/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml
+++ b/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml
@@ -6,7 +6,7 @@
xmlns:Properties="clr-namespace:HandBrakeWPF.Properties"
xmlns:converters="clr-namespace:HandBrakeWPF.Converters"
x:Name="sourcePanel"
- >
+ >
<UserControl.Resources>
<converters:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" />
@@ -116,7 +116,7 @@
<StackPanel Grid.Row="8" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,10,2,10">
<TextBlock>
- <Hyperlink x:Name="Preferences" NavigateUri="/" RequestNavigate="OpenOptions_OnRequestNavigate" ><TextBlock Text="{x:Static Properties:Resources.SourceSelection_Preferences}"/></Hyperlink>
+ <Hyperlink x:Name="Preferences" NavigateUri="/" RequestNavigate="OpenOptions_OnRequestNavigate" ><TextBlock Text="{x:Static Properties:Resources.Preferences}"/></Hyperlink>
</TextBlock>
<TextBlock Text="|" Margin="5,0,5,0"/>
<TextBlock>