[1.25.06] lang=is changes.

git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@21 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2007-05-23 18:30:18 +00:00
parent ae4ae76802
commit 232efce212
11 changed files with 19 additions and 10 deletions
+2 -3
View File
@@ -295,7 +295,7 @@ void TranslDlg::OnCommand(wxCommandEvent& event)
case MENU_SPEAK_TRANSLATE:
SpeakNextClause(NULL,NULL,2); // stop speaking file
strncpy0(buf,t_source->GetValue().mb_str(wxConvLocal),sizeof(buf));
strncpy0(buf,t_source->GetValue().mb_str(wxConvUTF8),sizeof(buf));
phon_out[0] = 0;
n_ph_list = 0;
clause_count = 0;
@@ -329,14 +329,13 @@ void TranslDlg::OnCommand(wxCommandEvent& event)
rewind(f_trans);
while(fgets(buf,sizeof(buf),f_trans) != NULL)
{
t_phonetic->AppendText(wxString(buf,wxConvLocal));
t_phonetic->AppendText(wxString(buf,wxConvUTF8));
}
t_phonetic->AppendText(_T("---\n"));
fclose(f_trans);
remove(fname_temp);
}
t_phonetic->AppendText(wxString(phon_out,wxConvLocal));
// MbrolaTranslate(ph_list,n_ph_list,stdout); // for Testing
break;
case T_PROCESS: