From 9df02941c2e18d66ff15830cdb4670b9b47600e3 Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Thu, 2 May 2013 23:24:21 -0400 Subject: [PATCH] Add yesstr and nostr to en_CA, es_AR, and es_ES We add yesstr and nostr to three more locales. We ignore the issue of capitalization of the first character in yesstr and nostr. All locales will need to be revisited to make this uniform policy change. --- 2013-05-02 Carlos O'Donell [BZ #15264] * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr. * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES. * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr. --- ChangeLog | 7 +++++++ localedata/locales/en_CA | 9 +++++++++ localedata/locales/es_AR | 3 +-- localedata/locales/es_ES | 6 ++++++ 4 files changed, 23 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a29f658..b093f83 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2013-05-02 Carlos O'Donell + + [BZ #15264] + * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr. + * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES. + * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr. + 2013-05-02 David S. Miller * sysdeps/sparc/fpu/libm-test-ulps: Update. diff --git a/localedata/locales/en_CA b/localedata/locales/en_CA index 5e0ef2c..52e9e32 100644 --- a/localedata/locales/en_CA +++ b/localedata/locales/en_CA @@ -135,7 +135,16 @@ date_fmt "/ 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 "" +% No - Display only the English "No." See the rationale for yesstr. +nostr "" +% ^[yYoO].* - Accept both English "Yes" and French "Oui" as Canada is bilingual. yesexpr "" +% ^[nN].* - Accept both Engish "No" and French "Non" as Canada is bilingual. noexpr "" END LC_MESSAGES diff --git a/localedata/locales/es_AR b/localedata/locales/es_AR index c757638..27636e7 100644 --- a/localedata/locales/es_AR +++ b/localedata/locales/es_AR @@ -56,8 +56,7 @@ copy "es_ES" END LC_CTYPE LC_MESSAGES -yesexpr "" -noexpr "" +copy "es_ES" END LC_MESSAGES LC_MONETARY diff --git a/localedata/locales/es_ES b/localedata/locales/es_ES index fcf90cb..44c17a6 100644 --- a/localedata/locales/es_ES +++ b/localedata/locales/es_ES @@ -61,7 +61,13 @@ translit_end END LC_CTYPE LC_MESSAGES +% Si - Display only the Spanish "Yes." +yesstr "" +% No - Spanish and English "No" have the same spelling. +nostr "" +% ^[sSyY].* - Spanish or English answer is appropriate. yesexpr "" +% ^[nN].* - Spanish or English answer have the same spelling. noexpr "" END LC_MESSAGES -- 2.7.4