[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/03: ui: Do not translate package synopsis a second time.
From: |
guix-commits |
Subject: |
02/03: ui: Do not translate package synopsis a second time. |
Date: |
Mon, 15 Jun 2020 14:06:31 -0400 (EDT) |
arunisaac pushed a commit to branch master
in repository guix.
commit a1da0904a6631ee6f6c12286427f2124bb479e4a
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Mon Jun 1 04:53:33 2020 +0530
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(-)
diff --git a/guix/ui.scm b/guix/ui.scm
index c1c9b6e..d4c912a 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