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.
This commit is contained in:
Arun Isaac 2020-06-01 04:53:33 +05:30
parent e70a884706
commit a1da0904a6
No known key found for this signature in database
GPG key ID: 2E25EE8B61802BB3

View file

@ -1465,8 +1465,7 @@ (define (package<? p1 p2)
(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