Add missing error entries for Russian and Swedish
[reactos.git] / reactos / base / setup / usetup / lang / sv-SE.h
index f6c4f40..95494f5 100644 (file)
@@ -1,8 +1,60 @@
 #ifndef LANG_SV_SE_H__
 #define LANG_SV_SE_H__
 
+static MUI_ENTRY svSELanguagePageEntries[] =
+{
+    {
+        4,
+        3,
+        " ReactOS " KERNEL_VERSION_STR " Setup ",
+        TEXT_UNDERLINE
+    },
+    {
+        6,
+        8,
+        "Language Selection.",
+        TEXT_NORMAL
+    },
+    {
+        8,
+        10,
+        "\x07  Please choose the language used for the installation process.",
+        TEXT_NORMAL
+    },
+    {
+        8,
+        11,
+        "   Then press ENTER.",
+        TEXT_NORMAL
+    },
+    {
+        8,
+        13,
+        "\x07  This Language will be the default language for the final system.",
+        TEXT_NORMAL
+    },
+    {
+        0,
+        0,
+        "   ENTER = Continue  F3 = Quit",
+        TEXT_STATUS
+    },
+    {
+        0,
+        0,
+        NULL,
+        0
+    }
+};
+
 static MUI_ENTRY svSEWelcomePageEntries[] =
 {
+    {
+        4,
+        3,
+        " ReactOS " KERNEL_VERSION_STR " Setup ",
+        TEXT_UNDERLINE
+    },
     {
         6,
         8,
@@ -167,6 +219,12 @@ static MUI_ENTRY svSEIntroPageEntries[] =
 
 static MUI_ENTRY svSELicensePageEntries[] =
 {
+    {
+        4,
+        3,
+        " ReactOS " KERNEL_VERSION_STR " Setup ",
+        TEXT_UNDERLINE
+    },
     {
         6,
         6,
@@ -285,6 +343,12 @@ static MUI_ENTRY svSELicensePageEntries[] =
 
 static MUI_ENTRY svSEDevicePageEntries[] =
 {
+    {
+        4,
+        3,
+        " ReactOS " KERNEL_VERSION_STR " Setup ",
+        TEXT_UNDERLINE
+    },
     {
         6,
         8,
@@ -372,6 +436,12 @@ static MUI_ENTRY svSEDevicePageEntries[] =
 
 static MUI_ENTRY svSERepairPageEntries[] =
 {
+    {
+        4,
+        3,
+        " ReactOS " KERNEL_VERSION_STR " Setup ",
+        TEXT_UNDERLINE
+    },
     {
         6,
         8,
@@ -429,6 +499,12 @@ static MUI_ENTRY svSERepairPageEntries[] =
 };
 static MUI_ENTRY svSEComputerPageEntries[] =
 {
+    {
+        4,
+        3,
+        " ReactOS " KERNEL_VERSION_STR " Setup ",
+        TEXT_UNDERLINE
+    },
     {
         6,
         8,
@@ -475,6 +551,12 @@ static MUI_ENTRY svSEComputerPageEntries[] =
 
 static MUI_ENTRY svSEFlushPageEntries[] =
 {
+    {
+        4,
+        3,
+        " ReactOS " KERNEL_VERSION_STR " Setup ",
+        TEXT_UNDERLINE
+    },
     {
         10,
         6,
@@ -509,6 +591,12 @@ static MUI_ENTRY svSEFlushPageEntries[] =
 
 static MUI_ENTRY svSEQuitPageEntries[] =
 {
+    {
+        4,
+        3,
+        " ReactOS " KERNEL_VERSION_STR " Setup ",
+        TEXT_UNDERLINE
+    },
     {
         10,
         6,
@@ -549,6 +637,12 @@ static MUI_ENTRY svSEQuitPageEntries[] =
 
 static MUI_ENTRY svSEDisplayPageEntries[] =
 {
+    {
+        4,
+        3,
+        " ReactOS " KERNEL_VERSION_STR " Setup ",
+        TEXT_UNDERLINE
+    },
     {
         6,
         8,
@@ -594,6 +688,12 @@ static MUI_ENTRY svSEDisplayPageEntries[] =
 
 static MUI_ENTRY svSESuccessPageEntries[] =
 {
+    {
+        4,
+        3,
+        " ReactOS " KERNEL_VERSION_STR " Setup ",
+        TEXT_UNDERLINE
+    },
     {
         10,
         6,
@@ -634,6 +734,12 @@ static MUI_ENTRY svSESuccessPageEntries[] =
 
 static MUI_ENTRY svSEBootPageEntries[] =
 {
+    {
+        4,
+        3,
+        " ReactOS " KERNEL_VERSION_STR " Setup ",
+        TEXT_UNDERLINE
+    },
     {
         6,
         8,
@@ -675,6 +781,12 @@ static MUI_ENTRY svSEBootPageEntries[] =
 
 static MUI_ENTRY svSESelectPartitionEntries[] =
 {
+    {
+        4,
+        3,
+        " ReactOS " KERNEL_VERSION_STR " Setup ",
+        TEXT_UNDERLINE
+    },
     {
         6,
         8,
@@ -727,6 +839,12 @@ static MUI_ENTRY svSESelectPartitionEntries[] =
 
 static MUI_ENTRY svSEFormatPartitionEntries[] =
 {
+    {
+        4,
+        3,
+        " ReactOS " KERNEL_VERSION_STR " Setup ",
+        TEXT_UNDERLINE
+    },
     {
         6,
         8,
@@ -755,6 +873,12 @@ static MUI_ENTRY svSEFormatPartitionEntries[] =
 
 static MUI_ENTRY svSEInstallDirectoryEntries[] =
 {
+    {
+        4,
+        3,
+        " ReactOS " KERNEL_VERSION_STR " Setup ",
+        TEXT_UNDERLINE
+    },
     {
         6,
         8,
@@ -801,6 +925,12 @@ static MUI_ENTRY svSEInstallDirectoryEntries[] =
 
 static MUI_ENTRY svSEFileCopyEntries[] =
 {
+    {
+        4,
+        3,
+        " ReactOS " KERNEL_VERSION_STR " Setup ",
+        TEXT_UNDERLINE
+    },
     {
         11,
         12,
@@ -835,6 +965,12 @@ static MUI_ENTRY svSEFileCopyEntries[] =
 
 static MUI_ENTRY svSEBootLoaderEntries[] =
 {
+    {
+        4,
+        3,
+        " ReactOS " KERNEL_VERSION_STR " Setup ",
+        TEXT_UNDERLINE
+    },
     {
         6,
         8,
@@ -875,6 +1011,12 @@ static MUI_ENTRY svSEBootLoaderEntries[] =
 
 static MUI_ENTRY svSEKeyboardSettingsEntries[] =
 {
+    {
+        4,
+        3,
+        " ReactOS " KERNEL_VERSION_STR " Setup ",
+        TEXT_UNDERLINE
+    },
     {
         6,
         8,
@@ -921,6 +1063,12 @@ static MUI_ENTRY svSEKeyboardSettingsEntries[] =
 
 static MUI_ENTRY svSELayoutSettingsEntries[] =
 {
+    {
+        4,
+        3,
+        " ReactOS " KERNEL_VERSION_STR " Setup ",
+        TEXT_UNDERLINE
+    },
     {
         6,
         8,
@@ -968,6 +1116,12 @@ static MUI_ENTRY svSELayoutSettingsEntries[] =
 
 static MUI_ENTRY svSEPrepareCopyEntries[] =
 {
+    {
+        4,
+        3,
+        " ReactOS " KERNEL_VERSION_STR " Setup ",
+        TEXT_UNDERLINE
+    },
     {
         6,
         8,
@@ -991,6 +1145,12 @@ static MUI_ENTRY svSEPrepareCopyEntries[] =
 
 static MUI_ENTRY svSESelectFSEntries[] =
 {
+    {
+        4,
+        3,
+        " ReactOS " KERNEL_VERSION_STR " Setup ",
+        TEXT_UNDERLINE
+    },
     {
         6,
         17,
@@ -1032,6 +1192,12 @@ static MUI_ENTRY svSESelectFSEntries[] =
 
 static MUI_ENTRY svSEDeletePartitionEntries[] =
 {
+    {
+        4,
+        3,
+        " ReactOS " KERNEL_VERSION_STR " Setup ",
+        TEXT_UNDERLINE
+    },
     {
         6,
         8,
@@ -1070,12 +1236,203 @@ static MUI_ENTRY svSEDeletePartitionEntries[] =
     }
 };
 
+MUI_ERROR svSEErrorEntries[] =
+{
+    {
+        //ERROR_NOT_INSTALLED
+        "ReactOS is not completely installed on your\n"
+            "computer. If you quit Setup now, you will need to\n"
+            "run Setup again to install ReactOS.\n"
+            "\n"
+            "  \x07  Press ENTER to continue Setup.\n"
+            "  \x07  Press F3 to quit Setup.",
+            "F3= Quit  ENTER = Continue"
+    },
+    {
+        //ERROR_NO_HDD
+        "Setup could not find a harddisk.\n",
+        "ENTER = Reboot computer"
+    },
+    {
+        //ERROR_NO_SOURCE_DRIVE
+        "Setup could not find its source drive.\n",
+        "ENTER = Reboot computer"
+    },
+    {
+        //ERROR_LOAD_TXTSETUPSIF
+        "Setup failed to load the file TXTSETUP.SIF.\n",
+        "ENTER = Reboot computer"
+    },
+    {
+        //ERROR_CORRUPT_TXTSETUPSIF
+        "Setup found a corrupt TXTSETUP.SIF.\n",
+        "ENTER = Reboot computer"
+    },
+    {
+        //ERROR_SIGNATURE_TXTSETUPSIF,
+        "Setup found an invalid signature in TXTSETUP.SIF.\n",
+        "ENTER = Reboot computer"
+    },
+    {
+        //ERROR_DRIVE_INFORMATION
+        "Setup could not retrieve system drive information.\n",
+        "ENTER = Reboot computer"
+    },
+    {
+        //ERROR_WRITE_BOOT,
+        "failed to install FAT bootcode on the system partition.",
+        "ENTER = Reboot computer"
+    },
+    {
+        //ERROR_LOAD_COMPUTER,
+        "Setup failed to load the computer type list.\n",
+        "ENTER = Reboot computer"
+    },
+    {
+        //ERROR_LOAD_DISPLAY,
+        "Setup failed to load the display settings list.\n",
+        "ENTER = Reboot computer"
+    },
+    {
+        //ERROR_LOAD_KEYBOARD,
+        "Setup failed to load the keyboard type list.\n",
+        "ENTER = Reboot computer"
+    },
+    {
+        //ERROR_LOAD_KBLAYOUT,
+        "Setup failed to load the keyboard layout list.\n",
+        "ENTER = Reboot computer"
+    },
+    {
+        //ERROR_WARN_PARTITION,
+          "Setup found that at least one harddisk contains an incompatible\n"
+                 "partition table that can not be handled properly!\n"
+                 "\n"
+                 "Creating or deleting partitions can destroy the partiton table.\n"
+                 "\n"
+                 "  \x07  Press F3 to quit Setup."
+                 "  \x07  Press ENTER to continue.",
+          "F3= Quit  ENTER = Continue"
+    },
+    {
+        //ERROR_NEW_PARTITION,
+        "You can not create a new Partition inside\n"
+               "of an already existing Partition!\n"
+               "\n"
+               "  * Press any key to continue.",
+        NULL
+    },
+    {
+        //ERROR_DELETE_SPACE,
+        "You can not delete unpartitioned disk space!\n"
+        "\n"
+        "  * Press any key to continue.",
+        NULL
+    },
+    {
+        //ERROR_INSTALL_BOOTCODE,
+        "Setup failed to install the FAT bootcode on the system partition.",
+        "ENTER = Reboot computer"
+    },
+    {
+        //ERROR_NO_FLOPPY,
+        "No disk in drive A:.",
+        "ENTER = Continue"
+    },
+    {
+        //ERROR_UPDATE_KBSETTINGS,
+        "Setup failed to update keyboard layout settings.",
+        "ENTER = Reboot computer"
+    },
+    {
+        //ERROR_UPDATE_DISPLAY_SETTINGS,
+        "Setup failed to update display registry settings.",
+        "ENTER = Reboot computer"
+    },
+    {
+        //ERROR_IMPORT_HIVE,
+        "Setup failed to import a hive file.",
+        "ENTER = Reboot computer"
+    },
+    {
+        //ERROR_FIND_REGISTRY
+        "Setup failed to find the registry data files.",
+        "ENTER = Reboot computer"
+    },
+    {
+        //ERROR_CREATE_HIVE,
+        "Setup failed to create the registry hives.",
+        "ENTER = Reboot computer"
+    },
+    {
+        //ERROR_INITIALIZE_REGISTRY,
+        "Setup failed to set the initialize the registry.",
+        "ENTER = Reboot computer"
+    },
+    {
+        //ERROR_INVALID_CABINET_INF,
+        "Cabinet has no valid inf file.\n",
+        "ENTER = Reboot computer"
+    },
+    {
+        //ERROR_CABINET_MISSING,
+        "Cabinet not found.\n",
+        "ENTER = Reboot computer"
+    },
+    {
+        //ERROR_CABINET_SCRIPT,
+        "Cabinet has no setup script.\n",
+        "ENTER = Reboot computer"
+    },
+    {
+        //ERROR_COPY_QUEUE,
+        "Setup failed to open the copy file queue.\n",
+        "ENTER = Reboot computer"
+    },
+    {
+        //ERROR_CREATE_DIR,
+        "Setup could not create install directories.",
+        "ENTER = Reboot computer"
+    },
+    {
+        //ERROR_TXTSETUP_SECTION,
+        "Setup failed to find the 'Directories' section\n"
+        "in TXTSETUP.SIF.\n",
+        "ENTER = Reboot computer"
+    },
+    {
+        //ERROR_CABINET_SECTION,
+        "Setup failed to find the 'Directories' section\n"
+        "in the cabinet.\n",
+        "ENTER = Reboot computer"
+    },
+    {
+        //ERROR_CREATE_INSTALL_DIR
+        "Setup could not create the install directory.",
+        "ENTER = Reboot computer"
+    },
+    {
+        //ERROR_FIND_SETUPDATA,
+        "Setup failed to find the 'SetupData' section\n"
+                "in TXTSETUP.SIF.\n",
+                "ENTER = Reboot computer"
+    },
+    {
+        //ERROR_WRITE_PTABLE,
+        "Setup failed to write partition tables.\n"
+        "ENTER = Reboot computer"
+    },
+    {
+        NULL,
+        NULL
+    }
+};
 
 MUI_PAGE svSEPages[] =
 {
     {
         LANGUAGE_PAGE,
-        LanguagePageEntries
+        svSELanguagePageEntries
     },
     {
        START_PAGE,