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
 星期日
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to