aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike FABIAN <mfabian@redhat.com>2017-10-24 14:06:05 +0200
committerMike FABIAN <mfabian@redhat.com>2017-10-25 10:49:35 +0200
commitbab7b6b0a6474cf517a372aca2e2911ae907f96a (patch)
tree345d8875993328734c3d927453ceadcc12d9d59c
parent3e79f758191d11e60cdf1975ece322831c73ede4 (diff)
downloadglibc-bab7b6b0a6474cf517a372aca2e2911ae907f96a.zip
glibc-bab7b6b0a6474cf517a372aca2e2911ae907f96a.tar.gz
glibc-bab7b6b0a6474cf517a372aca2e2911ae907f96a.tar.bz2
mr_IN locale: Fix yesstr and nostr and improve yesexpr and noexpr.
* 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.
-rw-r--r--ChangeLog9
-rw-r--r--localedata/locales/mr_IN10
2 files changed, 13 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 51457b6..ede09a9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
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
letters of the full yesstr and nostr in yesexpr and noexpr.
diff --git a/localedata/locales/mr_IN b/localedata/locales/mr_IN
index 04b1b4d..3d10db8 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