summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-09-09 00:01:35 +0200
committerCarl Hetherington <cth@carlh.net>2023-09-09 00:01:37 +0200
commit66d4fe52634fd8fb04dde0059d2018641ef3f541 (patch)
treef1d32c1795995a2f443af1d353cd185a4757d410
parentc9adcaa9bed0ade0c763c207ee6305a8f397fe41 (diff)
Always call AddCatalog("wxstd") as it appears to be necessary to
get wxWidgets' translations to appear (at least on Windows) (#2606).
-rw-r--r--src/wx/wx_util.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc
index 6803a8f6c..5f5a96a46 100644
--- a/src/wx/wx_util.cc
+++ b/src/wx/wx_util.cc
@@ -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;