ui: Present 'use-modules' hints with a question mark.
Suggested by myglc2 <myglc2@gmail.com>. * guix/ui.scm (report-load-error): Write "Did you forget" rather than "Try adding."
This commit is contained in:
parent
117d8cc40e
commit
e42f026eb5
|
@ -313,7 +313,7 @@ ARGS is the list of arguments received by the 'throw' handler."
|
|||
(#f
|
||||
(display-hint (G_ "Did you forget a @code{use-modules} form?")))
|
||||
(module
|
||||
(display-hint (format #f (G_ "Try adding @code{(use-modules ~a)}.")
|
||||
(display-hint (format #f (G_ "Did you forget @code{(use-modules ~a)}?")
|
||||
(module-name module))))))
|
||||
(('srfi-34 obj)
|
||||
(if (message-condition? obj)
|
||||
|
|
Loading…
Reference in New Issue