diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-10-13 23:27:24 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-10-13 23:27:24 +0100 |
| commit | cfab5000062770d7df5bbf420111dc198c966963 (patch) | |
| tree | adadc996df8d972b36f86fe743d14778778c3b9d /src | |
| parent | 8ce95511e4551065d2e948bcd008ac9c304c090a (diff) | |
Another attempt to fix wxWidgets i18n on Debian/Ubuntu.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/wx_util.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc index 1e501f54f..7f15217f1 100644 --- a/src/wx/wx_util.cc +++ b/src/wx/wx_util.cc @@ -280,6 +280,14 @@ dcpomatic_setup_i18n () locale->AddCatalogLookupPathPrefix (POSIX_LOCALE_PREFIX); #endif +#ifdef DCPOMATIC_LINUX + /* We have to include the wxWidgets .mo in our distribution, + so we rename it to avoid clashes with any other installation + of wxWidgets. + */ + locale->AddCatalog (wxT ("dcpomatic-wxstd")); +#endif + locale->AddCatalog (wxT ("libdcpomatic-wx")); locale->AddCatalog (wxT ("dcpomatic")); |
