| 1347 | | if(($this ->current_language=='ru')&&(strtolower($this->currency)=='usd')&& ( ( $units%10==2) || ($units%10==3 )|| ($units%10==4)) ){ |
|---|
| 1348 | | // test for the specific grammatical rules in RUssian |
|---|
| 1349 | | $agi-> stream_file('dollar2', '#'); |
|---|
| 1350 | | }elseif(($this ->current_language=='ru')&&(strtolower($this->currency)=='usd')&& ( $units%10==1)) { |
|---|
| 1351 | | // test for the specific grammatical rules in RUssian |
|---|
| 1352 | | $agi-> stream_file($unit_audio, '#'); |
|---|
| 1353 | | }else{ |
|---|
| 1354 | | $agi-> stream_file($units_audio, '#'); |
|---|
| 1355 | | } |
|---|
| 1356 | | |
|---|
| 1357 | | }else{ |
|---|
| | 1347 | if (($this ->current_language=='ru') && (strtolower($this->currency)=='usd') && ( ( $units%10==2) || ($units%10==3 ) || ($units%10==4)) ) { |
|---|
| | 1348 | // test for the specific grammatical rules in Russian |
|---|
| | 1349 | $agi-> stream_file('dollar2', '#'); |
|---|
| | 1350 | }elseif (($this ->current_language=='ru') && (strtolower($this->currency)=='usd') && ( $units%10==1)) { |
|---|
| | 1351 | // test for the specific grammatical rules in Russian |
|---|
| | 1352 | $agi-> stream_file($unit_audio, '#'); |
|---|
| | 1353 | } else { |
|---|
| | 1354 | $agi-> stream_file($units_audio, '#'); |
|---|
| | 1355 | } |
|---|
| | 1356 | |
|---|
| | 1357 | } else { |
|---|