guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: installer: Call setlocale after init gettext.


From: guix-commits
Subject: branch master updated: installer: Call setlocale after init gettext.
Date: Sun, 18 Oct 2020 11:58:07 -0400

This is an automated email from the git hooks/post-receive script.

m1gu3l pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new d76b668  installer: Call setlocale after init gettext.
d76b668 is described below

commit d76b668cd6595d08761fa75d749ec943e792ea6f
Author: Miguel Ángel Arruga Vivas <rosen644835@gmail.com>
AuthorDate: Fri Oct 16 15:02:00 2020 +0200

    installer: Call setlocale after init gettext.
    
    * gnu/installer.scm (installer-program)[init-gettext]: Change locale
    from C, installed at the program start.
---
 gnu/installer.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/installer.scm b/gnu/installer.scm
index c582a46..f401b24 100644
--- a/gnu/installer.scm
+++ b/gnu/installer.scm
@@ -308,7 +308,8 @@ selected keymap."
     ;; translated.
     #~(begin
         (bindtextdomain "guix" (string-append #$guix "/share/locale"))
-        (textdomain "guix")))
+        (textdomain "guix")
+        (setlocale LC_ALL "")))
 
   (define set-installer-path
     ;; Add the specified binary to PATH for later use by the installer.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]