Misc fixes to GUI strings (#14047)

* Degrees symbol don't need localization

* The Z when referring to the axis should be uppercase

* Fix the spelling of "GitHub" to camelcase

* Unify the casing of mouse button shortcuts

* Always use G-code with an hyphen

* Fix the spelling of "restricted"

* More grammar fixes

* add missing modifications

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
Alexandre Folle de Menezes
2026-06-17 06:55:32 -03:00
committed by GitHub
parent ee9a796f14
commit 4535f19501
29 changed files with 209 additions and 219 deletions

View File

@@ -1210,8 +1210,8 @@ GLCanvas3D::GLCanvas3D(wxGLCanvas* canvas, Bed3D &bed)
const wxString alt = GUI::shortkey_alt_prefix();
m_shortcuts_assembly_view = {
{_L("Left mouse button"), _L("Object Selection")},
{alt + _L("Left mouse button"), _L("Part Selection")},
{_L("Left mouse button"), _L("Object selection")},
{alt + _L("Left mouse button"), _L("Part selection")},
{"1~16 " + _L("number keys"), _L("Number keys can quickly change the color of objects")},
};
}
@@ -9468,7 +9468,7 @@ void GLCanvas3D::_render_paint_toolbar() const
float GLCanvas3D::_render_assembly_tooltip_button(ImGuiWrapper* imgui_wrapper) const
{
const float text_height = imgui_wrapper->calc_text_size(_L("part selection")).y;
const float text_height = imgui_wrapper->calc_text_size(_L("Part selection")).y;
ImVec2 windowPos = ImGui::GetWindowPos();
float x = windowPos.x;
float y = windowPos.y - ImGui::GetFrameHeight() - (5 * text_height);