This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH v2] Fix typos in LC_TELEPHONE in i18n locale
- From: Mike FABIAN <mfabian at redhat dot com>
- To: libc-alpha at sourceware dot org
- Cc: Mike Frysinger <vapier at gentoo dot org>, keld at keldix dot com
- Date: Mon, 07 Mar 2016 08:55:29 +0100
- Subject: [PATCH v2] Fix typos in LC_TELEPHONE in i18n locale
- Authentication-results: sourceware.org; auth=none
- References: <s9d4mh6wner dot fsf at ari dot site> <20151103022423 dot GU5154 at vapier dot lan> <s9dmvuvoe1a dot fsf at ari dot site> <20151103073720 dot GA13562 at www5 dot open-std dot org> <s9d611jle7t dot fsf at ari dot site>
See also:
https://sourceware.org/ml/libc-alpha/2015-11/msg00016.html
--
Mike FABIAN <mfabian@redhat.com>
>From 852ea116075ec0a773248a549c47783606b883fa Mon Sep 17 00:00:00 2001
From: Mike FABIAN <mfabian@redhat.com>
Date: Mon, 7 Mar 2016 08:44:18 +0100
Subject: [PATCH] Fix typos in LC_TELEPHONE in i18n locale
Adding the %t avoids a double space if the area code %a happens
to be empty. There are countries without area code.
for localedata/ChangeLog
* locales/i18n: fix typos (tel_int_fmt "+%c +a +l" -> "+%c %a%t%l")
---
localedata/locales/i18n | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/localedata/locales/i18n b/localedata/locales/i18n
index 5cdbff8..2b1a60f 100644
--- a/localedata/locales/i18n
+++ b/localedata/locales/i18n
@@ -2495,7 +2495,7 @@ LC_TELEPHONE
% This is the ISO/IEC 14652 "i18n" definition for
% the LC_TELEPHONE category.
%
-tel_int_fmt "<U002B><U0025><U0063><U0020><U002B><U0061><U0020><U002B>/
+tel_int_fmt "<U002B><U0025><U0063><U0020><U0025><U0061><U0025><U0074><U0025>/
<U006C>"
END LC_TELEPHONE
--
2.5.0