From: Mike FABIAN Date: Tue, 24 Oct 2017 12:06:05 +0000 (+0200) Subject: mr_IN locale: Fix yesstr and nostr and improve yesexpr and noexpr. X-Git-Tag: glibc-2.27~612 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bab7b6b0a6474cf517a372aca2e2911ae907f96a;p=thirdparty%2Fglibc.git 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. --- diff --git a/ChangeLog b/ChangeLog index 51457b63a19..ede09a9fbdc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2017-10-24 Mike FABIAN + + * 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 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first diff --git a/localedata/locales/mr_IN b/localedata/locales/mr_IN index 04b1b4dec5c..3d10db84dd9 100644 --- a/localedata/locales/mr_IN +++ b/localedata/locales/mr_IN @@ -157,12 +157,10 @@ END LC_TIME LC_MESSAGES -yesexpr "/ -" -noexpr "/ -" -yesstr "" -nostr "" +yesexpr "^([+1yY]|)" +noexpr "^([-0nN]|)" +yesstr "" +nostr "" END LC_MESSAGES