diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-04-20 23:16:02 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-04-20 23:16:02 +0200 |
commit | f954c9b5da256009fc41483e8fccd9bee1504870 (patch) | |
tree | 31ac43b2053449dc19cb71ff14f16aafb858dbcc | |
parent | cf5e58297d441e5e8f93e104f23eb3d18b2b51c9 (diff) | |
download | guix-f954c9b5da256009fc41483e8fccd9bee1504870.tar.gz |
substitute: Internationalize signature and download messages.
* guix/scripts/substitute.scm (assert-valid-narinfo): Use gettext for messages.
-rwxr-xr-x | guix/scripts/substitute.scm | 6 |
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)))) |