[PATCH 4 of 5] templater: port localdate filter to a function

timeless timeless at gmail.com
Tue Sep 1 10:15:11 CDT 2015


> +        raise error.ParseError(_("localdate expects a date information"))

This should be word-smithed.

"a date" (it's singular), works; "date information" works (information is
more or less plural here, and date is an adjective); "a date information"
doesn't work (mixing singular and plural)

You could add "object" to the end, or replace the word information with it;
you could possibly omit "a".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20150901/3e127661/attachment.html>


More information about the Mercurial-devel mailing list