Fix typo (reported by Tonnes).
[Bug 799411] Fix pluralization of "1 replies" with ngettext.
[bug 839417] Replace custom js with input type="number" pattern="\d*".