Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / locale / countries / templates / template.c
blob46dc0c0f31555a43a4cac6d5e86dcae7b2a49374
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Country data template.
6 Author: Iain Templeton <iain@ugh.net.au>
7 */
9 #include "country_locale.h"
10 #include <libraries/locale.h>
12 /* Country data template/example.
13 Authors should add their name, and optionaly email address in the top
14 section of this file.
16 Note: NULL values in strings that actually mean something __MUST__
17 be explicitly specified...
19 N.B. - The example values in this file are from australia.country,
20 You must change the values to suit your own country - the data
21 shown is purely here to show what goes where.
24 struct IntCountryPrefs templatePrefs =
27 /* Reserved */
28 { 0, 0, 0, 0 },
30 /* The country codes should be based upon ISO 3166 for AROS.
31 I (Iain) have a copy of the ISO3166 codes if anyone wants them... */
33 /* Country code (left justify), telephone code, measuring system */
34 MAKE_ID('A','U','S',0), 61, MS_ISO,
36 /* Date time format, date format, time format */
37 "%A %B %e %Y %I:%M%p",
38 "%A %B %e %Y",
39 "%I:%M:%S%p",
41 /* Short datetime, short date, short time formats */
42 "%e/%m/%y %I:%M%p",
43 "%e/%m/%y",
44 "%I:%M%p",
46 /* Decimal point, group separator, frac group separator */
47 ".", " ", "\x00",
49 /* For grouping rules, see <libraries/locale.h> */
51 /* Grouping, Frac Grouping */
52 "\x03\x00", "\x00",
54 /* Mon dec pt, mon group sep, mon frac group sep */
55 ".", " ", "\x00",
57 /* Mon Grouping, Mon frac grouping */
58 "\x03\x00", "\x00",
60 /* Mon Frac digits, Mon IntFrac digits, then number of digits in
61 the fractional part of the money value. Most countries that
62 use dollars and cents, would have 2 for this value
64 (As would many of those who don't).
66 2, 2,
68 /* Currency symbol, Small currency symbol */
69 "$", "c",
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 "AUD\x00",
76 /* Mon +ve sign, +ve space sep, +ve sign pos, +ve cs pos */
77 "\x00", SS_SPACE, SP_PREC_ALL, CSP_PRECEDES,
79 /* Mon -ve sign, -ve space sep, -ve sign pos, -ve cs pos */
80 "-", SS_NOSPACE, SP_PARENS, CSP_PRECEDES,
82 /* Calendar type */
83 CT_7SUN
85 "$VER: template.country 44.0 (12.04.2013)",
86 "Countries/Template"