Ongoing work on i18n (Linux port).

This commit is contained in:
Gerald Schmidt 2007-09-13 21:21:43 +00:00
parent e4ece4ad0f
commit 24f333d4a8
1 changed files with 3 additions and 3 deletions

View File

@ -267,15 +267,15 @@ MyApp::MyApp() : checker ( NULL ), server ( NULL ), connection ( NULL ),
wxLocale::AddCatalogLookupPathPrefix ( wxT ( "." ) );
wxLocale::AddCatalogLookupPathPrefix ( wxT ( ".." ) );
#ifdef __LINUX__
#ifndef __WXMSW__
wxString poDir = GetLinuxAppDir::run() + wxFileName::GetPathSeparator() + _T ( "po" );
wxLocale::AddCatalogLookupPathPrefix ( poDir );
#endif
if ( !myLocale.AddCatalog ( _T ( "messages" ) ) )
;
;
#ifdef __LINUX__
#ifndef __WXMSW__
{
wxLogNull noLog;
myLocale.AddCatalog ( _T ( "fileutils" ) );