diff options
author | Roger Dingledine <arma@torproject.org> | 2006-02-09 06:08:59 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-02-09 06:08:59 +0000 |
commit | 85a64b4fd0521af16ea4c2f07b1639925aafa193 (patch) | |
tree | 7ac7de72f31a7b79b764704363e6dafcce8c9c74 /src | |
parent | 5f051574d52b4cfa861a6fd77c43e080b58d6b2b (diff) | |
download | tor-85a64b4fd0521af16ea4c2f07b1639925aafa193.tar.gz tor-85a64b4fd0521af16ea4c2f07b1639925aafa193.zip |
get our grammar right when complaining about un-recommended versions
svn:r5950
Diffstat (limited to 'src')
-rw-r--r-- | src/or/routerlist.c | 5 |
1 files 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); } |