Merge pull request #42 from Prusa-Development/ys_beta26_local
Merged/fixed dictionaries provided by contributors
This commit is contained in:
commit
bb1e5dbb7a
File diff suppressed because it is too large
Load Diff
26549
resources/localization/be/PrusaSlicer_be.po
Normal file
26549
resources/localization/be/PrusaSlicer_be.po
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
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
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
8435
resources/localization/wx_locale/be.po
Normal file
8435
resources/localization/wx_locale/be.po
Normal file
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
@ -1801,7 +1801,7 @@ void ObjectList::load_shape_object(const std::string& type_name)
|
|||||||
// Create mesh
|
// Create mesh
|
||||||
BoundingBoxf3 bb;
|
BoundingBoxf3 bb;
|
||||||
TriangleMesh mesh = create_mesh(type_name, bb);
|
TriangleMesh mesh = create_mesh(type_name, bb);
|
||||||
load_mesh_object(mesh, _u8L("Shape") + "-" + type_name);
|
load_mesh_object(mesh, _u8L("Shape") + "-" + into_u8(_(type_name)));
|
||||||
if (!m_objects->empty())
|
if (!m_objects->empty())
|
||||||
m_objects->back()->volumes.front()->source.is_from_builtin_objects = true;
|
m_objects->back()->volumes.front()->source.is_from_builtin_objects = true;
|
||||||
wxGetApp().mainframe->update_title();
|
wxGetApp().mainframe->update_title();
|
||||||
@ -2070,7 +2070,7 @@ bool ObjectList::del_from_cut_object(bool is_cut_connector, bool is_model_part/*
|
|||||||
InfoDialog dialog(wxGetApp().plater(), title,
|
InfoDialog dialog(wxGetApp().plater(), title,
|
||||||
_L("This action will break a cut information.\n"
|
_L("This action will break a cut information.\n"
|
||||||
"After that PrusaSlicer can't guarantee model consistency.") + "\n\n" +
|
"After that PrusaSlicer can't guarantee model consistency.") + "\n\n" +
|
||||||
_L("To manipulate with solid parts or negative volumes you have to invalidate cut information first." + msg_end ),
|
_L("To manipulate with solid parts or negative volumes you have to invalidate cut information first.") + msg_end,
|
||||||
false, buttons_style | wxCANCEL_DEFAULT | wxICON_WARNING);
|
false, buttons_style | wxCANCEL_DEFAULT | wxICON_WARNING);
|
||||||
|
|
||||||
dialog.SetButtonLabel(wxID_YES, _L("Invalidate cut info"));
|
dialog.SetButtonLabel(wxID_YES, _L("Invalidate cut info"));
|
||||||
|
@ -71,7 +71,7 @@ static std::vector<std::string> get_extruders_names()
|
|||||||
std::vector<std::string> extruders_out;
|
std::vector<std::string> extruders_out;
|
||||||
extruders_out.reserve(extruders_count);
|
extruders_out.reserve(extruders_count);
|
||||||
for (size_t extruder_idx = 1; extruder_idx <= extruders_count; ++extruder_idx)
|
for (size_t extruder_idx = 1; extruder_idx <= extruders_count; ++extruder_idx)
|
||||||
extruders_out.emplace_back("Extruder " + std::to_string(extruder_idx));
|
extruders_out.emplace_back(_u8L("Extruder") + " " + std::to_string(extruder_idx));
|
||||||
|
|
||||||
return extruders_out;
|
return extruders_out;
|
||||||
}
|
}
|
||||||
@ -334,7 +334,8 @@ void GLGizmoMmuSegmentation::on_render_input_window(float x, float y, float bott
|
|||||||
|
|
||||||
const ColorRGBA& select_first_color = m_modified_extruders_colors[m_first_selected_extruder_idx];
|
const ColorRGBA& select_first_color = m_modified_extruders_colors[m_first_selected_extruder_idx];
|
||||||
ImVec4 first_color = ImGuiWrapper::to_ImVec4(select_first_color);
|
ImVec4 first_color = ImGuiWrapper::to_ImVec4(select_first_color);
|
||||||
if (ImGui::ColorEdit4("First color##color_picker", (float*)&first_color, ImGuiColorEditFlags_NoAlpha | ImGuiColorEditFlags_NoInputs | ImGuiColorEditFlags_NoLabel))
|
const std::string first_label = into_u8(m_desc.at("first_color")) + "##color_picker";
|
||||||
|
if (ImGui::ColorEdit4(first_label.c_str(), (float*)&first_color, ImGuiColorEditFlags_NoAlpha | ImGuiColorEditFlags_NoInputs | ImGuiColorEditFlags_NoLabel))
|
||||||
m_modified_extruders_colors[m_first_selected_extruder_idx] = ImGuiWrapper::from_ImVec4(first_color);
|
m_modified_extruders_colors[m_first_selected_extruder_idx] = ImGuiWrapper::from_ImVec4(first_color);
|
||||||
|
|
||||||
ImGui::AlignTextToFramePadding();
|
ImGui::AlignTextToFramePadding();
|
||||||
@ -346,7 +347,8 @@ void GLGizmoMmuSegmentation::on_render_input_window(float x, float y, float bott
|
|||||||
|
|
||||||
const ColorRGBA& select_second_color = m_modified_extruders_colors[m_second_selected_extruder_idx];
|
const ColorRGBA& select_second_color = m_modified_extruders_colors[m_second_selected_extruder_idx];
|
||||||
ImVec4 second_color = ImGuiWrapper::to_ImVec4(select_second_color);
|
ImVec4 second_color = ImGuiWrapper::to_ImVec4(select_second_color);
|
||||||
if (ImGui::ColorEdit4("Second color##color_picker", (float*)&second_color, ImGuiColorEditFlags_NoAlpha | ImGuiColorEditFlags_NoInputs | ImGuiColorEditFlags_NoLabel))
|
const std::string second_label = into_u8(m_desc.at("second_color")) + "##color_picker";
|
||||||
|
if (ImGui::ColorEdit4(second_label.c_str(), (float*)&second_color, ImGuiColorEditFlags_NoAlpha | ImGuiColorEditFlags_NoInputs | ImGuiColorEditFlags_NoLabel))
|
||||||
m_modified_extruders_colors[m_second_selected_extruder_idx] = ImGuiWrapper::from_ImVec4(second_color);
|
m_modified_extruders_colors[m_second_selected_extruder_idx] = ImGuiWrapper::from_ImVec4(second_color);
|
||||||
|
|
||||||
const float max_tooltip_width = ImGui::GetFontSize() * 20.0f;
|
const float max_tooltip_width = ImGui::GetFontSize() * 20.0f;
|
||||||
|
@ -5154,8 +5154,7 @@ void TabSLAPrint::build()
|
|||||||
optgroup->append_single_option_line("support_tree_type");
|
optgroup->append_single_option_line("support_tree_type");
|
||||||
optgroup->append_single_option_line("support_enforcers_only");
|
optgroup->append_single_option_line("support_enforcers_only");
|
||||||
|
|
||||||
build_sla_support_params({{"", "Default"}, {"branching", "Branching"}}, page);
|
build_sla_support_params({{"", L("Default")}, {"branching", L("Branching")}}, page);
|
||||||
|
|
||||||
|
|
||||||
optgroup = page->new_optgroup(L("Automatic generation"));
|
optgroup = page->new_optgroup(L("Automatic generation"));
|
||||||
optgroup->append_single_option_line("support_points_density_relative");
|
optgroup->append_single_option_line("support_points_density_relative");
|
||||||
|
Loading…
Reference in New Issue
Block a user