[1.46.27]

Changes to: cy, de, ne, pt, ta.

Lang: pt (brazil) change initial 'r' to [h].
Lang: si, say '%' before the number.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@293 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2012-10-21 13:05:45 +00:00
parent e1fd37b94c
commit 066a898548
24 changed files with 399 additions and 204 deletions
+22 -2
View File
@@ -3418,6 +3418,24 @@ memset(markers_used,0,sizeof(markers_used));
f_errors = stderr;
if(!wxDirExists(path_phsource))
{
if(gui_flag)
{
wxString dirname = wxDirSelector(_T("Phoneme source directory"),path_phsource);
if(!dirname.IsEmpty())
{
path_phsource = dirname;
strncpy0(path_source,path_phsource.mb_str(wxConvLocal),sizeof(path_source)-1);
strcat(path_source,"/");
}
}
else
{
fprintf(stderr,"Can't find phoneme source directory: %s\n",path_source);
}
}
strncpy0(current_fname,source,sizeof(current_fname));
strncpy0(fname,path_phfile.mb_str(wxConvLocal),sizeof(fname));
@@ -3520,8 +3538,10 @@ memset(markers_used,0,sizeof(markers_used));
fprintf(f_errors,"\nRefs %d, Reused %d\n",count_references,duplicate_references);
fclose(f_in);
fclose(f_phdata);
fclose(f_errors);
fclose(f_prog_log);
if(f_errors != stderr)
fclose(f_errors);
if(f_prog_log != NULL)
fclose(f_prog_log);
fclose(f_phindex);
fclose(f_phtab);
fclose(f_phcontents);