提交 c9261be6 authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-3942

上级 803d25c4
...@@ -87,7 +87,7 @@ static switch_status_t play_group(switch_say_method_t method, switch_say_gender_ ...@@ -87,7 +87,7 @@ static switch_status_t play_group(switch_say_method_t method, switch_say_gender_
if (a) { if (a) {
/*german nominativ for "one" in numbers like 21, 171, 4591 is flexed("ein" instead of "eins"), 2-9 are not*/ /*german nominativ for "one" in numbers like 21, 171, 4591 is flexed("ein" instead of "eins"), 2-9 are not*/
if ( a == 1 ) { if ( a == 1 ) {
say_file("digits/s-%d.wav"); say_file("digits/s-1.wav");
} else { } else {
say_file("digits/%d.wav", a); say_file("digits/%d.wav", a);
} }
...@@ -98,7 +98,7 @@ static switch_status_t play_group(switch_say_method_t method, switch_say_gender_ ...@@ -98,7 +98,7 @@ static switch_status_t play_group(switch_say_method_t method, switch_say_gender_
if (b > 1) { if (b > 1) {
/*german nominativ for "one" in numbers like 21, 171, 4591 is flexed, 2-9 are not*/ /*german nominativ for "one" in numbers like 21, 171, 4591 is flexed, 2-9 are not*/
if ( c == 1 ) { if ( c == 1 ) {
say_file("digits/s-%d.wav"); say_file("digits/s-1.wav");
} else { } else {
say_file("digits/%d.wav", c); say_file("digits/%d.wav", c);
} }
...@@ -127,7 +127,7 @@ static switch_status_t play_group(switch_say_method_t method, switch_say_gender_ ...@@ -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 ) { if ( b == 0 && c == 1 && gender == SSG_FEMININE ) {
say_file("digits/%d_f.wav", c); say_file("digits/%d_f.wav", c);
} else if ( b == 0 && c == 1 && what ) { } else if ( b == 0 && c == 1 && what ) {
say_file("digits/s-%d.wav"); say_file("digits/s-1.wav");
} else { } else {
say_file("digits/%d.wav", c); say_file("digits/%d.wav", c);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论