about summary refs log tree commit diff
path: root/localedata/locales/en_CA
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/en_CA
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/en_CA')
-rw-r--r--localedata/locales/en_CA4
1 files changed, 2 insertions, 2 deletions
diff --git a/localedata/locales/en_CA b/localedata/locales/en_CA
index ab86f5f84f..ca14b9f03a 100644
--- a/localedata/locales/en_CA
+++ b/localedata/locales/en_CA
@@ -138,9 +138,9 @@ END LC_TIME
 
 LC_MESSAGES
 % Accept both English "Yes" and French "Oui" as Canada is bilingual.
-yesexpr "<U005E><U005B><U0079><U0059><U006F><U004F><U005D>"
+yesexpr "<U005E><U005B><U002B><U0031><U0079><U0059><U006F><U004F><U005D>"
 % Accept both Engish "No" and French "Non" as Canada is bilingual.
-noexpr  "<U005E><U005B><U006E><U004E><U005D>"
+noexpr  "<U005E><U005B><U002D><U0030><U006E><U004E><U005D>"
 % Yes - Display only the English "Yes." While Canada is bilingual it would be
 %       difficult to display two words e.g. Yes|Oui, where one word is expected.
 %       Thus given that the majority of the population is Anglophone we use only