GNU bug report logs -
#44675
guix lint: support for spellchecker or basic grammar
Previous Next
Reported by: Vagrant Cascadian <vagrant <at> debian.org>
Date: Mon, 16 Nov 2020 01:55:01 UTC
Severity: normal
Tags: easy
Done: Vagrant Cascadian <vagrant <at> debian.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
+ (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.
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 3 years and 292 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.