From 76dd507f45f52cf3b969df5fb393dfbb7db1cedc Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 12 May 2025 00:44:05 +0200 Subject: hax --- src/wx/wx_util.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/wx') 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 -- cgit v1.2.3