diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-05-12 00:44:05 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-05-12 00:44:05 +0200 |
| commit | 76dd507f45f52cf3b969df5fb393dfbb7db1cedc (patch) | |
| tree | ac9511ab023c61d4a42e7c1049861e6780bac064 /src/wx | |
| parent | 351297f2b408bbf4e3198bede69a3725e8468334 (diff) | |
haxi18n
Diffstat (limited to 'src/wx')
| -rw-r--r-- | src/wx/wx_util.cc | 4 |
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 |
