compiler/clib: Do not call __arosc_get_ctype() for each call to a ctype.h macro.
[AROS.git] / workbench / locale / countries / portugal.c
blob96348f072cb945c30586441f8c1b42be36f61fad
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Country data for portugal
6 */
8 #include <exec/types.h>
9 #include <libraries/locale.h>
10 #include <libraries/iffparse.h>
11 #include <prefs/locale.h>
13 /* portugal.country: based on this file on Amiga Developer CD 2.1:
14 NDK/NDK_3.5/Examples/Locale/Countries/make_country_files.c */
16 struct CountryPrefs portugalPrefs =
18 /* Reserved */
19 { 0, 0, 0, 0 },
21 /* The country codes in the past have been rather inconsistant,
22 sometimes they are 1 character, 2 chars or 3. It would be nice
23 to have some consistency. Maybe use the 3 character name from
24 ISO 3166?
27 /* Country code, telephone code, measuring system */
28 MAKE_ID('P',0,0,0), 351, MS_ISO,
30 /* Date time format, date format, time format */
31 "%A, %e de %B de %Y, %H:%M:%S",
32 "%A, %e de %B de %Y",
33 "%H:%M:%S",
35 /* Short datetime, short date, short time formats */
36 "%e %b %Y, %H:%M:%S",
37 "%e %b %Y",
38 "%H:%M",
40 /* Decimal point, group separator, frac group separator */
41 ",", "'", "'",
43 /* For grouping rules, see <libraries/locale.h> */
45 /* Grouping, Frac Grouping */
46 { 3 }, { 3 },
48 #ifdef _EURO
49 /* Mon dec pt, mon group sep, mon frac group sep */
50 ".", ".", ".",
51 #else
52 /* Mon dec pt, mon group sep, mon frac group sep */
53 ",", ".", ".",
54 #endif
56 /* Mon Grouping, Mon frac grouping */
57 { 3 }, { 3 },
59 /* Mon Frac digits, Mon IntFrac digits, then number of digits in
60 the fractional part of the money value. Most countries that
61 use dollars and cents, would have 2 for this value
63 (As would many of those you don't).
65 2, 3,
67 #ifdef _EURO
68 /* Currency symbol, Small currency symbol */
69 "Euro", "Cent",
71 /* Int CS, this is the ISO 4217 symbol, followed by the character to
72 separate that symbol from the rest of the money. (\x00 for none).
74 "EUR",
75 #else
76 /* Currency symbol, Small currency symbol */
77 "ESC", "",
79 /* Int CS, this is the ISO 4217 symbol, followed by the character to
80 separate that symbol from the rest of the money. (\x00 for none).
82 "",
83 #endif
84 /* Mon +ve sign, +ve space sep, +ve sign pos, +ve cs pos */
85 "+", SS_SPACE, SP_PREC_ALL, CSP_PRECEDES,
87 /* Mon -ve sign, -ve space sep, -ve sign pos, -ve cs pos */
88 "-", SS_SPACE, SP_PREC_ALL, CSP_SUCCEEDS,
90 /* Calendar type */
91 CT_7MON