ENH:add some translations

Change-Id: Iec4b31ada7d1f21f7ddb12fd777fd284298a0cde
This commit is contained in:
liz.li 2023-02-21 18:26:52 +08:00 committed by Lane.Wei
parent 875c851b61
commit 3be3c5553e
13 changed files with 239 additions and 41 deletions

View file

@ -7603,7 +7603,7 @@ void GLCanvas3D::_render_paint_toolbar() const
ImGui::BeginTooltip();
ImGui::PushTextWrapPos(ImGui::GetFontSize() * 20.0f);
ImGui::PushStyleColor(ImGuiCol_Text, ImVec4(1.00f, 1.00f, 1.00f, 1.00f));
ImGui::TextUnformatted(_L((boost::format("Shortcut key %1%") % (i + 1)).str()).ToUTF8().data());
ImGui::TextUnformatted((boost::format(_u8L("Shortcut key %1%")) % (i + 1)).str().c_str());
ImGui::PopStyleColor(1);
ImGui::PopTextWrapPos();
ImGui::EndTooltip();