svn commit: r342633 - head/share/timedef
Xin LI
delphij at FreeBSD.org
Sun Dec 30 23:04:04 UTC 2018
Author: delphij
Date: Sun Dec 30 23:04:02 2018
New Revision: 342633
URL: https://svnweb.freebsd.org/changeset/base/342633
Log:
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
Modified:
head/share/timedef/zh_CN.GB2312.src
head/share/timedef/zh_CN.GBK.src
head/share/timedef/zh_CN.UTF-8.src (contents, props changed)
head/share/timedef/zh_HK.UTF-8.src
head/share/timedef/zh_TW.UTF-8.src
Modified: head/share/timedef/zh_CN.GB2312.src
==============================================================================
--- head/share/timedef/zh_CN.GB2312.src Sun Dec 30 19:44:50 2018 (r342632)
+++ head/share/timedef/zh_CN.GB2312.src Sun Dec 30 23:04:02 2018 (r342633)
@@ -4,41 +4,41 @@
# -----------------------------------------------------------------------------
#
# Short month names
-!!#1TB
-!!#2TB
-!!#3TB
-!!#4TB
-!!#5TB
-!!#6TB
-!!#7TB
-!!#8TB
-!!#9TB
-#1#0TB
-#1#1TB
-#1#2TB
+ 1ÔÂ
+ 2ÔÂ
+ 3ÔÂ
+ 4ÔÂ
+ 5ÔÂ
+ 6ÔÂ
+ 7ÔÂ
+ 8ÔÂ
+ 9ÔÂ
+10ÔÂ
+11ÔÂ
+12ÔÂ
#
# Long month names (as in a date)
-Ò»ÔÂ
-¶þÔÂ
-ÈýÔÂ
-ËÄÔÂ
-ÎåÔÂ
-ÁùÔÂ
-ÆßÔÂ
-°ËÔÂ
-¾ÅÔÂ
-Ê®ÔÂ
-ʮһÔÂ
-Ê®¶þÔÂ
+1ÔÂ
+2ÔÂ
+3ÔÂ
+4ÔÂ
+5ÔÂ
+6ÔÂ
+7ÔÂ
+8ÔÂ
+9ÔÂ
+10ÔÂ
+11ÔÂ
+12ÔÂ
#
# Short weekday names
-ÖÜÈÕ
-ÖÜÒ»
-Öܶþ
-ÖÜÈý
-ÖÜËÄ
-ÖÜÎå
-ÖÜÁù
+ÈÕ
+Ò»
+¶þ
+Èý
+ËÄ
+Îå
+Áù
#
# Long weekday names
ÐÇÆÚÈÕ
@@ -66,18 +66,18 @@
%YÄê%_mÔÂ%eÈÕ %A %X %Z
#
# Long month names (without case ending)
-Ò»ÔÂ
-¶þÔÂ
-ÈýÔÂ
-ËÄÔÂ
-ÎåÔÂ
-ÁùÔÂ
-ÆßÔÂ
-°ËÔÂ
-¾ÅÔÂ
-Ê®ÔÂ
-ʮһÔÂ
-Ê®¶þÔÂ
+1ÔÂ
+2ÔÂ
+3ÔÂ
+4ÔÂ
+5ÔÂ
+6ÔÂ
+7ÔÂ
+8ÔÂ
+9ÔÂ
+10ÔÂ
+11ÔÂ
+12ÔÂ
#
# md_order
md
Modified: head/share/timedef/zh_CN.GBK.src
==============================================================================
--- head/share/timedef/zh_CN.GBK.src Sun Dec 30 19:44:50 2018 (r342632)
+++ head/share/timedef/zh_CN.GBK.src Sun Dec 30 23:04:02 2018 (r342633)
@@ -18,27 +18,27 @@
12ÔÂ
#
# Long month names (as in a date)
-Ò»ÔÂ
-¶þÔÂ
-ÈýÔÂ
-ËÄÔÂ
-ÎåÔÂ
-ÁùÔÂ
-ÆßÔÂ
-°ËÔÂ
-¾ÅÔÂ
-Ê®ÔÂ
-ʮһÔÂ
-Ê®¶þÔÂ
+1ÔÂ
+2ÔÂ
+3ÔÂ
+4ÔÂ
+5ÔÂ
+6ÔÂ
+7ÔÂ
+8ÔÂ
+9ÔÂ
+10ÔÂ
+11ÔÂ
+12ÔÂ
#
# Short weekday names
-ÖÜÈÕ
-ÖÜÒ»
-Öܶþ
-ÖÜÈý
-ÖÜËÄ
-ÖÜÎå
-ÖÜÁù
+ÈÕ
+Ò»
+¶þ
+Èý
+ËÄ
+Îå
+Áù
#
# Long weekday names
ÐÇÆÚÈÕ
@@ -66,18 +66,18 @@
%YÄê%_mÔÂ%eÈÕ %A %X %Z
#
# Long month names (without case ending)
-Ò»ÔÂ
-¶þÔÂ
-ÈýÔÂ
-ËÄÔÂ
-ÎåÔÂ
-ÁùÔÂ
-ÆßÔÂ
-°ËÔÂ
-¾ÅÔÂ
-Ê®ÔÂ
-ʮһÔÂ
-Ê®¶þÔÂ
+1ÔÂ
+2ÔÂ
+3ÔÂ
+4ÔÂ
+5ÔÂ
+6ÔÂ
+7ÔÂ
+8ÔÂ
+9ÔÂ
+10ÔÂ
+11ÔÂ
+12ÔÂ
#
# md_order
md
Modified: head/share/timedef/zh_CN.UTF-8.src
==============================================================================
--- head/share/timedef/zh_CN.UTF-8.src Sun Dec 30 19:44:50 2018 (r342632)
+++ head/share/timedef/zh_CN.UTF-8.src Sun Dec 30 23:04:02 2018 (r342633)
@@ -18,27 +18,27 @@
12æ
#
# Long month names (as in a date)
-ä¸æ
-äºæ
-ä¸æ
-åæ
-äºæ
-å
æ
-ä¸æ
-å
«æ
-ä¹æ
-åæ
-åä¸æ
-åäºæ
+1æ
+2æ
+3æ
+4æ
+5æ
+6æ
+7æ
+8æ
+9æ
+10æ
+11æ
+12æ
#
# Short weekday names
-å¨æ¥
-å¨ä¸
-å¨äº
-å¨ä¸
-å¨å
-å¨äº
-å¨å
+æ¥
+ä¸
+äº
+ä¸
+å
+äº
+å
#
# Long weekday names
æææ¥
@@ -66,18 +66,18 @@
%Yå¹´%_mæ%eæ¥ %A %X %Z
#
# Long month names (without case ending)
-ä¸æ
-äºæ
-ä¸æ
-åæ
-äºæ
-å
æ
-ä¸æ
-å
«æ
-ä¹æ
-åæ
-åä¸æ
-åäºæ
+1æ
+2æ
+3æ
+4æ
+5æ
+6æ
+7æ
+8æ
+9æ
+10æ
+11æ
+12æ
#
# md_order
md
Modified: head/share/timedef/zh_HK.UTF-8.src
==============================================================================
--- head/share/timedef/zh_HK.UTF-8.src Sun Dec 30 19:44:50 2018 (r342632)
+++ head/share/timedef/zh_HK.UTF-8.src Sun Dec 30 23:04:02 2018 (r342633)
@@ -32,13 +32,13 @@
12æ
#
# Short weekday names
-é±æ¥
-é±ä¸
-é±äº
-é±ä¸
-é±å
-é±äº
-é±å
+æ¥
+ä¸
+äº
+ä¸
+å
+äº
+å
#
# Long weekday names
æææ¥
Modified: head/share/timedef/zh_TW.UTF-8.src
==============================================================================
--- head/share/timedef/zh_TW.UTF-8.src Sun Dec 30 19:44:50 2018 (r342632)
+++ head/share/timedef/zh_TW.UTF-8.src Sun Dec 30 23:04:02 2018 (r342633)
@@ -32,13 +32,13 @@
12æ
#
# Short weekday names
-é±æ¥
-é±ä¸
-é±äº
-é±ä¸
-é±å
-é±äº
-é±å
+æ¥
+ä¸
+äº
+ä¸
+å
+äº
+å
#
# Long weekday names
æææ¥
More information about the svn-src-all
mailing list