summary refs log tree commit diff
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2020-06-01 04:53:33 +0530
committerArun Isaac <arunisaac@systemreboot.net>2020-06-15 23:31:56 +0530
commita1da0904a6631ee6f6c12286427f2124bb479e4a (patch)
tree69ed59305bc543b4fef1eff37405b8391acdf31c
parente70a88470622b513366076a0c435648daa56c084 (diff)
downloadguix-a1da0904a6631ee6f6c12286427f2124bb479e4a.tar.gz
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.
-rw-r--r--guix/ui.scm3
1 files changed, 1 insertions, 2 deletions
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