[USETUP] Localize the rest of the hardcoded error message strings

This commit is contained in:
Bișoc George 2019-02-13 17:13:48 +01:00 committed by Colin Finck
parent 251bf49127
commit 2fbff73792
27 changed files with 383 additions and 15 deletions

View file

@ -16,6 +16,9 @@ typedef enum _ERROR_NUMBER
{
NOT_AN_ERROR = 0, // ERROR_SUCCESS,
ERROR_NOT_INSTALLED,
ERROR_NO_BUILD_PATH,
ERROR_SOURCE_PATH,
ERROR_SOURCE_DIR,
ERROR_NO_HDD,
ERROR_NO_SOURCE_DRIVE,
ERROR_LOAD_TXTSETUPSIF,

View file

@ -1484,6 +1484,21 @@ MUI_ERROR bgBGErrorEntries[] =
" \x07 \207\240 \250\247\345\256\244 \255\240\342\250\341\255\245\342\245 F3.",
"F3 = \210\247\345\256\244 ENTER = \217\340\256\244\352\253\246\240\242\240\255\245"
},
{
// ERROR_NO_BUILD_PATH
"Failed to build the installation paths for the ReactOS installation directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_PATH
"You cannot delete the partition containing the installation source!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_DIR
"You cannot install ReactOS within the installation source directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_NO_HDD
"\215\240\341\342\340\256\251\242\240\347\352\342 \255\245 \255\240\254\245\340\250 \342\242\352\340\244 \244\250\341\252.\n",

View file

@ -1473,6 +1473,21 @@ MUI_ERROR bnBDErrorEntries[] =
" \x07 Press F3 to quit Setup.",
"F3 = Quit ENTER = Continue"
},
{
// ERROR_NO_BUILD_PATH
"Failed to build the installation paths for the ReactOS installation directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_PATH
"You cannot delete the partition containing the installation source!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_DIR
"You cannot install ReactOS within the installation source directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_NO_HDD
"Setup could not find a harddisk.\n",

View file

@ -1482,6 +1482,21 @@ MUI_ERROR csCZErrorEntries[] =
" \x07 Stisknut\241m F3 ukon\237\241te instalaci.",
"F3 = Ukon\237it ENTER = Pokra\237ovat"
},
{
// ERROR_NO_BUILD_PATH
"Failed to build the installation paths for the ReactOS installation directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_PATH
"You cannot delete the partition containing the installation source!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_DIR
"You cannot install ReactOS within the installation source directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_NO_HDD
"Instalace nedok\240zala naj\241t harddisk.\n",

View file

@ -1489,6 +1489,21 @@ MUI_ERROR daDKErrorEntries[] =
" \x07 Tryk p\206 F3 afslutte installationen.",
"F3 = Afslut ENTER = Forts\221t"
},
{
// ERROR_NO_BUILD_PATH
"Failed to build the installation paths for the ReactOS installation directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_PATH
"You cannot delete the partition containing the installation source!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_DIR
"You cannot install ReactOS within the installation source directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_NO_HDD
"Installationen kunne ikke finde en harddisk.\n",

View file

@ -1476,6 +1476,21 @@ MUI_ERROR deDEErrorEntries[] =
" \x07 Dr\201cken Sie F3, um die Installation zu beenden.",
"F3 = Beenden EINGABETASTE = Fortsetzen"
},
{
// ERROR_NO_BUILD_PATH
"Failed to build the installation paths for the ReactOS installation directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_PATH
"You cannot delete the partition containing the installation source!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_DIR
"You cannot install ReactOS within the installation source directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_NO_HDD
"Es konnte keine Festplatte gefunden werden.\n",

View file

@ -1500,6 +1500,21 @@ MUI_ERROR elGRErrorEntries[] =
" \x07 \217\230\253\343\251\253\234 F3 \232\240\230 \244\230 \230\247\246\256\340\250\343\251\234\253\234 \230\247\346 \253\236\244 \204\232\241\230\253\341\251\253\230\251\236.",
"F3 = \200\247\246\256\351\250\236\251\236 ENTER = \221\254\244\342\256\234\240\230"
},
{
// ERROR_NO_BUILD_PATH
"Failed to build the installation paths for the ReactOS installation directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_PATH
"You cannot delete the partition containing the installation source!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_DIR
"You cannot install ReactOS within the installation source directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_NO_HDD
"\206 \234\232\241\230\253\341\251\253\230\251\236 \233\234 \243\247\346\250\234\251\234 \244\230 \231\250\234\240 \241\341\247\246\240\246\244 \251\241\242\236\250\346 \233\345\251\241\246.\n",

View file

@ -1474,6 +1474,21 @@ MUI_ERROR enUSErrorEntries[] =
" \x07 Press F3 to quit Setup.",
"F3 = Quit ENTER = Continue"
},
{
// ERROR_NO_BUILD_PATH
"Failed to build the installation paths for the ReactOS installation directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_PATH
"You cannot delete the partition containing the installation source!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_DIR
"You cannot install ReactOS within the installation source directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_NO_HDD
"Setup could not find a harddisk.\n",

View file

@ -1479,6 +1479,21 @@ MUI_ERROR esESErrorEntries[] =
" \x07 Presione F3 para abandonar el instalador.",
"F3 = Salir INTRO = Continuar"
},
{
// ERROR_NO_BUILD_PATH
"Failed to build the installation paths for the ReactOS installation directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_PATH
"You cannot delete the partition containing the installation source!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_DIR
"You cannot install ReactOS within the installation source directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_NO_HDD
"El instalador no pudo encontrar un disco duro.\n",

View file

@ -1477,6 +1477,21 @@ MUI_ERROR etEEErrorEntries[] =
" \x07 Vajuta F3 paigalduse seiskamiseks.",
"F3 = V\204lju ENTER = J\204tka"
},
{
// ERROR_NO_BUILD_PATH
"Failed to build the installation paths for the ReactOS installation directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_PATH
"You cannot delete the partition containing the installation source!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_DIR
"You cannot install ReactOS within the installation source directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_NO_HDD
"K\344vaketast ei leitud.\n",

View file

@ -1494,6 +1494,21 @@ MUI_ERROR frFRErrorEntries[] =
" \x07 Appuyer sur F3 pour quitter Setup.",
"F3 = Quitter ENTR\220E = Continuer"
},
{
// ERROR_NO_BUILD_PATH
"Failed to build the installation paths for the ReactOS installation directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_PATH
"You cannot delete the partition containing the installation source!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_DIR
"You cannot install ReactOS within the installation source directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_NO_HDD
"Setup n'a pu trouver un disque dur.\n",

View file

@ -1478,6 +1478,21 @@ MUI_ERROR heILErrorEntries[] =
" \x07 .\204\220\227\232\204\204\216 \232\200\226\214 \211\203\213 F3 \225\207\214",
"\204\220\227\232\204 \214\205\210\211\201 = F3 \212\231\216\204 = ENTER"
},
{
// ERROR_NO_BUILD_PATH
"Failed to build the installation paths for the ReactOS installation directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_PATH
"You cannot delete the partition containing the installation source!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_DIR
"You cannot install ReactOS within the installation source directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_NO_HDD
".\207\211\231\227 \217\220\205\213 \204\200\226\216 \200\214 \204\220\227\232\204\204 \232\211\220\213\232\n",

View file

@ -1479,6 +1479,21 @@ MUI_ERROR itITErrorEntries[] =
" \x07 Premere F3 per uscire.",
"F3 = Uscire INVIO = Continuare"
},
{
// ERROR_NO_BUILD_PATH
"Failed to build the installation paths for the ReactOS installation directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_PATH
"You cannot delete the partition containing the installation source!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_DIR
"You cannot install ReactOS within the installation source directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_NO_HDD
"Setup non ha trovato un disco fisso.\n",

View file

@ -1477,6 +1477,21 @@ MUI_ERROR jaJPErrorEntries[] =
" \x07 \276\257\304\261\257\314\337\246 \301\255\263\274 \275\331\306\312 F3 \267\260\246 \265\274\303 \270\300\336\273\262\241",
"F3 = \301\255\263\274 ENTER = \277\336\257\272\263"
},
{
// ERROR_NO_BUILD_PATH
"Failed to build the installation paths for the ReactOS installation directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_PATH
"You cannot delete the partition containing the installation source!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_DIR
"You cannot install ReactOS within the installation source directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_NO_HDD
"\276\257\304\261\257\314\337\312 \312\260\304\336\303\336\250\275\270\246 \271\335\274\255\302 \303\336\267\317\276\335 \303\336\274\300\241\n",

View file

@ -1485,6 +1485,21 @@ MUI_ERROR ltLTErrorEntries[] =
" \x07 Press F3 to quit Setup.",
"F3 = Quit ENTER = Continue"
},
{
// ERROR_NO_BUILD_PATH
"Failed to build the installation paths for the ReactOS installation directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_PATH
"You cannot delete the partition containing the installation source!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_DIR
"You cannot install ReactOS within the installation source directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_NO_HDD
"Setup could not find a harddisk.\n",

View file

@ -1373,6 +1373,21 @@ MUI_ERROR msMYErrorEntries[] =
" \x07 Tekan F3 untuk keluar persediaan.",
"F3 = Keluar ENTER = Teruskan"
},
{
// ERROR_NO_BUILD_PATH
"Failed to build the installation paths for the ReactOS installation directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_PATH
"You cannot delete the partition containing the installation source!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_DIR
"You cannot install ReactOS within the installation source directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_NO_HDD
"Persediaan tidak dapat mencari cakera keras.\n",

View file

@ -1495,6 +1495,21 @@ MUI_ERROR nlNLErrorEntries[] =
" \x07 Druk op F3 om Setup af te sluiten.",
"F3 = Afsluiten ENTER = Doorgaan"
},
{
// ERROR_NO_BUILD_PATH
"Failed to build the installation paths for the ReactOS installation directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_PATH
"You cannot delete the partition containing the installation source!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_DIR
"You cannot install ReactOS within the installation source directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_NO_HDD
"Setup kan geen vaste schijf vinden.\n",

View file

@ -1485,6 +1485,21 @@ MUI_ERROR plPLErrorEntries[] =
" \x07 Naci\230nij F3, aby wyj\230\206 z instalatora.",
"F3 = Wyj\230cie ENTER = Kontynuacja"
},
{
// ERROR_NO_BUILD_PATH
"Failed to build the installation paths for the ReactOS installation directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_PATH
"You cannot delete the partition containing the installation source!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_DIR
"You cannot install ReactOS within the installation source directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_NO_HDD
"Instalator nie wykry\210 \276adnego dysku twardego.\n",

View file

@ -1507,6 +1507,21 @@ MUI_ERROR ptBRErrorEntries[] =
" \x07 Para sair da instala\207\306o, pressione F3.",
"F3=Sair ENTER=Continuar"
},
{
// ERROR_NO_BUILD_PATH
"Failed to build the installation paths for the ReactOS installation directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_PATH
"You cannot delete the partition containing the installation source!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_DIR
"You cannot install ReactOS within the installation source directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_NO_HDD
"N\306o foi poss\241vel localizar um disco r\241digo.\n",

View file

@ -1508,6 +1508,21 @@ MUI_ERROR roROErrorEntries[] =
" \x07 Tasta\376i F3 pentru a abandona instalarea.",
"F3 = Ie\272ire ENTER = Continuare"
},
{
// ERROR_NO_BUILD_PATH
"Failed to build the installation paths for the ReactOS installation directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_PATH
"You cannot delete the partition containing the installation source!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_DIR
"You cannot install ReactOS within the installation source directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_NO_HDD
"E\272ec la identificarea unit\343\376ilor interne de stocare.",

View file

@ -1494,6 +1494,21 @@ MUI_ERROR ruRUErrorEntries[] =
" \x07 \215\240\246\254\250\342\245 F3 \242\353\345\256\244\240 \250\247 \343\341\342\240\255\256\242\252\250.",
"F3 = \202\353\345\256\244 ENTER = \217\340\256\244\256\253\246\250\342\354"
},
{
// ERROR_NO_BUILD_PATH
"Failed to build the installation paths for the ReactOS installation directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_PATH
"You cannot delete the partition containing the installation source!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_DIR
"You cannot install ReactOS within the installation source directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_NO_HDD
"\215\245 \343\244\240\253\256\341\354 \255\240\251\342\250 \246\245\341\342\252\250\251 \244\250\341\252.\n",

View file

@ -1483,6 +1483,21 @@ MUI_ERROR skSKErrorEntries[] =
" \x07 Stla\237te F3 pre skon\237enie in\347tal\240cie.",
"F3 = Skon\237i\234 ENTER = Pokra\237ova\234"
},
{
// ERROR_NO_BUILD_PATH
"Failed to build the installation paths for the ReactOS installation directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_PATH
"You cannot delete the partition containing the installation source!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_DIR
"You cannot install ReactOS within the installation source directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_NO_HDD
"In\347tal\240toru sa nepodarilo n\240js\234 pevn\354 disk.\n",

View file

@ -1481,6 +1481,21 @@ MUI_ERROR sqALErrorEntries[] =
" \x07 Kliko F3 t\211 dal\211sh nga instalimi.",
"F3 = Dil ENTER = Vazhdo"
},
{
// ERROR_NO_BUILD_PATH
"Failed to build the installation paths for the ReactOS installation directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_PATH
"You cannot delete the partition containing the installation source!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_DIR
"You cannot install ReactOS within the installation source directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_NO_HDD
"Instalimi nuk mund t\211 gjej nj\211 harddisk.\n",

View file

@ -1483,6 +1483,21 @@ MUI_ERROR svSEErrorEntries[] =
" \x07 Tryck F3 f\224r att avsluta Setup.",
"F3 = Avsluta ENTER = Forts\204tta"
},
{
// ERROR_NO_BUILD_PATH
"Failed to build the installation paths for the ReactOS installation directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_PATH
"You cannot delete the partition containing the installation source!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_DIR
"You cannot install ReactOS within the installation source directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_NO_HDD
"Setup kunde inte hitta n\206gon h\206rddisk.\n",

View file

@ -1455,6 +1455,21 @@ MUI_ERROR trTRErrorEntries[] =
" \x07 Kur'dan \207\215kmak i\207in F3'e bas\215n\215z.",
"F3 = \200\215k ENTER = S\201rd\201r"
},
{
// ERROR_NO_BUILD_PATH
"Failed to build the installation paths for the ReactOS installation directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_PATH
"You cannot delete the partition containing the installation source!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_DIR
"You cannot install ReactOS within the installation source directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_NO_HDD
"Kur, bir sabit disk bulamad\215.\n",

View file

@ -1483,6 +1483,21 @@ MUI_ERROR ukUAErrorEntries[] =
" \x07 \215\240\342\250\341\255i\342\354 F3 \244\253\357 \242\250\345\256\244\343 \247 \242\341\342\240\255\256\242\253\356\242\240\347\240.",
"F3 = \202\250\251\342\250 ENTER = \217\340\256\244\256\242\246\250\342\250"
},
{
// ERROR_NO_BUILD_PATH
"Failed to build the installation paths for the ReactOS installation directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_PATH
"You cannot delete the partition containing the installation source!\n"
"ENTER = Reboot computer"
},
{
// ERROR_SOURCE_DIR
"You cannot install ReactOS within the installation source directory!\n"
"ENTER = Reboot computer"
},
{
// ERROR_NO_HDD
"\215\245 \242\244\240\253\256\341\354 \247\255\240\251\342\250 \246\256\340\341\342\252\250\251 \244\250\341\252.\n",

View file

@ -1777,9 +1777,7 @@ SelectPartitionPage(PINPUT_RECORD Ir)
// &USetupData.SourceRootPath
if (RtlPrefixUnicodeString(&CurrentPartitionU, &USetupData.SourcePath, TRUE))
{
PopupError("You cannot delete the partition containing the installation source!",
MUIGetString(STRING_CONTINUE),
Ir, POPUP_WAIT_ENTER);
MUIDisplayError(ERROR_SOURCE_PATH, Ir, POPUP_WAIT_ENTER);
return SELECT_PARTITION_PAGE;
}
}
@ -3569,9 +3567,7 @@ InstallDirectoryPage(PINPUT_RECORD Ir)
if (!NT_SUCCESS(Status))
{
DPRINT1("BuildInstallPaths() failed. Status code: 0x%lx", Status);
PopupError("Failed to build the installation paths for the ReactOS installation directory!",
MUIGetString(STRING_CONTINUE),
Ir, POPUP_WAIT_ENTER);
MUIDisplayError(ERROR_NO_BUILD_PATH, Ir, POPUP_WAIT_ENTER);
return QUIT_PAGE;
}
@ -3582,9 +3578,7 @@ InstallDirectoryPage(PINPUT_RECORD Ir)
*/
if (RtlPrefixUnicodeString(&USetupData.SourcePath, &USetupData.DestinationPath, TRUE))
{
PopupError("You cannot install ReactOS within the installation source directory!",
MUIGetString(STRING_CONTINUE),
Ir, POPUP_WAIT_ENTER);
MUIDisplayError(ERROR_SOURCE_DIR, Ir, POPUP_WAIT_ENTER);
return INSTALL_DIRECTORY_PAGE;
}
@ -3677,9 +3671,7 @@ InstallDirectoryPage(PINPUT_RECORD Ir)
if (!NT_SUCCESS(Status))
{
DPRINT1("BuildInstallPaths() failed. Status code: 0x%lx", Status);
PopupError("Failed to build the installation paths for the ReactOS installation directory!",
MUIGetString(STRING_CONTINUE),
Ir, POPUP_WAIT_ENTER);
MUIDisplayError(ERROR_NO_BUILD_PATH, Ir, POPUP_WAIT_ENTER);
return QUIT_PAGE;
}
@ -3690,9 +3682,7 @@ InstallDirectoryPage(PINPUT_RECORD Ir)
*/
if (RtlPrefixUnicodeString(&USetupData.SourcePath, &USetupData.DestinationPath, TRUE))
{
PopupError("You cannot install ReactOS within the installation source directory!",
MUIGetString(STRING_CONTINUE),
Ir, POPUP_WAIT_ENTER);
MUIDisplayError(ERROR_SOURCE_DIR, Ir, POPUP_WAIT_ENTER);
return INSTALL_DIRECTORY_PAGE;
}