Spelling: ... (#3398)

This commit is contained in:
Josh Soref
2020-05-26 11:02:36 -04:00
committed by GitHub
parent b1554ebf37
commit 4a03756b5b
21 changed files with 34 additions and 34 deletions

View File

@@ -175,7 +175,7 @@
</data>
<data name="KeyboardManager_ProfileDescription.Text" xml:space="preserve">
<value>Select the profile to display the active key remap and shortcuts</value>
<comment>Keyboard Manager configuration dropdown decription</comment>
<comment>Keyboard Manager configuration dropdown description</comment>
</data>
<data name="KeyboardManager_RemapKeyboardButton.Content" xml:space="preserve">
<value>Remap a key</value>

View File

@@ -45,7 +45,7 @@ namespace Microsoft.PowerToys.Settings.UI.ViewModels
dispatcher = Window.Current.Dispatcher;
if (SettingsUtils.SettingsExists(PowerToyName))
{
// Todo: Be more resillent while reading and saving settings.
// Todo: Be more resilient while reading and saving settings.
settings = SettingsUtils.GetSettings<KeyboardManagerSettings>(PowerToyName);
// Load profile.
@@ -158,8 +158,8 @@ namespace Microsoft.PowerToys.Settings.UI.ViewModels
private async void OnConfigFileUpdate()
{
// Note: FileSystemWatcher raise notification mutiple times for single update operation.
// Todo: Handle duplicate events either by somehow supress them or re-read the configuration everytime since we will be updating the UI only if something is changed.
// Note: FileSystemWatcher raise notification multiple times for single update operation.
// Todo: Handle duplicate events either by somehow suppress them or re-read the configuration everytime since we will be updating the UI only if something is changed.
if (LoadProfile())
{
await dispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>

View File

@@ -13,7 +13,7 @@ namespace Microsoft.PowerToys.Settings.UI.Views
public sealed partial class ShellPage : UserControl
{
/// <summary>
/// Delcaration for the ipc callback function.
/// Declaration for the ipc callback function.
/// </summary>
/// <param name="msg">message.</param>
public delegate void IPCMessageCallback(string msg);

View File

@@ -12,7 +12,7 @@ namespace CommonLibTest
{
// Work around for System.JSON required properties:
// https://docs.microsoft.com/en-us/dotnet/standard/serialization/system-text-json-migrate-from-newtonsoft-how-to.
// Test also failes when the attributes are not initiliazed i.e they have null values.
// Test also fails when the attributes are not initialized i.e they have null values.
[TestMethod]
[Obsolete]
public void ToJsonString_ShouldReturnValidJSONOfModel_WhenSuccessful()

View File

@@ -58,7 +58,7 @@ namespace ViewModelTests
ShortcutGuideViewModel viewModel = new ShortcutGuideViewModel();
// Assert
// Initilize mock function of sending IPC message.
// Initialize mock function of sending IPC message.
ShellPage.DefaultSndMSGCallback = msg =>
{
OutGoingGeneralSettings snd = JsonSerializer.Deserialize<OutGoingGeneralSettings>(msg);
@@ -77,7 +77,7 @@ namespace ViewModelTests
Assert.AreEqual(1, viewModel.ThemeIndex);
// Assert
// Initilize mock function of sending IPC message.
// Initialize mock function of sending IPC message.
ShellPage.DefaultSndMSGCallback = msg =>
{
ShortcutGuideSettingsIPCMessage snd = JsonSerializer.Deserialize<ShortcutGuideSettingsIPCMessage>(msg);
@@ -96,7 +96,7 @@ namespace ViewModelTests
Assert.AreEqual(900, viewModel.PressTime);
// Assert
// Initilize mock function of sending IPC message.
// Initialize mock function of sending IPC message.
ShellPage.DefaultSndMSGCallback = msg =>
{
ShortcutGuideSettingsIPCMessage snd = JsonSerializer.Deserialize<ShortcutGuideSettingsIPCMessage>(msg);
@@ -115,7 +115,7 @@ namespace ViewModelTests
Assert.AreEqual(90, viewModel.OverlayOpacity);
// Assert
// Initilize mock function of sending IPC message.
// Initialize mock function of sending IPC message.
ShellPage.DefaultSndMSGCallback = msg =>
{
ShortcutGuideSettingsIPCMessage snd = JsonSerializer.Deserialize<ShortcutGuideSettingsIPCMessage>(msg);