This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[committed, PATCH] mr_IN locale: Fix yesstr and nostr and improve yesexpr and noexpr.
- From: Mike FABIAN <mfabian at redhat dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 26 Oct 2017 10:46:58 +0200
- Subject: [committed, PATCH] mr_IN locale: Fix yesstr and nostr and improve yesexpr and noexpr.
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=mfabian at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com EFDB315565
* localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
and improve yesexpr and noexpr. The yesstr and nostr apparently
came from CLDR. And CLDR has a bug there: these strings contain
a U+0903 (which looks like a colon) instead of a real colon
to separate the full words for “yes” and “no” from the single
letter responses.
--
Mike FABIAN <mfabian@redhat.com>
>From bab7b6b0a6474cf517a372aca2e2911ae907f96a Mon Sep 17 00:00:00 2001
From: Mike FABIAN <mfabian@redhat.com>
Date: Tue, 24 Oct 2017 14:06:05 +0200
Subject: [PATCH 04/19] mr_IN locale: Fix yesstr and nostr and improve yesexpr
and noexpr.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
and improve yesexpr and noexpr. The yesstr and nostr apparently
came from CLDR. And CLDR has a bug there: these strings contain
a U+0903 (which looks like a colon) instead of a real colon
to separate the full words for â??yesâ?? and â??noâ?? from the single
letter responses.
---
ChangeLog | 9 +++++++++
localedata/locales/mr_IN | 10 ++++------
2 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 51457b63a1..ede09a9fbd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2017-10-24 Mike FABIAN <mfabian@redhat.com>
+
+ * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
+ and improve yesexpr and noexpr. The yesstr and nostr apparently
+ came from CLDR. And CLDR has a bug there: these strings contain
+ a U+0903 (which looks like a colon) instead of a real colon
+ to separate the full words for â??yesâ?? and â??noâ?? from the single
+ letter responses.
+
2017-10-24 Mike FABIAN <mfabian@redhat.com>
* localedata/locales/bn_BD (LC_MESSAGES): Use only the first
diff --git a/localedata/locales/mr_IN b/localedata/locales/mr_IN
index 04b1b4dec5..3d10db84dd 100644
--- a/localedata/locales/mr_IN
+++ b/localedata/locales/mr_IN
@@ -157,12 +157,10 @@ END LC_TIME
LC_MESSAGES
-yesexpr "<U005E><U0028><U0059><U0065><U0073><U007C><U005B><U002B><U0031>/
-<U0079><U0059><U005D><U0029>"
-noexpr "<U005E><U0028><U004E><U006F><U007C><U005B><U002D><U0030><U006E>/
-<U004E><U005D><U0029>"
-yesstr "<U0939><U094B><U092F><U0903><U0939><U094B>"
-nostr "<U0928><U093E><U0939><U0940><U0903><U0928><U093E>"
+yesexpr "^([+1yY]|<U0939><U094B>)"
+noexpr "^([-0nN]|<U0928><U093E>)"
+yesstr "<U0939><U094B><U092F>"
+nostr "<U0928><U093E><U0939><U0940>"
END LC_MESSAGES
--
2.14.2