mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-08 07:32:32 +00:00
[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:
+1
-1
@@ -35,7 +35,7 @@
|
||||
#include "translate.h"
|
||||
#include "wave.h"
|
||||
|
||||
const char *version_string = "1.25.04 23.May.07";
|
||||
const char *version_string = "1.25.06 23.May.07";
|
||||
const int version_phdata = 0x012501;
|
||||
|
||||
int option_device_number = -1;
|
||||
|
||||
+2
-3
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user