From patchwork Tue Aug 15 14:23:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: develop--- via Libc-alpha X-Patchwork-Id: 74156 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E86A93856DD0 for ; Tue, 15 Aug 2023 14:28:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E86A93856DD0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1692109695; bh=h7Sid0JSxvGXBKv9xGZm/ZYfgXp6Vy/yGtNxrnz0X6M=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=YPJrwL5lup0+FVXwI6Y2VX3VrpTVks1FbaFIWVE+cggVcbENAu5KYchDW3mmYRNoX o0eYhRmRwjngYifCesJ5YwRoJ8dPOsU0PBrZReJrgjDBcYdn3OrdejEHEpGCjpA3/t HDh2NasZ6f+Jxk7lTwXgPKWgQZ26+6j4b6yUbF+c= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mx.saihaze.cn (unknown [IPv6:240e:978:309::1:602]) by sourceware.org (Postfix) with ESMTPS id C437A3856DC8 for ; Tue, 15 Aug 2023 14:27:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C437A3856DC8 Received: from localhost.localdomain (unknown [IPv6:240e:3a6:1c64:35f0:a29e:7b4e:d239:64f]) by mx.saihaze.cn (Postfix) with ESMTPSA id 716108498; Tue, 15 Aug 2023 22:27:47 +0800 (CST) To: libc-alpha@sourceware.org Cc: saihaze Subject: [PATCH 1/2] Add wuu_CN@Hans and wuu_CN@Hant locales Date: Tue, 15 Aug 2023 22:23:54 +0800 Message-ID: <20230815142355.41365-2-develop@saihaze.cn> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230815142355.41365-1-develop@saihaze.cn> References: <20230815142355.41365-1-develop@saihaze.cn> MIME-Version: 1.0 X-Spam-Status: No, score=-11.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: develop--- via Libc-alpha From: develop--- via Libc-alpha Reply-To: develop@saihaze.cn Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" From: saihaze --- localedata/locales/wuu_CN@Hans | 175 +++++++++++++++++++++++++++++++++ localedata/locales/wuu_CN@Hant | 175 +++++++++++++++++++++++++++++++++ 2 files changed, 350 insertions(+) create mode 100644 localedata/locales/wuu_CN@Hans create mode 100644 localedata/locales/wuu_CN@Hant diff --git a/localedata/locales/wuu_CN@Hans b/localedata/locales/wuu_CN@Hans new file mode 100644 index 00000000..2334b0d3 --- /dev/null +++ b/localedata/locales/wuu_CN@Hans @@ -0,0 +1,175 @@ +comment_char % +escape_char / + +% This file is part of the GNU C Library 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 the GNU C Library as a whole. It does not +% exempt you from the conditions of the license if your use would +% otherwise be governed by that license. + +% Chinese language locale for the Peoples Republic of China +% +% This work is based on ISO PDTR 14652, Unicode 3.0, locale definition +% file for zh_CN revision 1.0 (hashao@china.com, 1999-04-28) and +% charmap file for GBK version 1.0 (sean.chen@turbolinux.com). +% +% The file is designed to work with multiple charsets. To ease the +% maintance and adding support for new charsets, all characters are +% in UCS notation and presented in Unicode order. +% +% Changelog: +% Tue Jul 25 2000 Yong Li +% - first version for glibc 2.2 + +LC_IDENTIFICATION +title "Wu Chinese (Simplified) locale for Peoples Republic of China" +source "" +address "" +contact "" +email "bug-glibc-locales@gnu.org" +tel "" +fax "" +language "Wu" +territory "China" +revision "0.1" +date "2023-08-15" + +category "i18n:2012";LC_IDENTIFICATION +category "i18n:2012";LC_CTYPE +category "i18n:2012";LC_COLLATE +category "i18n:2012";LC_TIME +category "i18n:2012";LC_NUMERIC +category "i18n:2012";LC_MONETARY +category "i18n:2012";LC_MESSAGES +category "i18n:2012";LC_PAPER +category "i18n:2012";LC_NAME +category "i18n:2012";LC_ADDRESS +category "i18n:2012";LC_TELEPHONE +category "i18n:2012";LC_MEASUREMENT +END LC_IDENTIFICATION + + +LC_CTYPE +copy "zh_CN" +END LC_CTYPE + +% ISO 14651 collation sequence +LC_COLLATE +copy "iso14651_t1_pinyin" +END LC_COLLATE + + +LC_MONETARY +int_curr_symbol "CNY " +currency_symbol "" +mon_decimal_point "." +mon_thousands_sep "," +mon_grouping 3 +positive_sign "" +negative_sign "-" +int_frac_digits 2 +frac_digits 2 +p_cs_precedes 1 +p_sep_by_space 0 +n_cs_precedes 1 +n_sep_by_space 0 +int_p_cs_precedes 1 +int_p_sep_by_space 0 +int_n_cs_precedes 1 +int_n_sep_by_space 0 +p_sign_posn 4 +n_sign_posn 4 +int_p_sign_posn 1 +int_n_sign_posn 1 +END LC_MONETARY + +LC_NUMERIC +decimal_point "." +thousands_sep "," +grouping 3 +END LC_NUMERIC + +LC_TIME +abday "";"";"";"";"";"";"" + +day "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" + +abmon "1";"2";/ + "3";"4";/ + "5";"6";/ + "7";"8";/ + "9";"10";/ + "11";"12" + +mon "";"";"";/ + "";"";"";/ + "";"";"";/ + "";"";"" + +d_t_fmt "%Y%m%d %A %H%M%S" + +d_fmt "%Y%m%d" + +t_fmt "%H%M%S" + +am_pm "";"" + +t_fmt_ampm "%p %I%M%S" + +date_fmt "%Y %m %d %A %H:%M:%S %Z" +week 7;19971130;1 +first_weekday 2 +END LC_TIME + +LC_MESSAGES +yesexpr "^[+1yY]" +noexpr "^[-0nN]" +yesstr "" +nostr "" +END LC_MESSAGES + +LC_PAPER +copy "i18n" +END LC_PAPER + +LC_TELEPHONE +tel_int_fmt "+%c %a %l" +tel_dom_fmt "0%a %l" +int_select "00" +int_prefix "86" +END LC_TELEPHONE + +LC_NAME +name_fmt "%f%t%g%t%d" +name_gen "" +name_miss "" +name_mr "" +name_mrs "" +name_ms "" +END LC_NAME + +LC_ADDRESS +postal_fmt "%c%N%T%N%s %h %e %r%N%b%N%d%N%f%N%a%N" +country_name "" +%country_post "FIXME" +country_ab2 "CN" +country_ab3 "CHN" +country_num 156 +country_car "CHN" +country_isbn 7 +lang_name "" +%lang_ab "" +%lang_term "" +lang_lib "wuu" +END LC_ADDRESS + +LC_MEASUREMENT +copy "i18n" +END LC_MEASUREMENT diff --git a/localedata/locales/wuu_CN@Hant b/localedata/locales/wuu_CN@Hant new file mode 100644 index 00000000..2a8238e0 --- /dev/null +++ b/localedata/locales/wuu_CN@Hant @@ -0,0 +1,175 @@ +comment_char % +escape_char / + +% This file is part of the GNU C Library 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 the GNU C Library as a whole. It does not +% exempt you from the conditions of the license if your use would +% otherwise be governed by that license. + +% Chinese language locale for the Peoples Republic of China +% +% This work is based on ISO PDTR 14652, Unicode 3.0, locale definition +% file for zh_CN revision 1.0 (hashao@china.com, 1999-04-28) and +% charmap file for GBK version 1.0 (sean.chen@turbolinux.com). +% +% The file is designed to work with multiple charsets. To ease the +% maintance and adding support for new charsets, all characters are +% in UCS notation and presented in Unicode order. +% +% Changelog: +% Tue Jul 25 2000 Yong Li +% - first version for glibc 2.2 + +LC_IDENTIFICATION +title "Wu Chinese (Traditional) locale for Peoples Republic of China" +source "" +address "" +contact "" +email "bug-glibc-locales@gnu.org" +tel "" +fax "" +language "Wu" +territory "China" +revision "0.1" +date "2023-08-15" + +category "i18n:2012";LC_IDENTIFICATION +category "i18n:2012";LC_CTYPE +category "i18n:2012";LC_COLLATE +category "i18n:2012";LC_TIME +category "i18n:2012";LC_NUMERIC +category "i18n:2012";LC_MONETARY +category "i18n:2012";LC_MESSAGES +category "i18n:2012";LC_PAPER +category "i18n:2012";LC_NAME +category "i18n:2012";LC_ADDRESS +category "i18n:2012";LC_TELEPHONE +category "i18n:2012";LC_MEASUREMENT +END LC_IDENTIFICATION + + +LC_CTYPE +copy "zh_CN" +END LC_CTYPE + +% ISO 14651 collation sequence +LC_COLLATE +copy "iso14651_t1_pinyin" +END LC_COLLATE + + +LC_MONETARY +int_curr_symbol "CNY " +currency_symbol "" +mon_decimal_point "." +mon_thousands_sep "," +mon_grouping 3 +positive_sign "" +negative_sign "-" +int_frac_digits 2 +frac_digits 2 +p_cs_precedes 1 +p_sep_by_space 0 +n_cs_precedes 1 +n_sep_by_space 0 +int_p_cs_precedes 1 +int_p_sep_by_space 0 +int_n_cs_precedes 1 +int_n_sep_by_space 0 +p_sign_posn 4 +n_sign_posn 4 +int_p_sign_posn 1 +int_n_sign_posn 1 +END LC_MONETARY + +LC_NUMERIC +decimal_point "." +thousands_sep "," +grouping 3 +END LC_NUMERIC + +LC_TIME +abday "";"";"";"";"";"";"" + +day "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" + +abmon "1";"2";/ + "3";"4";/ + "5";"6";/ + "7";"8";/ + "9";"10";/ + "11";"12" + +mon "";"";"";/ + "";"";"";/ + "";"";"";/ + "";"";"" + +d_t_fmt "%Y%m%d %A %H%M%S" + +d_fmt "%Y%m%d" + +t_fmt "%H%M%S" + +am_pm "";"" + +t_fmt_ampm "%p %I%M%S" + +date_fmt "%Y %m %d %A %H:%M:%S %Z" +week 7;19971130;1 +first_weekday 2 +END LC_TIME + +LC_MESSAGES +yesexpr "^[+1yY]" +noexpr "^[-0nN]" +yesstr "" +nostr "" +END LC_MESSAGES + +LC_PAPER +copy "i18n" +END LC_PAPER + +LC_TELEPHONE +tel_int_fmt "+%c %a %l" +tel_dom_fmt "0%a %l" +int_select "00" +int_prefix "86" +END LC_TELEPHONE + +LC_NAME +name_fmt "%f%t%g%t%d" +name_gen "" +name_miss "" +name_mr "" +name_mrs "" +name_ms "" +END LC_NAME + +LC_ADDRESS +postal_fmt "%c%N%T%N%s %h %e %r%N%b%N%d%N%f%N%a%N" +country_name "" +%country_post "FIXME" +country_ab2 "CN" +country_ab3 "CHN" +country_num 156 +country_car "CHN" +country_isbn 7 +lang_name "" +%lang_ab "" +%lang_term "" +lang_lib "wuu" +END LC_ADDRESS + +LC_MEASUREMENT +copy "i18n" +END LC_MEASUREMENT