Commit Graph

16 Commits

Author SHA1 Message Date
Mike Frysinger
1a06eee869 localedata: LC_IDENTIFICATION.category: set to ISO 30112 2014 standard
The ISO 30112 standard defines the valid values for the category
keyword as only a few options:
	posix:1993
	i18n:2004
	i18n:2012

The vast majority of locales had changed the "i18n" string to the
name of its own locale (e.g. "ak_GH:2013") as well as tweaking the
date (presumably thinking it should be the date of submission).

Convert all of them to "i18n:2012" for consistency.  A follow up
change will update localedef to actually check/validate the field.
2016-04-15 12:37:38 -04:00
Mike Frysinger
76c3498180 localedata: CLDRv29: update LC_ADDRESS.country_num values
This updates a few locales based on CLDR v29 data.

Add missing fields:
  as_IN: changing to 356
  dv_MV: changing to 462
  kk_KZ: changing to 398
  my_MM: changing to 104
  rw_RW: changing to 646
  tt_RU: changing to 643

Update ones that are wrong:
  dz_BT: changing BHU to 064
  en_PH: changing 360 to 608
  km_KH: changing 418 to 116
  ky_KG: changing 643 to 417
  tr_CY: changing 792 to 196
  wo_SN: changing 450 to 686

As a result of fixing these, I had to update country_ab[23]:
  dz_BT: changing BHU to BTN
  en_PH: changing ID/IDN to PH/PHL
  km_KH: changing LA/LAO to KH/KHM
  ky_KG: changing KY/KYR to KG/KGZ
  tr_CY: changing TR/TUR to CY/CYP
  wo_SN: changing MG/MDG to SN/SEN

Pad with leading zeros to match the standard and other locales:
  ber_DZ: changing 12 to 012
  ca_AD: changing 20 to 020
  en_AG: changing 28 to 028
  hy_AM: changing 51 to 051
  li_BE: changing 56 to 056
  wa_BE: changing 56 to 056

I hand checked the first two sets against ISO 3166-1 directly.
2016-04-15 00:27:11 -04:00
Mike Frysinger
1c20cb2098 localedata: LC_MEASUREMENT: use copy directives everywhere
There are only two measurement systems that locales use: US and metric.
For the former, move to copying the en_US locale, while for the latter,
move to copying the i18n locale.  This lets us clean up all the stray
comments like FIXME.

There should be no functional differences here.
2016-04-12 16:47:52 -04:00
Mike Frysinger
a4cea54b12 localedata: standardize copyright/license information [BZ #11213]
Use the language from the FSF in all locale files to disclaim any
license/copyright on locale data.

See https://sourceware.org/ml/libc-locales/2013-q1/msg00048.html
2016-03-21 02:29:56 -04:00
Mike Frysinger
6bc81cf205 localedata: standardize first few lines
Purely a style touchup to make sure the headers all look the same.
2016-03-21 02:00:09 -04:00
Chris Leonard
8f18faed2e [BZ #16103] LC_MEASUREMENT review and standardization 2013-11-14 17:19:35 -05:00
Chris Leonard
0f283efa55 Adjust language-code fields of LC_ADDRESS. 2013-11-03 23:10:15 -05:00
Chris Leonard
0434d238d3 Add country_car field to LC_ADDRESS. 2013-09-15 15:06:27 -04:00
Jeff Law
03b6242320 [PATCH] Fix first_weekday/first_workday for EU locales
The following URL shows an official response to a question about
locale dates within the EU.  Basically they adopted ISO 8601:

http://eur-lex.europa.eu/LexUriServ/LexUriServ.do?uri=OJ:C:2004:78E:0447:0447:EN:PDF

ISO 8601:

http://dotat.at/tmp/ISO_8601-2004_E.pdf

2.2.8 calendar week
time interval of seven calendar days starting with a Monday

The pt_PT locale change has been removed from the patch by
Petr Baudis since Sunday seems to be the first day there
in daily usage.
2012-06-04 18:15:08 +02:00
Ulrich Drepper
6daf1a2fb1 [BZ #6867]
* sysdeps/powerpc/elf/rtld-global-offsets.sym: Fix typo.
2008-10-31 19:03:31 +00:00
Ulrich Drepper
2822251315 [BZ #667]
* locales/wa_BE: Fixed weekday names to match new orthographic rules.
2005-09-24 18:58:58 +00:00
Ulrich Drepper
a334319f65 (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
Jakub Jelinek
0ecb606cb6 2.5-18.1 2007-07-12 18:26:36 +00:00
Ulrich Drepper
83c85877ba Make sure yesexpr and noexpr regex start with '^'. 2004-03-23 07:36:58 +00:00
Ulrich Drepper
062df96045 (save_cache): Don't write beyond end of file_entries buffer. Duplicate last old cache entry if the count would be odd. 2003-08-25 18:37:54 +00:00
Ulrich Drepper
6370466d5a Update.
* locale/iso-639.def: Add language codes for Walloon.
2002-02-23 19:38:02 +00:00