Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / locale / countries / norway.c
blobdf4fbdfeaeabdcd98ab9dbd4af32e80a4007bc2a
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Country data for Norge (Norway)
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 norwayPrefs =
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('N',0,0,0), 47, MS_ISO,
28 /* Date time format, date format, time format */
29 "%e %B %Y %H.%M.%S",
30 "%e %B %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.%S",
38 /* Decimal point, group separator, frac group separator */
39 ",", ".", "",
41 /* For grouping rules, see <libraries/locale.h> */
43 /* Grouping, Frac Grouping */
44 { 3 }, { 255 },
46 /* Mon dec pt, mon group sep, mon frac group sep */
47 ",", ".", "",
49 /* Mon Grouping, Mon frac grouping */
50 { 3 }, { 255 },
52 /* Mon Frac digits, Mon IntFrac digits, then number of digits in
53 the fractional part of the money value. Most countries that
54 use dollars and cents, would have 2 for this value
56 (As would many of those you don't).
58 2, 2,
60 /* Currency symbol, Small currency symbol */
61 "kr.", "",
63 /* Int CS, this is the ISO 4217 symbol, followed by the character to
64 separate that symbol from the rest of the money. (\x00 for none).
66 "NOK",
68 /* Mon +ve sign, +ve space sep, +ve sign pos, +ve cs pos */
69 "", SS_NOSPACE, SP_PREC_ALL, CSP_SUCCEEDS,
71 /* Mon -ve sign, -ve space sep, -ve sign pos, -ve cs pos */
72 "-", SS_NOSPACE, SP_PREC_ALL, CSP_SUCCEEDS,
74 /* Calendar type */
75 CT_7MON
77 "$VER: norway.country 44.0 (12.04.2013)",
78 "Norge",
79 "Countries/Norway"