guix-commits
[Top][All Lists]
Advanced

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

155/197: installer: Use _ instead of M_ for host-name-refresh.


From: Danny Milosavljevic
Subject: 155/197: installer: Use _ instead of M_ for host-name-refresh.
Date: Mon, 3 Jul 2017 20:37:17 -0400 (EDT)

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

commit 9f17a47b5b3e4c59060777d5277e95b709a5339a
Author: John Darrington <address@hidden>
Date:   Mon Jan 30 18:59:37 2017 +0100

    installer: Use _ instead of M_ for host-name-refresh.
    
    * gnu/system/installer/hostname.scm (host-name-refresh): Use _ from
    guix/ui.scm instead of M_
---
 gnu/system/installer/hostname.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/system/installer/hostname.scm 
b/gnu/system/installer/hostname.scm
index a319d5f..62809cb 100644
--- a/gnu/system/installer/hostname.scm
+++ b/gnu/system/installer/hostname.scm
@@ -20,6 +20,7 @@
   #:use-module (gnu system installer page)
   #:use-module (gnu system installer misc)
   #:use-module (gnu system installer utils)
+  #:use-module (guix ui)
   #:use-module (gurses form)
   #:use-module (gurses buttons)
   #:use-module (ncurses curses)
@@ -59,8 +60,10 @@
     (clear text-window)
     (addstr*
      text-window
-     (gettext
-      (format #f "Enter the host name for the new system.  Only letters, 
digits and hyphens are allowed. The first character may not be a hyphen.  A 
maximum of ~a characters are allowed." max-length)))
+      (format
+       #f
+       (_ "Enter the host name for the new system.  Only letters, digits and 
hyphens are allowed. The first character may not be a hyphen.  A maximum of ~a 
characters are allowed.")
+       max-length))
     (refresh* text-window)
     (refresh* (outer (page-wwin page)))
     (refresh* (form-window form))))



reply via email to

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