[Top][All Lists]

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

10/18: installer: Fix i18n in dialogs.

From: John Darrington
Subject: 10/18: installer: Fix i18n in dialogs.
Date: Thu, 2 Feb 2017 18:13:05 +0000 (UTC)

jmd pushed a commit to branch wip-installer
in repository guix.

commit 6da8d8cbd1ada26b338d70cee33318c0fe7848a6
Author: John Darrington <address@hidden>
Date:   Tue Jan 31 11:13:32 2017 +0100

    installer: Fix i18n in dialogs.
    * gnu/system/installer/dialog.scm (dialog-page-init):  Call gettext on
    the message to be displayed.
 gnu/system/installer/dialog.scm |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/gnu/system/installer/dialog.scm b/gnu/system/installer/dialog.scm
index 47fbba1..30584fa 100644
--- a/gnu/system/installer/dialog.scm
+++ b/gnu/system/installer/dialog.scm
@@ -87,10 +87,8 @@
     (let ((m (page-datum p 'message))
          (justify (page-datum p 'justify)))
       (if justify
-         (addstr* text-window
-                  (if (promise? m) (force m) m))
-         (addstr text-window
-                 (if (promise? m) (force m) m))))
+         (addstr* text-window (gettext m))
+         (addstr text-window (gettext m))))
   (push-cursor (page-cursor-visibility p))
   (page-set-wwin! p frame)

reply via email to

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