diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-30 18:50:50 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-30 18:50:50 +0000 |
commit | 9c0f89dad092e8df4ca97940331f14abd824df19 (patch) | |
tree | 62fb5737e648f5082772c970887b33976d89c025 /main/say.c | |
parent | b53c5bedf33d80e2a1720ecc0dbde7e95eb8d413 (diff) |
Merged revisions 204475 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r204475 | qwell | 2009-06-30 13:48:35 -0500 (Tue, 30 Jun 2009) | 9 lines
Merged revisions 204474 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r204474 | qwell | 2009-06-30 13:47:06 -0500 (Tue, 30 Jun 2009) | 1 line
Fix ast_say_counted_noun to correctly handle Polish. Fix a comment typo in passing.
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@204476 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/say.c')
-rw-r--r-- | main/say.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/say.c b/main/say.c index 12a7846c9..14911e1c3 100644 --- a/main/say.c +++ b/main/say.c @@ -7786,7 +7786,7 @@ static const char *counted_noun_ending_slavic(int num) if (num == 1) { /* singular */ return ""; } - if (num > 0 && num < 5) { /* 2--5 get genative singular */ + if (num > 0 && num < 5) { /* 2--4 get genative singular */ return "x1"; } else { /* 5--19 get genative plural */ return "x2"; @@ -7802,7 +7802,7 @@ int ast_say_counted_noun(struct ast_channel *chan, int num, const char noun[]) ending = counted_noun_ending_slavic(num); } else if(!strcasecmp(chan->language, "ua")) { /* Ukrainian */ ending = counted_noun_ending_slavic(num); - } else if(!strcasecmp(chan->language, "ua")) { /* Polish */ + } else if(!strcasecmp(chan->language, "pl")) { /* Polish */ ending = counted_noun_ending_slavic(num); } else { /* English and default */ ending = counted_noun_ending_en(num); |