substitute: Internationalize signature and download messages.

* guix/scripts/substitute.scm (assert-valid-narinfo): Use gettext for
messages.
This commit is contained in:
Ludovic Courtès 2016-04-20 23:16:02 +02:00
parent cf5e58297d
commit f954c9b5da

View file

@ -400,8 +400,10 @@ (define* (assert-valid-narinfo narinfo
(when verbose?
;; Visually separate substitutions with a newline.
(format (current-error-port)
"~%Found valid signature for ~a~%From ~a~%"
(narinfo-path narinfo)
(_ "~%Found valid signature for ~a~%")
(narinfo-path narinfo))
(format (current-error-port)
(_ "From ~a~%")
(uri->string (narinfo-uri narinfo)))))
narinfo))))