diff options
author | Arun Isaac <arunisaac@systemreboot.net> | 2020-06-01 04:53:33 +0530 |
---|---|---|
committer | Arun Isaac <arunisaac@systemreboot.net> | 2020-06-15 23:31:56 +0530 |
commit | a1da0904a6631ee6f6c12286427f2124bb479e4a (patch) | |
tree | 69ed59305bc543b4fef1eff37405b8391acdf31c | |
parent | e70a88470622b513366076a0c435648daa56c084 (diff) | |
download | guix-a1da0904a6631ee6f6c12286427f2124bb479e4a.tar.gz guix-a1da0904a6631ee6f6c12286427f2124bb479e4a.zip |
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.scm | 3 |
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 |