mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
make CLI output use singular/plural when appropriate (bug #4654)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1680,7 +1680,7 @@ static int handle_parkedcalls(int fd, int argc, char *argv[])
|
||||
cur = cur->next;
|
||||
numparked++;
|
||||
}
|
||||
ast_cli(fd, "%d parked call(s).\n",numparked);
|
||||
ast_cli(fd, "%d parked call%s.\n", numparked, (numparked != 1) ? "s" : "");
|
||||
|
||||
ast_mutex_unlock(&parking_lock);
|
||||
|
||||
|
Reference in New Issue
Block a user