xref: /haiku/src/system/libroot/posix/glibc/locale/categories.def (revision a3f665982e2e078ba42e7bf941bd5f3dd8989c55)
1*5af32e75SAxel Dörfler/* Definition of all available locale categories and their items.  -*- C -*-
2*5af32e75SAxel Dörfler   Copyright (C) 1995-2000, 2001 Free Software Foundation, Inc.
3*5af32e75SAxel Dörfler   This file is part of the GNU C Library.
4*5af32e75SAxel Dörfler
5*5af32e75SAxel Dörfler   The GNU C Library is free software; you can redistribute it and/or
6*5af32e75SAxel Dörfler   modify it under the terms of the GNU Lesser General Public
7*5af32e75SAxel Dörfler   License as published by the Free Software Foundation; either
8*5af32e75SAxel Dörfler   version 2.1 of the License, or (at your option) any later version.
9*5af32e75SAxel Dörfler
10*5af32e75SAxel Dörfler   The GNU C Library is distributed in the hope that it will be useful,
11*5af32e75SAxel Dörfler   but WITHOUT ANY WARRANTY; without even the implied warranty of
12*5af32e75SAxel Dörfler   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13*5af32e75SAxel Dörfler   Lesser General Public License for more details.
14*5af32e75SAxel Dörfler
15*5af32e75SAxel Dörfler   You should have received a copy of the GNU Lesser General Public
16*5af32e75SAxel Dörfler   License along with the GNU C Library; if not, write to the Free
17*5af32e75SAxel Dörfler   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
18*5af32e75SAxel Dörfler   02111-1307 USA.  */
19*5af32e75SAxel Dörfler
20*5af32e75SAxel Dörfler/* These definitions are used by the locale-related files in the C library
21*5af32e75SAxel Dörfler   and the programs `localedef' and `locale'.
22*5af32e75SAxel Dörfler
23*5af32e75SAxel Dörfler   The general format of the descriptions is like this:
24*5af32e75SAxel Dörfler
25*5af32e75SAxel Dörfler     DEFINE_CATEGORY (ID, name, ( items ), setlocale-postload)
26*5af32e75SAxel Dörfler
27*5af32e75SAxel Dörfler   where items itself is an array of entries in the form
28*5af32e75SAxel Dörfler
29*5af32e75SAxel Dörfler     { ID, name, standard, value-type, min, max }
30*5af32e75SAxel Dörfler
31*5af32e75SAxel Dörfler   The usage of the load, check, output functions depends on the individual
32*5af32e75SAxel Dörfler   program code which loads this file.
33*5af32e75SAxel Dörfler
34*5af32e75SAxel Dörfler   The various value types for the items are `string', `stringarray', `byte'
35*5af32e75SAxel Dörfler   `bytearray', and `word'.  These cover all possible values in the current
36*5af32e75SAxel Dörfler   locale definitions.  `min' and `max' can be individually used again.  */
37*5af32e75SAxel Dörfler
38*5af32e75SAxel Dörfler#ifndef NO_POSTLOAD
39*5af32e75SAxel Dörfler#define NO_POSTLOAD NULL
40*5af32e75SAxel Dörfler#endif
41*5af32e75SAxel Dörfler
42*5af32e75SAxel DörflerDEFINE_CATEGORY
43*5af32e75SAxel Dörfler(
44*5af32e75SAxel Dörfler LC_COLLATE, "LC_COLLATE",
45*5af32e75SAxel Dörfler (
46*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_COLLATE_NRULES,           "collate-nrules",           std, word)
47*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_COLLATE_RULESETS,         "collate-rulesets",         std, string)
48*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_COLLATE_TABLEMB,          "collate-tablemb",          std, wstring)
49*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_COLLATE_WEIGHTMB,         "collate-weightmb",         std, wstring)
50*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_COLLATE_EXTRAMB,          "collate-extramb",          std, wstring)
51*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_COLLATE_INDIRECTMB,       "collate-indirectmb",       std, wstring)
52*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_COLLATE_TABLEWC,          "collate-tablewc",          std, wstring)
53*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_COLLATE_WEIGHTWC,         "collate-weightwc",         std, wstring)
54*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_COLLATE_EXTRAWC,          "collate-extrawc",          std, wstring)
55*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_COLLATE_INDIRECTWC,       "collate-indirectwc",       std, wstring)
56*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_COLLATE_SYMB_HASH_SIZEMB, "collate-symb-hash-sizemb", std, word)
57*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_COLLATE_SYMB_TABLEMB,     "collate-symb-tablemb",     std, wstring)
58*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_COLLATE_SYMB_EXTRAMB,     "collate-symb-extramb",     std, wstring)
59*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_COLLATE_COLLSEQMB,        "collate-collseqmb",        std, wstring)
60*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_COLLATE_COLLSEQWC,        "collate-collseqwc",        std, wstring)
61*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_COLLATE_CODESET,		"collate-codeset",	    std, string)
62*5af32e75SAxel Dörfler  ), NO_POSTLOAD)
63*5af32e75SAxel Dörfler
64*5af32e75SAxel Dörfler
65*5af32e75SAxel Dörfler/* The actual definition of ctype is meaningless here.  It is hard coded in
66*5af32e75SAxel Dörfler   the code because it has to be handled very specially.  Only the names of
67*5af32e75SAxel Dörfler   the functions and the value types are important.  */
68*5af32e75SAxel DörflerDEFINE_CATEGORY
69*5af32e75SAxel Dörfler(
70*5af32e75SAxel Dörfler LC_CTYPE, "LC_CTYPE",
71*5af32e75SAxel Dörfler (
72*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_CLASS,	  "ctype-class",        std, wstring)
73*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_TOUPPER,      "ctype-toupper",      std, wstring)
74*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_TOLOWER,      "ctype-tolower",      std, wstring)
75*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_CLASS32,      "ctype-class32",      std, wstring)
76*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_CLASS_NAMES,  "ctype-class-names",  std, stringlist, 10, 32)
77*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_MAP_NAMES,	  "ctype-map-names",    std, stringlist, 2, 32)
78*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_WIDTH,	  "ctype-width",        std, bytearray)
79*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_MB_CUR_MAX,	  "ctype-mb-cur-max",   std, word)
80*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_CODESET_NAME, "charmap",		std, string)
81*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_TOUPPER32,    "ctype-toupper32",    std, wstring)
82*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_TOLOWER32,    "ctype-tolower32",    std, wstring)
83*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_CLASS_OFFSET, "ctype-class-offset", std, word)
84*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_MAP_OFFSET,   "ctype-map-offset",   std, word)
85*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_INDIGITS_MB_LEN, "ctype-indigits_mb-len", std, word)
86*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_INDIGITS0_MB, "ctype-indigits0_mb", std, string)
87*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_INDIGITS1_MB, "ctype-indigits1_mb", std, string)
88*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_INDIGITS2_MB, "ctype-indigits2_mb", std, string)
89*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_INDIGITS3_MB, "ctype-indigits3_mb", std, string)
90*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_INDIGITS4_MB, "ctype-indigits4_mb", std, string)
91*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_INDIGITS5_MB, "ctype-indigits5_mb", std, string)
92*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_INDIGITS6_MB, "ctype-indigits6_mb", std, string)
93*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_INDIGITS7_MB, "ctype-indigits7_mb", std, string)
94*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_INDIGITS8_MB, "ctype-indigits8_mb", std, string)
95*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_INDIGITS9_MB, "ctype-indigits9_mb", std, string)
96*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_INDIGITS_WC_LEN, "ctype-indigits_wc-len", std, word)
97*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_INDIGITS0_WC, "ctype-indigits0_wc", std, wstring)
98*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_INDIGITS1_WC, "ctype-indigits1_wc", std, wstring)
99*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_INDIGITS2_WC, "ctype-indigits2_wc", std, wstring)
100*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_INDIGITS3_WC, "ctype-indigits3_wc", std, wstring)
101*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_INDIGITS4_WC, "ctype-indigits4_wc", std, wstring)
102*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_INDIGITS5_WC, "ctype-indigits5_wc", std, wstring)
103*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_INDIGITS6_WC, "ctype-indigits6_wc", std, wstring)
104*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_INDIGITS7_WC, "ctype-indigits7_wc", std, wstring)
105*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_INDIGITS8_WC, "ctype-indigits8_wc", std, wstring)
106*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_INDIGITS9_WC, "ctype-indigits9_wc", std, wstring)
107*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_OUTDIGIT0_MB, "ctype-outdigit0_mb", std, string)
108*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_OUTDIGIT1_MB, "ctype-outdigit1_mb", std, string)
109*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_OUTDIGIT2_MB, "ctype-outdigit2_mb", std, string)
110*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_OUTDIGIT3_MB, "ctype-outdigit3_mb", std, string)
111*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_OUTDIGIT4_MB, "ctype-outdigit4_mb", std, string)
112*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_OUTDIGIT5_MB, "ctype-outdigit5_mb", std, string)
113*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_OUTDIGIT6_MB, "ctype-outdigit6_mb", std, string)
114*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_OUTDIGIT7_MB, "ctype-outdigit7_mb", std, string)
115*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_OUTDIGIT8_MB, "ctype-outdigit8_mb", std, string)
116*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_OUTDIGIT9_MB, "ctype-outdigit9_mb", std, string)
117*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_OUTDIGIT0_WC, "ctype-outdigit0_wc", std, word)
118*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_OUTDIGIT1_WC, "ctype-outdigit1_wc", std, word)
119*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_OUTDIGIT2_WC, "ctype-outdigit2_wc", std, word)
120*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_OUTDIGIT3_WC, "ctype-outdigit3_wc", std, word)
121*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_OUTDIGIT4_WC, "ctype-outdigit4_wc", std, word)
122*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_OUTDIGIT5_WC, "ctype-outdigit5_wc", std, word)
123*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_OUTDIGIT6_WC, "ctype-outdigit6_wc", std, word)
124*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_OUTDIGIT7_WC, "ctype-outdigit7_wc", std, word)
125*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_OUTDIGIT8_WC, "ctype-outdigit8_wc", std, word)
126*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_OUTDIGIT9_WC, "ctype-outdigit9_wc", std, word)
127*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_TRANSLIT_TAB_SIZE, "ctype-translit-tab-size", std, word)
128*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_TRANSLIT_FROM_IDX, "ctype-translit-from-idx", std, wstring)
129*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_TRANSLIT_FROM_TBL, "ctype-translit-from-tbl", std, wstring)
130*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_TRANSLIT_TO_IDX, "ctype-translit-to-idx", std, wstring)
131*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_TRANSLIT_TO_TBL, "ctype-translit-to-tbl", std, wstring)
132*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN, "ctype-translit-default-missing-len", std, word)
133*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_TRANSLIT_DEFAULT_MISSING, "ctype-translit-default-missing", std, wstring)
134*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_TRANSLIT_IGNORE_LEN, "ctype-translit-ignore-len", std, word)
135*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_CTYPE_TRANSLIT_IGNORE, "ctype-translit-ignore", std, string)
136*5af32e75SAxel Dörfler  ), _nl_postload_ctype)
137*5af32e75SAxel Dörfler
138*5af32e75SAxel Dörfler
139*5af32e75SAxel DörflerDEFINE_CATEGORY
140*5af32e75SAxel Dörfler(
141*5af32e75SAxel Dörfler LC_MONETARY, "LC_MONETARY",
142*5af32e75SAxel Dörfler (
143*5af32e75SAxel Dörfler  DEFINE_ELEMENT (INT_CURR_SYMBOL,                     "int_curr_symbol",        std, string)
144*5af32e75SAxel Dörfler  DEFINE_ELEMENT (CURRENCY_SYMBOL,                     "currency_symbol",        std, string)
145*5af32e75SAxel Dörfler  DEFINE_ELEMENT (MON_DECIMAL_POINT,                   "mon_decimal_point",      std, string)
146*5af32e75SAxel Dörfler  DEFINE_ELEMENT (MON_THOUSANDS_SEP,                   "mon_thousands_sep",      std, string)
147*5af32e75SAxel Dörfler  DEFINE_ELEMENT (MON_GROUPING,                        "mon_grouping",           std, bytearray)
148*5af32e75SAxel Dörfler  DEFINE_ELEMENT (POSITIVE_SIGN,                       "positive_sign",          std, string)
149*5af32e75SAxel Dörfler  DEFINE_ELEMENT (NEGATIVE_SIGN,                       "negative_sign",          std, string)
150*5af32e75SAxel Dörfler  DEFINE_ELEMENT (INT_FRAC_DIGITS,                     "int_frac_digits",        std, byte)
151*5af32e75SAxel Dörfler  DEFINE_ELEMENT (FRAC_DIGITS,                         "frac_digits",            std, byte)
152*5af32e75SAxel Dörfler  DEFINE_ELEMENT (P_CS_PRECEDES,                       "p_cs_precedes",          std, byte, 0, 1)
153*5af32e75SAxel Dörfler  DEFINE_ELEMENT (P_SEP_BY_SPACE,                      "p_sep_by_space",         std, byte, 0, 2)
154*5af32e75SAxel Dörfler  DEFINE_ELEMENT (N_CS_PRECEDES,                       "n_cs_precedes",          std, byte, 0, 1)
155*5af32e75SAxel Dörfler  DEFINE_ELEMENT (N_SEP_BY_SPACE,                      "n_sep_by_space",         std, byte, 0, 2)
156*5af32e75SAxel Dörfler  DEFINE_ELEMENT (P_SIGN_POSN,                         "p_sign_posn",            std, byte, 0, 4)
157*5af32e75SAxel Dörfler  DEFINE_ELEMENT (N_SIGN_POSN,                         "n_sign_posn",            std, byte, 0, 4)
158*5af32e75SAxel Dörfler  DEFINE_ELEMENT (__INT_P_CS_PRECEDES,                 "int_p_cs_precedes",      std, byte, 0, 1)
159*5af32e75SAxel Dörfler  DEFINE_ELEMENT (__INT_P_SEP_BY_SPACE,                "int_p_sep_by_space",     std, byte, 0, 2)
160*5af32e75SAxel Dörfler  DEFINE_ELEMENT (__INT_N_CS_PRECEDES,                 "int_n_cs_precedes",      std, byte, 0, 1)
161*5af32e75SAxel Dörfler  DEFINE_ELEMENT (__INT_N_SEP_BY_SPACE,                "int_n_sep_by_space",     std, byte, 0, 2)
162*5af32e75SAxel Dörfler  DEFINE_ELEMENT (__INT_P_SIGN_POSN,                   "int_p_sign_posn",        std, byte, 0, 4)
163*5af32e75SAxel Dörfler  DEFINE_ELEMENT (__INT_N_SIGN_POSN,                   "int_n_sign_posn",        std, byte, 0, 4)
164*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_MONETARY_DUO_INT_CURR_SYMBOL,    "duo_int_curr_symbol",    std, string)
165*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_MONETARY_DUO_CURRENCY_SYMBOL,    "duo_currency_symbol",    std, string)
166*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_MONETARY_DUO_INT_FRAC_DIGITS,    "duo_int_frac_digits",    std, byte)
167*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_MONETARY_DUO_FRAC_DIGITS,        "duo_frac_digits",        std, byte)
168*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_MONETARY_DUO_P_CS_PRECEDES,      "duo_p_cs_precedes",      std, byte, 0, 1)
169*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_MONETARY_DUO_P_SEP_BY_SPACE,     "duo_p_sep_by_space",     std, byte, 0, 2)
170*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_MONETARY_DUO_N_CS_PRECEDES,      "duo_n_cs_precedes",      std, byte, 0, 1)
171*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_MONETARY_DUO_N_SEP_BY_SPACE,     "duo_n_sep_by_space",     std, byte, 0, 2)
172*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_MONETARY_DUO_INT_P_CS_PRECEDES,  "duo_int_p_cs_precedes",  std, byte, 0, 1)
173*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_MONETARY_DUO_INT_P_SEP_BY_SPACE, "duo_int_p_sep_by_space", std, byte, 0, 2)
174*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_MONETARY_DUO_INT_N_CS_PRECEDES,  "duo_int_n_cs_precedes",  std, byte, 0, 1)
175*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_MONETARY_DUO_INT_N_SEP_BY_SPACE, "duo_int_n_sep_by_space", std, byte, 0, 2)
176*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_MONETARY_DUO_P_SIGN_POSN,        "duo_p_sign_posn",        std, byte, 0, 4)
177*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_MONETARY_DUO_N_SIGN_POSN,        "duo_n_sign_posn",        std, byte, 0, 4)
178*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_MONETARY_DUO_INT_P_SIGN_POSN,    "duo_int_p_sign_posn",    std, byte, 0, 4)
179*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_MONETARY_DUO_INT_N_SIGN_POSN,    "duo_int_n_sign_posn",    std, byte, 0, 4)
180*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_MONETARY_UNO_VALID_FROM,         "uno_valid_from",         std, word)
181*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_MONETARY_UNO_VALID_TO,           "uno_valid_to",           std, word)
182*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_MONETARY_DUO_VALID_FROM,         "duo_valid_from",         std, word)
183*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_MONETARY_DUO_VALID_TO,           "duo_valid_to",           std, word)
184*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_MONETARY_CONVERSION_RATE,        "conversion_rate",         std, wordarray, 2, 2)
185*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_MONETARY_DECIMAL_POINT_WC,       "monetary-decimal-point-wc", std, word)
186*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_MONETARY_THOUSANDS_SEP_WC,       "monetary-thousands-sep-wc", std, word)
187*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_MONETARY_CODESET,		       "monetary-codeset",	    std, string)
188*5af32e75SAxel Dörfler  ), NO_POSTLOAD)
189*5af32e75SAxel Dörfler
190*5af32e75SAxel Dörfler
191*5af32e75SAxel DörflerDEFINE_CATEGORY
192*5af32e75SAxel Dörfler(
193*5af32e75SAxel Dörfler LC_NUMERIC, "LC_NUMERIC",
194*5af32e75SAxel Dörfler (
195*5af32e75SAxel Dörfler  DEFINE_ELEMENT (DECIMAL_POINT, "decimal_point", std, string)
196*5af32e75SAxel Dörfler  DEFINE_ELEMENT (THOUSANDS_SEP, "thousands_sep", std, string)
197*5af32e75SAxel Dörfler  DEFINE_ELEMENT (GROUPING,      "grouping",      std, bytearray)
198*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_NUMERIC_DECIMAL_POINT_WC, "numeric-decimal-point-wc", std, word)
199*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_NUMERIC_THOUSANDS_SEP_WC, "numeric-thousands-sep-wc", std, word)
200*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_NUMERIC_CODESET,		"numeric-codeset",	    std, string)
201*5af32e75SAxel Dörfler
202*5af32e75SAxel Dörfler  ), NO_POSTLOAD)
203*5af32e75SAxel Dörfler
204*5af32e75SAxel Dörfler
205*5af32e75SAxel DörflerDEFINE_CATEGORY
206*5af32e75SAxel Dörfler(
207*5af32e75SAxel Dörfler LC_TIME, "LC_TIME",
208*5af32e75SAxel Dörfler (
209*5af32e75SAxel Dörfler  DEFINE_ELEMENT (ABDAY_1,     "abday",       std, stringarray,  7,  7)
210*5af32e75SAxel Dörfler  DEFINE_ELEMENT (DAY_1,       "day",         std, stringarray,  7,  7)
211*5af32e75SAxel Dörfler  DEFINE_ELEMENT (ABMON_1,     "abmon",       std, stringarray, 12, 12)
212*5af32e75SAxel Dörfler  DEFINE_ELEMENT (MON_1,       "mon",         std, stringarray, 12, 12)
213*5af32e75SAxel Dörfler  DEFINE_ELEMENT (AM_STR,      "am_pm",       std, stringarray,  2,  2)
214*5af32e75SAxel Dörfler  DEFINE_ELEMENT (D_T_FMT,     "d_t_fmt",     std, string)
215*5af32e75SAxel Dörfler  DEFINE_ELEMENT (D_FMT,       "d_fmt",       std, string)
216*5af32e75SAxel Dörfler  DEFINE_ELEMENT (T_FMT,       "t_fmt",       std, string)
217*5af32e75SAxel Dörfler  DEFINE_ELEMENT (T_FMT_AMPM,  "t_fmt_ampm",  std, string)
218*5af32e75SAxel Dörfler  DEFINE_ELEMENT (ERA,         "era",         opt, stringlist, 0, 100)
219*5af32e75SAxel Dörfler  DEFINE_ELEMENT (ERA_YEAR,    "era_year",    opt, string)
220*5af32e75SAxel Dörfler  DEFINE_ELEMENT (ERA_D_FMT,   "era_d_fmt",   opt, string)
221*5af32e75SAxel Dörfler  DEFINE_ELEMENT (ALT_DIGITS,  "alt_digits",  opt, stringlist,  100, 100)
222*5af32e75SAxel Dörfler  DEFINE_ELEMENT (ERA_D_T_FMT, "era_d_t_fmt", opt, string)
223*5af32e75SAxel Dörfler  DEFINE_ELEMENT (ERA_T_FMT,   "era_t_fmt",   opt, string)
224*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_TIME_ERA_NUM_ENTRIES,    "time-era-num-entries",    opt, word)
225*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_TIME_ERA_ENTRIES,   "time-era-entries", opt, string)
226*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_WABDAY_1,  "wide-abday",    std, wstringarray,  7,  7)
227*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_WDAY_1,    "wide-day",      std, wstringarray,  7,  7)
228*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_WABMON_1,  "wide-abmon",    std, wstringarray, 12, 12)
229*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_WMON_1,    "wide-mon",      std, wstringarray, 12, 12)
230*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_WAM_STR,   "wide-am_pm",    std, wstringarray,  2,  2)
231*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_WD_T_FMT,  "wide-d_t_fmt",  std, wstring)
232*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_WD_FMT,    "wide-d_fmt",    std, wstring)
233*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_WT_FMT,    "wide-t_fmt",    std, wstring)
234*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_WT_FMT_AMPM, "wide-t_fmt_ampm", std, wstring)
235*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_WERA_YEAR,   "wide-era_year",    opt, wstring)
236*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_WERA_D_FMT,  "wide-era_d_fmt",   opt, wstring)
237*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_WALT_DIGITS,  "wide-alt_digits",  opt, wstringlist, 1000, 100)
238*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_WERA_D_T_FMT, "wide-era_d_t_fmt", opt, wstring)
239*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_WERA_T_FMT,   "wide-era_t_fmt",   opt, wstring)
240*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_TIME_WEEK_NDAYS,      "week-ndays",          std, byte)
241*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_TIME_WEEK_1STDAY,     "week-1stday",         std, word)
242*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_TIME_WEEK_1STWEEK,    "week-1stweek",        std, byte)
243*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_TIME_FIRST_WEEKDAY,   "first_weekday",       std, byte)
244*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_TIME_FIRST_WORKDAY,   "first_workday",       std, byte)
245*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_TIME_CAL_DIRECTION,   "cal_direction",       std, byte)
246*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_TIME_TIMEZONE,        "timezone",            std, string)
247*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_DATE_FMT,                "date_fmt",            opt, string)
248*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_W_DATE_FMT,           "wide-date_fmt",       opt, wstring)
249*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_TIME_CODESET,	    "time-codeset",	   std, string)
250*5af32e75SAxel Dörfler  ), _nl_postload_time)
251*5af32e75SAxel Dörfler
252*5af32e75SAxel Dörfler
253*5af32e75SAxel DörflerDEFINE_CATEGORY
254*5af32e75SAxel Dörfler(
255*5af32e75SAxel Dörfler LC_MESSAGES, "LC_MESSAGES",
256*5af32e75SAxel Dörfler (
257*5af32e75SAxel Dörfler  DEFINE_ELEMENT (YESEXPR, "yesexpr", std, string)
258*5af32e75SAxel Dörfler  DEFINE_ELEMENT (NOEXPR,  "noexpr",  std, string)
259*5af32e75SAxel Dörfler  DEFINE_ELEMENT (YESSTR,  "yesstr",  opt, string)
260*5af32e75SAxel Dörfler  DEFINE_ELEMENT (NOSTR,   "nostr",   opt, string)
261*5af32e75SAxel Dörfler  DEFINE_ELEMENT (_NL_MESSAGES_CODESET, "messages-codeset", std, string)
262*5af32e75SAxel Dörfler  ), NO_POSTLOAD)
263