From b8ed8abbabb9cca733805415476935e2f6a74ec9 Mon Sep 17 00:00:00 2001 From: Valient Gough Date: Fri, 13 Mar 2015 21:49:56 -0700 Subject: [PATCH] add comment about misuse of ngettext --- encfs/encfsctl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/encfs/encfsctl.cpp b/encfs/encfsctl.cpp index c59cf79..e01880b 100644 --- a/encfs/encfsctl.cpp +++ b/encfs/encfsctl.cpp @@ -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";