From faf10b6ae3683e7361c0907255ddb3066b651bb0 Mon Sep 17 00:00:00 2001 From: sr55 Date: Fri, 5 Jul 2019 20:24:10 +0100 Subject: WinGui: The preferences UI for "Pause on low disk space" was bad with the checkbox being separated from the size limit. Wording / layout for this now matches MacGui. --- win/CS/HandBrakeWPF/Properties/Resources.Designer.cs | 20 ++++++++++---------- win/CS/HandBrakeWPF/Properties/Resources.resx | 8 ++++---- win/CS/HandBrakeWPF/Views/OptionsView.xaml | 8 +++----- win/CS/HandBrakeWPF/defaultsettings.xml | 2 +- 4 files changed, 18 insertions(+), 20 deletions(-) diff --git a/win/CS/HandBrakeWPF/Properties/Resources.Designer.cs b/win/CS/HandBrakeWPF/Properties/Resources.Designer.cs index b29ec5229..892c484be 100644 --- a/win/CS/HandBrakeWPF/Properties/Resources.Designer.cs +++ b/win/CS/HandBrakeWPF/Properties/Resources.Designer.cs @@ -2761,7 +2761,7 @@ namespace HandBrakeWPF.Properties { } /// - /// Looks up a localized string similar to Low diskspace warning level (GB):. + /// Looks up a localized string similar to Pause queue if disk space is lower than:. /// public static string Options_LowDiskspaceSize { get { @@ -2769,6 +2769,15 @@ namespace HandBrakeWPF.Properties { } } + /// + /// Looks up a localized string similar to GB. + /// + public static string Options_LowDiskspaceSizeGB { + get { + return ResourceManager.GetString("Options_LowDiskspaceSizeGB", resourceCulture); + } + } + /// /// Looks up a localized string similar to Minimize to system tray (Requires Restart). /// @@ -2841,15 +2850,6 @@ namespace HandBrakeWPF.Properties { } } - /// - /// Looks up a localized string similar to Pause queue if disk space is low before starting a job.. - /// - public static string Options_PauseQueueOnLowDiskSpace { - get { - return ResourceManager.GetString("Options_PauseQueueOnLowDiskSpace", resourceCulture); - } - } - /// /// Looks up a localized string similar to Prevent the system from sleeping while encoding. /// diff --git a/win/CS/HandBrakeWPF/Properties/Resources.resx b/win/CS/HandBrakeWPF/Properties/Resources.resx index 172b478bf..c850971d0 100644 --- a/win/CS/HandBrakeWPF/Properties/Resources.resx +++ b/win/CS/HandBrakeWPF/Properties/Resources.resx @@ -1241,7 +1241,7 @@ Would you like to overwrite it? Log Path: - Low diskspace warning level (GB): + Pause queue if disk space is lower than: Minimize to system tray (Requires Restart) @@ -1264,9 +1264,6 @@ Would you like to overwrite it? Path to VLC Player - - Pause queue if disk space is low before starting a job. - Prevent the system from sleeping while encoding @@ -2020,4 +2017,7 @@ Where supported, any user presets will have been imported. Not Available + + GB + \ No newline at end of file diff --git a/win/CS/HandBrakeWPF/Views/OptionsView.xaml b/win/CS/HandBrakeWPF/Views/OptionsView.xaml index fc042d9f3..ce1db7a3b 100644 --- a/win/CS/HandBrakeWPF/Views/OptionsView.xaml +++ b/win/CS/HandBrakeWPF/Views/OptionsView.xaml @@ -343,7 +343,6 @@ - @@ -352,12 +351,11 @@ - - - + + + diff --git a/win/CS/HandBrakeWPF/defaultsettings.xml b/win/CS/HandBrakeWPF/defaultsettings.xml index 7f95105d9..91ecbb494 100644 --- a/win/CS/HandBrakeWPF/defaultsettings.xml +++ b/win/CS/HandBrakeWPF/defaultsettings.xml @@ -397,7 +397,7 @@ PauseOnLowDiskspace - false + true -- cgit v1.2.3