bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#44675: guix lint: support for spellchecker or basic grammar


From: Maxime Devos
Subject: bug#44675: guix lint: support for spellchecker or basic grammar
Date: Thu, 22 Apr 2021 18:42:23 +0200
User-agent: Evolution 3.34.2

+  (define (check-pluralized-this-package description)
+    "Check that DESCRIPTION does not contain This packages"

The sentence structure would be clearer if you used quotes here,
something like "Check that DESCRIPTION does not contain ‘This packages’".

+    (if (string-match "This packages" description)
+       (list
+        (make-warning package
+                      (G_ "description contains This Packages but should just 
be This package")))

There are no package descriptions containing "This Packages".
Did you mean "This packages"?
 
> +(test-equal "description: pluralized this package"
Quotes: "description: pluralized ‘this package’".

> +  "description contains This Packages but should just be This package"
Capitalisation error: This Packages --> This packages
Also, quotes: "description contains ‘This packages’ but should just be ‘This 
package’".

Greetings,
Maxime.

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]