]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7685: [mod_say_nl] Fix Dutch numbers pronunciation
authorHristo Trendev <htrendev@gmail.com>
Fri, 19 Jun 2015 08:54:18 +0000 (10:54 +0200)
committerMichael Jerris <mike@jerris.com>
Tue, 25 Aug 2015 19:46:39 +0000 (14:46 -0500)
The Dutch number pronunciation is more like the German one. 21 is
pronounced as "one-and-twenty".

FS-7685 #resolve

src/mod/say/mod_say_nl/mod_say_nl.c

index 6ab2bb98bb2cd40393f5c89787c07d24e34e127c..543dd8d3b40ac02e521252371c029034f9d3afe3 100644 (file)
@@ -91,11 +91,15 @@ static switch_status_t play_group(switch_say_method_t method, int a, int b, int
 
        if (b) {
                if (b > 1) {
+                       if (c) {
+                               say_file("digits/%d.wav", c);
+                               say_file("currency/and.wav");
+                       }
                        say_file("digits/%d0.wav", b);
                } else {
                        say_file("digits/%d%d.wav", b, c);
-                       c = 0;
                }
+               c = 0;
        }
 
        if (c) {