]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
correct french pronounciation of years between 1900 and 1999 (bug #3949)
authorKevin P. Fleming <kpfleming@digium.com>
Tue, 5 Apr 2005 04:26:59 +0000 (04:26 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Tue, 5 Apr 2005 04:26:59 +0000 (04:26 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5389 65c4cc65-6c06-0410-ace0-fbb531ad65f3

say.c

diff --git a/say.c b/say.c
index ea5a9ff84c4c96b2eab88759651abd37dab8010a..ad6dc4a2d1453f7e39f0dc80f9f0052aa0633b7e 100755 (executable)
--- a/say.c
+++ b/say.c
@@ -3724,8 +3724,10 @@ int ast_say_date_with_format_fr(struct ast_channel *chan, time_t time, const cha
                                                /* I'm not going to handle 1900 and prior */
                                                /* We'll just be silent on the year, instead of bombing out. */
                                        } else {
-                                               res = wait_file(chan,ints, "digits/19",lang);
+                                               res = wait_file(chan,ints, "digits/thousand",lang);
                                                if (!res) {
+                                                       wait_file(chan,ints, "digits/9",lang);
+                                                       wait_file(chan,ints, "digits/hundred",lang);
                                                        res = ast_say_number(chan, tm.tm_year, ints, lang, (char * ) NULL);
                                                }
                                        }