From fe1818e26a7ff7e2792cfb5c20a92b443bc6a3a0 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 20 Jun 2013 21:24:14 +0200 Subject: package: Fix i18n of the number of packages message. * guix/scripts/package.scm (guix-package)[process-actions]: Use `N_' for i18n of the number of packages message. --- guix/scripts/package.scm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm index 0006cbd80f..11301ccff2 100644 --- a/guix/scripts/package.scm +++ b/guix/scripts/package.scm @@ -846,11 +846,13 @@ (define (show-what-to-remove/install remove install dry-run?) (current-error-port) (%make-void-port "w")))) (build-derivations (%store) (list prof-drv))) - (begin + (let ((count (length packages))) (switch-symlinks name prof) (switch-symlinks profile name) - (format #t (_ "~a packages in profile~%") - (length packages)) + (format #t (N_ "~a package in profile~%" + "~a packages in profile~%" + count) + count) (display-search-paths packages profile)))))))))) -- cgit v1.2.3