Spelling localizations (#12957)
Josh Soref committed
May 21, 2025 at 13:48 UTC
83d14de5181eaeb6629a5088a19ff92693366c1d
5 files changed
+11
-11
localization/strings/en-US/Resources.resw
+4
-4
@@ -181,7 +181,7 @@ Install using 'wsl.exe {} <Distro>'.
181
<data name="MessageExportFailed" xml:space="preserve">
182
<value>Exporting the distribution failed.</value>
183
</data>
184
- <data name="MessageFsUpdgadeNeeded" xml:space="preserve">
184
+ <data name="MessageFsUpgradeNeeded" xml:space="preserve">
185
<value>Performing one-time upgrade of the Windows Subsystem for Linux file system for this distribution...</value>
186
</data>
187
<data name="MessageHigherIntegrity" xml:space="preserve">
@@ -813,7 +813,7 @@ For information please visit https://aka.ms/wslinstall</value>
813
<value>Legacy distribution registrations do not support the --version argument.</value>
814
<comment>{Locked="--version "}Command line arguments, file names and string inserts should not be translated</comment>
815
</data>
816
- <data name="MessageDistributionOverriden" xml:space="preserve">
816
+ <data name="MessageDistributionOverridden" xml:space="preserve">
817
<value>The distribution "{}" is provided by an override manifest.</value>
818
<comment>{FixedPlaceholder="{}"}Command line arguments, file names and string inserts should not be translated</comment>
819
</data>
@@ -923,7 +923,7 @@ Falling back to NAT networking.</value>
923
<value>The plugin '{}' requires a newer version of WSL. Please run: wsl.exe --update</value>
924
<comment>{FixedPlaceholder="{}"}{Locked="--update"}Command line arguments, file names and string inserts should not be translated</comment>
925
</data>
926
- <data name="MessageSettingOverridenByPolicy" xml:space="preserve">
926
+ <data name="MessageSettingOverriddenByPolicy" xml:space="preserve">
927
<value>The .wslconfig setting '{}' is disabled by the computer policy.</value>
928
<comment>{FixedPlaceholder="{}"}{Locked=".wslconfig"}Command line arguments, file names and string inserts should not be translated</comment>
929
</data>
@@ -1212,7 +1212,7 @@ See recovery instructions on: https://aka.ms/wsldiskmountrecovery</value>
1212
</data>
1213
<data name="Settings_CustomSystemDistroPathDescription.Text" xml:space="preserve">
1214
<value>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].</value>
1215
- <comment>{Locked="["}{Locked="]"}The text in between the delimiters [ ] is made into an hyperlink in code, and the delimiters are removed</comment>
1215
+ <comment>{Locked="["}{Locked="]"}The text in between the delimiters [ ] is made into a hyperlink in code, and the delimiters are removed</comment>
1216
</data>
1217
<data name="Settings_CustomSystemDistroPathDescription.NavigateUri" xml:space="preserve">
1218
<value>https://aka.ms/wslgsystemdistro</value>
src/windows/common/Distribution.cpp
+1
-1
@@ -247,7 +247,7 @@ std::variant<Distribution, ModernDistributionVersion> wsl::windows::common::dist
247
auto distribution = LookupDistributionInManifest(manifest.OverrideManifest.value(), name, legacy);
248
if (distribution.has_value())
249
{
250
- EMIT_USER_WARNING(wsl::shared::Localization::MessageDistributionOverriden(name));
250
+ EMIT_USER_WARNING(wsl::shared::Localization::MessageDistributionOverridden(name));
251
return distribution.value();
252
}
253
}
src/windows/common/WslClient.cpp
+1
-1
@@ -695,7 +695,7 @@ int LaunchProcess(_In_opt_ LPCWSTR filename, _In_ int argc, _In_reads_(argc) LPC
695
{
696
if (result == WSL_E_FS_UPGRADE_NEEDED)
697
{
698
- wsl::windows::common::wslutil::PrintMessage(wsl::shared::Localization::MessageFsUpdgadeNeeded(), stderr);
698
+ wsl::windows::common::wslutil::PrintMessage(wsl::shared::Localization::MessageFsUpgradeNeeded(), stderr);
699
}
700
else
701
{
src/windows/common/WslCoreConfig.cpp
+3
-3
@@ -329,7 +329,7 @@ void wsl::core::Config::Initialize(_In_opt_ HANDLE UserToken)
329
if (value != std::remove_reference_t<decltype(value)>{} && !wsl::windows::policies::IsFeatureAllowed(key.get(), ValueName))
330
{
331
value = std::remove_reference_t<decltype(value)>{};
332
- EMIT_USER_WARNING(wsl::shared::Localization::MessageSettingOverridenByPolicy(SettingName));
332
+ EMIT_USER_WARNING(wsl::shared::Localization::MessageSettingOverriddenByPolicy(SettingName));
333
}
334
};
335
@@ -376,7 +376,7 @@ void wsl::core::Config::Initialize(_In_opt_ HANDLE UserToken)
376
(NetworkingMode != wsl::core::NetworkingMode::None) && (NetworkingMode != defaultNetworkingMode))
377
{
378
NetworkingMode = defaultNetworkingMode;
379
- EMIT_USER_WARNING(wsl::shared::Localization::MessageSettingOverridenByPolicy(L"wsl2.networkingMode"));
379
+ EMIT_USER_WARNING(wsl::shared::Localization::MessageSettingOverriddenByPolicy(L"wsl2.networkingMode"));
380
}
381
}
382
else
@@ -391,7 +391,7 @@ void wsl::core::Config::Initialize(_In_opt_ HANDLE UserToken)
391
!wsl::windows::policies::IsFeatureAllowed(key.get(), wsl::windows::policies::c_allowCustomFirewallUserSetting))
392
{
393
FirewallConfig.Enable();
394
- EMIT_USER_WARNING(wsl::shared::Localization::MessageSettingOverridenByPolicy(L"wsl2.firewall"));
394
+ EMIT_USER_WARNING(wsl::shared::Localization::MessageSettingOverriddenByPolicy(L"wsl2.firewall"));
395
}
396
}
397
test/windows/PolicyTests.cpp
+2
-2
@@ -201,9 +201,9 @@ class PolicyTest
201
WslShutdown();
202
203
const auto kernelWarning =
204
- std::format(L"wsl: {}\r\n", wsl::shared::Localization::MessageSettingOverridenByPolicy(L"wsl2.kernel"));
204
+ std::format(L"wsl: {}\r\n", wsl::shared::Localization::MessageSettingOverriddenByPolicy(L"wsl2.kernel"));
205
const auto modulesWarning =
206
- std::format(L"wsl: {}\r\n", wsl::shared::Localization::MessageSettingOverridenByPolicy(L"wsl2.kernelModules"));
206
+ std::format(L"wsl: {}\r\n", wsl::shared::Localization::MessageSettingOverriddenByPolicy(L"wsl2.kernelModules"));
207
208
ValidateWarnings(std::format(L"{}{}", kernelWarning, modulesWarning));
209