Skip to content

Smarter pluralization for applied suggestion commit messages

When committing multiple suggestions, we currently use the string Apply X suggestion(s) to Y file(s). Regardless of the actual value for X or Y, we use the literal strings suggestion(s) and file(s). It seems like a fairly straight-forward iterative improvement to dynamically pluralize these 2 strings.