diff --git a/localization/strings/en-US/Resources.resw b/localization/strings/en-US/Resources.resw index 539732b..5c63cc9 100644 --- a/localization/strings/en-US/Resources.resw +++ b/localization/strings/en-US/Resources.resw @@ -181,7 +181,7 @@ Install using 'wsl.exe {} <Distro>'. Exporting the distribution failed. - + Performing one-time upgrade of the Windows Subsystem for Linux file system for this distribution... @@ -813,7 +813,7 @@ For information please visit https://aka.ms/wslinstall Legacy distribution registrations do not support the --version argument. {Locked="--version "}Command line arguments, file names and string inserts should not be translated - + The distribution "{}" is provided by an override manifest. {FixedPlaceholder="{}"}Command line arguments, file names and string inserts should not be translated @@ -923,7 +923,7 @@ Falling back to NAT networking. The plugin '{}' requires a newer version of WSL. Please run: wsl.exe --update {FixedPlaceholder="{}"}{Locked="--update"}Command line arguments, file names and string inserts should not be translated - + The .wslconfig setting '{}' is disabled by the computer policy. {FixedPlaceholder="{}"}{Locked=".wslconfig"}Command line arguments, file names and string inserts should not be translated @@ -1212,7 +1212,7 @@ See recovery instructions on: https://aka.ms/wsldiskmountrecovery Specify a path to a VHD which will load as a custom system distro, primarily used to power GUI apps in WSL. [Learn more about system distros here]. - {Locked="["}{Locked="]"}The text in between the delimiters [ ] is made into an hyperlink in code, and the delimiters are removed + {Locked="["}{Locked="]"}The text in between the delimiters [ ] is made into a hyperlink in code, and the delimiters are removed https://aka.ms/wslgsystemdistro diff --git a/src/windows/common/Distribution.cpp b/src/windows/common/Distribution.cpp index bf1aaaa..368dd18 100644 --- a/src/windows/common/Distribution.cpp +++ b/src/windows/common/Distribution.cpp @@ -247,7 +247,7 @@ std::variant wsl::windows::common::dist auto distribution = LookupDistributionInManifest(manifest.OverrideManifest.value(), name, legacy); if (distribution.has_value()) { - EMIT_USER_WARNING(wsl::shared::Localization::MessageDistributionOverriden(name)); + EMIT_USER_WARNING(wsl::shared::Localization::MessageDistributionOverridden(name)); return distribution.value(); } } diff --git a/src/windows/common/WslClient.cpp b/src/windows/common/WslClient.cpp index 4036ad9..5bb610e 100644 --- a/src/windows/common/WslClient.cpp +++ b/src/windows/common/WslClient.cpp @@ -695,7 +695,7 @@ int LaunchProcess(_In_opt_ LPCWSTR filename, _In_ int argc, _In_reads_(argc) LPC { if (result == WSL_E_FS_UPGRADE_NEEDED) { - wsl::windows::common::wslutil::PrintMessage(wsl::shared::Localization::MessageFsUpdgadeNeeded(), stderr); + wsl::windows::common::wslutil::PrintMessage(wsl::shared::Localization::MessageFsUpgradeNeeded(), stderr); } else { diff --git a/src/windows/common/WslCoreConfig.cpp b/src/windows/common/WslCoreConfig.cpp index ff8067b..e313351 100644 --- a/src/windows/common/WslCoreConfig.cpp +++ b/src/windows/common/WslCoreConfig.cpp @@ -329,7 +329,7 @@ void wsl::core::Config::Initialize(_In_opt_ HANDLE UserToken) if (value != std::remove_reference_t{} && !wsl::windows::policies::IsFeatureAllowed(key.get(), ValueName)) { value = std::remove_reference_t{}; - EMIT_USER_WARNING(wsl::shared::Localization::MessageSettingOverridenByPolicy(SettingName)); + EMIT_USER_WARNING(wsl::shared::Localization::MessageSettingOverriddenByPolicy(SettingName)); } }; @@ -376,7 +376,7 @@ void wsl::core::Config::Initialize(_In_opt_ HANDLE UserToken) (NetworkingMode != wsl::core::NetworkingMode::None) && (NetworkingMode != defaultNetworkingMode)) { NetworkingMode = defaultNetworkingMode; - EMIT_USER_WARNING(wsl::shared::Localization::MessageSettingOverridenByPolicy(L"wsl2.networkingMode")); + EMIT_USER_WARNING(wsl::shared::Localization::MessageSettingOverriddenByPolicy(L"wsl2.networkingMode")); } } else @@ -391,7 +391,7 @@ void wsl::core::Config::Initialize(_In_opt_ HANDLE UserToken) !wsl::windows::policies::IsFeatureAllowed(key.get(), wsl::windows::policies::c_allowCustomFirewallUserSetting)) { FirewallConfig.Enable(); - EMIT_USER_WARNING(wsl::shared::Localization::MessageSettingOverridenByPolicy(L"wsl2.firewall")); + EMIT_USER_WARNING(wsl::shared::Localization::MessageSettingOverriddenByPolicy(L"wsl2.firewall")); } } diff --git a/test/windows/PolicyTests.cpp b/test/windows/PolicyTests.cpp index 29dbe03..c00e4fb 100644 --- a/test/windows/PolicyTests.cpp +++ b/test/windows/PolicyTests.cpp @@ -201,9 +201,9 @@ class PolicyTest WslShutdown(); const auto kernelWarning = - std::format(L"wsl: {}\r\n", wsl::shared::Localization::MessageSettingOverridenByPolicy(L"wsl2.kernel")); + std::format(L"wsl: {}\r\n", wsl::shared::Localization::MessageSettingOverriddenByPolicy(L"wsl2.kernel")); const auto modulesWarning = - std::format(L"wsl: {}\r\n", wsl::shared::Localization::MessageSettingOverridenByPolicy(L"wsl2.kernelModules")); + std::format(L"wsl: {}\r\n", wsl::shared::Localization::MessageSettingOverriddenByPolicy(L"wsl2.kernelModules")); ValidateWarnings(std::format(L"{}{}", kernelWarning, modulesWarning));