substitute: Internationalize the "Downloading" message.

* guix/scripts/substitute.scm (process-substitution): I18n "Downloading"
message.
This commit is contained in:
Ludovic Courtès 2016-05-26 12:15:04 +02:00
parent 9698f4b74b
commit ac0a7b0fbd
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -889,7 +889,11 @@ (define* (process-substitution store-item destination
;; Tell the daemon what the expected hash of the Nar itself is. ;; Tell the daemon what the expected hash of the Nar itself is.
(format #t "~a~%" (narinfo-hash narinfo)) (format #t "~a~%" (narinfo-hash narinfo))
(format (current-error-port) "Downloading ~a~:[~*~; (~a installed)~]...~%" (format (current-error-port)
;; TRANSLATORS: The second part of this message looks like
;; "(4.1MiB installed)"; it shows the size of the package once
;; installed.
(_ "Downloading ~a~:[~*~; (~a installed)~]...~%")
(store-path-abbreviation store-item) (store-path-abbreviation store-item)
;; Use the Nar size as an estimate of the installed size. ;; Use the Nar size as an estimate of the installed size.
(narinfo-size narinfo) (narinfo-size narinfo)