Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / locale / countries / portugal.c
bloba332caea1293bc90c06a29ee7c917f2f2a435a0e
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Country data for Portugal
6 based on the Amiga Developer CD 2.1 file -:
7 NDK/NDK_3.5/Examples/Locale/Countries/make_country_files.c
8 */
10 #include "country_locale.h"
11 #include <libraries/locale.h>
13 struct IntCountryPrefs portugalPrefs =
16 /* Reserved */
17 { 0, 0, 0, 0 },
19 /* The country codes in the past have been rather inconsistant,
20 sometimes they are 1 character, 2 chars or 3. It would be nice
21 to have some consistency. Maybe use the 3 character name from
22 ISO 3166?
25 /* Country code, telephone code, measuring system */
26 MAKE_ID('P',0,0,0), 351, MS_ISO,
28 /* Date time format, date format, time format */
29 "%A, %e de %B de %Y, %H:%M:%S",
30 "%A, %e de %B de %Y",
31 "%H:%M:%S",
33 /* Short datetime, short date, short time formats */
34 "%e %b %Y, %H:%M:%S",
35 "%e %b %Y",
36 "%H:%M",
38 /* Decimal point, group separator, frac group separator */
39 ",", "'", "'",
41 /* For grouping rules, see <libraries/locale.h> */
43 /* Grouping, Frac Grouping */
44 { 3 }, { 3 },
46 #ifdef _EURO
47 /* Mon dec pt, mon group sep, mon frac group sep */
48 ".", ".", ".",
49 #else
50 ",", ".", ".",
51 #endif
53 /* Mon Grouping, Mon frac grouping */
54 { 3 }, { 3 },
56 /* Mon Frac digits, Mon IntFrac digits, then number of digits in
57 the fractional part of the money value. Most countries that
58 use dollars and cents, would have 2 for this value
60 (As would many of those you don't).
62 2, 3,
64 #ifdef _EURO
65 /* Currency symbol, Small currency symbol */
66 "Euro", "Cent",
68 /* Int CS, this is the ISO 4217 symbol, followed by the character to
69 separate that symbol from the rest of the money. (\x00 for none).
71 "EUR",
72 #else
73 "ESC", "",
74 "",
75 #endif
76 /* Mon +ve sign, +ve space sep, +ve sign pos, +ve cs pos */
77 "+", SS_SPACE, SP_PREC_ALL, CSP_PRECEDES,
79 /* Mon -ve sign, -ve space sep, -ve sign pos, -ve cs pos */
80 "-", SS_SPACE, SP_PREC_ALL, CSP_SUCCEEDS,
82 /* Calendar type */
83 CT_7MON
85 "$VER: portugal.country 44.0 (12.04.2013)",
86 NULL,
87 "Countries/Portugal"