projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75518e1
)
Forward-port .mo search path fix from master.
author
Carl Hetherington
<cth@carlh.net>
Mon, 19 Aug 2013 14:25:08 +0000
(15:25 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 19 Aug 2013 14:25:08 +0000
(15:25 +0100)
src/wx/wx_util.cc
patch
|
blob
|
history
diff --git
a/src/wx/wx_util.cc
b/src/wx/wx_util.cc
index 249b8d0e4b727101f75cce957ada930eb41e67f1..20fd2df755f30240e93995ac9639386085c67d34 100644
(file)
--- 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"));