spellcheck

This commit is contained in:
Stefan Markovic
2023-09-22 14:31:51 +02:00
parent 00ab5ca2e0
commit 359f946ae7
5 changed files with 5 additions and 6 deletions

View File

@@ -505,7 +505,6 @@ endregion
ENDSESSION ENDSESSION
ENTERSIZEMOVE ENTERSIZEMOVE
ENU ENU
ENVIRONMENTVARIABLES
EOAC EOAC
epicgames epicgames
epu epu
@@ -1488,7 +1487,6 @@ ptrun
ptstr ptstr
pui pui
PULONG PULONG
pvalue
pwa pwa
pwcs pwcs
pwsh pwsh
@@ -1693,6 +1691,7 @@ setlocal
SETREDRAW SETREDRAW
SETTEXT SETTEXT
SETTINGCHANGE SETTINGCHANGE
SETTINGSCHANGED
settingsheader settingsheader
settingshotkeycontrol settingshotkeycontrol
SETWORKAREA SETWORKAREA

View File

@@ -19,7 +19,7 @@ public class EnvironmentStateToStringConverter : IValueConverter
{ {
EnvironmentState.Unchanged => string.Empty, EnvironmentState.Unchanged => string.Empty,
EnvironmentState.ChangedOnStartup => resourceLoader.GetString("StateNotUpToDateOnStartupMsg"), EnvironmentState.ChangedOnStartup => resourceLoader.GetString("StateNotUpToDateOnStartupMsg"),
EnvironmentState.EnvironmentMessageRecieved => resourceLoader.GetString("StateNotUpToDateEnvironmentMessageRecievedMsg"), EnvironmentState.EnvironmentMessageReceived => resourceLoader.GetString("StateNotUpToDateEnvironmentMessageRecievedMsg"),
_ => throw new NotImplementedException(), _ => throw new NotImplementedException(),
}; };
} }

View File

@@ -59,7 +59,7 @@ namespace EnvironmentVariables
if (wParam != (IntPtr)0x12345) if (wParam != (IntPtr)0x12345)
{ {
var viewModel = App.GetService<MainViewModel>(); var viewModel = App.GetService<MainViewModel>();
viewModel.IsStateModified = Models.EnvironmentState.EnvironmentMessageRecieved; viewModel.IsStateModified = Models.EnvironmentState.EnvironmentMessageReceived;
} }
} }

View File

@@ -8,6 +8,6 @@ namespace EnvironmentVariables.Models
{ {
Unchanged = 0, Unchanged = 0,
ChangedOnStartup, ChangedOnStartup,
EnvironmentMessageRecieved, EnvironmentMessageReceived,
} }
} }

View File

@@ -42,7 +42,7 @@ namespace EnvironmentVariables.ViewModels
[NotifyPropertyChangedFor(nameof(IsInfoBarButtonVisible))] [NotifyPropertyChangedFor(nameof(IsInfoBarButtonVisible))]
private EnvironmentState _isStateModified; private EnvironmentState _isStateModified;
public bool IsInfoBarButtonVisible => IsStateModified == EnvironmentState.EnvironmentMessageRecieved; public bool IsInfoBarButtonVisible => IsStateModified == EnvironmentState.EnvironmentMessageReceived;
public ProfileVariablesSet AppliedProfile { get; set; } public ProfileVariablesSet AppliedProfile { get; set; }