diff --git a/aegisub/reporter/main.cpp b/aegisub/reporter/main.cpp index 5f02459ab..36f65135a 100644 --- a/aegisub/reporter/main.cpp +++ b/aegisub/reporter/main.cpp @@ -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");