mirror of https://github.com/odrling/Aegisub
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:
parent
e1469154ea
commit
41f39f65d7
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue