Localization: Fix of #4035
+ Added context for "Advanced" ("Mode") + Updated POT
This commit is contained in:
parent
ebcc8ef7c2
commit
287e50d091
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -6360,7 +6360,7 @@ msgstr "Redimensionner"
|
|||||||
|
|
||||||
#: src/slic3r/GUI/GUI_ObjectManipulation.cpp:459
|
#: src/slic3r/GUI/GUI_ObjectManipulation.cpp:459
|
||||||
msgid "Scale factors"
|
msgid "Scale factors"
|
||||||
msgstr "Facteurs de redimensionnement"
|
msgstr "Échelle"
|
||||||
|
|
||||||
#: src/slic3r/GUI/KBShortcutsDialog.cpp:196
|
#: src/slic3r/GUI/KBShortcutsDialog.cpp:196
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -925,7 +925,8 @@ void GUI_App::add_config_menu(wxMenuBar *menu)
|
|||||||
local_menu->AppendSeparator();
|
local_menu->AppendSeparator();
|
||||||
auto mode_menu = new wxMenu();
|
auto mode_menu = new wxMenu();
|
||||||
mode_menu->AppendRadioItem(config_id_base + ConfigMenuModeSimple, _(L("Simple")), _(L("Simple View Mode")));
|
mode_menu->AppendRadioItem(config_id_base + ConfigMenuModeSimple, _(L("Simple")), _(L("Simple View Mode")));
|
||||||
mode_menu->AppendRadioItem(config_id_base + ConfigMenuModeAdvanced, _(L("Advanced")), _(L("Advanced View Mode")));
|
// mode_menu->AppendRadioItem(config_id_base + ConfigMenuModeAdvanced, _(L("Advanced")), _(L("Advanced View Mode")));
|
||||||
|
mode_menu->AppendRadioItem(config_id_base + ConfigMenuModeAdvanced, _CTX(L_CONTEXT("Advanced", "Mode"), "Mode"), _L("Advanced View Mode"));
|
||||||
mode_menu->AppendRadioItem(config_id_base + ConfigMenuModeExpert, _(L("Expert")), _(L("Expert View Mode")));
|
mode_menu->AppendRadioItem(config_id_base + ConfigMenuModeExpert, _(L("Expert")), _(L("Expert View Mode")));
|
||||||
Bind(wxEVT_UPDATE_UI, [this](wxUpdateUIEvent& evt) { if(get_mode() == comSimple) evt.Check(true); }, config_id_base + ConfigMenuModeSimple);
|
Bind(wxEVT_UPDATE_UI, [this](wxUpdateUIEvent& evt) { if(get_mode() == comSimple) evt.Check(true); }, config_id_base + ConfigMenuModeSimple);
|
||||||
Bind(wxEVT_UPDATE_UI, [this](wxUpdateUIEvent& evt) { if(get_mode() == comAdvanced) evt.Check(true); }, config_id_base + ConfigMenuModeAdvanced);
|
Bind(wxEVT_UPDATE_UI, [this](wxUpdateUIEvent& evt) { if(get_mode() == comAdvanced) evt.Check(true); }, config_id_base + ConfigMenuModeAdvanced);
|
||||||
|
@ -754,7 +754,8 @@ ModeSizer::ModeSizer(wxWindow *parent, int hgap/* = 0*/) :
|
|||||||
|
|
||||||
std::vector < std::pair < wxString, std::string >> buttons = {
|
std::vector < std::pair < wxString, std::string >> buttons = {
|
||||||
{_(L("Simple")), "mode_simple"},
|
{_(L("Simple")), "mode_simple"},
|
||||||
{_(L("Advanced")), "mode_advanced"},
|
// {_(L("Advanced")), "mode_advanced"},
|
||||||
|
{_CTX(L_CONTEXT("Advanced", "Mode"), "Mode"), "mode_advanced"},
|
||||||
{_(L("Expert")), "mode_expert"},
|
{_(L("Expert")), "mode_expert"},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user