system: Add "en_US.UTF-8" to the default locales, for backward compatibility.

* gnu/system/locale.scm (%default-locale-definitions): Add
  "en_US.UTF-8".
master
Ludovic Courtès 2015-01-16 15:40:10 +01:00
parent 8f4b1dfb77
commit 24004073f0
1 changed files with 39 additions and 34 deletions

View File

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -89,38 +89,43 @@
(utf8-locales (syntax-rules () (utf8-locales (syntax-rules ()
((_ name ...) ((_ name ...)
(list (utf8-locale name) ...))))) (list (utf8-locale name) ...)))))
(utf8-locales "ca_ES" ;; Add "en_US.UTF-8" for compatibility with Guix 0.8.
"cs_CZ" (cons (locale-definition
"da_DK" (name "en_US.UTF-8")
"de_DE" (source "en_US")
"el_GR" (charset "UTF-8"))
"en_AU" (utf8-locales "ca_ES"
"en_CA" "cs_CZ"
"en_GB" "da_DK"
"en_US" "de_DE"
"es_AR" "el_GR"
"es_CL" "en_AU"
"es_ES" "en_CA"
"es_MX" "en_GB"
"fi_FI" "en_US"
"fr_BE" "es_AR"
"fr_CA" "es_CL"
"fr_CH" "es_ES"
"fr_FR" "es_MX"
"ga_IE" "fi_FI"
"it_IT" "fr_BE"
"ja_JP" "fr_CA"
"ko_KR" "fr_CH"
"nb_NO" "fr_FR"
"nl_NL" "ga_IE"
"pl_PL" "it_IT"
"pt_PT" "ja_JP"
"ro_RO" "ko_KR"
"ru_RU" "nb_NO"
"sv_SE" "nl_NL"
"tr_TR" "pl_PL"
"uk_UA" "pt_PT"
"vi_VN" "ro_RO"
"zh_CN"))) "ru_RU"
"sv_SE"
"tr_TR"
"uk_UA"
"vi_VN"
"zh_CN"))))
;;; locale.scm ends here ;;; locale.scm ends here