Add translation markers to measure units (#12403)

# Description
Some units were missing the translation markers, others were not in the standard format.
This commit is contained in:
Alexandre Folle de Menezes authored and GitHub committed 2026-02-23 22:53:19 +08:00
1 parent eeb2ec7871
commit ec7a5f5140
26 files changed
+147 -147

No files matched your search

+2 -2
View File
@@ -397,7 +397,7 @@ void GCodeViewer::SequentialView::Marker::render_position_window(const libvgcode
ImGuiWrapper::text(text);
});
append_table_row(_u8L("Temperature"), [&vertex, &buff]() {
sprintf(buff, ("%.0f " + _u8L("°C")).c_str(), vertex.temperature);
sprintf(buff, ("%.0f " + _u8L("\u2103" /* °C */)).c_str(), vertex.temperature);
ImGuiWrapper::text(std::string(buff));
});
// ORCA: Add Pressure Advance visualization support
@@ -3514,7 +3514,7 @@ void GCodeViewer::render_legend(float &legend_height, int canvas_width, int canv
break;
}
case libvgcode::EViewType::FanSpeed: { imgui.title(_u8L("Fan Speed (%)")); break; }
case libvgcode::EViewType::Temperature: { imgui.title(_u8L("Temperature (°C)")); break; }
case libvgcode::EViewType::Temperature: { imgui.title(_u8L("Temperature (\u2103)"/* °C */)); break; }
// ORCA: Add Pressure Advance visualization support
case libvgcode::EViewType::PressureAdvance:{ imgui.title(_u8L("Pressure Advance")); break; }
case libvgcode::EViewType::VolumetricFlowRate: