summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/util.cc3
-rw-r--r--src/tools/dvdomatic.cc2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc
index 892a7fd86..3d70a3122 100644
--- a/src/lib/util.cc
+++ b/src/lib/util.cc
@@ -235,7 +235,8 @@ seconds (struct timeval t)
void
dvdomatic_setup ()
{
- bindtextdomain ("libdvdomatic", LOCALE_DIR);
+ bindtextdomain ("libdvdomatic", LOCALE_PREFIX);
+ setlocale (LC_ALL, "");
avfilter_register_all ();
diff --git a/src/tools/dvdomatic.cc b/src/tools/dvdomatic.cc
index 52e551d2a..024f5a53e 100644
--- a/src/tools/dvdomatic.cc
+++ b/src/tools/dvdomatic.cc
@@ -443,7 +443,7 @@ setup_i18n ()
locale = new wxLocale (language, wxLOCALE_LOAD_DEFAULT);
#ifdef __WXGTK__
- locale->AddCatalogLookupPathPrefix (wxT (LOCALE_DIR));
+ locale->AddCatalogLookupPathPrefix (wxT (LOCALE_PREFIX "/locale"));
#endif
locale->AddCatalog ("libdvdomatic-wx");