Commit Graph

198 Commits

Author SHA1 Message Date
lwhsu
9e1c4ac4c0 Finsh readding Big5 in r317204, which was reverting r315568. This commit
reverts r315569.

Reported by:	Ting-Wei Lan <lantw44 gmail com>
Discussed with:	kevlo
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2019-06-20 07:17:16 +00:00
delphij
9fb7ecb077 Fix various issues with Chinese locales:
- Change short weekday names to use only one Chinese character.
   (note: this is a somewhat misunfortunate compromise due to the fact
   that some applications are using short buffer for weekday names,
   and in ~1905 when 星期 system was created to replace the traditional
   七曜 system, which can use 日月火水木金土 to represent Sunday through
   Saturday with just one character without any confusion).
 - for zh_CN locales: use Arabic numerals for month names, matching the
   practice of all other CJK locales
 - Regenerate zh_CN.{GB2312,GBK} locales from zh_CN.UTF-8.

Reported by:	ygy
Reviewed by:	kevlo
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D18689
2018-12-30 23:04:02 +00:00
yuripv
8e370b212f Add ga_IE.UTF-8 locale.
PR:		228587
Submitted by:	Micil <micheal.maclochlainn@oegaillimh.ie> (LC_TIME)
Reviewed by:	bapt
Approved by:	kib (mentor, implicit)
MFC after:	3 days
Differential revision:	https://reviews.freebsd.org/D17997
2018-11-26 19:39:49 +00:00
yuripv
e5af4affd1 Use blank am_pm and t_fmt_ampm for de_AT and de_DE locales as apparently
they use 24-hour clock notation.  The visible change is that w(1) now
uses 24-hour clock format as it checks for t_fmt_ampm presence.

PR:		231771
Submitted by:	Christoph Schönweiler <public2016@hauptsignal.at>
Reviewed by:	bapt
Approved by:	kib (mentor, implicit)
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D17945
2018-11-11 13:41:32 +00:00
yuripv
32169e0ec4 Revert r315571 for share/timedef/ca_IT.ISO8859-15.src, ca_IT is Catalan
in Italy, and is not related to Canada.

While here, remove the header as we do NOT currently use CLDR data to
generate timedef, and it's misleading.

PR:		225855
Reviewed by:	bapt
Approved by:	re (gjb), kib (mentor)
Differential Revision:	https://reviews.freebsd.org/D17551
2018-10-17 16:38:44 +00:00
eadler
fcfd5087e8 timedef: Update Czech timedef
This changes date format from 2015/05/12 to 05.12.2015.

PR:		200591
Submitted by:	grafnetter@dekanat.mff.cuni.cz
2018-05-23 10:39:02 +00:00
bapt
a93bef509a Canada adheres to ISO 8601, let's make the locale reflecting that fact
PR:		200079
MFC after:	1 week
Submitted by:	Dan McGregor <dan.mcgregor@usask.ca>
Reported by:	A.J. Kehoe IV (Nanoman) <freebsd-bugs@nanoman.ca>
Differential Revision:	https://reviews.freebsd.org/D9925
2017-03-19 18:21:35 +00:00
bapt
920fdd6216 Finish removal of Big5 2017-03-19 17:54:12 +00:00
jkim
5fb5c9b45a Suffix short month names with "월" and replace %b with %_m for date formats.
This change is analogous to r199179, r199271, and r289041 for japanese and
chinese locales.
2016-09-07 23:35:38 +00:00
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
jkim
283ee2222c Add a hack to add weekday to date format for ko_KR locale. 2016-07-27 18:12:36 +00:00
kevlo
7a1b7752f3 Regenerate timedef for zh_TW.
Reviewed by:	bapt
2016-07-27 08:11:08 +00:00
kevlo
56d8f68d9f Add weekday to the date format. 2016-07-27 00:46:48 +00:00
bapt
6488205077 Add weekday to the date format of more locales
MFC after:	1 day
2016-07-23 11:25:34 +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
6d8d86e462 Fix generation of locales with multiple variants
Serbian locales have triple components to represent the 2 variations of the
locale: Latin and Cyrillic. Previously the tools generatic the locale were
appending both definitions instead of differentiating them.

Reported by:	ache
Approved by:	re (gjb)
2016-06-20 06:45:42 +00:00
ume
ba73a9e651 - Prefer to use %d over %e where the day of the month should be zero
filled.
- Since %e means the day of the month as well, regard %e as same as %d
  in md_order.

Reported by:	vangyzen
Approved by:	re (gjb)
2016-06-19 03:44:32 +00:00
bapt
9092d6727a Regenerate timedef:
For Russian:
- Convert AM/PM which are badly formatted in CLDR to replace it by the proper
  cyrillic
- Add a dependency on Text::Iconv so non unicode get the proper encoding for
  AM/PM
- fix the date format having 'r.,' and convert it to 'r.' (also fixed in Bulgarian)

For All:
- Use complete Day of Week instead of the abbreviated one

Reported by:	ache
2016-05-29 22:28:39 +00:00
bapt
8356fc9267 Readd week day to default dates
Requested by:	many
2016-05-28 21:26:50 +00:00
bapt
2d1226d5e3 Regenerates locales Makefiles and locales 2016-04-16 17:55:11 +00:00
ume
aebff6f6de Restore a day of the week in date(1) output for Japanese locales.
It was lost by recent locale change.
2015-12-20 14:59:30 +00:00
bapt
429291909c Simplify the locale generated Makefiles by using bmake multi variables for loops 2015-12-18 21:34:28 +00:00
bdrewery
a23213fe40 META MODE: Fix 'make the-lot' with recent locale changes
Sponsored by:	EMC / Isilon Storage Division
2015-11-25 19:13:28 +00:00
bapt
3f00265ee4 Bring back a couple of ISO8859-15 locales:
- af_ZA.ISO8859-15
- en_AU.ISO8859-15
- en_CA.ISO8859-15
- en_NZ.ISO8859-15
- en_US.ISO8859-15
- fr_CA.ISO8859-15
2015-11-16 12:58:47 +00:00
bapt
ded369f5b9 Regenerate locales after readding ISO8859-1 for locales that have ISO8859-15
Requested by:	arche
2015-11-15 14:51:10 +00:00
bdrewery
bf614d3ddb Use explicit filename when creating locale symlinks to avoid creating a
directory symlink when the target directory does not exist.  This will
cause an error instead of a broken setup.

Sponsored by:	EMC / Isilon Storage Division
2015-11-11 18:45:48 +00:00
bapt
b6369b89eb Regenerate timedef now that the tools pad CJK correctly 2015-11-09 22:09:38 +00:00
ume
ec0a993e35 Fix alignment of the short month names for CJK locales,
as far as I could edit them.
2015-11-07 23:54:14 +00:00
bapt
9e21b4c174 Regenerate locales 2015-10-13 20:24:57 +00:00
bapt
1fbe2addc6 Add newly generated locales from CLDR 27.0.1 2015-08-08 19:24:32 +00:00
sjg
008d7c831f Add META_MODE support.
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.

Still need to add real targets under targets/ to build packages.

Differential Revision:       D2796
Reviewed by: brooks imp
2015-06-13 19:20:56 +00:00
sjg
af658cbca3 Ensure SYMLINKS fully specified
Differential Revision:       D2748
Reviewed by: brooks
2015-06-11 21:09:03 +00:00
sjg
75a137820d dirdeps.mk now sets DEP_RELDIR 2015-06-08 23:35:17 +00:00
sjg
0ee5295509 Updated dependencies 2013-02-16 01:23:54 +00:00
sjg
ce5707f03f Include the target filename in SYMLINKS to avoid any confusion about
what is dirname and filename.
2013-01-23 00:49:05 +00:00
marcel
9dd41e3647 Sync FreeBSD's bmake branch with Juniper's internal bmake branch.
Requested by: Simon Gerraty <sjg@juniper.net>
2012-08-22 19:25:57 +00:00
versus
1a1f7e679b Partial fix for PR 91106. Correct the short weekday names. Done according to this poll https://bugzilla.redhat.com/show_bug.cgi?id=242296. This will not close the bug fully yet, as the month names are still not correctly in Genitive. More research on this topic will be done, as I'm suspecting a bug in the libc locale functions picking the month name from the wrong group.
PR:		conf/91106
Approved by:	gavin (mentor)
MFC after:	1 month
2011-02-27 21:32:25 +00:00
roberto
e1bb40d4c5 Week days are all lowercase in French.
cf. http://www.academie-francaise.fr/langue/questions.html#jourdelasemaine (FR)

PR:		misc/148792
Submitted by:	Mathieu <freebsd@breatheless.net>
MFC after:	1 weeks
2010-07-20 14:27:09 +00:00
ume
b056f85a3c Since %b contains unit, %b is not suitable for c_fmt, now. Use %_m
instead.
2009-11-14 15:56:23 +00:00
ume
9a5427c4c5 Add unit to the short month names for Japanese locales.
Without unit, the output of the application like ls(1)
is complicated.

Reviewed by:	nork
MFC after:	1 week
2009-11-11 11:24:02 +00:00
edwin
3dbcc8e70f Remove trailing spaces. 2009-09-16 07:55:02 +00:00
ache
af07561a1f Add lv_LV
PR:             105100
Submitted by:   Aldis Berjoza <killasmurf86@gmail.com>
2009-09-04 06:26:40 +00:00
ume
7417f9bcd2 AM/PM date format for ja_JP.eucJP and ja_JP.SJIS were
localized by r193869.  However, ja_JP.UTF-8 wasn't.
So, reflect it to ja_JP.UTF-8 as well.
2009-08-30 10:47:00 +00:00
jkim
baa4ed1428 Long long time ago, several utilities in base used to parse %c output and
we were not able to change c_fmt without breaking these utilities.  Since
ache fixed all known issues 8 years ago, now we make ko_KR more usable.
Better late than never...
2009-06-15 18:49:06 +00:00
jkim
6c3ef80374 AM/PM should come first in korean. 2009-06-15 16:32:17 +00:00
edwin
d573bd048d Undo the change in r193688 as suggested in conf/72076.
People on IRC and the -doc mailinglist (June 2009) showed that this
new format wasn't used or known widely enough to justify the change.
2009-06-15 02:17:10 +00:00
jkim
55714a998b ko_KR: AM/PM date format should be localized.
Inspired by:	r193869
2009-06-11 17:42:02 +00:00
edwin
4fe207aa2e Invalid (long) date format in pl_PL.ISO8859-2.src
Date format is %a %e %b %X %Y %Z (e.g "sob 19 sty 15:46:50 2008 CET")
    but should be "%a %e %b %Y %X %Z" (e.g. "sob 19 sty 2008 15:46:50 CET").

PR:		conf/119804
Submitted by:	Bodek <bodek@blurp.org>
MFC after:	1 week
2009-06-10 21:45:18 +00:00