mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 19:57:57 +01:00
spellcheck
This commit is contained in:
3
.github/actions/spell-check/expect.txt
vendored
3
.github/actions/spell-check/expect.txt
vendored
@@ -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
|
||||||
|
|||||||
@@ -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(),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,6 @@ namespace EnvironmentVariables.Models
|
|||||||
{
|
{
|
||||||
Unchanged = 0,
|
Unchanged = 0,
|
||||||
ChangedOnStartup,
|
ChangedOnStartup,
|
||||||
EnvironmentMessageRecieved,
|
EnvironmentMessageReceived,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user