From patchwork Mon Oct 30 11:12:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mike FABIAN X-Patchwork-Id: 23959 Received: (qmail 29482 invoked by alias); 30 Oct 2017 11:12:25 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 29472 invoked by uid 89); 30 Oct 2017 11:12:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-22.9 required=5.0 tests=AC_HTML_NONSENSE_TAGS, BAYES_00, BODY_8BITS, GARBLED_BODY, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RP_MATCHES_RCVD, SPF_HELO_PASS, T_FILL_THIS_FORM_SHORT autolearn=ham version=3.3.2 spammy=H*MI:site, H*M:site, 001, sk:digital X-HELO: mx1.redhat.com DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 1E3FB356FE Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=mfabian@redhat.com From: Mike FABIAN To: GNU C Library Subject: [committed, PATCH] km_KH locale: remove tags which were using Lao characters [BZ #13953] Date: Mon, 30 Oct 2017 12:12:19 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 [BZ #13953] * localedata/locales/km_KH: Use ASCII as much as possible for better readability of the source and remove useless comments. * localedata/locales/km_KH (LC_TIME): Remove era stuff, it was commented out and apparently wrong anyway because it was using Lao characters. If Buddhist era should be used for km_KH, a native speaker should write the correct formaat for Khmer. * localedata/locales/km_KH (LC_TIME): Add first_weekday 1 (According to CLDR, the first weekday for Cambodia is Sunday). * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs (These were using Lao characters which must be wrong. If we get the correct data from a native speaker, we could add it back, until then it is better not to have name_mr and name_mrs at all than having it wrong). From b110af8278588c51f29ff00ec5577566b77b9039 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Mon, 30 Oct 2017 11:46:05 +0100 Subject: [PATCH] km_KH locale: remove tags which were using Lao characters [BZ #13953] [BZ #13953] * localedata/locales/km_KH: Use ASCII as much as possible for better readability of the source and remove useless comments. * localedata/locales/km_KH (LC_TIME): Remove era stuff, it was commented out and apparently wrong anyway because it was using Lao characters. If Buddhist era should be used for km_KH, a native speaker should write the correct formaat for Khmer. * localedata/locales/km_KH (LC_TIME): Add first_weekday 1 (According to CLDR, the first weekday for Cambodia is Sunday). * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs (These were using Lao characters which must be wrong. If we get the correct data from a native speaker, we could add it back, until then it is better not to have name_mr and name_mrs at all than having it wrong). --- ChangeLog | 19 ++++++++++++ localedata/locales/km_KH | 78 +++++++++++++----------------------------------- 2 files changed, 40 insertions(+), 57 deletions(-) diff --git a/ChangeLog b/ChangeLog index a8c89b7383..9d5d5f2760 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,22 @@ +2017-10-30 Mike FABIAN + + [BZ #13953] + * localedata/locales/km_KH: Use ASCII as much + as possible for better readability of the source and + remove useless comments. + * localedata/locales/km_KH (LC_TIME): Remove era stuff, it + was commented out and apparently wrong anyway because it was + using Lao characters. If Buddhist era should be used + for km_KH, a native speaker should write the correct formaat + for Khmer. + * localedata/locales/km_KH (LC_TIME): Add first_weekday 1 + (According to CLDR, the first weekday for Cambodia is Sunday). + * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs + (These were using Lao characters which must be wrong. If we get + the correct data from a native speaker, we could add it back, until + then it is better not to have name_mr and name_mrs at all than + having it wrong). + 2017-10-27 Rafal Luzynski * locale/loadlocale.c: Correct size of diff --git a/localedata/locales/km_KH b/localedata/locales/km_KH index 71bb41cd20..0d8c9ce78d 100644 --- a/localedata/locales/km_KH +++ b/localedata/locales/km_KH @@ -9,15 +9,7 @@ escape_char / % otherwise be governed by that license. % Khmer Language Locale for Cambodia -% -% Name: km_KH % Author: Jens Herden -% Contact: -% E-mail: jens@khmeros.info -% Language: Khmer -% Territory: Cambodia -% Revision: 1.0 -% Date: 2005-03-15 LC_IDENTIFICATION title "Khmer locale for Cambodia" @@ -895,16 +887,14 @@ order_end END LC_COLLATE LC_MONETARY - -int_curr_symbol "" - +int_curr_symbol "KHR " % monetary unit: Riel currency_symbol "" -mon_decimal_point "" -mon_thousands_sep "" +mon_decimal_point "." +mon_thousands_sep "," mon_grouping 3;3 positive_sign "" -negative_sign "" +negative_sign "-" int_frac_digits 2 frac_digits 2 p_cs_precedes 0 @@ -921,13 +911,10 @@ int_p_sign_posn 1 int_n_sign_posn 1 END LC_MONETARY - LC_NUMERIC - -decimal_point "" -thousands_sep "" +decimal_point "." +thousands_sep "," grouping 3 - END LC_NUMERIC LC_TIME @@ -983,20 +970,10 @@ t_fmt "%H:%M:%S" am_pm "";"" % Appropriate 12-hour clock representation "%I:%M:%S %p" -%t_fmt_ampm "%I%M%S%p" - -% Era : Buddhist Era -%era "+:1:-5430101:+*::%EC%Ey" -%era_d_fmt "%e%b%Ey" -%era_t_fmt "%H%M%S" -%era_d_t_fmt "%A%e%B%EC%Ey%H%M%S" - -% Appropriate date representation (date(1)) "%a %e %b %Ey %H:%M:%S %Z" -%date_fmt "/ -%/ -%" +%t_fmt_ampm "%I:%M:%S %p" week 7;19971130;1 +first_weekday 1 END LC_TIME LC_MESSAGES @@ -1011,11 +988,10 @@ copy "i18n" END LC_PAPER LC_TELEPHONE -tel_int_fmt "/ -" -tel_dom_fmt "" -int_select "" -int_prefix "" +tel_int_fmt "+%c %a %l" +tel_dom_fmt "(%A)%l" +int_select "001" +int_prefix "855" END LC_TELEPHONE LC_MEASUREMENT @@ -1023,36 +999,24 @@ copy "i18n" END LC_MEASUREMENT LC_NAME -name_fmt "/ -" - -name_mr "." -name_mrs "." +name_fmt "%d%t%g%t%m%t%f" END LC_NAME LC_ADDRESS % "%f%N%a%N%d%N%r%t%e%t%b%N%h%t%s%N%T%N%S%N%z%c%N" -postal_fmt "/ -/ -/ -/ -" +postal_fmt "%f%N%a%N%d%N%r%t%e%t%b%N%h%t%s%N%T%N%S%N%z%c%N" % កម្ពុជា (Kampuchea) country_name "" %FIXME %country_post "" -country_ab2 "" -country_ab3 "" +country_ab2 "KH" +country_ab3 "KHM" country_num 116 -country_car "" -%FIXME -%country_isbn "" +country_car "KH" +%country_isbn "978-9924" % ភាសាខ្មែរ (Khmer) lang_name "" -% km -lang_ab "" -% khm -lang_term "" -% khm -lang_lib "" +lang_ab "km" +lang_term "khm" +lang_lib "khm" END LC_ADDRESS -- 2.14.3