diff options
author | luz.paz <[email protected]> | 2018-02-07 10:54:59 -0500 |
---|---|---|
committer | Scott <[email protected]> | 2018-02-20 18:10:44 +0000 |
commit | 2d1c8541460c2b63d46eb1a278adacee14a55556 (patch) | |
tree | baf9c409edfb51f1a2b649b1f6e2291ff0524b76 /win | |
parent | 5ce54df39b61c5b104f83d7ce291e67eada56efc (diff) |
Misc. typos
Found via `codespell -q 3 --skip="./gtk/po`
Diffstat (limited to 'win')
34 files changed, 54 insertions, 54 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Interop/Helpers/InteropUtilities.cs b/win/CS/HandBrake.ApplicationServices/Interop/Helpers/InteropUtilities.cs index 2b62de4d8..95c43aee8 100644 --- a/win/CS/HandBrake.ApplicationServices/Interop/Helpers/InteropUtilities.cs +++ b/win/CS/HandBrake.ApplicationServices/Interop/Helpers/InteropUtilities.cs @@ -216,7 +216,7 @@ namespace HandBrake.ApplicationServices.Interop.Helpers }
/// <summary>
- /// Reads in a list of objects given an interator and a conversion function.
+ /// Reads in a list of objects given an iterator and a conversion function.
/// </summary>
/// <typeparam name="T1">The type of the struct given by the iterator.</typeparam>
/// <typeparam name="T2">The object type to convert to.</typeparam>
diff --git a/win/CS/HandBrake.ApplicationServices/Services/Logging/LogService.cs b/win/CS/HandBrake.ApplicationServices/Services/Logging/LogService.cs index abaf18e64..b0195ed50 100644 --- a/win/CS/HandBrake.ApplicationServices/Services/Logging/LogService.cs +++ b/win/CS/HandBrake.ApplicationServices/Services/Logging/LogService.cs @@ -309,7 +309,7 @@ namespace HandBrake.ApplicationServices.Services.Logging } catch (Exception exc) { - Debug.WriteLine(exc); // This exception doesn't warrent user interaction, but it should be logged + Debug.WriteLine(exc); // This exception doesn't warrant user interaction, but it should be logged } } @@ -349,7 +349,7 @@ namespace HandBrake.ApplicationServices.Services.Logging } catch (Exception exc) { - Debug.WriteLine(exc); // This exception doesn't warrent user interaction, but it should be logged + Debug.WriteLine(exc); // This exception doesn't warrant user interaction, but it should be logged } } diff --git a/win/CS/HandBrakeTools/Program.cs b/win/CS/HandBrakeTools/Program.cs index d4da0dbf5..cbbc0e758 100644 --- a/win/CS/HandBrakeTools/Program.cs +++ b/win/CS/HandBrakeTools/Program.cs @@ -20,7 +20,7 @@ namespace HandBrakeTools { if (args.Length == 0) { - Console.WriteLine("Invalid Comand. Either 'genkeys' or 'sign <filename>'"); + Console.WriteLine("Invalid Command. Either 'genkeys' or 'sign <filename>'"); Console.Read(); return; } diff --git a/win/CS/HandBrakeWPF/App.xaml.cs b/win/CS/HandBrakeWPF/App.xaml.cs index 45b2fa31a..3d0952776 100644 --- a/win/CS/HandBrakeWPF/App.xaml.cs +++ b/win/CS/HandBrakeWPF/App.xaml.cs @@ -88,7 +88,7 @@ namespace HandBrakeWPF }
/// <summary>
- /// Non-UI Thread expection handler.
+ /// Non-UI Thread exception handler.
/// </summary>
/// <param name="sender">
/// The sender.
@@ -197,7 +197,7 @@ namespace HandBrakeWPF }
catch (Exception)
{
- MessageBox.Show("An Unknown Error has occured. \n\n Exception:" + exception, "Unhandled Exception",
+ MessageBox.Show("An Unknown Error has occurred. \n\n Exception:" + exception, "Unhandled Exception",
MessageBoxButton.OK, MessageBoxImage.Error);
}
}
diff --git a/win/CS/HandBrakeWPF/Controls/AlertPanel.xaml.cs b/win/CS/HandBrakeWPF/Controls/AlertPanel.xaml.cs index 8c2b39e03..eba0f3ded 100644 --- a/win/CS/HandBrakeWPF/Controls/AlertPanel.xaml.cs +++ b/win/CS/HandBrakeWPF/Controls/AlertPanel.xaml.cs @@ -28,25 +28,25 @@ namespace HandBrakeWPF.Controls }
/// <summary>
- /// Dependancy Property for the Message Property
+ /// Dependency Property for the Message Property
/// </summary>
public static readonly DependencyProperty MessageProperty =
DependencyProperty.Register("Message", typeof(string), typeof(AlertPanel), new UIPropertyMetadata("Loading..."));
/// <summary>
- /// Dependancy Property for the submessage propery
+ /// Dependency Property for the submessage property
/// </summary>
public static readonly DependencyProperty SubMessageProperty =
DependencyProperty.Register("SubMessage", typeof(string), typeof(AlertPanel), new FrameworkPropertyMetadata("Please Wait", FrameworkPropertyMetadataOptions.AffectsRender));
/// <summary>
- /// Dependancy Property for the submessage propery
+ /// Dependency Property for the submessage property
/// </summary>
public static readonly DependencyProperty DefaultActionProperty =
DependencyProperty.Register("DefaultAction", typeof(Action), typeof(AlertPanel), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.None, DefaultActionSet));
/// <summary>
- /// Dependancy Property for the submessage propery
+ /// Dependency Property for the submessage property
/// </summary>
public static readonly DependencyProperty ActionTextProperty =
DependencyProperty.Register("ActionText", typeof(string), typeof(AlertPanel), new UIPropertyMetadata("Cancel"));
diff --git a/win/CS/HandBrakeWPF/Converters/BooleanConverter.cs b/win/CS/HandBrakeWPF/Converters/BooleanConverter.cs index 5273a3210..b4fc316e8 100644 --- a/win/CS/HandBrakeWPF/Converters/BooleanConverter.cs +++ b/win/CS/HandBrakeWPF/Converters/BooleanConverter.cs @@ -38,7 +38,7 @@ namespace HandBrakeWPF.Converters /// </returns>
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
- // Paramater is a boolean which inverts the output.
+ // Parameter is a boolean which inverts the output.
var param = System.Convert.ToBoolean(parameter, CultureInfo.InvariantCulture);
if (value is bool)
diff --git a/win/CS/HandBrakeWPF/Converters/BooleanToHiddenVisibilityConverter.cs b/win/CS/HandBrakeWPF/Converters/BooleanToHiddenVisibilityConverter.cs index d60ab33c3..33a710a82 100644 --- a/win/CS/HandBrakeWPF/Converters/BooleanToHiddenVisibilityConverter.cs +++ b/win/CS/HandBrakeWPF/Converters/BooleanToHiddenVisibilityConverter.cs @@ -39,7 +39,7 @@ namespace HandBrakeWPF.Converters /// </returns>
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
- // Paramater is a boolean which inverts the output.
+ // Parameter is a boolean which inverts the output.
var param = System.Convert.ToBoolean(parameter, CultureInfo.InvariantCulture);
if (value == null)
diff --git a/win/CS/HandBrakeWPF/Converters/BooleanToVisibilityConverter.cs b/win/CS/HandBrakeWPF/Converters/BooleanToVisibilityConverter.cs index 6c9d7fd12..29bac2a01 100644 --- a/win/CS/HandBrakeWPF/Converters/BooleanToVisibilityConverter.cs +++ b/win/CS/HandBrakeWPF/Converters/BooleanToVisibilityConverter.cs @@ -39,7 +39,7 @@ namespace HandBrakeWPF.Converters /// </returns>
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
- // Paramater is a boolean which inverts the output.
+ // Parameter is a boolean which inverts the output.
var param = System.Convert.ToBoolean(parameter, CultureInfo.InvariantCulture);
if (value == null)
diff --git a/win/CS/HandBrakeWPF/Model/Audio/AudioBehaviours.cs b/win/CS/HandBrakeWPF/Model/Audio/AudioBehaviours.cs index 438117ce3..87923b8b6 100644 --- a/win/CS/HandBrakeWPF/Model/Audio/AudioBehaviours.cs +++ b/win/CS/HandBrakeWPF/Model/Audio/AudioBehaviours.cs @@ -90,7 +90,7 @@ namespace HandBrakeWPF.Model.Audio }
/// <summary>
- /// Gets or sets the selected langauges.
+ /// Gets or sets the selected languages.
/// </summary>
public BindingList<string> SelectedLangauges
{
diff --git a/win/CS/HandBrakeWPF/Model/UpdateCheckInformation.cs b/win/CS/HandBrakeWPF/Model/UpdateCheckInformation.cs index 3ac3fb620..d994dc952 100644 --- a/win/CS/HandBrakeWPF/Model/UpdateCheckInformation.cs +++ b/win/CS/HandBrakeWPF/Model/UpdateCheckInformation.cs @@ -22,7 +22,7 @@ namespace HandBrakeWPF.Model public bool NewVersionAvailable { get; set; }
/// <summary>
- /// Gets a value indicating whether an Error Occured.
+ /// Gets a value indicating whether an Error Occurred.
/// </summary>
public bool ErrorOccured
{
@@ -50,7 +50,7 @@ namespace HandBrakeWPF.Model public string DownloadFile { get; set; }
/// <summary>
- /// Gets or sets the error that occurred, if any. This will be null if no error occured.
+ /// Gets or sets the error that occurred, if any. This will be null if no error occurred.
/// </summary>
public Exception Error { get; set; }
diff --git a/win/CS/HandBrakeWPF/Properties/Resources.Designer.cs b/win/CS/HandBrakeWPF/Properties/Resources.Designer.cs index 1166457aa..657b2f22e 100644 --- a/win/CS/HandBrakeWPF/Properties/Resources.Designer.cs +++ b/win/CS/HandBrakeWPF/Properties/Resources.Designer.cs @@ -640,7 +640,7 @@ namespace HandBrakeWPF.Properties { }
/// <summary>
- /// Looks up a localized string similar to An Unknown Error has occured..
+ /// Looks up a localized string similar to An Unknown Error has occurred..
/// </summary>
public static string ErrorViewModel_UnknownError {
get {
@@ -1684,7 +1684,7 @@ namespace HandBrakeWPF.Properties { }
/// <summary>
- /// Looks up a localized string similar to An error occured when trying to stop the scan. Please restart HandBrake..
+ /// Looks up a localized string similar to An error occurred when trying to stop the scan. Please restart HandBrake..
/// </summary>
public static string ScanService_ScanStopFailed {
get {
@@ -1861,7 +1861,7 @@ namespace HandBrakeWPF.Properties { }
/// <summary>
- /// Looks up a localized string similar to A problem occured when trying to save your preferences..
+ /// Looks up a localized string similar to A problem occurred when trying to save your preferences..
/// </summary>
public static string UserSettings_AnErrorOccured {
get {
diff --git a/win/CS/HandBrakeWPF/Properties/Resources.resx b/win/CS/HandBrakeWPF/Properties/Resources.resx index 2e57bf7a7..f21033e22 100644 --- a/win/CS/HandBrakeWPF/Properties/Resources.resx +++ b/win/CS/HandBrakeWPF/Properties/Resources.resx @@ -595,7 +595,7 @@ The Activity log may have further information.</value> <value>There is no further information available about this error.</value>
</data>
<data name="ErrorViewModel_UnknownError" xml:space="preserve">
- <value>An Unknown Error has occured.</value>
+ <value>An Unknown Error has occurred.</value>
</data>
<data name="OptionsViewModel_NewUpdate" xml:space="preserve">
<value>A New Update is Available! Please check the website for release notes.</value>
@@ -784,7 +784,7 @@ Are you sure you want to import the chapter names?</value> <value>Chapter duration doesn't match between source and input file</value>
</data>
<data name="ScanService_ScanStopFailed" xml:space="preserve">
- <value>An error occured when trying to stop the scan. Please restart HandBrake.</value>
+ <value>An error occurred when trying to stop the scan. Please restart HandBrake.</value>
</data>
<data name="Presets_PresetForceReset" xml:space="preserve">
<value>HandBrake is unable to upgrade your presets file to a new version format.
@@ -794,7 +794,7 @@ Your preset file will be archived and new one created. You will need to re-creat <value>Any settings you changed may need to be reset the next time HandBrake launches.</value>
</data>
<data name="UserSettings_AnErrorOccured" xml:space="preserve">
- <value>A problem occured when trying to save your preferences.</value>
+ <value>A problem occurred when trying to save your preferences.</value>
</data>
<data name="UserSettings_YourSettingsHaveBeenReset" xml:space="preserve">
<value>Warning, your settings have been reset!</value>
diff --git a/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.Designer.cs b/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.Designer.cs index 74ef418c0..9a31e6a74 100644 --- a/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.Designer.cs +++ b/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.Designer.cs @@ -667,7 +667,7 @@ namespace HandBrakeWPF.Properties { /// <summary>
/// Looks up a localized string similar to Tune settings to optimize for common scenarios.
///
- ///This can improve effeciency for particular source characteristics or set
+ ///This can improve efficiency for particular source characteristics or set
///characteristics of the output file. Changes will be applied after the
///preset but before all other parameters..
/// </summary>
diff --git a/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.resx b/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.resx index ae79c9c1c..ccc3856f6 100644 --- a/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.resx +++ b/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.resx @@ -240,7 +240,7 @@ to limit instantaneous bitrate, look into x264's vbv-bufsize and vbv-maxrate set <data name="Video_EncoderTune" xml:space="preserve">
<value>Tune settings to optimize for common scenarios.
-This can improve effeciency for particular source characteristics or set
+This can improve efficiency for particular source characteristics or set
characteristics of the output file. Changes will be applied after the
preset but before all other parameters.</value>
</data>
diff --git a/win/CS/HandBrakeWPF/Services/Encode/EncodeBase.cs b/win/CS/HandBrakeWPF/Services/Encode/EncodeBase.cs index b822b976d..e3a807cf9 100644 --- a/win/CS/HandBrakeWPF/Services/Encode/EncodeBase.cs +++ b/win/CS/HandBrakeWPF/Services/Encode/EncodeBase.cs @@ -167,7 +167,7 @@ namespace HandBrakeWPF.Services.Encode } catch (Exception exc) { - Debug.WriteLine(exc); // This exception doesn't warrent user interaction, but it should be logged + Debug.WriteLine(exc); // This exception doesn't warrant user interaction, but it should be logged } return null; diff --git a/win/CS/HandBrakeWPF/Services/Encode/Interfaces/IEncode.cs b/win/CS/HandBrakeWPF/Services/Encode/Interfaces/IEncode.cs index b9a5f0aff..f60e27f6c 100644 --- a/win/CS/HandBrakeWPF/Services/Encode/Interfaces/IEncode.cs +++ b/win/CS/HandBrakeWPF/Services/Encode/Interfaces/IEncode.cs @@ -3,7 +3,7 @@ // This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. // </copyright> // <summary> -// Encode Progess Status +// Encode Progress Status // </summary> // -------------------------------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ namespace HandBrakeWPF.Services.Encode.Interfaces using EncodeTask = HandBrakeWPF.Services.Encode.Model.EncodeTask; /// <summary> - /// Encode Progess Status + /// Encode Progress Status /// </summary> /// <param name="sender"> /// The sender. @@ -29,7 +29,7 @@ namespace HandBrakeWPF.Services.Encode.Interfaces public delegate void EncodeProgessStatus(object sender, EncodeProgressEventArgs e); /// <summary> - /// Encode Progess Status + /// Encode Progress Status /// </summary> /// <param name="sender"> /// The sender. diff --git a/win/CS/HandBrakeWPF/Services/Interfaces/IUserSettingService.cs b/win/CS/HandBrakeWPF/Services/Interfaces/IUserSettingService.cs index bcd0ab27d..5c85387df 100644 --- a/win/CS/HandBrakeWPF/Services/Interfaces/IUserSettingService.cs +++ b/win/CS/HandBrakeWPF/Services/Interfaces/IUserSettingService.cs @@ -3,7 +3,7 @@ // This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
// </copyright>
// <summary>
-// The User Setting Service Interace.
+// The User Setting Service Interface.
// </summary>
// --------------------------------------------------------------------------------------------------------------------
@@ -23,7 +23,7 @@ namespace HandBrakeWPF.Services.Interfaces public delegate void SettingEventHandler(object sender, SettingChangedEventArgs e);
/// <summary>
- /// The User Setting Service Interace.
+ /// The User Setting Service Interface.
/// </summary>
public interface IUserSettingService
{
diff --git a/win/CS/HandBrakeWPF/Services/PrePostActionService.cs b/win/CS/HandBrakeWPF/Services/PrePostActionService.cs index 6311fe173..e4ff54e26 100644 --- a/win/CS/HandBrakeWPF/Services/PrePostActionService.cs +++ b/win/CS/HandBrakeWPF/Services/PrePostActionService.cs @@ -99,7 +99,7 @@ namespace HandBrakeWPF.Services /// </param>
private void EncodeService_EncodeCompleted(object sender, EncodeCompletedEventArgs e)
{
- // Send the file to the users requested applicaiton
+ // Send the file to the users requested application
if (e.Successful)
{
this.SendToApplication(e.FileName);
diff --git a/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs b/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs index c021c12ac..cd4c74e35 100644 --- a/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs +++ b/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs @@ -827,7 +827,7 @@ namespace HandBrakeWPF.Services.Presets Directory.CreateDirectory(directory);
}
- // Orgamise the Presets list into Json Equivilent objects.
+ // Organise the Presets list into Json Equivalent objects.
Dictionary<string, PresetCategory> presetCategories = new Dictionary<string, PresetCategory>();
List<HBPreset> uncategorisedPresets = new List<HBPreset>();
@@ -881,7 +881,7 @@ namespace HandBrakeWPF.Services.Presets catch (Exception exc)
{
Debug.WriteLine(exc);
- throw new GeneralApplicationException("Unable to write to the presets file.", "The details section below may indicate why this error has occured.", exc);
+ throw new GeneralApplicationException("Unable to write to the presets file.", "The details section below may indicate why this error has occurred.", exc);
}
}
diff --git a/win/CS/HandBrakeWPF/Services/Queue/QueueProcessor.cs b/win/CS/HandBrakeWPF/Services/Queue/QueueProcessor.cs index 634ec69e5..84505d42a 100644 --- a/win/CS/HandBrakeWPF/Services/Queue/QueueProcessor.cs +++ b/win/CS/HandBrakeWPF/Services/Queue/QueueProcessor.cs @@ -85,7 +85,7 @@ namespace HandBrakeWPF.Services.Queue #region Delegates
/// <summary>
- /// Queue Progess Status
+ /// Queue Progress Status
/// </summary>
/// <param name="sender">
/// The sender.
diff --git a/win/CS/HandBrakeWPF/Services/Scan/Interfaces/IScan.cs b/win/CS/HandBrakeWPF/Services/Scan/Interfaces/IScan.cs index 4336574aa..136d9a234 100644 --- a/win/CS/HandBrakeWPF/Services/Scan/Interfaces/IScan.cs +++ b/win/CS/HandBrakeWPF/Services/Scan/Interfaces/IScan.cs @@ -3,7 +3,7 @@ // This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. // </copyright> // <summary> -// Encode Progess Status +// Encode Progress Status // </summary> // -------------------------------------------------------------------------------------------------------------------- @@ -19,7 +19,7 @@ namespace HandBrakeWPF.Services.Scan.Interfaces using HandBrakeWPF.Services.Scan.Model; /// <summary> - /// Encode Progess Status + /// Encode Progress Status /// </summary> /// <param name="sender"> /// The sender. @@ -30,7 +30,7 @@ namespace HandBrakeWPF.Services.Scan.Interfaces public delegate void ScanProgessStatus(object sender, ScanProgressEventArgs e); /// <summary> - /// Encode Progess Status + /// Encode Progress Status /// </summary> /// <param name="sender"> /// The sender. diff --git a/win/CS/HandBrakeWPF/Services/Scan/Model/Subtitle.cs b/win/CS/HandBrakeWPF/Services/Scan/Model/Subtitle.cs index eb983dec4..c8fc3a1fa 100644 --- a/win/CS/HandBrakeWPF/Services/Scan/Model/Subtitle.cs +++ b/win/CS/HandBrakeWPF/Services/Scan/Model/Subtitle.cs @@ -80,7 +80,7 @@ namespace HandBrakeWPF.Services.Scan.Model public string Language { get; set; } /// <summary> - /// Gets or sets the Langauage Code + /// Gets or sets the Language Code /// </summary> public string LanguageCode { get; set; } diff --git a/win/CS/HandBrakeWPF/Services/UserSettingService.cs b/win/CS/HandBrakeWPF/Services/UserSettingService.cs index 6d8994ac5..5b180cd22 100644 --- a/win/CS/HandBrakeWPF/Services/UserSettingService.cs +++ b/win/CS/HandBrakeWPF/Services/UserSettingService.cs @@ -3,7 +3,7 @@ // This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
// </copyright>
// <summary>
-// The User Setting Serivce
+// The User Setting Service
// </summary>
// --------------------------------------------------------------------------------------------------------------------
@@ -25,7 +25,7 @@ namespace HandBrakeWPF.Services using SettingChangedEventArgs = HandBrakeWPF.EventArgs.SettingChangedEventArgs;
/// <summary>
- /// The User Setting Serivce
+ /// The User Setting Service
/// </summary>
public class UserSettingService : IUserSettingService
{
diff --git a/win/CS/HandBrakeWPF/UserSettingConstants.cs b/win/CS/HandBrakeWPF/UserSettingConstants.cs index 83fa3ee07..0d9270d78 100644 --- a/win/CS/HandBrakeWPF/UserSettingConstants.cs +++ b/win/CS/HandBrakeWPF/UserSettingConstants.cs @@ -62,7 +62,7 @@ namespace HandBrakeWPF public const string LastUpdateCheckDate = "lastUpdateCheckDate";
/// <summary>
- /// Main Window Minimise
+ /// Main Window Minimize
/// </summary>
public const string MainWindowMinimize = "MainWindowMinimize";
diff --git a/win/CS/HandBrakeWPF/Utilities/GeneralUtilities.cs b/win/CS/HandBrakeWPF/Utilities/GeneralUtilities.cs index 1db325ab1..325eacaa3 100644 --- a/win/CS/HandBrakeWPF/Utilities/GeneralUtilities.cs +++ b/win/CS/HandBrakeWPF/Utilities/GeneralUtilities.cs @@ -3,7 +3,7 @@ // This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. // </copyright> // <summary> -// A Set of Static Utilites +// A Set of Static Utilities // </summary> // -------------------------------------------------------------------------------------------------------------------- @@ -20,7 +20,7 @@ namespace HandBrakeWPF.Utilities using HandBrake.ApplicationServices.Utilities; /// <summary> - /// A Set of Static Utilites + /// A Set of Static Utilities /// </summary> public class GeneralUtilities { diff --git a/win/CS/HandBrakeWPF/Utilities/Input/ChapterImporterCsv.cs b/win/CS/HandBrakeWPF/Utilities/Input/ChapterImporterCsv.cs index 7cf953adc..5313e3cf9 100644 --- a/win/CS/HandBrakeWPF/Utilities/Input/ChapterImporterCsv.cs +++ b/win/CS/HandBrakeWPF/Utilities/Input/ChapterImporterCsv.cs @@ -41,7 +41,7 @@ namespace HandBrakeWPF.Utilities.Input using (TextFieldParser csv = new TextFieldParser(filename) { CommentTokens = new[] { "#" }, // Comment lines - Delimiters = new[] { ",", "\t", ";", ":" }, // Support all of these common delimeter types + Delimiters = new[] { ",", "\t", ";", ":" }, // Support all of these common delimiter types HasFieldsEnclosedInQuotes = true, // Assume that our data will be properly escaped TextFieldType = FieldType.Delimited, TrimWhiteSpace = true // Remove excess whitespace from ends of imported values diff --git a/win/CS/HandBrakeWPF/Utilities/Portable.cs b/win/CS/HandBrakeWPF/Utilities/Portable.cs index 68eac79e2..c2dcb6f3e 100644 --- a/win/CS/HandBrakeWPF/Utilities/Portable.cs +++ b/win/CS/HandBrakeWPF/Utilities/Portable.cs @@ -66,7 +66,7 @@ namespace HandBrakeWPF.Utilities Directory.CreateDirectory(GetStorageDirectory()); } - // Setup enviroment variables for this instance. + // Setup environment variables for this instance. Environment.SetEnvironmentVariable("TMP", GetTempDirectory()); } diff --git a/win/CS/HandBrakeWPF/Utilities/Win32.cs b/win/CS/HandBrakeWPF/Utilities/Win32.cs index a65a5e09d..12154331a 100644 --- a/win/CS/HandBrakeWPF/Utilities/Win32.cs +++ b/win/CS/HandBrakeWPF/Utilities/Win32.cs @@ -25,7 +25,7 @@ namespace HandBrakeWPF.Utilities private static Action<Action> executor = action => action(); /// <summary> - /// Set the Forground Window + /// Set the Foreground Window /// </summary> /// <param name="hWnd"> /// The h wnd. @@ -103,7 +103,7 @@ namespace HandBrakeWPF.Utilities /// The dw process group id. /// </param> /// <returns> - /// Bool true is sucess + /// Bool true is success /// </returns> [DllImport("kernel32.dll", SetLastError = true)] public static extern bool GenerateConsoleCtrlEvent(ConsoleCtrlEvent sigevent, int dwProcessGroupId); diff --git a/win/CS/HandBrakeWPF/Utilities/Win7.cs b/win/CS/HandBrakeWPF/Utilities/Win7.cs index 0f6cb5680..cb6cbbb7d 100644 --- a/win/CS/HandBrakeWPF/Utilities/Win7.cs +++ b/win/CS/HandBrakeWPF/Utilities/Win7.cs @@ -3,7 +3,7 @@ // This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
// </copyright>
// <summary>
-// A class implimenting Windows 7 Specific features
+// A class implementing Windows 7 Specific features
// </summary>
// --------------------------------------------------------------------------------------------------------------------
diff --git a/win/CS/HandBrakeWPF/ViewModels/ChaptersViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/ChaptersViewModel.cs index 023325c9b..30efc9200 100644 --- a/win/CS/HandBrakeWPF/ViewModels/ChaptersViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/ChaptersViewModel.cs @@ -247,7 +247,7 @@ namespace HandBrakeWPF.ViewModels if (importedChapters.TryGetValue(item.ChapterNumber, out chapterInfo))
chapterName = chapterInfo.Item1;
- // Assign the chapter name unless the name is not set or only whitespace charaters
+ // Assign the chapter name unless the name is not set or only whitespace characters
item.ChapterName = !string.IsNullOrWhiteSpace(chapterName) ? chapterName : string.Empty;
}
}
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs index 5fa5df576..76e3c026e 100644 --- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs @@ -486,7 +486,7 @@ namespace HandBrakeWPF.ViewModels public int TitleSpecificScan { get; set; }
/// <summary>
- /// Gets or sets a value indicating whether the encode serivce supports pausing.
+ /// Gets or sets a value indicating whether the encode service supports pausing.
/// </summary>
public bool CanPause
{
diff --git a/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs index a959f225e..1e733384a 100644 --- a/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs @@ -950,7 +950,7 @@ namespace HandBrakeWPF.ViewModels return;
}
- // Step 1, Update what controls are visibile.
+ // Step 1, Update what controls are visible.
this.UpdateVisibileControls();
// Step 2, Set sensible defaults
@@ -1012,7 +1012,7 @@ namespace HandBrakeWPF.ViewModels }
/// <summary>
- /// The update visibile controls.
+ /// The update visible controls.
/// </summary>
private void UpdateVisibileControls()
{
diff --git a/win/CS/HandBrakeWPF/ViewModels/StaticPreviewViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/StaticPreviewViewModel.cs index 8a61aa610..6c2bf0eca 100644 --- a/win/CS/HandBrakeWPF/ViewModels/StaticPreviewViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/StaticPreviewViewModel.cs @@ -142,7 +142,7 @@ namespace HandBrakeWPF.ViewModels // Live Preview
this.userSettingService = userSettingService;
this.errorService = errorService;
- this.encodeService = new LibEncode(); // Preview needs a seperate instance rather than the shared singleton. This could maybe do with being refactored at some point
+ this.encodeService = new LibEncode(); // Preview needs a separate instance rather than the shared singleton. This could maybe do with being refactored at some point
this.Title = "Preview";
this.Percentage = "0.00%";
diff --git a/win/CS/HandBrakeWPF/ViewModels/ViewModelBase.cs b/win/CS/HandBrakeWPF/ViewModels/ViewModelBase.cs index db40c7c66..d2f381e55 100644 --- a/win/CS/HandBrakeWPF/ViewModels/ViewModelBase.cs +++ b/win/CS/HandBrakeWPF/ViewModels/ViewModelBase.cs @@ -85,7 +85,7 @@ namespace HandBrakeWPF.ViewModels /// </summary>
public virtual void OnLoad()
{
- // Impliment in the ViewModel to perform viewmodel specific code.
+ // Implement in the ViewModel to perform viewmodel specific code.
}
#endregion
|