FIX: use current_language_code_safe() for valid language

Change-Id: I480730055588aa76bd40f35e6c4bcbe9833c330d
This commit is contained in:
chunmao.guo authored and lane.wei committed 2023-08-15 21:39:50 +08:00
1 parent 74a1bb8c0f
commit c5bba1fa85
6 files changed
+9 -24

No files matched your search

+1 -1
View File
@@ -437,7 +437,7 @@ static std::string generate_system_info_json()
);
#endif // __WXGTK__
data_node.put("SystemLanguage", sys_language);
data_node.put("TranslationLanguage: ", wxGetApp().app_config->get("language"));
data_node.put("TranslationLanguage: ", wxGetApp().current_language_code_safe());
pt::ptree hw_node;