get our grammar right when complaining about un-recommended versions

svn:r5950
This commit is contained in:
Roger Dingledine 2006-02-09 06:08:59 +00:00
parent 5f051574d5
commit 85a64b4fd0

View File

@ -2825,9 +2825,10 @@ routers_update_all_from_networkstatus(void)
warn(LD_GENERAL, "Please upgrade! " warn(LD_GENERAL, "Please upgrade! "
"This version of Tor (%s) is %s, according to " "This version of Tor (%s) is %s, according to "
"%d/%d recent network statuses. Versions recommended by " "%d/%d recent network statuses. Versions recommended by "
"at least %d recent authorities are: %s", "at least %d recent authorit%s are: %s",
VERSION, consensus == VS_OLD ? "obsolete" : "not recommended", VERSION, consensus == VS_OLD ? "obsolete" : "not recommended",
n_recent-n_recommended, n_recent, n_recent/2, rec); n_recent-n_recommended, n_recent, n_recent/2,
n_recent/2 > 1 ? "ies" : "y", rec);
have_warned_about_old_version = 1; have_warned_about_old_version = 1;
tor_free(rec); tor_free(rec);
} }