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

From: Maxime Devos <[email-masked]>
Date: Thu, 22 Apr 2021 18:42:23 +0200

+  (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.