summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-10-10 12:12:05 +0200
committerCarl Hetherington <cth@carlh.net>2024-10-14 23:10:52 +0200
commit4d900a0bd402bb8813b3fd8603766105038bad1d (patch)
tree4a6959e89b4ed60c044bc7e8e900f4acc18025e1
parent559ca18f3ea4c8074c31959be78154a6ba16edc5 (diff)
Fix lookup of wxWidgets i18n on Windows and macOS.
-rw-r--r--src/wx/wx_util.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc
index 480acc872..8a0438ae8 100644
--- a/src/wx/wx_util.cc
+++ b/src/wx/wx_util.cc
@@ -496,6 +496,7 @@ dcpomatic_setup_i18n ()
#ifdef DCPOMATIC_WINDOWS
locale->AddCatalogLookupPathPrefix (std_to_wx (mo_path().string()));
+ locale->AddCatalog(char_to_wx("wxstd-3.1"));
#endif
#ifdef DCPOMATIC_LINUX
@@ -512,6 +513,7 @@ dcpomatic_setup_i18n ()
#endif
locale->AddCatalog(char_to_wx("wxstd"));
+ locale->AddCatalog(char_to_wx("wxstd-3.2"));
locale->AddCatalog(char_to_wx("libdcpomatic2-wx"));
locale->AddCatalog(char_to_wx("dcpomatic2"));