This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2] Added Tongan language locale for Tonga
- From: Mike FABIAN <mfabian at redhat dot com>
- To: Akhilesh Kumar <akhilesh dot k at samsung dot com>
- Cc: libc-alpha at sourceware dot org, pankaj dot m at samsung dot com, hakbong5 dot lee at samsung dot com
- Date: Wed, 12 Jul 2017 23:50:16 +0200
- Subject: Re: [PATCH v2] Added Tongan language locale for Tonga
- Authentication-results: sourceware.org; auth=none
- 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=pass smtp.mailfrom=mfabian at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 48DC33D971
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 48DC33D971
- References: <CGME20170712105043epcas5p307a00302a6fbc5fdf9dab1cdd5d2cb49@epcas5p3.samsung.com> <1499856431-22027-1-git-send-email-akhilesh.k@samsung.com>
Akhilesh Kumar <akhilesh.k@samsung.com> wrote:
> [BZ #21728]
> * localedata/locales/to_TO : new file
> * localedata/SUPPORTED : modified
>
> Signed-off-by: Akhilesh Kumar <akhilesh.k@samsung.com>
> ---
I think it is OK if I apply the attached patch.
diff --git a/localedata/locales/to_TO b/localedata/locales/to_TO
index 91485aebc7..8912813085 100644
--- a/localedata/locales/to_TO
+++ b/localedata/locales/to_TO
@@ -79,8 +79,7 @@ day "Sāpate";/
"Mōnite";/
"Tūsite";/
"Pulelulu";/
- "Tuʻapule/
- lulu";/
+ "Tuʻapulelulu";/
Only for better readability of the decoded source file.
"Falaite";/
"Tokonaki"
% Abbreviated weekday names (%a)
@@ -88,13 +87,12 @@ abday "Sāp";/
"Mōn";/
"Tūs";/
"Pul";/
- "TuʻU0061>";/
+ "Tuʻa";/
Missing <
"Fal";/
"Tok"
% Equivalent of AM PM
% hengihengi, efiafi
-am_pm "hengiheng/
- i";/
+am_pm "hengihengi";/
"efiafi"
Better readability of the source.
%
@@ -106,18 +104,15 @@ d_t_fmt "%A %d %b/
%
% Appropriate date representation
% %A %d %b %Y
-d_fmt "%A %d %b/
-170 %Y"
+d_fmt "%A %d %b %Y"
What is the 170 doing there?
%
% Appropriate time representation
% %I:%M:%S %Z
-t_fmt "%I:%M:%S/
-175 %Z"
+t_fmt "%I:%M:%S %Z"
What is the 175 doing there? And why two spaces before %Z?
%
% Appropriate 12 h time representation (%r)
% %I:%M:%S %p %Z
-t_fmt_ampm "%I:%M:%S/
-% %p %Z"
+t_fmt_ampm "%I:%M:%S %p %Z"
END LC_TIME
%
LC_NUMERIC
@@ -131,9 +126,9 @@ END LC_NUMERIC
% https://en.wikipedia.org/wiki/Tonga
% https://en.wikipedia.org/wiki/Tongan_pa%CA%BBanga
LC_MONETARY
-%
-currency_symbol "¢"
-% TOP
+% T$
+currency_symbol "T$"
+% TOP
int_curr_symbol "TOP "
¢ was not in UTF-8 encoding in the comment. and the currency symbols
is T$ anyway, not ¢.
% .
mon_decimal_point "."
@@ -167,7 +162,7 @@ LC_MESSAGES
yesexpr "^[+1yY]"
% ^[-0nN]
noexpr "^[-0nN]"
-% Yes -> 'Io
+% Yes -> 'Io
yesstr "'Io"
% NO -> 'Ikai
nostr "'Ikai"
@@ -184,7 +179,7 @@ LC_ADDRESS
postal_fmt "%a%b%s%c"
% Tonga
country_name "Tonga"
-% No code
+% No code
country_post ""
% http://laendercode.net/en/2-letter-list.html
% TO
@@ -212,4 +207,3 @@ int_select "00"
% 676
int_prefix "676"
END LC_TELEPHONE
-
--
Mike FABIAN <mfabian@redhat.com>
diff --git a/localedata/locales/to_TO b/localedata/locales/to_TO
index 91485aebc7..8912813085 100644
--- a/localedata/locales/to_TO
+++ b/localedata/locales/to_TO
@@ -79,8 +79,7 @@ day "SÄ?pate";/
"MÅ?nite";/
"TÅ«site";/
"Pulelulu";/
- "Tuʻapule/
- lulu";/
+ "Tuʻapulelulu";/
"Falaite";/
"Tokonaki"
% Abbreviated weekday names (%a)
@@ -88,13 +87,12 @@ abday "SÄ?p";/
"MÅ?n";/
"TÅ«s";/
"Pul";/
- "TuʻU0061>";/
+ "Tuʻa";/
"Fal";/
"Tok"
% Equivalent of AM PM
% hengihengi, efiafi
-am_pm "hengiheng/
- i";/
+am_pm "hengihengi";/
"efiafi"
%
@@ -106,18 +104,15 @@ d_t_fmt "%A %d %b/
%
% Appropriate date representation
% %A %d %b %Y
-d_fmt "%A %d %b/
-170 %Y"
+d_fmt "%A %d %b %Y"
%
% Appropriate time representation
% %I:%M:%S %Z
-t_fmt "%I:%M:%S/
-175 %Z"
+t_fmt "%I:%M:%S %Z"
%
% Appropriate 12 h time representation (%r)
% %I:%M:%S %p %Z
-t_fmt_ampm "%I:%M:%S/
-% %p %Z"
+t_fmt_ampm "%I:%M:%S %p %Z"
END LC_TIME
%
LC_NUMERIC
@@ -131,9 +126,9 @@ END LC_NUMERIC
% https://en.wikipedia.org/wiki/Tonga
% https://en.wikipedia.org/wiki/Tongan_pa%CA%BBanga
LC_MONETARY
-% ¢
-currency_symbol "¢"
-% TOP
+% T$
+currency_symbol "T$"
+% TOP
int_curr_symbol "TOP "
% .
mon_decimal_point "."
@@ -167,7 +162,7 @@ LC_MESSAGES
yesexpr "^[+1yY]"
% ^[-0nN]
noexpr "^[-0nN]"
-% Yes -> 'Io
+% Yes -> 'Io
yesstr "'Io"
% NO -> 'Ikai
nostr "'Ikai"
@@ -184,7 +179,7 @@ LC_ADDRESS
postal_fmt "%a%b%s%c"
% Tonga
country_name "Tonga"
-% No code
+% No code
country_post ""
% http://laendercode.net/en/2-letter-list.html
% TO
@@ -212,4 +207,3 @@ int_select "00"
% 676
int_prefix "676"
END LC_TELEPHONE
-