summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsr55 <[email protected]>2017-12-15 22:47:20 +0000
committersr55 <[email protected]>2017-12-15 22:47:20 +0000
commit939696ce28687a9f4d96556dcf28bd9ab605e1a1 (patch)
tree85e9a773078d987a0a93f3b3e057c5e99d3b3806
parent7244ea454654b4b6d8f97f33174303445edb08ff (diff)
WinGui: Language Changes around preset buttons on the main view.
-rw-r--r--win/CS/HandBrakeWPF/Properties/ResourcesUI.Designer.cs18
-rw-r--r--win/CS/HandBrakeWPF/Properties/ResourcesUI.resx6
-rw-r--r--win/CS/HandBrakeWPF/Views/MainView.xaml6
3 files changed, 27 insertions, 3 deletions
diff --git a/win/CS/HandBrakeWPF/Properties/ResourcesUI.Designer.cs b/win/CS/HandBrakeWPF/Properties/ResourcesUI.Designer.cs
index d40aa4e0a..c95cb7446 100644
--- a/win/CS/HandBrakeWPF/Properties/ResourcesUI.Designer.cs
+++ b/win/CS/HandBrakeWPF/Properties/ResourcesUI.Designer.cs
@@ -943,6 +943,15 @@ namespace HandBrakeWPF.Properties {
}
/// <summary>
+ /// Looks up a localized string similar to Reload.
+ /// </summary>
+ public static string MainView_Reload {
+ get {
+ return ResourceManager.GetString("MainView_Reload", resourceCulture);
+ }
+ }
+
+ /// <summary>
/// Looks up a localized string similar to Remove.
/// </summary>
public static string MainView_Remove {
@@ -961,6 +970,15 @@ namespace HandBrakeWPF.Properties {
}
/// <summary>
+ /// Looks up a localized string similar to Save New Preset.
+ /// </summary>
+ public static string MainView_SaveNewPreset {
+ get {
+ return ResourceManager.GetString("MainView_SaveNewPreset", resourceCulture);
+ }
+ }
+
+ /// <summary>
/// Looks up a localized string similar to Searching for start time.
/// </summary>
public static string MainView_Searching {
diff --git a/win/CS/HandBrakeWPF/Properties/ResourcesUI.resx b/win/CS/HandBrakeWPF/Properties/ResourcesUI.resx
index 32814de31..4dee81b03 100644
--- a/win/CS/HandBrakeWPF/Properties/ResourcesUI.resx
+++ b/win/CS/HandBrakeWPF/Properties/ResourcesUI.resx
@@ -1013,4 +1013,10 @@ This will not affect your current settings in the Subtitle tab.</value>
<data name="OptionsView_PlaySoundWhenQueueDone" xml:space="preserve">
<value>Play a sound when the queue completes</value>
</data>
+ <data name="MainView_Reload" xml:space="preserve">
+ <value>Reload</value>
+ </data>
+ <data name="MainView_SaveNewPreset" xml:space="preserve">
+ <value>Save New Preset</value>
+ </data>
</root> \ No newline at end of file
diff --git a/win/CS/HandBrakeWPF/Views/MainView.xaml b/win/CS/HandBrakeWPF/Views/MainView.xaml
index 624ab40b2..a8e7bc35f 100644
--- a/win/CS/HandBrakeWPF/Views/MainView.xaml
+++ b/win/CS/HandBrakeWPF/Views/MainView.xaml
@@ -381,9 +381,9 @@
</Button.ContextMenu>
</Button>
- <Button Content="Reload" cal:Message.Attach="[Event Click] = [Action PresetSelect]" Margin="15,0,0,0" VerticalAlignment="Center" />
- <Button Content="Save Custom Preset" cal:Message.Attach="[Event Click] = [Action PresetAdd]" Margin="5,0,0,0" VerticalAlignment="Center" />
-
+ <Button Content="{x:Static Properties:ResourcesUI.MainView_Reload}" cal:Message.Attach="[Event Click] = [Action PresetSelect]" Margin="15,0,0,0" VerticalAlignment="Center" />
+ <Button Content="{x:Static Properties:ResourcesUI.MainView_SaveNewPreset}" cal:Message.Attach="[Event Click] = [Action PresetAdd]" Margin="5,0,0,0" VerticalAlignment="Center" />
+
<Button x:Name="MorePresetOptionsButton" Margin="15,0,0,0" VerticalAlignment="Center" Click="MorePresetOptionsButton_OnClick">
<Button.Content>
<StackPanel Orientation="Horizontal">