Author: ekohl
Date: Fri Oct  3 11:05:56 2014
New Revision: 64487

URL: http://svn.reactos.org/svn/reactos?rev=64487&view=rev
Log:
[USETUP]
Remove obsolete partition creation checks and their corresponding error 
messages.

Modified:
    trunk/reactos/base/setup/usetup/errorcode.h
    trunk/reactos/base/setup/usetup/lang/bg-BG.h
    trunk/reactos/base/setup/usetup/lang/cs-CZ.h
    trunk/reactos/base/setup/usetup/lang/de-DE.h
    trunk/reactos/base/setup/usetup/lang/el-GR.h
    trunk/reactos/base/setup/usetup/lang/en-US.h
    trunk/reactos/base/setup/usetup/lang/es-ES.h
    trunk/reactos/base/setup/usetup/lang/et-EE.h
    trunk/reactos/base/setup/usetup/lang/fr-FR.h
    trunk/reactos/base/setup/usetup/lang/he-IL.h
    trunk/reactos/base/setup/usetup/lang/it-IT.h
    trunk/reactos/base/setup/usetup/lang/ja-JP.h
    trunk/reactos/base/setup/usetup/lang/lt-LT.h
    trunk/reactos/base/setup/usetup/lang/nl-NL.h
    trunk/reactos/base/setup/usetup/lang/pl-PL.h
    trunk/reactos/base/setup/usetup/lang/pt-BR.h
    trunk/reactos/base/setup/usetup/lang/ro-RO.h
    trunk/reactos/base/setup/usetup/lang/ru-RU.h
    trunk/reactos/base/setup/usetup/lang/sk-SK.h
    trunk/reactos/base/setup/usetup/lang/sq-AL.h
    trunk/reactos/base/setup/usetup/lang/sv-SE.h
    trunk/reactos/base/setup/usetup/lang/tr-TR.h
    trunk/reactos/base/setup/usetup/lang/uk-UA.h
    trunk/reactos/base/setup/usetup/partlist.c

Modified: trunk/reactos/base/setup/usetup/errorcode.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/errorcode.h?rev=64487&r1=64486&r2=64487&view=diff
==============================================================================
--- trunk/reactos/base/setup/usetup/errorcode.h [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/errorcode.h [iso-8859-1] Fri Oct  3 
11:05:56 2014
@@ -67,12 +67,8 @@
     ERROR_ADDING_KBLAYOUTS,
     ERROR_UPDATE_GEOID,
     ERROR_INSUFFICIENT_DISKSPACE,
-
     ERROR_PARTITION_TABLE_FULL,
     ERROR_ONLY_ONE_EXTENDED,
-    ERROR_NOT_BEHIND_EXTENDED,
-    ERROR_EXTENDED_NOT_LAST,
-
 
     ERROR_LAST_ERROR_CODE
 }ERROR_NUMBER;

Modified: trunk/reactos/base/setup/usetup/lang/bg-BG.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/bg-BG.h?rev=64487&r1=64486&r2=64487&view=diff
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/bg-BG.h        [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/bg-BG.h        [iso-8859-1] Fri Oct  3 
11:05:56 2014
@@ -1521,19 +1521,6 @@
     {
         //ERROR_ONLY_ONE_EXTENDED,
         "You can not create more than one extended partition per disk.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_NOT_BEHIND_EXTENDED,
-        "You can not create a partition behind an extended partition.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_EXTENDED_NOT_LAST,
-        "An extended partition must always be the last\n"
-        "partition in a partition table.\n"
         "\n"
         "  * Press any key to continue."
     },

Modified: trunk/reactos/base/setup/usetup/lang/cs-CZ.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/cs-CZ.h?rev=64487&r1=64486&r2=64487&view=diff
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/cs-CZ.h        [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/cs-CZ.h        [iso-8859-1] Fri Oct  3 
11:05:56 2014
@@ -1516,19 +1516,6 @@
     {
         //ERROR_ONLY_ONE_EXTENDED,
         "Nen¡ mo§n‚ vytvoýit v¡ce ne§ jeden rozç¡ýenì odd¡l na disk.\n"
-        "\n"
-        "  * PokraŸujte stisknut¡m libovoln‚ kl vesy."
-    },
-    {
-        //ERROR_NOT_BEHIND_EXTENDED,
-        "Nen¡ mo§n‚ vytvoýit odd¡l za rozç¡ýenìm odd¡lem.\n"
-        "\n"
-        "  * PokraŸujte stisknut¡m libovoln‚ kl vesy."
-    },
-    {
-        //ERROR_EXTENDED_NOT_LAST,
-        "Rozç¡ýenì odd¡l mus¡ bìt v§dy posledn¡ odd¡l\n"
-        "v tabulce odd¡l….\n"
         "\n"
         "  * PokraŸujte stisknut¡m libovoln‚ kl vesy."
     },

Modified: trunk/reactos/base/setup/usetup/lang/de-DE.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/de-DE.h?rev=64487&r1=64486&r2=64487&view=diff
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/de-DE.h        [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/de-DE.h        [iso-8859-1] Fri Oct  3 
11:05:56 2014
@@ -1513,19 +1513,6 @@
     {
         //ERROR_ONLY_ONE_EXTENDED,
         "Sie k”nnen nur eine erweiterte Partition auf jeder Festplatte 
anlegen.\n"
-        "\n"
-        "  * Eine beliebige Taste zum Fortsetzen drcken."
-    },
-    {
-        //ERROR_NOT_BEHIND_EXTENDED,
-        "Sie k”nnen hinter einer erweiterten Partition keine weitere Partition 
anlegen.\n"
-        "\n"
-        "  * Eine beliebige Taste zum Fortsetzen drcken."
-    },
-    {
-        //ERROR_EXTENDED_NOT_LAST,
-        "Eine erweiterte Partition muss immer die letzte Partition in \n"
-        "einer Partitionstabelle sein.\n"
         "\n"
         "  * Eine beliebige Taste zum Fortsetzen drcken."
     },

Modified: trunk/reactos/base/setup/usetup/lang/el-GR.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/el-GR.h?rev=64487&r1=64486&r2=64487&view=diff
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/el-GR.h        [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/el-GR.h        [iso-8859-1] Fri Oct  3 
11:05:56 2014
@@ -1533,19 +1533,6 @@
     {
         //ERROR_ONLY_ONE_EXTENDED,
         "You can not create more than one extended partition per disk.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_NOT_BEHIND_EXTENDED,
-        "You can not create a partition behind an extended partition.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_EXTENDED_NOT_LAST,
-        "An extended partition must always be the last\n"
-        "partition in a partition table.\n"
         "\n"
         "  * Press any key to continue."
     },

Modified: trunk/reactos/base/setup/usetup/lang/en-US.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/en-US.h?rev=64487&r1=64486&r2=64487&view=diff
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/en-US.h        [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/en-US.h        [iso-8859-1] Fri Oct  3 
11:05:56 2014
@@ -1508,19 +1508,6 @@
     {
         //ERROR_ONLY_ONE_EXTENDED,
         "You can not create more than one extended partition per disk.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_NOT_BEHIND_EXTENDED,
-        "You can not create a partition behind an extended partition.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_EXTENDED_NOT_LAST,
-        "An extended partition must always be the last\n"
-        "partition in a partition table.\n"
         "\n"
         "  * Press any key to continue."
     },

Modified: trunk/reactos/base/setup/usetup/lang/es-ES.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/es-ES.h?rev=64487&r1=64486&r2=64487&view=diff
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/es-ES.h        [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/es-ES.h        [iso-8859-1] Fri Oct  3 
11:05:56 2014
@@ -1516,19 +1516,6 @@
     {
         //ERROR_ONLY_ONE_EXTENDED,
         "You can not create more than one extended partition per disk.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_NOT_BEHIND_EXTENDED,
-        "You can not create a partition behind an extended partition.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_EXTENDED_NOT_LAST,
-        "An extended partition must always be the last\n"
-        "partition in a partition table.\n"
         "\n"
         "  * Press any key to continue."
     },

Modified: trunk/reactos/base/setup/usetup/lang/et-EE.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/et-EE.h?rev=64487&r1=64486&r2=64487&view=diff
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/et-EE.h        [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/et-EE.h        [iso-8859-1] Fri Oct  3 
11:05:56 2014
@@ -1506,19 +1506,6 @@
     {
         //ERROR_ONLY_ONE_EXTENDED,
         "You can not create more than one extended partition per disk.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_NOT_BEHIND_EXTENDED,
-        "You can not create a partition behind an extended partition.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_EXTENDED_NOT_LAST,
-        "An extended partition must always be the last\n"
-        "partition in a partition table.\n"
         "\n"
         "  * Press any key to continue."
     },

Modified: trunk/reactos/base/setup/usetup/lang/fr-FR.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/fr-FR.h?rev=64487&r1=64486&r2=64487&view=diff
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/fr-FR.h        [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/fr-FR.h        [iso-8859-1] Fri Oct  3 
11:05:56 2014
@@ -1521,19 +1521,6 @@
     {
         //ERROR_ONLY_ONE_EXTENDED,
         "Impossible de cr‚er plus d'une partition ‚tendue par disque.\n"
-        "\n"
-        "  * Appuyer sur une touche pour continuer."
-    },
-    {
-        //ERROR_NOT_BEHIND_EXTENDED,
-        "Impossible de cr‚er une partition pr‚c‚dant une partition ‚tendue.\n"
-        "\n"
-        "  * Appuyer sur une touche pour continuer."
-    },
-    {
-        //ERROR_EXTENDED_NOT_LAST,
-        "Une partition ‚tendue doit toujours ˆtre plac‚e en dernier\n"
-        "dans la table de partition.\n"
         "\n"
         "  * Appuyer sur une touche pour continuer."
     },

Modified: trunk/reactos/base/setup/usetup/lang/he-IL.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/he-IL.h?rev=64487&r1=64486&r2=64487&view=diff
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/he-IL.h        [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/he-IL.h        [iso-8859-1] Fri Oct  3 
11:05:56 2014
@@ -1509,19 +1509,6 @@
     {
         //ERROR_ONLY_ONE_EXTENDED,
         "You can not create more than one extended partition per disk.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_NOT_BEHIND_EXTENDED,
-        "You can not create a partition behind an extended partition.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_EXTENDED_NOT_LAST,
-        "An extended partition must always be the last\n"
-        "partition in a partition table.\n"
         "\n"
         "  * Press any key to continue."
     },

Modified: trunk/reactos/base/setup/usetup/lang/it-IT.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/it-IT.h?rev=64487&r1=64486&r2=64487&view=diff
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/it-IT.h        [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/it-IT.h        [iso-8859-1] Fri Oct  3 
11:05:56 2014
@@ -1510,19 +1510,6 @@
     {
         //ERROR_ONLY_ONE_EXTENDED,
         "You can not create more than one extended partition per disk.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_NOT_BEHIND_EXTENDED,
-        "You can not create a partition behind an extended partition.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_EXTENDED_NOT_LAST,
-        "An extended partition must always be the last\n"
-        "partition in a partition table.\n"
         "\n"
         "  * Press any key to continue."
     },

Modified: trunk/reactos/base/setup/usetup/lang/ja-JP.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/ja-JP.h?rev=64487&r1=64486&r2=64487&view=diff
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/ja-JP.h        [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/ja-JP.h        [iso-8859-1] Fri Oct  3 
11:05:56 2014
@@ -1510,19 +1510,6 @@
     {
         //ERROR_ONLY_ONE_EXTENDED,
         "You can not create more than one extended partition per disk.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_NOT_BEHIND_EXTENDED,
-        "You can not create a partition behind an extended partition.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_EXTENDED_NOT_LAST,
-        "An extended partition must always be the last\n"
-        "partition in a partition table.\n"
         "\n"
         "  * Press any key to continue."
     },

Modified: trunk/reactos/base/setup/usetup/lang/lt-LT.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/lt-LT.h?rev=64487&r1=64486&r2=64487&view=diff
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/lt-LT.h        [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/lt-LT.h        [iso-8859-1] Fri Oct  3 
11:05:56 2014
@@ -1518,19 +1518,6 @@
     {
         //ERROR_ONLY_ONE_EXTENDED,
         "You can not create more than one extended partition per disk.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_NOT_BEHIND_EXTENDED,
-        "You can not create a partition behind an extended partition.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_EXTENDED_NOT_LAST,
-        "An extended partition must always be the last\n"
-        "partition in a partition table.\n"
         "\n"
         "  * Press any key to continue."
     },

Modified: trunk/reactos/base/setup/usetup/lang/nl-NL.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/nl-NL.h?rev=64487&r1=64486&r2=64487&view=diff
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/nl-NL.h        [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/nl-NL.h        [iso-8859-1] Fri Oct  3 
11:05:56 2014
@@ -1554,19 +1554,6 @@
     {
         //ERROR_ONLY_ONE_EXTENDED,
         "You can not create more than one extended partition per disk.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_NOT_BEHIND_EXTENDED,
-        "You can not create a partition behind an extended partition.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_EXTENDED_NOT_LAST,
-        "An extended partition must always be the last\n"
-        "partition in a partition table.\n"
         "\n"
         "  * Press any key to continue."
     },

Modified: trunk/reactos/base/setup/usetup/lang/pl-PL.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/pl-PL.h?rev=64487&r1=64486&r2=64487&view=diff
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/pl-PL.h        [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/pl-PL.h        [iso-8859-1] Fri Oct  3 
11:05:56 2014
@@ -1518,19 +1518,6 @@
     {
         //ERROR_ONLY_ONE_EXTENDED,
         "Nie mo¾esz utworzy† wi©cej ni¾ jednej partycji rozszerzonej na 
dysku.\n"
-        "\n"
-        "  * Naci˜nij dowolny klawisz, aby kontynuowa†."
-    },
-    {
-        //ERROR_NOT_BEHIND_EXTENDED,
-        "Nie mo¾esz utworzy† partycji za partycj¥ rozszerzon¥.\n"
-        "\n"
-        "  * Naci˜nij dowolny klawisz, aby kontynuowa†."
-    },
-    {
-        //ERROR_EXTENDED_NOT_LAST,
-        "Partycja rozszerzona musi by† zawsze ostatni¥\n"
-        "partycj¥ w tabeli partycji.\n"
         "\n"
         "  * Naci˜nij dowolny klawisz, aby kontynuowa†."
     },

Modified: trunk/reactos/base/setup/usetup/lang/pt-BR.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/pt-BR.h?rev=64487&r1=64486&r2=64487&view=diff
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/pt-BR.h        [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/pt-BR.h        [iso-8859-1] Fri Oct  3 
11:05:56 2014
@@ -1546,19 +1546,6 @@
     {
         //ERROR_ONLY_ONE_EXTENDED,
         "You can not create more than one extended partition per disk.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_NOT_BEHIND_EXTENDED,
-        "You can not create a partition behind an extended partition.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_EXTENDED_NOT_LAST,
-        "An extended partition must always be the last\n"
-        "partition in a partition table.\n"
         "\n"
         "  * Press any key to continue."
     },

Modified: trunk/reactos/base/setup/usetup/lang/ro-RO.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/ro-RO.h?rev=64487&r1=64486&r2=64487&view=diff
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/ro-RO.h        [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/ro-RO.h        [iso-8859-1] Fri Oct  3 
11:05:56 2014
@@ -1529,7 +1529,7 @@
     {
         //ERROR_CABINET_SECTION,
         "Nu se poate gÇsi secîiunea de directoare\n"
-               "Œn fi­ierul cabinet.",
+        "Œn fi­ierul cabinet.",
         "ENTER = Repornire calculator"
     },
     {
@@ -1540,7 +1540,7 @@
     {
         //ERROR_FIND_SETUPDATA,
         "Nu se poate gÇsi secîiunea pentru date de\n"
-               "instalare din fi­ierul TXTSETUP.SIF.",
+        "instalare din fi­ierul TXTSETUP.SIF.",
         "ENTER = Repornire calculator"
     },
     {
@@ -1561,7 +1561,7 @@
     {
         //ERROR_ADDING_KBLAYOUTS,
         "A e­uat includerea Œn registre a configuraîiei\n"
-               "de tastaturÇ.",
+        "de tastaturÇ.",
         "ENTER = Repornire calculator"
     },
     {
@@ -1572,7 +1572,7 @@
     {
         //ERROR_INSUFFICIENT_DISKSPACE,
         "Pe partiîia selectatÇ nu existÇ suficient\n"
-               "spaîiu liber."
+        "spaîiu liber."
         "  * Tastaîi pentru a continua.",
         NULL
     },
@@ -1586,19 +1586,6 @@
     {
         //ERROR_ONLY_ONE_EXTENDED,
         "Nu se poate crea mai mult de o partiîie extinsÇ pe un disc.\n"
-        "\n"
-        "  * Tastaîi pentru a continua."
-    },
-    {
-        //ERROR_NOT_BEHIND_EXTENDED,
-        "Nu se poate crea o partiîie dupÇ o partiîie extinsÇ.\n"
-        "\n"
-        "  * Tastaîi pentru a continua."
-    },
-    {
-        //ERROR_EXTENDED_NOT_LAST,
-        "O partiîie extinsÇ trebuie sÇ fie Œntotdeauna\n"
-        "ultima partiîie din tabela de partiîii.\n"
         "\n"
         "  * Tastaîi pentru a continua."
     },

Modified: trunk/reactos/base/setup/usetup/lang/ru-RU.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/ru-RU.h?rev=64487&r1=64486&r2=64487&view=diff
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/ru-RU.h        [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/ru-RU.h        [iso-8859-1] Fri Oct  3 
11:05:56 2014
@@ -1510,19 +1510,6 @@
     {
         //ERROR_ONLY_ONE_EXTENDED,
         "You can not create more than one extended partition per disk.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_NOT_BEHIND_EXTENDED,
-        "You can not create a partition behind an extended partition.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_EXTENDED_NOT_LAST,
-        "An extended partition must always be the last\n"
-        "partition in a partition table.\n"
         "\n"
         "  * Press any key to continue."
     },

Modified: trunk/reactos/base/setup/usetup/lang/sk-SK.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/sk-SK.h?rev=64487&r1=64486&r2=64487&view=diff
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/sk-SK.h        [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/sk-SK.h        [iso-8859-1] Fri Oct  3 
11:05:56 2014
@@ -1520,19 +1520,6 @@
     {
         //ERROR_ONLY_ONE_EXTENDED,
         "You can not create more than one extended partition per disk.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_NOT_BEHIND_EXTENDED,
-        "You can not create a partition behind an extended partition.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_EXTENDED_NOT_LAST,
-        "An extended partition must always be the last\n"
-        "partition in a partition table.\n"
         "\n"
         "  * Press any key to continue."
     },

Modified: trunk/reactos/base/setup/usetup/lang/sq-AL.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/sq-AL.h?rev=64487&r1=64486&r2=64487&view=diff
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/sq-AL.h        [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/sq-AL.h        [iso-8859-1] Fri Oct  3 
11:05:56 2014
@@ -1513,19 +1513,6 @@
     {
         //ERROR_ONLY_ONE_EXTENDED,
         "You can not create more than one extended partition per disk.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_NOT_BEHIND_EXTENDED,
-        "You can not create a partition behind an extended partition.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_EXTENDED_NOT_LAST,
-        "An extended partition must always be the last\n"
-        "partition in a partition table.\n"
         "\n"
         "  * Press any key to continue."
     },

Modified: trunk/reactos/base/setup/usetup/lang/sv-SE.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/sv-SE.h?rev=64487&r1=64486&r2=64487&view=diff
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/sv-SE.h        [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/sv-SE.h        [iso-8859-1] Fri Oct  3 
11:05:56 2014
@@ -1516,19 +1516,6 @@
     {
         //ERROR_ONLY_ONE_EXTENDED,
         "You can not create more than one extended partition per disk.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_NOT_BEHIND_EXTENDED,
-        "You can not create a partition behind an extended partition.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_EXTENDED_NOT_LAST,
-        "An extended partition must always be the last\n"
-        "partition in a partition table.\n"
         "\n"
         "  * Press any key to continue."
     },

Modified: trunk/reactos/base/setup/usetup/lang/tr-TR.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/tr-TR.h?rev=64487&r1=64486&r2=64487&view=diff
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/tr-TR.h        [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/tr-TR.h        [iso-8859-1] Fri Oct  3 
11:05:56 2014
@@ -1496,19 +1496,6 @@
     {
         //ERROR_ONLY_ONE_EXTENDED,
         "Bir diskte birden ‡ok geniŸletilmiŸ b”lm oluŸturamazsnz.\n"
-        "\n"
-        "  * Srdrmek i‡in bir d§meye basnz."
-    },
-    {
-        //ERROR_NOT_BEHIND_EXTENDED,
-        "Bir geniŸletilmiŸ b”lm arkasnda bir b”lm oluŸturamazsnz.\n"
-        "\n"
-        "  * Srdrmek i‡in bir d§meye basnz."
-    },
-    {
-        //ERROR_EXTENDED_NOT_LAST,
-        "Bir geniŸletilmiŸ b”lm, her zaman bir b”lm\n"
-        "tablosunda son b”lm olmaldr.\n"
         "\n"
         "  * Srdrmek i‡in bir d§meye basnz."
     },

Modified: trunk/reactos/base/setup/usetup/lang/uk-UA.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/uk-UA.h?rev=64487&r1=64486&r2=64487&view=diff
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/uk-UA.h        [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/uk-UA.h        [iso-8859-1] Fri Oct  3 
11:05:56 2014
@@ -1516,19 +1516,6 @@
     {
         //ERROR_ONLY_ONE_EXTENDED,
         "You can not create more than one extended partition per disk.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_NOT_BEHIND_EXTENDED,
-        "You can not create a partition behind an extended partition.\n"
-        "\n"
-        "  * Press any key to continue."
-    },
-    {
-        //ERROR_EXTENDED_NOT_LAST,
-        "An extended partition must always be the last\n"
-        "partition in a partition table.\n"
         "\n"
         "  * Press any key to continue."
     },

Modified: trunk/reactos/base/setup/usetup/partlist.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/partlist.c?rev=64487&r1=64486&r2=64487&view=diff
==============================================================================
--- trunk/reactos/base/setup/usetup/partlist.c  [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/partlist.c  [iso-8859-1] Fri Oct  3 
11:05:56 2014
@@ -3004,41 +3004,6 @@
 
 
 static
-BOOLEAN
-IsLastPrimaryPartiton(
-    IN PPARTENTRY PartEntry)
-{
-    return (PartEntry->ListEntry.Flink == 
&PartEntry->DiskEntry->PrimaryPartListHead);
-}
-
-
-static
-BOOLEAN
-IsPreviousPartitionExtended(
-    IN PPARTENTRY PartEntry,
-    IN PDISKENTRY DiskEntry)
-{
-    PPARTENTRY PrevPartEntry;
-    PLIST_ENTRY Entry;
-
-    Entry = PartEntry->ListEntry.Blink;
-
-    while (Entry != &DiskEntry->PrimaryPartListHead)
-    {
-        PrevPartEntry = CONTAINING_RECORD(Entry, PARTENTRY, ListEntry);
-
-        if (IsContainerPartition(PrevPartEntry->PartitionType))
-            return TRUE;
-
-        Entry = Entry->Blink;
-    }
-
-    return FALSE;
-
-}
-
-
-static
 ULONG
 GetPrimaryPartitionCount(
     IN PDISKENTRY DiskEntry)
@@ -3079,10 +3044,6 @@
     if (GetPrimaryPartitionCount(DiskEntry) > 4)
         return ERROR_PARTITION_TABLE_FULL;
 
-    /* Fail if this partiton is located behind an extended partition */
-    if (IsPreviousPartitionExtended(PartEntry, DiskEntry))
-        return ERROR_NOT_BEHIND_EXTENDED;
-
     return ERROR_SUCCESS;
 }
 
@@ -3109,10 +3070,6 @@
     if (DiskEntry->ExtendedPartition != NULL)
         return ERROR_ONLY_ONE_EXTENDED;
 
-    /* Fail if the partition is not the last list entry */
-    if (!IsLastPrimaryPartiton(PartEntry))
-        return ERROR_EXTENDED_NOT_LAST;
-
     return ERROR_SUCCESS;
 }
 


Reply via email to