https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r46857 | russell | 2006-11-01 18:01:48 -0500 (Wed, 01 Nov 2006) | 2 lines
fix saying one hundred and two hundred in hebrew (issue #7810, eldadran)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46863
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
/* Extra sounds needed:
1F: feminin 'one'
ve: 'and'
- 2hundred: 2 hundred
+ 1hundred: 1 hundred
+ 2hundred: 2 hundreds
2thousands: 2 thousand
thousands: plural of 'thousand'
3sF 'Smichut forms (female)
num = num % 10;
if (num>0) state=2;
} else if (num < 200) {
- snprintf(fn, sizeof(fn), "digits/hundred");
+ snprintf(fn, sizeof(fn), "digits/1hundred");
num = num - 100;
+ state=2;
} else if (num < 300) {
- snprintf(fn, sizeof(fn), "digits/hundred");
- num = num - 100;
+ snprintf(fn, sizeof(fn), "digits/2hundred");
+ num = num - 200;
+ state=2;
} else if (num < 1000) {
snprintf(fn, sizeof(fn), "digits/%d", (num/100));
state=1;