mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
get our grammar right when complaining about un-recommended versions
svn:r5950
This commit is contained in:
parent
5f051574d5
commit
85a64b4fd0
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user