mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-24 01:01:15 -06:00
Localization improvements
New list.txt and POT
This commit is contained in:
parent
fb6aabd785
commit
5804473171
4 changed files with 153 additions and 97 deletions
|
|
@ -798,7 +798,7 @@ bool GUI_App::check_unsaved_changes()
|
|||
return true;
|
||||
// Ask the user.
|
||||
wxMessageDialog dialog(mainframe,
|
||||
_(L("The following presets were modified: ")) + dirty + "\n" + _(L("Discard changes and continue anyway?")),
|
||||
_(L("The following presets were modified")) + ": " + dirty + "\n" + _(L("Discard changes and continue anyway?")),
|
||||
wxString(SLIC3R_APP_NAME) + " - " + _(L("Unsaved Presets")),
|
||||
wxICON_QUESTION | wxYES_NO | wxNO_DEFAULT);
|
||||
return dialog.ShowModal() == wxID_YES;
|
||||
|
|
|
|||
|
|
@ -312,7 +312,7 @@ class TabPrint : public Tab
|
|||
bool is_msg_dlg_already_exist {false};
|
||||
public:
|
||||
TabPrint(wxNotebook* parent) :
|
||||
Tab(parent, _(L("Print Settings")), "print") {}
|
||||
Tab(parent, _(L("Print Settings")), L("print")) {}
|
||||
~TabPrint() {}
|
||||
|
||||
ogStaticText* m_recommended_thin_wall_thickness_description_line;
|
||||
|
|
@ -330,7 +330,7 @@ class TabFilament : public Tab
|
|||
ogStaticText* m_cooling_description_line;
|
||||
public:
|
||||
TabFilament(wxNotebook* parent) :
|
||||
Tab(parent, _(L("Filament Settings")), "filament") {}
|
||||
Tab(parent, _(L("Filament Settings")), L("filament")) {}
|
||||
~TabFilament() {}
|
||||
|
||||
void build() override;
|
||||
|
|
@ -363,7 +363,7 @@ public:
|
|||
|
||||
PrinterTechnology m_printer_technology = ptFFF;
|
||||
|
||||
TabPrinter(wxNotebook* parent) : Tab(parent, _(L("Printer Settings")), "printer") {}
|
||||
TabPrinter(wxNotebook* parent) : Tab(parent, _(L("Printer Settings")), L("printer")) {}
|
||||
~TabPrinter() {}
|
||||
|
||||
void build() override;
|
||||
|
|
@ -386,7 +386,7 @@ class TabSLAMaterial : public Tab
|
|||
{
|
||||
public:
|
||||
TabSLAMaterial(wxNotebook* parent) :
|
||||
Tab(parent, _(L("Material Settings")), "sla_material") {}
|
||||
Tab(parent, _(L("Material Settings")), L("sla_material")) {}
|
||||
~TabSLAMaterial() {}
|
||||
|
||||
void build() override;
|
||||
|
|
@ -400,7 +400,7 @@ class TabSLAPrint : public Tab
|
|||
{
|
||||
public:
|
||||
TabSLAPrint(wxNotebook* parent) :
|
||||
Tab(parent, _(L("Print Settings")), "sla_print") {}
|
||||
Tab(parent, _(L("Print Settings")), L("sla_print")) {}
|
||||
~TabSLAPrint() {}
|
||||
void build() override;
|
||||
void reload_config() override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue