Always call AddCatalog("wxstd") as it appears to be necessary to
authorCarl Hetherington <cth@carlh.net>
Fri, 8 Sep 2023 22:01:35 +0000 (00:01 +0200)
committerCarl Hetherington <cth@carlh.net>
Fri, 8 Sep 2023 22:01:37 +0000 (00:01 +0200)
get wxWidgets' translations to appear (at least on Windows) (#2606).

src/wx/wx_util.cc

index 6803a8f6c1603245bed7be8aefad8cacdaf1d9fd..5f5a96a46a6f956cfcf30ebbfd7ea78762d8de6c 100644 (file)
@@ -443,8 +443,9 @@ dcpomatic_setup_i18n ()
                locale->AddCatalog (wxT ("wxstd3"));
 #endif
 
-               locale->AddCatalog (wxT ("libdcpomatic2-wx"));
-               locale->AddCatalog (wxT ("dcpomatic2"));
+               locale->AddCatalog(wxT("wxstd"));
+               locale->AddCatalog(wxT("libdcpomatic2-wx"));
+               locale->AddCatalog(wxT("dcpomatic2"));
 
                if (!locale->IsOk()) {
                        delete locale;