summaryrefslogtreecommitdiff
path: root/libc/localedata/locales
diff options
context:
space:
mode:
Diffstat (limited to 'libc/localedata/locales')
-rw-r--r--libc/localedata/locales/en_CA9
-rw-r--r--libc/localedata/locales/es_AR3
-rw-r--r--libc/localedata/locales/es_ES6
3 files changed, 16 insertions, 2 deletions
diff --git a/libc/localedata/locales/en_CA b/libc/localedata/locales/en_CA
index 5e0ef2c32..52e9e3203 100644
--- a/libc/localedata/locales/en_CA
+++ b/libc/localedata/locales/en_CA
@@ -135,7 +135,16 @@ date_fmt "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
END LC_TIME
LC_MESSAGES
+% 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
+% the English word for yesstr.
+yesstr "<U0059><U0065><U0073>"
+% No - Display only the English "No." See the rationale for yesstr.
+nostr "<U004E><U006F>"
+% ^[yYoO].* - Accept both English "Yes" and French "Oui" as Canada is bilingual.
yesexpr "<U005E><U005B><U0079><U0059><U006F><U004F><U005D><U002E><U002A>"
+% ^[nN].* - Accept both Engish "No" and French "Non" as Canada is bilingual.
noexpr "<U005E><U005B><U006E><U004E><U005D><U002E><U002A>"
END LC_MESSAGES
diff --git a/libc/localedata/locales/es_AR b/libc/localedata/locales/es_AR
index c757638f7..27636e708 100644
--- a/libc/localedata/locales/es_AR
+++ b/libc/localedata/locales/es_AR
@@ -56,8 +56,7 @@ copy "es_ES"
END LC_CTYPE
LC_MESSAGES
-yesexpr "<U005E><U005B><U0073><U0053><U0079><U0059><U005D><U002E><U002A>"
-noexpr "<U005E><U005B><U006E><U004E><U005D><U002E><U002A>"
+copy "es_ES"
END LC_MESSAGES
LC_MONETARY
diff --git a/libc/localedata/locales/es_ES b/libc/localedata/locales/es_ES
index fcf90cbdb..44c17a632 100644
--- a/libc/localedata/locales/es_ES
+++ b/libc/localedata/locales/es_ES
@@ -61,7 +61,13 @@ translit_end
END LC_CTYPE
LC_MESSAGES
+% Si - Display only the Spanish "Yes."
+yesstr "<U0053><U0069>"
+% No - Spanish and English "No" have the same spelling.
+nostr "<U004E><U006F>"
+% ^[sSyY].* - Spanish or English answer is appropriate.
yesexpr "<U005E><U005B><U0073><U0053><U0079><U0059><U005D><U002E><U002A>"
+% ^[nN].* - Spanish or English answer have the same spelling.
noexpr "<U005E><U005B><U006E><U004E><U005D><U002E><U002A>"
END LC_MESSAGES