diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-07-07 22:32:20 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-07-07 22:32:20 +0000 |
commit | 09ab7d67e46379ba55856910f944bd9644efd342 (patch) | |
tree | a573b667aaa5d433b557f82b7ca439d79d1fd191 /apps/app_read.c | |
parent | 3b6e3a55a2ee320d30c3e4f0701a6bc8a5e230f9 (diff) |
make CLI output use singular/plural when appropriate (bug #4654)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6047 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_read.c')
-rwxr-xr-x | apps/app_read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_read.c b/apps/app_read.c index 0f0ab3752..0884c0d8b 100755 --- a/apps/app_read.c +++ b/apps/app_read.c @@ -159,7 +159,7 @@ static int read_exec(struct ast_channel *chan, void *data) tries--; if (option_verbose > 2) { if (tries) - ast_verbose(VERBOSE_PREFIX_3 "User entered nothing, %d chance(s) left\n", tries); + ast_verbose(VERBOSE_PREFIX_3 "User entered nothing, %d chance%s left\n", tries, (tries != 1) ? "s" : ""); else ast_verbose(VERBOSE_PREFIX_3 "User entered nothing.\n"); } |