From a1da0904a6631ee6f6c12286427f2124bb479e4a Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 1 Jun 2020 04:53:33 +0530 Subject: ui: Do not translate package synopsis a second time. * guix/ui.scm (package->recutils): package-synopsis-string already returns a translated string. Do not attempt to translate it again. --- guix/ui.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'guix/ui.scm') diff --git a/guix/ui.scm b/guix/ui.scm index c1c9b6e3ea..d4c912a02e 100644 --- a/guix/ui.scm +++ b/guix/ui.scm @@ -1465,8 +1465,7 @@ HYPERLINKS? is true, emit hyperlink escape sequences when appropriate." (string-map (match-lambda (#\newline #\space) (chr chr)) - (or (and=> (package-synopsis-string p) P_) - ""))) + (or (package-synopsis-string p) ""))) (format port "~a~%" (string->recutils (string-trim-right -- cgit v1.2.3