mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-23 04:14:47 +00:00
Chinese say now say "one" before "ten" for numbers >99
This commit is contained in:
parent
e4888349e1
commit
34807208c6
@ -167,7 +167,7 @@ static switch_status_t zh_say_general_count(switch_core_session_t *session, char
|
|||||||
case 8:
|
case 8:
|
||||||
/* Hundred thousands or tens column */
|
/* Hundred thousands or tens column */
|
||||||
if (digits[i] != '0') {
|
if (digits[i] != '0') {
|
||||||
if (digits[i] != '1')
|
if (digits[i] != '1' || (digits[i] == '1' && digits[i - 1] > '0'))
|
||||||
say_file("digits/%c.wav", digits[i]);
|
say_file("digits/%c.wav", digits[i]);
|
||||||
say_file("digits/10.wav");
|
say_file("digits/10.wav");
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user