summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-04-20 23:16:02 +0200
committerLudovic Courtès <ludo@gnu.org>2016-04-20 23:16:02 +0200
commitf954c9b5da256009fc41483e8fccd9bee1504870 (patch)
tree31ac43b2053449dc19cb71ff14f16aafb858dbcc
parentcf5e58297d441e5e8f93e104f23eb3d18b2b51c9 (diff)
downloadguix-f954c9b5da256009fc41483e8fccd9bee1504870.tar.gz
substitute: Internationalize signature and download messages.
* guix/scripts/substitute.scm (assert-valid-narinfo): Use gettext for
messages.
-rwxr-xr-xguix/scripts/substitute.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/guix/scripts/substitute.scm b/guix/scripts/substitute.scm
index 0f0677fb22..e0a694ad0f 100755
--- a/guix/scripts/substitute.scm
+++ b/guix/scripts/substitute.scm
@@ -400,8 +400,10 @@ or is signed by an unauthorized key."
             (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))))