Merge branch 'development'

This commit is contained in:
Reece H. Dunn
2013-12-22 20:29:24 +00:00
27 changed files with 7298 additions and 6490 deletions
+7
View File
@@ -910,6 +910,7 @@ int Unpronouncable(Translator *tr, char *word, int posn)
int vowel_posn=9;
int index;
int count;
ALPHABET *alphabet;
utf8_in(&c,word);
if((tr->letter_bits_offset > 0) && (c < 0x241))
@@ -918,6 +919,12 @@ int Unpronouncable(Translator *tr, char *word, int posn)
return(0); // so we can re-translate the word as English
}
if(((alphabet = AlphabetFromChar(c)) != NULL) && (alphabet->offset != tr->letter_bits_offset))
{
// Character is not in our alphabet
return(0);
}
if(tr->langopts.param[LOPT_UNPRONOUNCABLE] == 1)
return(0);