diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-05-26 12:15:04 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-05-26 17:00:07 +0200 |
commit | ac0a7b0fbd28153e2d4cc8b872ee4cc2e92579b2 (patch) | |
tree | 5b312fcedc99206511c87be1cc15fb8160544467 | |
parent | 9698f4b74bc37439971e4b040421cc591eb1b9b7 (diff) | |
download | guix-ac0a7b0fbd28153e2d4cc8b872ee4cc2e92579b2.tar.gz |
substitute: Internationalize the "Downloading" message.
* guix/scripts/substitute.scm (process-substitution): I18n "Downloading" message.
-rwxr-xr-x | guix/scripts/substitute.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/guix/scripts/substitute.scm b/guix/scripts/substitute.scm index 5cdc55f2b2..81ce770dc5 100755 --- a/guix/scripts/substitute.scm +++ b/guix/scripts/substitute.scm @@ -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) |