2009-01-22 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / tools / locale-builder / CultureInfoEntry.cs
index 00b84fdb80cf058bcc2e2df006898005c1b6631d..fb9f642e2420449bbb9f702b218fbecfc3a41649 100644 (file)
@@ -33,6 +33,7 @@ namespace Mono.Tools.LocaleBuilder {
                 public string Lcid;
                 public string ParentLcid;
                 public string SpecificLcid;
+                public int RegionId = -1;
                 public DateTimeFormatEntry DateTimeFormatEntry;
                 public NumberFormatEntry NumberFormatEntry;
                 public TextInfoEntry TextInfoEntry;
@@ -76,16 +77,17 @@ namespace Mono.Tools.LocaleBuilder {
                 public void AppendTableRow (StringBuilder builder)
                 {
                         builder.Append ("\t{");
-                        builder.AppendFormat ("{0}, {1}, {2}, " +
-                                        "{3}, {4}, {5}, " +
-                                        "{6}, {7}, {8}, " +
-                                        "{9}, {10}, " +
-                                        "{11}, " +
-                                        "{12}, {13}, {14}",
-                                        Lcid, ParentLcid, SpecificLcid,
+                        builder.AppendFormat ("{0}, {1}, {2}, {3}," +
+                                        "{4}, {5}, {6}, " +
+                                        "{7}, {8}, {9}, " +
+                                        "{10}, {11}, {12}, " +
+                                        "{13}, " +
+                                        "{14}, {15}, {16}",
+                                        Lcid, ParentLcid, SpecificLcid, RegionId,
                                         EncodeStringIdx (Name), EncodeStringIdx (IcuName), EncodeStringIdx (EnglishName),
                                         EncodeStringIdx (DisplayName), EncodeStringIdx (NativeName), EncodeStringIdx (Win3Lang),
                                         EncodeStringIdx (ISO3Lang), EncodeStringIdx (ISO2Lang),
+                                        EncodeStringIdx (Territory),
                                         ValuesString (CalendarData),
                                         DateTimeFormatEntry == null ? -1 : DateTimeFormatEntry.Row,
                                         NumberFormatEntry == null ? -1 : NumberFormatEntry.Row,