mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-01 23:32:10 +00:00
Fix the spacing on the original english strings (#9596)
* Remove extra spaces between words * Remove extra spaces after punctuation * Remove extra spaces before punctuation * Always needs a space after punctuation * Always needs a space before parens * Remove trailing spaces before newline
This commit is contained in:
committed by
GitHub
parent
020d31d600
commit
57a6f61349
@@ -739,7 +739,7 @@ void GLGizmoBrimEars::on_render_input_window(float x, float y, float bottom_limi
|
||||
ImColor HyperColor = ImGuiWrapper::COL_ORCA;
|
||||
ImGui::PushStyleColor(ImGuiCol_Text, ImGuiWrapper::to_ImVec4(ColorRGB::WARNING()));
|
||||
float parent_width = ImGui::GetContentRegionAvail().x;
|
||||
m_imgui->text_wrapped(_L("Warning: The brim type is not set to \"painted\",the brim ears will not take effect !"), parent_width);
|
||||
m_imgui->text_wrapped(_L("Warning: The brim type is not set to \"painted\", the brim ears will not take effect!"), parent_width);
|
||||
ImGui::PopStyleColor();
|
||||
ImGui::PushStyleColor(ImGuiCol_Text, HyperColor.Value);
|
||||
ImGui::Dummy(ImVec2(font_size * 1.8, font_size * 1.3));
|
||||
|
||||
@@ -1911,7 +1911,7 @@ void GLGizmoEmboss::draw_model_type()
|
||||
void GLGizmoEmboss::draw_style_rename_popup() {
|
||||
std::string& new_name = m_style_manager.get_style().name;
|
||||
const std::string &old_name = m_style_manager.get_stored_style()->name;
|
||||
std::string text_in_popup = GUI::format(_L("Rename style(%1%) for embossing text"), old_name) + ": ";
|
||||
std::string text_in_popup = GUI::format(_L("Rename style (%1%) for embossing text"), old_name) + ": ";
|
||||
ImGui::Text("%s", text_in_popup.c_str());
|
||||
|
||||
bool is_unique = (new_name == old_name) || // could be same as before rename
|
||||
@@ -3116,8 +3116,8 @@ void GLGizmoEmboss::create_notification_not_valid_font(
|
||||
}
|
||||
const std::string &face_name = face_name_opt.value_or(face_name_by_wx.value_or(es.path));
|
||||
std::string text =
|
||||
GUI::format(_L("Can't load exactly same font(\"%1%\"). "
|
||||
"Application selected a similar one(\"%2%\"). "
|
||||
GUI::format(_L("Can't load exactly same font (\"%1%\"). "
|
||||
"Application selected a similar one (\"%2%\"). "
|
||||
"You have to specify font for enable edit text."),
|
||||
face_name_3mf, face_name);
|
||||
create_notification_not_valid_font(text);
|
||||
|
||||
@@ -1902,14 +1902,14 @@ void GLGizmoMeasure::show_selection_ui()
|
||||
if (m_selected_wrong_feature_waring_tip) {
|
||||
if (m_measure_mode == EMeasureMode::ONLY_ASSEMBLY) {
|
||||
if (m_assembly_mode == AssemblyMode::FACE_FACE) {
|
||||
m_imgui->warning_text(_L("Warning:please select Plane's feature."));
|
||||
m_imgui->warning_text(_L("Warning: please select Plane's feature."));
|
||||
} else if (m_assembly_mode == AssemblyMode::POINT_POINT) {
|
||||
m_imgui->warning_text(_L("Warning:please select Point's or Circle's feature."));
|
||||
m_imgui->warning_text(_L("Warning: please select Point's or Circle's feature."));
|
||||
}
|
||||
}
|
||||
}
|
||||
if (m_measure_mode == EMeasureMode::ONLY_ASSEMBLY && m_hit_different_volumes.size() == 1) {
|
||||
m_imgui->warning_text(_L("Warning:please select two different mesh."));
|
||||
m_imgui->warning_text(_L("Warning: please select two different meshes."));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user