summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/wx_util.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc
index 9b56b3183..3cbcf443b 100644
--- a/src/wx/wx_util.cc
+++ b/src/wx/wx_util.cc
@@ -485,7 +485,7 @@ dcpomatic_setup_i18n()
wxTranslations::Set(translations);
- dcpomatic_setup_c_and_gettext_i18n(config_lang.get_value_or(""));
+ dcpomatic_setup_c_and_gettext_i18n();
}
#else
@@ -518,7 +518,7 @@ dcpomatic_setup_i18n()
translations->AddAvailableCatalog(char_to_wx("dcpomatic2"));
/* Set up C library and gettext i18n */
- dcpomatic_setup_c_and_gettext_i18n(wx_to_std(translations->GetBestTranslation(char_to_wx("dcpomatic2"))));
+ dcpomatic_setup_c_and_gettext_i18n();
}
#endif