Fix locale dir under windows, I forgot to change it after copying and pasting some code from aegisub.

Originally committed to SVN as r3611.
This commit is contained in:
Amar Takhar 2009-10-03 17:37:09 +00:00
parent e1469154ea
commit 41f39f65d7

View file

@ -77,7 +77,8 @@ bool Reporter::OnInit()
wxLocale *locale = new wxLocale();
locale->Init(wxLANGUAGE_ENGLISH);
#ifdef __WINDOWS__
//locale->AddCatalogLookupPathPrefix(Aegisub::DecodePath(_T("?data/locale")));
wxStandardPathsBase &paths = wxStandardPaths::Get();
locale->AddCatalogLookupPathPrefix(wxString::Format("%s/locale", paths.GetDataDir()));
locale->AddCatalog(_T("reporter"));
#else
locale->AddCatalog("reporter");