Browse Source

bpy: fixed abbreviation for Manipuri language

master
Valdis Vitolins 7 years ago
parent
commit
2f8d410055
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/libespeak-ng/tr_languages.c

+ 2
- 2
src/libespeak-ng/tr_languages.c View File

break; break;
case L('b', 'n'): // Bengali case L('b', 'n'): // Bengali
case L('a', 's'): // Assamese case L('a', 's'): // Assamese
case L3('m', 'n', 'i'): // Manipuri (temporary placement - it's not indo-european)
case L3('b', 'p', 'y'): // Manipuri (temporary placement - it's not indo-european)
{ {
static const short stress_lengths_bn[8] = { 180, 180, 210, 210, 0, 0, 230, 240 }; static const short stress_lengths_bn[8] = { 180, 180, 210, 210, 0, 0, 230, 240 };
static const unsigned char stress_amps_bn[8] = { 18, 18, 18, 18, 20, 20, 22, 22 }; static const unsigned char stress_amps_bn[8] = { 18, 18, 18, 18, 20, 20, 22, 22 };
tr->langopts.numbers = NUM_SWAP_TENS; tr->langopts.numbers = NUM_SWAP_TENS;
tr->langopts.break_numbers = 0x24924aa8; // for languages which have numbers for 100,000 and 100,00,000, eg Hindi tr->langopts.break_numbers = 0x24924aa8; // for languages which have numbers for 100,000 and 100,00,000, eg Hindi


if (name2 == L3('m', 'n', 'i')) {
if (name2 == L3('b', 'p', 'y')) {
tr->langopts.numbers = 1; tr->langopts.numbers = 1;
tr->langopts.numbers2 = NUM2_SWAP_THOUSANDS; tr->langopts.numbers2 = NUM2_SWAP_THOUSANDS;
} }

Loading…
Cancel
Save