Commit Graph

18 Commits

Author SHA1 Message Date
kevlo
fa47779a1c Revert r304192 to fix short month names and replace %b with %_m in date_fmt
for Chinese locales.

As mentioned in the commit message of r289041, nl_langinfo(ABMON_*) only
returned numbers when using a Chinese locale, this causes problems in
applications that put the short month name and the day of the month together.

Spotted by:	Ting-Wei Lan <lantw44 gmail com>
2016-09-02 00:43:03 +00:00
jkim
58191adb9a Fix ko_KR, zh_CN, zh_HK, and zh_TW locales. r304045 did not fully revert
date/time formats for these locales.
2016-08-16 00:15:15 +00:00
bapt
55796ea96b Set date and time formats back to what they were before CLDR
While CLDR brings us a good and up to date source data to generate locales for
all databses we are using for locales, it is not the case of LC_TIME. Where it
does not defines the informations we need.

Put back all the date and time formats from the old locales.
Make it statically for now (in order to be able to merge it now into
11.0-RELEASE). The generation tools will be updated soon.

That gives us time to properly work on LC_TIME during the 12 timeframe.

While here fix abbreviated month for af_ZA (which are already fixed in CLDR
data upstream)

In locales where AP/PM was not defined before CLDR data, remove again the AP/PM
informations

For locales where AP/PM was defined before CLDR data, keep the CLDR information
which was properly translated.

MFC after:	3 days
2016-08-13 15:59:18 +00:00
kevlo
7a1b7752f3 Regenerate timedef for zh_TW.
Reviewed by:	bapt
2016-07-27 08:11:08 +00:00
bapt
9889527f5a Posixify the locales name for variants
For all locales with variants:
- if no ambiguity on the locale (only one variant) just use the regular name
- if ambiguity, pick one as default and append @<variant> to the others
  respecting POSIX

As a result:
- All the 3 components locales added recently are renamed to the usual 2
  components version for all but sr_RS.UTF-8
- Set sr_RS.UTF-8 to the cyrillic variant
- Add sr_RS.UTF-8@latin
- Remove the symlinks aliases they were created to represent the 2 components
  version as aliasas and are now useless
- Update the OptionalObsoleteFiles.inc and ObsoleteFiles.inc to reflect those
  changes

Discussed with:	ache@
Approved by:	re@ (gjb)
2016-07-03 18:21:11 +00:00
bapt
1fbe2addc6 Add newly generated locales from CLDR 27.0.1 2015-08-08 19:24:32 +00:00
ache
b1a3a611be Comments fixing
1) Back out "month names" -> "months names" and fix few such cases which
are wrong initially
2) "weekdays names" -> "weekday names"

Noted by: des [1]
2007-12-30 03:08:52 +00:00
ache
e31574f147 Comments fixing
"month names" -> "months names"
    typo
"Long months names (alternative)" or "in alternative form" ->
"(without case ending)"
"Long months names" -> "Long months names (as in a date)"
    to not confuse developers on what purpose those sections are
2007-12-29 16:28:15 +00:00
ache
9dca49adf4 Add padding for some short names to make their length the same to not
break colums
2001-03-21 23:24:41 +00:00
ache
3000cdc34b Remove fixed length restrictions and padding 2001-03-21 22:54:44 +00:00
ache
d53420a159 Replace %y with %Y 2001-03-21 13:55:09 +00:00
ache
3ddba0be30 Convert to new locale format with md_order and without E[Ff]_fmt
Add ampm_fmt to all locales
2001-03-18 12:17:46 +00:00
ache
01949cd53c Fix %EF 2000-06-21 13:50:10 +00:00
ache
3b853c8371 Don't use %E* in old fields for compatibility reasons 1999-12-03 19:52:06 +00:00
ache
883d4dbdc2 Convert after %Ex->%Ef and %EF adding 1999-11-30 19:43:32 +00:00
ache
3e251f317b Convert to new format 1999-11-30 08:55:27 +00:00
peter
76f0c923fe $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
foxfair
d1608b447d Change locale name of Traditional Chinese : zh_TW.BIG5 -> zh_TW.Big5.
It makes compatible with IANA charset defination, and let existent I18N
app happier.

Ref: <http://www.isi.edu/in-notes/iana/assignments/character-sets>
1999-06-08 02:25:19 +00:00