ENH:filter domain names in network errors

Change-Id: I86d7f11bb198ac9060a1f1d6e6432f39471c70fb
This commit is contained in:
tao wang 2023-05-24 15:29:05 +08:00 committed by Lane.Wei
parent 8714b3e5e5
commit 6591d1d0ed
5 changed files with 27 additions and 6 deletions

View file

@ -489,6 +489,7 @@ public:
void delete_preset_from_cloud(std::string setting_id);
void preset_deleted_from_cloud(std::string setting_id);
wxString filter_string(wxString str);
wxString current_language_code() const { return m_wxLocale->GetCanonicalName(); }
// Translate the language code to a code, for which Prusa Research maintains translations. Defaults to "en_US".
wxString current_language_code_safe() const;