mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:35:41 +00:00
[USETUP]
Show an error message if formatting a partition fails. Based on patch by mna. CORE-7969 #resolve #comment Thanks a lot! svn path=/trunk/; revision=68388
This commit is contained in:
parent
cf58e13f77
commit
e2dc21346a
25 changed files with 163 additions and 1 deletions
|
@ -70,6 +70,7 @@ typedef enum
|
||||||
ERROR_INSUFFICIENT_PARTITION_SIZE,
|
ERROR_INSUFFICIENT_PARTITION_SIZE,
|
||||||
ERROR_PARTITION_TABLE_FULL,
|
ERROR_PARTITION_TABLE_FULL,
|
||||||
ERROR_ONLY_ONE_EXTENDED,
|
ERROR_ONLY_ONE_EXTENDED,
|
||||||
|
ERROR_FORMATTING_PARTITION,
|
||||||
|
|
||||||
ERROR_LAST_ERROR_CODE
|
ERROR_LAST_ERROR_CODE
|
||||||
} ERROR_NUMBER;
|
} ERROR_NUMBER;
|
||||||
|
|
|
@ -2899,7 +2899,7 @@ FormatPartitionPage(PINPUT_RECORD Ir)
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
DPRINT1("FormatPartition() failed with status 0x%08lx\n", Status);
|
DPRINT1("FormatPartition() failed with status 0x%08lx\n", Status);
|
||||||
/* FIXME: show an error dialog */
|
MUIDisplayError(ERROR_FORMATTING_PARTITION, Ir, POPUP_WAIT_ANY_KEY, PathBuffer);
|
||||||
return QUIT_PAGE;
|
return QUIT_PAGE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1508,6 +1508,13 @@ MUI_ERROR bgBGErrorEntries[] =
|
||||||
"\n"
|
"\n"
|
||||||
" * Press any key to continue."
|
" * Press any key to continue."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
//ERROR_FORMATTING_PARTITION,
|
||||||
|
"Setup is unable to format the partition:\n"
|
||||||
|
" %S\n"
|
||||||
|
"\n"
|
||||||
|
"ENTER = Reboot computer"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
|
|
|
@ -1495,6 +1495,13 @@ MUI_ERROR bnBDErrorEntries[] =
|
||||||
"\n"
|
"\n"
|
||||||
" * Press any key to continue."
|
" * Press any key to continue."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
//ERROR_FORMATTING_PARTITION,
|
||||||
|
"Setup is unable to format the partition:\n"
|
||||||
|
" %S\n"
|
||||||
|
"\n"
|
||||||
|
"ENTER = Reboot computer"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
|
|
|
@ -1503,6 +1503,13 @@ MUI_ERROR csCZErrorEntries[] =
|
||||||
"\n"
|
"\n"
|
||||||
" * PokraŸujte stisknut¡m libovoln‚ kl vesy."
|
" * PokraŸujte stisknut¡m libovoln‚ kl vesy."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
//ERROR_FORMATTING_PARTITION,
|
||||||
|
"Setup is unable to format the partition:\n"
|
||||||
|
" %S\n"
|
||||||
|
"\n"
|
||||||
|
"ENTER = Reboot computer"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
|
|
|
@ -1499,6 +1499,13 @@ MUI_ERROR deDEErrorEntries[] =
|
||||||
"\n"
|
"\n"
|
||||||
" * Eine beliebige Taste zum Fortsetzen dr<64>cken."
|
" * Eine beliebige Taste zum Fortsetzen dr<64>cken."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
//ERROR_FORMATTING_PARTITION,
|
||||||
|
"Setup is unable to format the partition:\n"
|
||||||
|
" %S\n"
|
||||||
|
"\n"
|
||||||
|
"ENTER = Reboot computer"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
|
|
|
@ -1512,6 +1512,13 @@ MUI_ERROR elGRErrorEntries[] =
|
||||||
"\n"
|
"\n"
|
||||||
" * Press any key to continue."
|
" * Press any key to continue."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
//ERROR_FORMATTING_PARTITION,
|
||||||
|
"Setup is unable to format the partition:\n"
|
||||||
|
" %S\n"
|
||||||
|
"\n"
|
||||||
|
"ENTER = Reboot computer"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
|
|
|
@ -1495,6 +1495,13 @@ MUI_ERROR enUSErrorEntries[] =
|
||||||
"\n"
|
"\n"
|
||||||
" * Press any key to continue."
|
" * Press any key to continue."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
//ERROR_FORMATTING_PARTITION,
|
||||||
|
"Setup is unable to format the partition:\n"
|
||||||
|
" %S\n"
|
||||||
|
"\n"
|
||||||
|
"ENTER = Reboot computer"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
|
|
|
@ -1503,6 +1503,13 @@ MUI_ERROR esESErrorEntries[] =
|
||||||
"\n"
|
"\n"
|
||||||
" * Presione una tecla para continuar."
|
" * Presione una tecla para continuar."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
//ERROR_FORMATTING_PARTITION,
|
||||||
|
"Setup is unable to format the partition:\n"
|
||||||
|
" %S\n"
|
||||||
|
"\n"
|
||||||
|
"ENTER = Reboot computer"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
|
|
|
@ -1493,6 +1493,13 @@ MUI_ERROR etEEErrorEntries[] =
|
||||||
"\n"
|
"\n"
|
||||||
" * Press any key to continue."
|
" * Press any key to continue."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
//ERROR_FORMATTING_PARTITION,
|
||||||
|
"Setup is unable to format the partition:\n"
|
||||||
|
" %S\n"
|
||||||
|
"\n"
|
||||||
|
"ENTER = Reboot computer"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
|
|
|
@ -1508,6 +1508,13 @@ MUI_ERROR frFRErrorEntries[] =
|
||||||
"\n"
|
"\n"
|
||||||
" * Appuyer sur une touche pour continuer."
|
" * Appuyer sur une touche pour continuer."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
//ERROR_FORMATTING_PARTITION,
|
||||||
|
"Setup is unable to format the partition:\n"
|
||||||
|
" %S\n"
|
||||||
|
"\n"
|
||||||
|
"ENTER = Reboot computer"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
|
|
|
@ -1496,6 +1496,13 @@ MUI_ERROR heILErrorEntries[] =
|
||||||
"\n"
|
"\n"
|
||||||
" * Press any key to continue."
|
" * Press any key to continue."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
//ERROR_FORMATTING_PARTITION,
|
||||||
|
"Setup is unable to format the partition:\n"
|
||||||
|
" %S\n"
|
||||||
|
"\n"
|
||||||
|
"ENTER = Reboot computer"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
|
|
|
@ -1503,6 +1503,13 @@ MUI_ERROR itITErrorEntries[] =
|
||||||
"\n"
|
"\n"
|
||||||
" * Press any key to continue."
|
" * Press any key to continue."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
//ERROR_FORMATTING_PARTITION,
|
||||||
|
"Setup is unable to format the partition:\n"
|
||||||
|
" %S\n"
|
||||||
|
"\n"
|
||||||
|
"ENTER = Reboot computer"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
|
|
|
@ -1497,6 +1497,13 @@ MUI_ERROR jaJPErrorEntries[] =
|
||||||
"\n"
|
"\n"
|
||||||
" * Press any key to continue."
|
" * Press any key to continue."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
//ERROR_FORMATTING_PARTITION,
|
||||||
|
"Setup is unable to format the partition:\n"
|
||||||
|
" %S\n"
|
||||||
|
"\n"
|
||||||
|
"ENTER = Reboot computer"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
|
|
|
@ -1505,6 +1505,13 @@ MUI_ERROR ltLTErrorEntries[] =
|
||||||
"\n"
|
"\n"
|
||||||
" * Press any key to continue."
|
" * Press any key to continue."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
//ERROR_FORMATTING_PARTITION,
|
||||||
|
"Setup is unable to format the partition:\n"
|
||||||
|
" %S\n"
|
||||||
|
"\n"
|
||||||
|
"ENTER = Reboot computer"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
|
|
|
@ -1535,6 +1535,13 @@ MUI_ERROR nlNLErrorEntries[] =
|
||||||
"\n"
|
"\n"
|
||||||
" * Press any key to continue."
|
" * Press any key to continue."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
//ERROR_FORMATTING_PARTITION,
|
||||||
|
"Setup is unable to format the partition:\n"
|
||||||
|
" %S\n"
|
||||||
|
"\n"
|
||||||
|
"ENTER = Reboot computer"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
|
|
|
@ -1505,6 +1505,13 @@ MUI_ERROR plPLErrorEntries[] =
|
||||||
"\n"
|
"\n"
|
||||||
" * Naci<63>nij dowolny klawisz, aby kontynuowa†."
|
" * Naci<63>nij dowolny klawisz, aby kontynuowa†."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
//ERROR_FORMATTING_PARTITION,
|
||||||
|
"Setup is unable to format the partition:\n"
|
||||||
|
" %S\n"
|
||||||
|
"\n"
|
||||||
|
"ENTER = Reboot computer"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
|
|
|
@ -1533,6 +1533,13 @@ MUI_ERROR ptBRErrorEntries[] =
|
||||||
"\n"
|
"\n"
|
||||||
" * Press any key to continue."
|
" * Press any key to continue."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
//ERROR_FORMATTING_PARTITION,
|
||||||
|
"Setup is unable to format the partition:\n"
|
||||||
|
" %S\n"
|
||||||
|
"\n"
|
||||||
|
"ENTER = Reboot computer"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
|
|
|
@ -1566,6 +1566,13 @@ MUI_ERROR roROErrorEntries[] =
|
||||||
"\n"
|
"\n"
|
||||||
" * Tastaîi pentru a continua."
|
" * Tastaîi pentru a continua."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
//ERROR_FORMATTING_PARTITION,
|
||||||
|
"Setup is unable to format the partition:\n"
|
||||||
|
" %S\n"
|
||||||
|
"\n"
|
||||||
|
"ENTER = Reboot computer"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
|
|
|
@ -1496,6 +1496,13 @@ MUI_ERROR ruRUErrorEntries[] =
|
||||||
"\n"
|
"\n"
|
||||||
" * <20> ¦¬¨â¥ «î¡ãî ª« ¢¨èã ¤«ï ¯à®¤®«¦¥¨ï."
|
" * <20> ¦¬¨â¥ «î¡ãî ª« ¢¨èã ¤«ï ¯à®¤®«¦¥¨ï."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
//ERROR_FORMATTING_PARTITION,
|
||||||
|
"Setup is unable to format the partition:\n"
|
||||||
|
" %S\n"
|
||||||
|
"\n"
|
||||||
|
"ENTER = Reboot computer"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
|
|
|
@ -1507,6 +1507,13 @@ MUI_ERROR skSKErrorEntries[] =
|
||||||
"\n"
|
"\n"
|
||||||
" * Press any key to continue."
|
" * Press any key to continue."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
//ERROR_FORMATTING_PARTITION,
|
||||||
|
"Setup is unable to format the partition:\n"
|
||||||
|
" %S\n"
|
||||||
|
"\n"
|
||||||
|
"ENTER = Reboot computer"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
|
|
|
@ -1500,6 +1500,13 @@ MUI_ERROR sqALErrorEntries[] =
|
||||||
"\n"
|
"\n"
|
||||||
" * Press any key to continue."
|
" * Press any key to continue."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
//ERROR_FORMATTING_PARTITION,
|
||||||
|
"Setup is unable to format the partition:\n"
|
||||||
|
" %S\n"
|
||||||
|
"\n"
|
||||||
|
"ENTER = Reboot computer"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
|
|
|
@ -1503,6 +1503,13 @@ MUI_ERROR svSEErrorEntries[] =
|
||||||
"\n"
|
"\n"
|
||||||
" * Press any key to continue."
|
" * Press any key to continue."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
//ERROR_FORMATTING_PARTITION,
|
||||||
|
"Setup is unable to format the partition:\n"
|
||||||
|
" %S\n"
|
||||||
|
"\n"
|
||||||
|
"ENTER = Reboot computer"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
|
|
|
@ -1483,6 +1483,13 @@ MUI_ERROR trTRErrorEntries[] =
|
||||||
"\n"
|
"\n"
|
||||||
" * S<>rd<72>rmek i‡in bir d<>§meye bas<61>n<EFBFBD>z."
|
" * S<>rd<72>rmek i‡in bir d<>§meye bas<61>n<EFBFBD>z."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
//ERROR_FORMATTING_PARTITION,
|
||||||
|
"Setup is unable to format the partition:\n"
|
||||||
|
" %S\n"
|
||||||
|
"\n"
|
||||||
|
"ENTER = Reboot computer"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
|
|
|
@ -1503,6 +1503,13 @@ MUI_ERROR ukUAErrorEntries[] =
|
||||||
"\n"
|
"\n"
|
||||||
" * Press any key to continue."
|
" * Press any key to continue."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
//ERROR_FORMATTING_PARTITION,
|
||||||
|
"Setup is unable to format the partition:\n"
|
||||||
|
" %S\n"
|
||||||
|
"\n"
|
||||||
|
"ENTER = Reboot computer"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue