[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] get our grammar right when complaining about un-recommended...



Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	routerlist.c 
Log Message:
get our grammar right when complaining about un-recommended versions


Index: routerlist.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.441
retrieving revision 1.442
diff -u -p -d -r1.441 -r1.442
--- routerlist.c	9 Feb 2006 05:46:49 -0000	1.441
+++ routerlist.c	9 Feb 2006 06:08:59 -0000	1.442
@@ -2825,9 +2825,10 @@ routers_update_all_from_networkstatus(vo
         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);
       }