aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRostislav Svoboda <rostislav.svoboda@gmail.com>2024-05-12 09:34:29 +0100
committerChristopher Baines <mail@cbaines.net>2024-05-13 09:11:05 +0100
commite5fa18b6285c59b6e9f8debe0ffde9ef5055f3a2 (patch)
tree176f342755d357fd4421388df78de316cbe50ba0
parent63dfce508a71138b49b93759c8a0f593095c81e7 (diff)
downloadguix-e5fa18b6285c59b6e9f8debe0ffde9ef5055f3a2.tar.gz
guix-e5fa18b6285c59b6e9f8debe0ffde9ef5055f3a2.zip
guix: channels: Handle single case with authenticating message.
* guix/channels.scm (authenticate-channel): Handle single case with authenticating message. Change-Id: I7759607f37405e6d3bd4b7f5958fd11d908db204 Reviewed-by: Dale Mellor <guix-devel-0brg6a@rdmp.org> Signed-off-by: Christopher Baines <mail@cbaines.net>
-rw-r--r--guix/channels.scm9
1 files changed, 7 insertions, 2 deletions
diff --git a/guix/channels.scm b/guix/channels.scm
index 51024dcad4..0d7bc541cc 100644
--- a/guix/channels.scm
+++ b/guix/channels.scm
@@ -3,6 +3,8 @@
;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2019 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
+;;; Copyright © 2024 Julien Lepiller <julien@lepiller.eu>
+;;; Copyright © 2024 Rostislav Svoboda <Rostislav.Svoboda@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -364,8 +366,11 @@ fails."
(define (make-reporter start-commit end-commit commits)
(format (current-error-port)
- (G_ "Authenticating channel '~a', commits ~a to ~a (~h new \
-commits)...~%")
+ (N_ "Authenticating channel '~a', commits ~a to ~a (~h new \
+commit)...~%"
+ "Authenticating channel '~a', commits ~a to ~a (~h new \
+commits)...~%"
+ (length commits))
(channel-name channel)
(commit-short-id start-commit)
(commit-short-id end-commit)