From: Carlos O'Donell Date: Fri, 3 May 2013 03:24:21 +0000 (-0400) Subject: Add yesstr and nostr to en_CA, es_AR, and es_ES X-Git-Tag: glibc-2.18~343 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9df02941c2e18d66ff15830cdb4670b9b47600e3;p=thirdparty%2Fglibc.git 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. --- diff --git a/ChangeLog b/ChangeLog index a29f658d842..b093f83f98a 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 5e0ef2c3200..52e9e320396 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 c757638f7f1..27636e70834 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 fcf90cbdbc6..44c17a63288 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