mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-19 04:37:52 -06:00
FIX: fix hms display error when language code is empty
Change-Id: I1bf5185ef808bd8f8bbe75cf4a62d2825fffefe0 Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
0193e70a9e
commit
a06de19577
2 changed files with 59 additions and 18 deletions
|
@ -24,12 +24,14 @@ protected:
|
|||
int load_from_local(std::string& version_info);
|
||||
int save_to_local();
|
||||
std::string get_hms_file();
|
||||
wxString _query_hms_msg(std::string long_error_code, std::string lang_code = "en");
|
||||
wxString _query_error_msg(std::string long_error_code, std::string lang_code = "en");
|
||||
public:
|
||||
HMSQuery() {}
|
||||
int check_hms_info();
|
||||
wxString query_hms_msg(std::string long_error_code);
|
||||
wxString query_error_msg(std::string error_code);
|
||||
wxString query_print_error_msg(int print_error);
|
||||
static std::string hms_language_code();
|
||||
};
|
||||
|
||||
int get_hms_info_version(std::string &version);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue