mirror of
https://github.com/microsoft/WSL.git
synced 2025-12-10 00:44:55 -06:00
fix: correct sparse VHD command to include true (#13512)
* fix: correct sparse VHD command to include `true` * Revert all localization strings to f8c26f7c3 except en-US/Resources.resw * fix: run validate-localization.py with --fix option
This commit is contained in:
parent
e0c6196cd5
commit
98f4960118
@ -1108,7 +1108,7 @@ Error code: {}</value>
|
||||
<data name="MessageSparseVhdDisabled" xml:space="preserve">
|
||||
<value>Sparse VHD support is currently disabled due to potential data corruption.
|
||||
To force a distribution to use a sparse vhd, please run:
|
||||
wsl.exe --manage <DistributionName> --set-sparse --allow-unsafe</value>
|
||||
wsl.exe --manage <DistributionName> --set-sparse true --allow-unsafe</value>
|
||||
<comment>{Locked="--manage "}{Locked="--set-sparse "}{Locked="--allow-unsafe"}Command line arguments, file names and string inserts should not be translated</comment>
|
||||
</data>
|
||||
<data name="MessageDrvfsMountFailed" xml:space="preserve">
|
||||
|
||||
@ -110,7 +110,7 @@ class SimpleTests
|
||||
L"The operation completed successfully. \r\n",
|
||||
L"wsl: Sparse VHD support is currently disabled due to potential data corruption.\r\n"
|
||||
L"To force a distribution to use a sparse vhd, please run:\r\n"
|
||||
L"wsl.exe --manage <DistributionName> --set-sparse --allow-unsafe\r\n",
|
||||
L"wsl.exe --manage <DistributionName> --set-sparse true --allow-unsafe\r\n",
|
||||
0);
|
||||
|
||||
std::filesystem::path vhdPath = vhdDir / LXSS_VM_MODE_VHD_NAME;
|
||||
@ -123,7 +123,7 @@ class SimpleTests
|
||||
std::format(L"{} {} {} {}", WSL_MANAGE_ARG, tempDistro, WSL_MANAGE_ARG_SET_SPARSE_OPTION_LONG, L"true").c_str(),
|
||||
L"Sparse VHD support is currently disabled due to potential data corruption.\r\n"
|
||||
L"To force a distribution to use a sparse vhd, please run:\r\n"
|
||||
L"wsl.exe --manage <DistributionName> --set-sparse --allow-unsafe\r\nError code: Wsl/Service/E_INVALIDARG\r\n",
|
||||
L"wsl.exe --manage <DistributionName> --set-sparse true --allow-unsafe\r\nError code: Wsl/Service/E_INVALIDARG\r\n",
|
||||
L"",
|
||||
-1);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user