add comment about misuse of ngettext

This commit is contained in:
Valient Gough 2015-03-13 21:49:56 -07:00
parent a856210a85
commit b8ed8abbab

View File

@ -594,6 +594,8 @@ static int cmd_showcruft(int argc, char **argv) {
int filesFound = showcruft(rootInfo, "/");
// TODO: the singular version should say "Found an invalid file", but all the translations
// depend upon this broken singular form, so it isn't easy to change.
cerr << autosprintf(ngettext("Found %i invalid file.",
"Found %i invalid files.", filesFound),
filesFound) << "\n";