diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-08-19 15:25:08 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-08-19 15:25:08 +0100 |
| commit | 2b1f823c64e400de11799849c4788d4ee774b286 (patch) | |
| tree | ea46efed676b6210d2b8c953d9a52244794d60ec /src | |
| parent | 75518e16a2c35400ac641975c74ff72b404cef69 (diff) | |
Forward-port .mo search path fix from master.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/wx_util.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc index 249b8d0e4..20fd2df75 100644 --- a/src/wx/wx_util.cc +++ b/src/wx/wx_util.cc @@ -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")); |
