me
/
guix
Archived
1
0
Fork 0

substitute: Internationalize signature and download messages.

* guix/scripts/substitute.scm (assert-valid-narinfo): Use gettext for
messages.
master
Ludovic Courtès 2016-04-20 23:16:02 +02:00
parent cf5e58297d
commit f954c9b5da
1 changed files with 4 additions and 2 deletions

View File

@ -400,8 +400,10 @@ or is signed by an unauthorized key."
(when verbose? (when verbose?
;; Visually separate substitutions with a newline. ;; Visually separate substitutions with a newline.
(format (current-error-port) (format (current-error-port)
"~%Found valid signature for ~a~%From ~a~%" (_ "~%Found valid signature for ~a~%")
(narinfo-path narinfo) (narinfo-path narinfo))
(format (current-error-port)
(_ "From ~a~%")
(uri->string (narinfo-uri narinfo))))) (uri->string (narinfo-uri narinfo)))))
narinfo)))) narinfo))))