Localization: Updated internal dictionaries
+ Fixed localization marker in GCodeViewer
This commit is contained in:
parent
b321084b02
commit
6a9139bd0b
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -3971,7 +3971,7 @@ void GCodeViewer::render_legend(float& legend_height)
|
|||||||
const auto custom_it = std::find(m_roles.begin(), m_roles.end(), GCodeExtrusionRole::Custom);
|
const auto custom_it = std::find(m_roles.begin(), m_roles.end(), GCodeExtrusionRole::Custom);
|
||||||
if (custom_it != m_roles.end()) {
|
if (custom_it != m_roles.end()) {
|
||||||
const bool custom_visible = is_visible(GCodeExtrusionRole::Custom);
|
const bool custom_visible = is_visible(GCodeExtrusionRole::Custom);
|
||||||
const wxString btn_text = custom_visible ? _u8L("Hide Custom G-code") : _u8L("Show Custom G-code");
|
const wxString btn_text = custom_visible ? _L("Hide Custom G-code") : _L("Show Custom G-code");
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
if (imgui.button(btn_text, ImVec2(-1.0f, 0.0f), true)) {
|
if (imgui.button(btn_text, ImVec2(-1.0f, 0.0f), true)) {
|
||||||
m_extrusions.role_visibility_flags = custom_visible ? m_extrusions.role_visibility_flags & ~(1 << int(GCodeExtrusionRole::Custom)) :
|
m_extrusions.role_visibility_flags = custom_visible ? m_extrusions.role_visibility_flags & ~(1 << int(GCodeExtrusionRole::Custom)) :
|
||||||
|
Loading…
Reference in New Issue
Block a user