Forward-port .mo search path fix from master.
authorCarl Hetherington <cth@carlh.net>
Mon, 19 Aug 2013 14:25:08 +0000 (15:25 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 19 Aug 2013 14:25:08 +0000 (15:25 +0100)
src/wx/wx_util.cc

index 249b8d0e4b727101f75cce957ada930eb41e67f1..20fd2df755f30240e93995ac9639386085c67d34 100644 (file)
@@ -259,6 +259,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"));