Ongoing work on i18n (Linux port).
This commit is contained in:
parent
e4ece4ad0f
commit
24f333d4a8
|
@ -267,7 +267,7 @@ MyApp::MyApp() : checker ( NULL ), server ( NULL ), connection ( NULL ),
|
||||||
wxLocale::AddCatalogLookupPathPrefix ( wxT ( "." ) );
|
wxLocale::AddCatalogLookupPathPrefix ( wxT ( "." ) );
|
||||||
wxLocale::AddCatalogLookupPathPrefix ( wxT ( ".." ) );
|
wxLocale::AddCatalogLookupPathPrefix ( wxT ( ".." ) );
|
||||||
|
|
||||||
#ifdef __LINUX__
|
#ifndef __WXMSW__
|
||||||
wxString poDir = GetLinuxAppDir::run() + wxFileName::GetPathSeparator() + _T ( "po" );
|
wxString poDir = GetLinuxAppDir::run() + wxFileName::GetPathSeparator() + _T ( "po" );
|
||||||
wxLocale::AddCatalogLookupPathPrefix ( poDir );
|
wxLocale::AddCatalogLookupPathPrefix ( poDir );
|
||||||
#endif
|
#endif
|
||||||
|
@ -275,7 +275,7 @@ MyApp::MyApp() : checker ( NULL ), server ( NULL ), connection ( NULL ),
|
||||||
if ( !myLocale.AddCatalog ( _T ( "messages" ) ) )
|
if ( !myLocale.AddCatalog ( _T ( "messages" ) ) )
|
||||||
;
|
;
|
||||||
|
|
||||||
#ifdef __LINUX__
|
#ifndef __WXMSW__
|
||||||
{
|
{
|
||||||
wxLogNull noLog;
|
wxLogNull noLog;
|
||||||
myLocale.AddCatalog ( _T ( "fileutils" ) );
|
myLocale.AddCatalog ( _T ( "fileutils" ) );
|
||||||
|
|
Loading…
Reference in New Issue