diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-05-14 01:05:06 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-05-24 00:43:55 +0200 |
| commit | 09fbc3882ea919d67427ec7c90c8051871145074 (patch) | |
| tree | 260ce0bb8372bd93c367d006062783f7fd7374e8 /src | |
| parent | 16944d92529c44848c03b7b9c00f797550489493 (diff) | |
Make method name more accurate.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/util.cc | 2 | ||||
| -rw-r--r-- | src/lib/util.h | 2 | ||||
| -rw-r--r-- | src/wx/wx_util.cc | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc index cab361e78..fc8cf114d 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -554,7 +554,7 @@ mo_path() void -dcpomatic_setup_gettext_i18n(string lang) +dcpomatic_setup_c_and_gettext_i18n(string lang) { #ifdef DCPOMATIC_LINUX if (!lang.empty()) { diff --git a/src/lib/util.h b/src/lib/util.h index fefb9d0a3..ace26b98f 100644 --- a/src/lib/util.h +++ b/src/lib/util.h @@ -67,7 +67,7 @@ extern std::string seconds_to_approximate_hms(int); extern double seconds(struct timeval); extern void dcpomatic_setup(); extern void dcpomatic_setup_path_encoding(); -extern void dcpomatic_setup_gettext_i18n(std::string); +extern void dcpomatic_setup_c_and_gettext_i18n(std::string); extern std::string digest_head_tail(std::vector<boost::filesystem::path>, boost::uintmax_t size); extern std::string simple_digest(std::vector<boost::filesystem::path> paths); extern void ensure_ui_thread(); diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc index e261a527e..3e5dd7b76 100644 --- a/src/wx/wx_util.cc +++ b/src/wx/wx_util.cc @@ -488,7 +488,7 @@ dcpomatic_setup_i18n() wxTranslations::Set(translations); - dcpomatic_setup_gettext_i18n(config_lang.get_value_or("")); + dcpomatic_setup_c_and_gettext_i18n(config_lang.get_value_or("")); } #else @@ -539,7 +539,7 @@ dcpomatic_setup_i18n () } if (locale) { - dcpomatic_setup_gettext_i18n (wx_to_std (locale->GetCanonicalName ())); + dcpomatic_setup_c_and_gettext_i18n(wx_to_std(locale->GetCanonicalName())); } } |
