From 85a64b4fd0521af16ea4c2f07b1639925aafa193 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Thu, 9 Feb 2006 06:08:59 +0000 Subject: [PATCH] get our grammar right when complaining about un-recommended versions svn:r5950 --- src/or/routerlist.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/or/routerlist.c b/src/or/routerlist.c index f9e7e7d720..df56fe64c1 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -2825,9 +2825,10 @@ routers_update_all_from_networkstatus(void) warn(LD_GENERAL, "Please upgrade! " "This version of Tor (%s) is %s, according to " "%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", - 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; tor_free(rec); }