public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: libc-alpha@sourceware.org
Subject: [PATCH 3/4] localedata: LC_MESSAGES.{yes,no}expr: standardize yY/nN [BZ #15262]
Date: Tue, 19 Apr 2016 05:48:00 -0000	[thread overview]
Message-ID: <1461044922-20893-3-git-send-email-vapier@gentoo.org> (raw)
In-Reply-To: <1461044922-20893-1-git-send-email-vapier@gentoo.org>

The vast majority of languages include yY/nN in their yes/no regexes.
Standardize the few that were missing them.
  ms_MY: noexpr: add nN
  nan_TW@latin: yesexpr: add yY
  nan_TW@latin: noexpr: add nN
  se_NO: noexpr: add nN

This also highlighted a few that were incorrectly using yY/nN because
they clashed with their localized messages:
  yo_NG: move nN (short for Bẹ́ẹ̀ni) from noexpr to yesexpr
  uz_UZ: yesexpr: change ^[+1YyHh] to ^[+1Ò²Ò³Hh]
  uz_UZ: noexpr: change ^[-0JjNn] to ^[-0ЙйNnYyJj]
  uz_UZ@cyrillic: yesexpr: change ^[+1Ò²Ò³Yy] to ^[+1Ò²Ò³Hh]
  uz_UZ@cyrillic: noexpr: change ^[-0ЙйNn] to [-0ЙйNnYyJj]
---
 localedata/locales/ms_MY          | 2 +-
 localedata/locales/nan_TW@latin   | 4 ++--
 localedata/locales/se_NO          | 2 +-
 localedata/locales/uz_UZ          | 8 +++++---
 localedata/locales/uz_UZ@cyrillic | 7 +++++--
 localedata/locales/yo_NG          | 4 ++--
 6 files changed, 16 insertions(+), 11 deletions(-)

diff --git a/localedata/locales/ms_MY b/localedata/locales/ms_MY
index 74dc483..f137049 100644
--- a/localedata/locales/ms_MY
+++ b/localedata/locales/ms_MY
@@ -151,7 +151,7 @@ END LC_TIME
 
 LC_MESSAGES
 yesexpr "<U005E><U005B><U002B><U0031><U0079><U0059><U005D>"
-noexpr  "<U005E><U005B><U002D><U0030><U0074><U0054><U005D>"
+noexpr  "<U005E><U005B><U002D><U0030><U0074><U0054><U006E><U004E><U005D>"
 yesstr  "<U0059><U0061>"
 nostr   "<U0054><U0069><U0064><U0061><U006B>"
 END LC_MESSAGES
diff --git a/localedata/locales/nan_TW@latin b/localedata/locales/nan_TW@latin
index a901ad5..b8bb20f 100644
--- a/localedata/locales/nan_TW@latin
+++ b/localedata/locales/nan_TW@latin
@@ -144,8 +144,8 @@ date_fmt    "<U0025><U0059><U0020><U0025><U0062><U0020><U0025><U0064><U0020><U00
 END LC_TIME
 
 LC_MESSAGES
-yesexpr "<U005E><U005B><U002B><U0031><U0073><U0053><U005D>"
-noexpr  "<U005E><U005B><U002D><U0030><U006D><U004D><U005D>"
+yesexpr "<U005E><U005B><U002B><U0031><U0079><U0059><U0073><U0053><U005D>"
+noexpr  "<U005E><U005B><U002D><U0030><U006E><U004E><U006D><U004D><U005D>"
 yesstr  "<U0053><U012B>"
 nostr   "<U004D><U0304><U002D><U0053><U012B>"
 END LC_MESSAGES
diff --git a/localedata/locales/se_NO b/localedata/locales/se_NO
index f9e4a50..6adc7d1 100644
--- a/localedata/locales/se_NO
+++ b/localedata/locales/se_NO
@@ -284,7 +284,7 @@ END LC_TIME
 
 LC_MESSAGES
 yesexpr "<U005E><U005B><U002B><U0031><U004A><U006A><U0059><U0079><U005D>"
-noexpr  "<U005E><U005B><U002D><U0030><U0049><U0069><U005D>"
+noexpr  "<U005E><U005B><U002D><U0030><U0049><U0069><U004E><U006E><U005D>"
 END LC_MESSAGES
 
 
diff --git a/localedata/locales/uz_UZ b/localedata/locales/uz_UZ
index 96f325c..6d53927 100644
--- a/localedata/locales/uz_UZ
+++ b/localedata/locales/uz_UZ
@@ -267,9 +267,11 @@ date_fmt    "<U0025><U0064><U0020><U0025><U0042><U002C><U0020><U0025><U0059><U00
 END LC_TIME
 
 LC_MESSAGES
-% NOTE: No is "yo'q"; that conflicts with English "yes"... so "jo'q" is used.
-yesexpr "<U005E><U005B><U002B><U0031><U0059><U0079><U0048><U0068><U005D>"
-noexpr  "<U005E><U005B><U002D><U0030><U004A><U006A><U004E><U006E><U005D>"
+% Note: "No" is "yo‘q" which conflicts with English "yes".
+% This is why "jo‘q" & "jJ" is also accepted as "no".
+yesexpr "<U005E><U005B><U002B><U0031><U04B2><U04B3><U0048><U0068><U005D>"
+noexpr  "<U005E><U005B><U002D><U0030><U0419><U0439><U004E><U006E><U0059>/
+<U0079><U004A><U006A><U005D>"
 yesstr  "<U0048><U0061>"
 nostr   "<U0059><U006F><U0027><U0071>"
 END LC_MESSAGES
diff --git a/localedata/locales/uz_UZ@cyrillic b/localedata/locales/uz_UZ@cyrillic
index 11fd0c7..0f65405 100644
--- a/localedata/locales/uz_UZ@cyrillic
+++ b/localedata/locales/uz_UZ@cyrillic
@@ -270,8 +270,11 @@ date_fmt    "<U0025><U0064><U0020><U0025><U0042><U002C><U0020><U0025><U0059><U00
 END LC_TIME
 
 LC_MESSAGES
-yesexpr "<U005E><U005B><U002B><U0031><U04B2><U04B3><U0059><U0079><U005D>"
-noexpr  "<U005E><U005B><U002D><U0030><U0419><U0439><U004E><U006E><U005D>"
+% Note: "No" is "yo‘q" which conflicts with English "yes".
+% This is why "jo‘q" & "jJ" is also accepted as "no".
+yesexpr "<U005E><U005B><U002B><U0031><U04B2><U04B3><U0048><U0068><U005D>"
+noexpr  "<U005E><U005B><U002D><U0030><U0419><U0439><U004E><U006E><U0059>/
+<U0079><U004A><U006A><U005D>"
 yesstr  "<U04B2><U0430>"
 nostr   "<U0419><U045E><U049B>"
 END LC_MESSAGES
diff --git a/localedata/locales/yo_NG b/localedata/locales/yo_NG
index 4aea66e..93d94e2 100644
--- a/localedata/locales/yo_NG
+++ b/localedata/locales/yo_NG
@@ -419,8 +419,8 @@ t_fmt_ampm  "<U0025><U0049><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U00
 END LC_TIME
 
 LC_MESSAGES
-yesexpr "<U005E><U005B><U002B><U0031><U0045><U0065><U0079><U0059><U005D>"
-noexpr  "<U005E><U005B><U002D><U0030><U0072><U0052><U004F><U006F><U004B><U006B><U004E><U006E><U005D>"
+yesexpr "<U005E><U005B><U002B><U0031><U0045><U0065><U0079><U0059><U004E><U006E><U005D>"
+noexpr  "<U005E><U005B><U002D><U0030><U0072><U0052><U004F><U006F><U004B><U006B><U005D>"
 yesstr  "<U0042><U1EB9><U0301><U1EB9><U0300><U0020><U006E><U0069>"
 nostr   "<U0042><U1EB9><U0301><U1EB9><U0300><U0020><U006B><U1ECD><U0301>"
 END LC_MESSAGES
-- 
2.7.4

  reply	other threads:[~2016-04-19  5:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-19  5:49 [PATCH 1/4] localedata: standard LC_MESSAGES string regexes a bit Mike Frysinger
2016-04-19  5:48 ` Mike Frysinger [this message]
2016-04-19  5:49 ` [PATCH 4/4] localedata: CLDRv29: update LC_MESSAGES yes/no strings [BZ #15264] Mike Frysinger
2016-04-19 14:16   ` Chris Leonard
2016-04-22  5:08   ` Marko Myllynen
2016-04-19  5:49 ` [PATCH 2/4] localedata: LC_MESSAGES.{yes,no}expr: add +1/-0 to all regexes [BZ #15263] Mike Frysinger
2016-04-19 14:18   ` Chris Leonard
2016-04-19 14:17 ` [PATCH 1/4] localedata: standard LC_MESSAGES string regexes a bit Chris Leonard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1461044922-20893-3-git-send-email-vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=libc-alpha@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).