X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fwx_util.cc;h=515550e5901b91327f49de0942df230bb7d10c55;hb=89cd28f73417782462bc23425de65eb087b5967b;hp=249b8d0e4b727101f75cce957ada930eb41e67f1;hpb=16a7ea91e973b327735658857cbf996cc740be77;p=dcpomatic.git diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc index 249b8d0e4..515550e59 100644 --- a/src/wx/wx_util.cc +++ b/src/wx/wx_util.cc @@ -151,6 +151,7 @@ void ThreadedStaticText::thread_finished (wxCommandEvent& ev) { SetLabel (ev.GetString ()); + Finished (); } string @@ -259,6 +260,10 @@ dcpomatic_setup_i18n () locale->AddCatalogLookupPathPrefix (std_to_wx (mo_path().string())); #endif +#ifdef DCPOMATIC_POSIX + locale->AddCatalogLookupPathPrefix (POSIX_LOCALE_PREFIX); +#endif + locale->AddCatalog (wxT ("libdcpomatic-wx")); locale->AddCatalog (wxT ("dcpomatic"));