about summary refs log tree commit diff
path: root/localedata/locales/zh_CN
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-04-18 23:10:58 -0400
committerMike Frysinger <vapier@gentoo.org>2016-04-23 03:41:56 -0400
commitf982160ead05503667c0e27efdc09e24e8b39d15 (patch)
tree4852482f4e80291bca7ad9236438b10ed43796e3 /localedata/locales/zh_CN
parentebf01e8334522a34c66f28322764d418d9b1c63e (diff)
downloadglibc-f982160ead05503667c0e27efdc09e24e8b39d15.tar.gz
glibc-f982160ead05503667c0e27efdc09e24e8b39d15.tar.xz
glibc-f982160ead05503667c0e27efdc09e24e8b39d15.zip
localedata: LC_MESSAGES.{yes,no}expr: add +1/-0 to all regexes [BZ #15263]
A handful of regexes were allowing +1 for yesexpr and -0 for noexpr,
and it's the i18n definition.  Standardize all locales by allowing
these language-independent values in them.

Example change for en_US goes from ^[yY] to ^[+1yY], and from ^[nN]
to ^[-0nN].
Diffstat (limited to 'localedata/locales/zh_CN')
-rw-r--r--localedata/locales/zh_CN8
1 files changed, 2 insertions, 6 deletions
diff --git a/localedata/locales/zh_CN b/localedata/locales/zh_CN
index 807b32f5fc..e4b4886f31 100644
--- a/localedata/locales/zh_CN
+++ b/localedata/locales/zh_CN
@@ -146,12 +146,8 @@ week 7;19971130;1
 END LC_TIME
 
 LC_MESSAGES
-% Any string starting with a Latin Y(y) or Chinese "Shi4" is recognized
-% as affirmative answer.
-% Any string starting with a Latin N(n) or Chinese "Bu4" or "Fou3" is
-% recognized as negative answer.
-yesexpr "<U005E><U005B><U0079><U0059><U662F><U005D>"
-noexpr  "<U005E><U005B><U006E><U004E><U4E0D><U5426><U005D>"
+yesexpr "<U005E><U005B><U002B><U0031><U0079><U0059><U662F><U005D>"
+noexpr  "<U005E><U005B><U002D><U0030><U006E><U004E><U4E0D><U5426><U005D>"
 END LC_MESSAGES
 
 LC_PAPER