]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3942
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 24 Feb 2012 22:09:30 +0000 (16:09 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 24 Feb 2012 22:09:45 +0000 (16:09 -0600)
src/mod/say/mod_say_de/mod_say_de.c

index 667f3f6669af9fece79a677536873bb35986df63..542e4e6da4fb89bf90783c3f85ff5fba2b73141e 100644 (file)
@@ -87,7 +87,7 @@ static switch_status_t play_group(switch_say_method_t method, switch_say_gender_
        if (a) {
                /*german nominativ for "one" in numbers like 21, 171, 4591 is flexed("ein" instead of "eins"), 2-9 are not*/
                if ( a == 1 ) {
-                       say_file("digits/s-%d.wav");
+                       say_file("digits/s-1.wav");
                } else {
                        say_file("digits/%d.wav", a);
                }
@@ -98,7 +98,7 @@ static switch_status_t play_group(switch_say_method_t method, switch_say_gender_
                if (b > 1) {
                        /*german nominativ for "one" in numbers like 21, 171, 4591 is flexed, 2-9 are not*/
                        if ( c == 1 ) {
-                               say_file("digits/s-%d.wav");
+                               say_file("digits/s-1.wav");
                        } else {
                                say_file("digits/%d.wav", c);
                        } 
@@ -127,7 +127,7 @@ static switch_status_t play_group(switch_say_method_t method, switch_say_gender_
                        if ( b == 0  && c == 1 && gender == SSG_FEMININE ) {        
                                say_file("digits/%d_f.wav", c);                         
                        } else if ( b == 0 && c == 1 && what ) {
-                               say_file("digits/s-%d.wav");
+                               say_file("digits/s-1.wav");
                        } else {
                                say_file("digits/%d.wav", c);
                        }