~ruther/guix-local

ac0a7b0fbd28153e2d4cc8b872ee4cc2e92579b2 — Ludovic Courtès 9 years ago 9698f4b
substitute: Internationalize the "Downloading" message.

* guix/scripts/substitute.scm (process-substitution): I18n "Downloading"
message.
1 files changed, 5 insertions(+), 1 deletions(-)

M guix/scripts/substitute.scm
M guix/scripts/substitute.scm => guix/scripts/substitute.scm +5 -1
@@ 889,7 889,11 @@ DESTINATION as a nar file.  Verify the substitute against ACL."
    ;; Tell the daemon what the expected hash of the Nar itself is.
    (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)
            ;; Use the Nar size as an estimate of the installed size.
            (narinfo-size narinfo)