]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
localedata: LC_MESSAGES.{yes,no}expr: standardize yY/nN [BZ #15262]
authorMike Frysinger <vapier@gentoo.org>
Tue, 19 Apr 2016 04:00:58 +0000 (00:00 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 23 Apr 2016 07:54:27 +0000 (03:54 -0400)
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:
  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]
  yo_NG: move nN (short for Bẹ́ẹ̀ni) from noexpr to yesexpr

localedata/ChangeLog
localedata/locales/ms_MY
localedata/locales/nan_TW@latin
localedata/locales/se_NO
localedata/locales/uz_UZ
localedata/locales/uz_UZ@cyrillic
localedata/locales/yo_NG

index 05e61eaafa77f4f68408c8e81bc8e4229f888107..92636d95a5aee6492bd532980393994a152815e3 100644 (file)
@@ -1,3 +1,16 @@
+2016-04-23  Mike Frysinger  <vapier@gentoo.org>
+
+       [BZ #15262]
+       * locales/ms_MY (LC_MESSAGES): Add nN to noexpr.
+       * locales/nan_TW@latin (LC_MESSAGES): Add nN to noexpr and yY to
+       yesexpr.
+       * locales/se_NO (LC_MESSAGES): Add nN to noexpr.
+       * locales/uz_UZ (LC_MESSAGES): Remove Yy from yesexpr and add Ҳҳ.
+       * locales/uz_UZ@cyrillic (LC_MESSAGES): Remove Yy from yesexpr and
+       add Hh.  Add YyJj to noexpr.
+       * locales/yo_NG (LC_MESSAGES): Remove nN from noexpr and add nN to
+       yesexpr.
+
 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
 
        [BZ #15263]
index 3aab747b1eca1751a490cd2c18baa3318d6f8e66..e6ca8d66aafccd63f08c9289559290454c901ff8 100644 (file)
@@ -153,7 +153,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
index 8c455d3aa51a90059115a30987c5c9499b4f34e6..5379b23201393d3b4b28fe3468a25c0af20e7107 100644 (file)
@@ -145,8 +145,8 @@ week 7;19971130;1
 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
index 029c67dcc509b23ddf398618fea64cc393857736..72d653170dc41ca3e73e45a6e7a2a664ddc67c70 100644 (file)
@@ -286,7 +286,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
 
 
index 5aa79a0118682b608f5ac30cadc7c5a165bd8382..e75f70f94bf40cf344f6e08f7dd132406bfedf18 100644 (file)
@@ -269,9 +269,11 @@ first_weekday 2
 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
index 93db5a1202b62648e0eef468c4338724197725d2..6cf5cc16b78f8c3f81a1778b6035b082300979ee 100644 (file)
@@ -272,8 +272,11 @@ first_weekday 2
 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
index 4378c7bb0ea29e78b5fbba77ffc1e01e3359a191..76a3ac732878a804a4a898e0371826fd2226fca4 100644 (file)
@@ -421,8 +421,8 @@ first_weekday 2
 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