Added translation to Russian. Fixed non-standard lamda in crossword generating. Added release builder script

This commit is contained in:
2015-07-23 22:53:56 +03:00
parent fb3a3fb19a
commit da28a8687f
11 changed files with 457 additions and 5 deletions

View File

@@ -16,13 +16,20 @@ IMPLEMENT_APP(MyApp)
bool MyApp::OnInit()
{
m_locale.Init();
wxLocale::AddCatalogLookupPathPrefix(wxT("."));
#ifdef APP_LOCALE_DIR
m_locale.AddCatalogLookupPathPrefix(wxT(APP_LOCALE_DIR));
#endif
m_locale.AddCatalog(wxT(APP_CATALOG));
#ifdef __LINUX__
{
wxLogNull noLog;
m_locale.AddCatalog(wxT("fileutils"));
}
#endif
SetAppName(wxT("CrossGen"));
wxInitAllImageHandlers();
wxConfigBase *config = new wxFileConfig;
wxConfigBase::Set(config);