mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-02 10:02:48 +00:00
Added menu item for selection of application language from the list of installed languages.
* m_Local and its functions moved to GUI.cpp. * Strings in some files(GUI.cpp, Tab.cpp, Tab.hpp & Field.cpp) marked by _L() macro. * Updated mo-files for En and Uk languages.
This commit is contained in:
@@ -38,9 +38,6 @@ public:
|
||||
class BedShapeDialog : public wxDialog
|
||||
{
|
||||
BedShapePanel* m_panel;
|
||||
wxLocale* m_Locale;
|
||||
wxApp* m_App;
|
||||
std::string m_local_dir;
|
||||
public:
|
||||
BedShapeDialog(wxWindow* parent) : wxDialog(parent, wxID_ANY, _L("Bed Shape"),
|
||||
wxDefaultPosition, wxSize(350, 700), wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER){}
|
||||
@@ -48,9 +45,6 @@ public:
|
||||
|
||||
void build_dialog(ConfigOptionPoints* default_pt);
|
||||
std::vector<Pointf> GetValue() { return m_panel->GetValue(); }
|
||||
|
||||
bool LoadLanguage();
|
||||
void GetInstalledLanguages(wxArrayString & names, wxArrayLong & identifiers);
|
||||
};
|
||||
|
||||
} // GUI
|
||||
|
||||
Reference in New Issue
Block a user