This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] add hanzi collation to locale cmn_TW [BZ #17563]
- From: Wei-Lun Chao <bluebat at member dot fsf dot org>
- To: libc-alpha <libc-alpha at sourceware dot org>
- Date: Mon, 9 Mar 2015 10:15:25 +0800
- Subject: Re: [PATCH] add hanzi collation to locale cmn_TW [BZ #17563]
- Authentication-results: sourceware.org; auth=none
- References: <CAP1CgN+HQe0PpS91KuE2ZQJ42AuU_w0RqeKZ+Q-9giEPb1-5hA at mail dot gmail dot com> <20150306095607 dot GQ12857 at vapier> <CAP1CgNKWZ_UXXOUeixAX1MpQw2ZZ+P3KKYU1Pm8Yk9VJ9+BybQ at mail dot gmail dot com> <20150309015330 dot GY12857 at vapier>
2015-03-09 9:53 GMT+08:00 Mike Frysinger <vapier@gentoo.org>:
> On 09 Mar 2015 09:23, Wei-Lun Chao wrote:
>> 2015-03-06 17:56 GMT+08:00 Mike Frysinger:
>> > On 09 Dec 2014 18:11, Wei-Lun Chao wrote:
>> >> Add new collation file for hanzi from bug 16905 to localedata of cmn_TW.
>> >> Tested on Fedora 21 x86_64 beta.
>> >> See also bug 13063 and bug 15616
>> >
>> > you didn't actually attach anything here or in your pings ...
>>
>> BZ #17563 is a patch to add Hanzi collation to localedata of cmn_TW
>> https://sourceware.org/bugzilla/attachment.cgi?id=7912
>>
>> It depends on the Hanzi collation from BZ #16905
>> https://sourceware.org/bugzilla/attachment.cgi?id=7829
>
> patches should be sent to the mailing list for review. please see:
> https://sourceware.org/glibc/wiki/Contribution%20checklist
Sorry, here it is:
--- glibc-2.20.orig/localedata/locales/cmn_TW 2014-09-07
16:09:09.000000000 +0800
+++ glibc-2.20/localedata/locales/cmn_TW 2014-11-06 18:33:14.571798651 +0800
@@ -29,8 +29,8 @@
fax ""
language "Mandarin Chinese"
territory "Republic of China"
-revision "0.1"
-date "2013-06-02"
+revision "0.2"
+date "2014-11-06"
%
category "cmn_TW:2000";LC_IDENTIFICATION
category "cmn_TW:2000";LC_CTYPE
@@ -48,17 +48,20 @@
LC_CTYPE
copy "i18n"
+translit_start
+include "translit_combining";""
+translit_end
+
class "hanzi"; /
<U3007>;/
<U3400>..<U4DBF>;/
<U4E00>..<U9FA5>;/
<UF900>..<UFA6A>;/
-<U00020000>..<U0002A6D6>;/
-<U0002F800>..<U0002FA1D>
+<U00020000>..<U0002FA1D>
END LC_CTYPE
LC_COLLATE
-copy "iso14651_t1"
+copy "cfs11643_stroke"
END LC_COLLATE
LC_TIME
@@ -104,10 +107,10 @@
"<U56DB>";/
"<U4E94>";/
"<U516D>"
-% %Yå%mæ%dæ (%A) %Hé%Må%Sç
-d_t_fmt "<U0025><U0059><U5E74><U0025><U006D><U6708><U0025><U0064><U65E5><U0020><U0028><U0025><U0041><U0029><U0020><U0025><U0048><U9EDE><U0025><U004D><U5206><U0025><U0053><U79D2>"
-% %Yå%mæ%dæ
-d_fmt "<U0025><U0059><U5E74><U0025><U006D><U6708><U0025><U0064><U65E5>"
+% %Yå%mæ%dè (%A) %Hé%Må%Sç
+d_t_fmt "<U0025><U0059><U5E74><U0025><U006D><U6708><U0025><U0064><U865F><U0020><U0028><U0025><U0041><U0029><U0020><U0025><U0048><U9EDE><U0025><U004D><U5206><U0025><U0053><U79D2>"
+% %Yå%mæ%dè
+d_fmt "<U0025><U0059><U5E74><U0025><U006D><U6708><U0025><U0064><U865F>"
% %Hé%Må%Sç
t_fmt "<U0025><U0048><U9EDE><U0025><U004D><U5206><U0025><U0053><U79D2>"
% äå, äå
@@ -115,8 +118,8 @@
"<U4E0B><U5348>"
% %p %Ié%Må%Sç
t_fmt_ampm "<U0025><U0070><U0020><U0025><U0049><U9EDE><U0025><U004D><U5206><U0025><U0053><U79D2>"
-% %Yå %b %eæ %A %H:%M:%S %Z
-date_fmt "<U0025><U0059><U5E74><U0020><U0025><U0062><U0020><U0025><U0065><U65E5><U0020><U0025><U0041><U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U0025><U005A>"
+% %Yå %b %-dè %A %H:%M:%S %Z
+date_fmt "<U0025><U0059><U5E74><U0020><U0025><U0062><U0020><U0025><U002D><U0064><U865F><U0020><U0025><U0041><U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U0025><U005A>"
END LC_TIME
LC_NUMERIC