From owner-svn-src-all@freebsd.org Sun Dec 30 23:04:04 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 22EB814386F0; Sun, 30 Dec 2018 23:04:04 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B65407197D; Sun, 30 Dec 2018 23:04:03 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9CB961D2C; Sun, 30 Dec 2018 23:04:03 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wBUN43x6084055; Sun, 30 Dec 2018 23:04:03 GMT (envelope-from delphij@FreeBSD.org) Received: (from delphij@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wBUN42bZ084045; Sun, 30 Dec 2018 23:04:02 GMT (envelope-from delphij@FreeBSD.org) Message-Id: <201812302304.wBUN42bZ084045@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: delphij set sender to delphij@FreeBSD.org using -f From: Xin LI Date: Sun, 30 Dec 2018 23:04:02 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r342633 - head/share/timedef X-SVN-Group: head X-SVN-Commit-Author: delphij X-SVN-Commit-Paths: head/share/timedef X-SVN-Commit-Revision: 342633 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: B65407197D X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.957,0]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Dec 2018 23:04:04 -0000 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 星期日