From: Wei-Lun Chao Date: Mon, 23 Sep 2013 22:51:59 +0000 (-0400) Subject: New locale for lzh_TW X-Git-Tag: glibc-2.19~744 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5057e7ce826bb0be3f476408b2ae364042f2a9bb;p=platform%2Fupstream%2Fglibc.git New locale for lzh_TW --- diff --git a/NEWS b/NEWS index 91e7723..5292c16 100644 --- a/NEWS +++ b/NEWS @@ -10,9 +10,9 @@ Version 2.19 * The following bugs are resolved with this release: 13985, 14155, 14547, 14699, 15427, 15522, 15531, 15532, 15608, 15640, - 15736, 15748, 15749, 15754, 15797, 15844, 15849, 15855, 15856, 15857, - 15859, 15867, 15886, 15887, 15890, 15892, 15893, 15895, 15897, 15905, - 15909, 15919, 15921, 15923, 15939, 15963, 15966. + 15681, 15736, 15748, 15749, 15754, 15797, 15844, 15849, 15855, 15856, + 15857, 15859, 15867, 15886, 15887, 15890, 15892, 15893, 15895, 15897, + 15905, 15909, 15919, 15921, 15923, 15939, 15963, 15966. * CVE-2012-4412 The strcoll implementation caches indices and rules for large collation sequences to optimize multiple passes. This cache @@ -41,7 +41,7 @@ Version 2.19 heap when passed very large allocation size values (Bugzilla #15855, #15856, #15857). -* New locales: ak_GH, nan_TW, quz_PE. +* New locales: ak_GH, lzh_TW, nan_TW, quz_PE. * The LC_ADDRESS field was updated to support country_car for almost all supported locales. diff --git a/localedata/ChangeLog b/localedata/ChangeLog index 2375c39..d356096 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,6 +1,12 @@ 2013-09-21 Wei-Lun Chao [BZ#15608] + * locales/nan_TW: New locale for lzh_TW. + * SUPPORTED: Add lzh_TW. + +2013-09-21 Wei-Lun Chao + + [BZ#15608] * locales/nan_TW: New locale for nan_TW. * SUPPORTED: Add nan_TW. diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED index 90bf5e0..ae0d8ac 100644 --- a/localedata/SUPPORTED +++ b/localedata/SUPPORTED @@ -289,6 +289,7 @@ lt_LT.UTF-8/UTF-8 \ lt_LT/ISO-8859-13 \ lv_LV.UTF-8/UTF-8 \ lv_LV/ISO-8859-13 \ +lzh_TW/UTF-8 \ mag_IN/UTF-8 \ mai_IN/UTF-8 \ mg_MG.UTF-8/UTF-8 \ diff --git a/localedata/locales/lzh_TW b/localedata/locales/lzh_TW new file mode 100644 index 0000000..7a4e7f5 --- /dev/null +++ b/localedata/locales/lzh_TW @@ -0,0 +1,253 @@ +comment_char % +escape_char / +% Charset: UTF-8 + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% Literary Chinese locale for the Republic of China +% +% Prepared and contributed to glibc by Wei-Lun Chao +% +% build with: localedef -f UTF-8 -i lzh_TW lzh_TW +% +% This file is a part of GNU C Library (glibc) and contains locale data. The +% Free Software Foundation does not claim any copyright interest in the +% locale data contained in this file. The foregoing does not affect the +% license of GNU C Library (glibc) as a whole. It does not exempt you from the +% conditions of the license if your use would otherwise be governed by +% that license. +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +LC_IDENTIFICATION +title "Literary Chinese locale for the Republic of China" +source "" +address "" +contact "" +email "bug-glibc-locales@gnu.org" +tel "" +fax "" +language "Literary Chinese" +territory "Republic of China" +revision "0.1" +date "2013-06-02" +% +category "lzh_TW:2000";LC_IDENTIFICATION +category "lzh_TW:2000";LC_CTYPE +category "lzh_TW:2000";LC_COLLATE +category "lzh_TW:2000";LC_TIME +category "lzh_TW:2000";LC_NUMERIC +category "lzh_TW:2000";LC_MONETARY +category "lzh_TW:2000";LC_PAPER +category "lzh_TW:2000";LC_MEASUREMENT +category "lzh_TW:2000";LC_MESSAGES +category "lzh_TW:2000";LC_NAME +category "lzh_TW:2000";LC_ADDRESS +category "lzh_TW:2000";LC_TELEPHONE +END LC_IDENTIFICATION + +LC_CTYPE +copy "i18n" +class "hanzi"; / +;/ +..;/ +..;/ +..;/ +..;/ +.. +END LC_CTYPE + +LC_COLLATE +copy "iso14651_t1" +END LC_COLLATE + +LC_TIME +% 一月, 二月, 三月, 四月, 五月, 六月, 七月, 八月, 九月, 十月, 十一月, 十二月 +mon "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +% 一 , 二 , 三 , 四 , 五 , 六 , 七 , 八 , 九 , 十 , 十一, 十二 +abmon "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +% 週日, 週一, 週二, 週三, 週四, 週五, 週六 +day "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +% 日, 一, 二, 三, 四, 五, 六 +abday "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +% %OC%Oy年%B%Od日 (%A) %OH時%OM分%OS秒 +d_t_fmt "" +% %OC%Oy年%B%Od日 +d_fmt "" +% %OH時%OM分%OS秒 +t_fmt "" +% 朝, 暮 +am_pm "";/ + "" +% %p %OI時%OM分%OS秒 +t_fmt_ampm "" +% 公曆 %C%Oy年 %B %Oe日 %A %OH時%OM分%OS秒 +date_fmt "" +% 〇, 一, 二, 三, 四, 五, 六, 七, 八, 九, 十, 十一, 十二, 十三, 十四, 十五, 十六, 十七, 十八, 十九, 廿, 廿一, 廿二, 廿三, 廿四, 廿五, 廿六, 廿七, 廿八, 廿九, 卅, 卅一 +alt_digits "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +END LC_TIME + +LC_NUMERIC +% . +decimal_point "" +% , +thousands_sep "" +grouping 4 +END LC_NUMERIC + +LC_MONETARY +% NT$ +currency_symbol "" +% TWD +int_curr_symbol "" +% . +mon_decimal_point "" +% , +mon_thousands_sep "" +mon_grouping 4 +positive_sign "" +% - +negative_sign "" +frac_digits 2 +int_frac_digits 2 +p_cs_precedes 1 +p_sep_by_space 0 +n_cs_precedes 1 +n_sep_by_space 0 +p_sign_posn 1 +n_sign_posn 1 +int_p_cs_precedes 1 +int_p_sep_by_space 0 +int_n_cs_precedes 1 +int_n_sep_by_space 0 +int_p_sign_posn 1 +int_n_sign_posn 1 +END LC_MONETARY + +LC_PAPER +height 297 +width 210 +END LC_PAPER + +LC_MEASUREMENT +measurement 1 +END LC_MEASUREMENT + +LC_MESSAGES +% ^[yY是] +yesexpr "" +% ^[nN非] +noexpr "" +END LC_MESSAGES + +LC_NAME +% %f%d%t%g +name_fmt "" +% 君 +name_gen "" +% 女 +name_miss "" +% 子 +name_mr "" +% 氏 +name_mrs "" +% 娘 +name_ms "" +END LC_NAME + +LC_ADDRESS +% %c%N%T%N%s %h %e %r%N%b%N%d%N%f%N%a%N +postal_fmt "" +% 中華民國 +country_name "" +% TW +country_post "" +% TW +country_ab2 "" +% TWN +country_ab3 "" +country_num 158 +country_isbn 957 +% 漢語文言 +lang_name "" +% lzh +lang_term "" +% lzh +lang_lib "" +END LC_ADDRESS + +LC_TELEPHONE +% +%c-%a-%l +tel_int_fmt "" +% %A-%l +tel_dom_fmt "" +% 00 +int_select "" +% 886 +int_prefix "" +END LC_TELEPHONE