]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Revert “Fix yesexpr in en_DK locale”
authorMike FABIAN <mfabian@redhat.com>
Thu, 3 Aug 2017 10:41:26 +0000 (12:41 +0200)
committerMike FABIAN <mfabian@redhat.com>
Thu, 3 Aug 2017 11:39:54 +0000 (13:39 +0200)
This reverts commit 8f75515080ee099030547ba5bcae59e800a2cc08

Revert “Fix yesexpr in en_DK locale”.

* locales/en_DK (LC_MESSAGES): Restore original yesexpr, noexpr,
yesstr, nostr. Convert them to ASCII and add a comment why
we want to have them like this.

localedata/ChangeLog
localedata/locales/en_DK

index efe0b2c6b95c5a13dd1a105383d37157f028a89c..7bec433d08bf41d7a3dc128a08347e9eb1e65aa1 100644 (file)
@@ -1,3 +1,11 @@
+2017-08-03  Mike FABIAN  <mfabian@redhat.com>
+
+       Revert “Fix yesexpr in en_DK locale”.
+
+       * locales/en_DK (LC_MESSAGES): Restore original yesexpr, noexpr,
+       yesstr, nostr. Convert them to ASCII and add a comment why
+       we want to have them like this.
+
 2017-08-03  Mike FABIAN  <mfabian@redhat.com>
 
        * locales/km_KH (LC_MESSAGES): drop redundant ([eE][sS])? and [oO]?
index 2087786c070f3bd218fe4a8983620e5afdfa34b4..6473ce38acb66656f100f6e6f2e1d39477dbf581 100644 (file)
@@ -128,7 +128,19 @@ first_weekday 2
 END LC_TIME
 
 LC_MESSAGES
-copy "en_US"
+% en_DK is used outside Denmark, as some sort of generic continental
+% European English locale. Therefore, it makes sense to have matches
+% for more than just English in yesexpr:
+% + is ised in many applications for yes (- for no)
+% 1 is common yes, 0 is common no, - langage neutral
+% Jj is Danish/German/Swedish/Norwegian/Dutch "ja"
+% sS is Spanish/Italian "si"
+% yY is English "yes"
+% oO is French "oui"
+yesexpr "^[+1yYjJsSoO]"
+noexpr  "^[-0nN]"
+yesstr  "yes"
+nostr   "no"
 END LC_MESSAGES
 
 LC_PAPER