mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-21 19:02:06 +00:00
FS-6530 Chinese say now say "one" before "ten" for numbers >99
This commit is contained in:
parent
bb839dfc39
commit
a9a6e70915
@ -167,7 +167,7 @@ static switch_status_t zh_say_general_count(switch_core_session_t *session, char
|
||||
case 8:
|
||||
/* Hundred thousands or tens column */
|
||||
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/10.wav");
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user