Try to fix missing inbuilt translations of wxWidgets in Fedora (#1502). v2.13.136
authorCarl Hetherington <cth@carlh.net>
Mon, 25 Mar 2019 00:43:58 +0000 (00:43 +0000)
committerCarl Hetherington <cth@carlh.net>
Mon, 25 Mar 2019 00:43:58 +0000 (00:43 +0000)
src/wx/wx_util.cc

index f77cfacd374aaea6330cce2fc807ee17237496c2..747d1df04c269290fc350d6cdf474dda61f0d2c9 100644 (file)
@@ -361,6 +361,9 @@ dcpomatic_setup_i18n ()
                   of wxWidgets.
                */
                locale->AddCatalog (wxT ("dcpomatic2-wxstd"));
+
+               /* Fedora 29 (at least) installs wxstd3.mo instead of wxstd.mo */
+               locale->AddCatalog (wxT ("wxstd3"));
 #endif
 
                locale->AddCatalog (wxT ("libdcpomatic2-wx"));