[corlib] Match es-es NumberGroupSeparator with es. Fixes #34047
authorMarek Safar <marek.safar@gmail.com>
Mon, 21 Sep 2015 07:58:47 +0000 (09:58 +0200)
committerMarek Safar <marek.safar@gmail.com>
Mon, 21 Sep 2015 07:58:47 +0000 (09:58 +0200)
mono/metadata/culture-info-tables.h
tools/locale-builder/Driver.cs

index 7d7b7588e7dae77ee43323197a1e31c9ad6c5adb..20306b572ddc8e866c948eb5b022acbe9c68f920 100644 (file)
@@ -304,7 +304,7 @@ static const NumberFormatEntry number_format_entries [] = {
        {37416, 691, 37416, 691, 37497, 37485, 37487, 37491, 37552, 37563, 2566, 37495, 8, 3, 0, 0, 1, 2, 2, {3, -1}, {3, -1}},
        {37416, 691, 37416, 691, 37497, 37485, 37487, 37491, 37574, 37588, 2566, 37495, 8, 3, 1, 1, 1, 2, 2, {3, -1}, {3, -1}},
        {691, 37416, 691, 37416, 37601, 37485, 37487, 37491, 37452, 37462, 2566, 37495, 0, 0, 0, 0, 1, 2, 2, {3, -1}, {3, -1}},
-       {37416, 691, 37416, 37476, 37497, 37485, 37487, 37491, 37603, 37613, 2566, 37495, 8, 3, 0, 0, 1, 0, 2, {3, -1}, {3, -1}},
+       {37416, 691, 37416, 691, 37497, 37485, 37487, 37491, 37603, 37613, 2566, 37495, 8, 3, 0, 0, 1, 0, 2, {3, -1}, {3, -1}},
        {37416, 37476, 37416, 37476, 37497, 37485, 37622, 37491, 37452, 37462, 2566, 37495, 8, 3, 0, 0, 1, 2, 2, {3, -1}, {3, -1}},
        {37416, 37476, 37416, 37476, 37497, 37485, 37487, 37491, 37631, 37639, 2566, 37495, 8, 3, 0, 0, 1, 2, 2, {3, -1}, {3, -1}},
        {691, 37416, 691, 37416, 37647, 37485, 37487, 37491, 37651, 37462, 37664, 37669, 2, 2, 1, 1, 1, 2, 2, {3, -1}, {3, -1}},
index a8ec6d2f0e7771fcc9cd864db8fc221a66c884ff..3907485baf297ebbf7bac4d6c0a66c013e42ff3d 100644 (file)
@@ -1170,6 +1170,7 @@ namespace Mono.Tools.LocaleBuilder
                        // .net has incorrect separators for some countries and we want to be compatible
                        switch (ci.Name) {
                        case "es-ES":
+                       case "es":
                                // es-ES does not have group separator but .net has '.'
                                value = ".";
                                break;