From d5c97a6b6986d27ba758d05b4cfe435038988514 Mon Sep 17 00:00:00 2001 From: polluks Date: Wed, 1 Jan 2014 01:18:27 +0000 Subject: [PATCH] Welcome Latvia to Euro git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@48667 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- workbench/locale/countries/latvia.c | 73 +++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 workbench/locale/countries/latvia.c diff --git a/workbench/locale/countries/latvia.c b/workbench/locale/countries/latvia.c new file mode 100644 index 0000000000..72a15481fc --- /dev/null +++ b/workbench/locale/countries/latvia.c @@ -0,0 +1,73 @@ +/* + Copyright © 1995-2013, The AROS Development Team. All rights reserved. + $Id: lithuania.c 47219 2013-04-13 16:13:54Z NicJA $ + + Desc: Country data for Latvija (Latvia). + Author: Stefan Haubenthal +*/ + +#include "country_locale.h" +#include + +struct IntCountryPrefs latviaPrefs = +{ + { + /* Reserved */ + { 0, 0, 0, 0 }, + + /* Country code (licence plate number), telephone code, measuring system */ + MAKE_ID('L','V',0,0), 371, MS_ISO, + + /* Date time format, date format, time format */ + "%A %e %B %Y %H:%M", + "%A %e %B %Y", + "%H:%M:%S", + + /* Short datetime, short date, short time formats */ + "%d/%m/%Y %H:%M", + "%d/%m/%Y", + "%H:%M", + + /* Decimal point, group separator, frac group separator */ + ".", ",", "", + + /* For grouping rules, see */ + + /* Grouping, Frac Grouping */ + { 3 }, { 0 }, + + /* Mon dec pt, mon group sep, mon frac group sep */ + ".", ",", "", + + /* Mon Grouping, Mon frac grouping */ + { 3 }, { 0 }, + + /* Mon Frac digits, Mon IntFrac digits, then number of digits in + the fractional part of the money value. Most countries that + use dollars and cents, would have 2 for this value + + (As would many of those you don't). + */ + 2, 2, + + /* Currency symbol, Small currency symbol */ + "Euro", "Cent", + + /* Int CS, this is the ISO 4217 symbol, followed by the character to + separate that symbol from the rest of the money. (\x00 for none). + */ + "EUR", + + /* Mon +ve sign, +ve space sep, +ve sign pos, +ve cs pos */ + "", SS_NOSPACE, SP_PREC_ALL, CSP_PRECEDES, + + /* Mon -ve sign, -ve space sep, -ve sign pos, -ve cs pos */ + "", SS_NOSPACE, SP_PARENS, CSP_PRECEDES, + + /* Calendar type */ + CT_7SUN + }, + "$VER: latvia.country 44.0 (01.01.2014)", + "Latvija", + "Countries/Latvia" +}; -- 2.11.4.GIT