mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 08:17:51 -06:00
Localization:
* added missed phrases * fixed some phrases * updated POT-file and PO/MO-files for the CZ-translation
This commit is contained in:
parent
2df97edcf5
commit
d962d431c0
10 changed files with 4578 additions and 3247 deletions
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
|
@ -78,7 +78,6 @@ src/libslic3r/ExtrusionEntity.cpp
|
||||||
src/libslic3r/Flow.cpp
|
src/libslic3r/Flow.cpp
|
||||||
src/libslic3r/Format/3mf.cpp
|
src/libslic3r/Format/3mf.cpp
|
||||||
src/libslic3r/Format/AMF.cpp
|
src/libslic3r/Format/AMF.cpp
|
||||||
src/libslic3r/GCode/PreviewData.cpp
|
|
||||||
src/libslic3r/miniz_extension.cpp
|
src/libslic3r/miniz_extension.cpp
|
||||||
src/libslic3r/Preset.cpp
|
src/libslic3r/Preset.cpp
|
||||||
src/libslic3r/Print.cpp
|
src/libslic3r/Print.cpp
|
||||||
|
|
|
@ -1214,9 +1214,9 @@ void PrintConfigDef::init_fff_params()
|
||||||
def->enum_values.push_back("emit_to_gcode");
|
def->enum_values.push_back("emit_to_gcode");
|
||||||
def->enum_values.push_back("time_estimate_only");
|
def->enum_values.push_back("time_estimate_only");
|
||||||
def->enum_values.push_back("ignore");
|
def->enum_values.push_back("ignore");
|
||||||
def->enum_labels.push_back("Emit to G-code");
|
def->enum_labels.push_back(L("Emit to G-code"));
|
||||||
def->enum_labels.push_back("Use for time estimate");
|
def->enum_labels.push_back(L("Use for time estimate"));
|
||||||
def->enum_labels.push_back("Ignore");
|
def->enum_labels.push_back(L("Ignore"));
|
||||||
def->mode = comAdvanced;
|
def->mode = comAdvanced;
|
||||||
def->set_default_value(new ConfigOptionEnum<MachineLimitsUsage>(MachineLimitsUsage::EmitToGCode));
|
def->set_default_value(new ConfigOptionEnum<MachineLimitsUsage>(MachineLimitsUsage::EmitToGCode));
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ ExtruderSequenceDialog::ExtruderSequenceDialog(const DoubleSlider::ExtrudersSequ
|
||||||
|
|
||||||
auto option_sizer = new wxBoxSizer(wxVERTICAL);
|
auto option_sizer = new wxBoxSizer(wxVERTICAL);
|
||||||
|
|
||||||
auto intervals_box = new wxStaticBox(this, wxID_ANY, _(L("Set extruder change for every"))+ " : ");
|
auto intervals_box = new wxStaticBox(this, wxID_ANY, _(L("Set extruder change for every"))+ ": ");
|
||||||
auto intervals_box_sizer = new wxStaticBoxSizer(intervals_box, wxVERTICAL);
|
auto intervals_box_sizer = new wxStaticBoxSizer(intervals_box, wxVERTICAL);
|
||||||
|
|
||||||
m_intervals_grid_sizer = new wxFlexGridSizer(3, 5, em);
|
m_intervals_grid_sizer = new wxFlexGridSizer(3, 5, em);
|
||||||
|
@ -114,26 +114,26 @@ ExtruderSequenceDialog::ExtruderSequenceDialog(const DoubleSlider::ExtrudersSequ
|
||||||
rb_by_mm->SetValue(true);
|
rb_by_mm->SetValue(true);
|
||||||
});
|
});
|
||||||
|
|
||||||
m_interval_by_mm->Bind(wxEVT_KILL_FOCUS, [this, change_value](wxFocusEvent& event)
|
m_interval_by_mm->Bind(wxEVT_KILL_FOCUS, [change_value](wxFocusEvent& event)
|
||||||
{
|
{
|
||||||
change_value();
|
change_value();
|
||||||
event.Skip();
|
event.Skip();
|
||||||
});
|
});
|
||||||
|
|
||||||
m_interval_by_mm->Bind(wxEVT_TEXT_ENTER, [this, change_value](wxEvent&)
|
m_interval_by_mm->Bind(wxEVT_TEXT_ENTER, [change_value](wxEvent&)
|
||||||
{
|
{
|
||||||
change_value();
|
change_value();
|
||||||
});
|
});
|
||||||
|
|
||||||
m_intervals_grid_sizer->Add(rb_by_mm, 0, wxALIGN_CENTER_VERTICAL);
|
m_intervals_grid_sizer->Add(rb_by_mm, 0, wxALIGN_CENTER_VERTICAL);
|
||||||
m_intervals_grid_sizer->Add(m_interval_by_mm,0, wxALIGN_CENTER_VERTICAL);
|
m_intervals_grid_sizer->Add(m_interval_by_mm, 0, wxALIGN_CENTER_VERTICAL);
|
||||||
m_intervals_grid_sizer->Add(st_by_mm,0, wxALIGN_CENTER_VERTICAL);
|
m_intervals_grid_sizer->Add(st_by_mm,0, wxALIGN_CENTER_VERTICAL);
|
||||||
|
|
||||||
intervals_box_sizer->Add(m_intervals_grid_sizer, 0, wxLEFT, em);
|
intervals_box_sizer->Add(m_intervals_grid_sizer, 0, wxLEFT, em);
|
||||||
option_sizer->Add(intervals_box_sizer, 0, wxEXPAND);
|
option_sizer->Add(intervals_box_sizer, 0, wxEXPAND);
|
||||||
|
|
||||||
|
|
||||||
auto extruders_box = new wxStaticBox(this, wxID_ANY, _(L("Set extruder(tool) sequence"))+ " : ");
|
auto extruders_box = new wxStaticBox(this, wxID_ANY, _(L("Set extruder(tool) sequence"))+ ": ");
|
||||||
auto extruders_box_sizer = new wxStaticBoxSizer(extruders_box, wxVERTICAL);
|
auto extruders_box_sizer = new wxStaticBoxSizer(extruders_box, wxVERTICAL);
|
||||||
|
|
||||||
m_extruders_grid_sizer = new wxFlexGridSizer(3, 5, em);
|
m_extruders_grid_sizer = new wxFlexGridSizer(3, 5, em);
|
||||||
|
|
|
@ -126,7 +126,7 @@ void GLGizmoFdmSupports::on_render_input_window(float x, float y, float bottom_l
|
||||||
|
|
||||||
m_imgui->text("");
|
m_imgui->text("");
|
||||||
|
|
||||||
if (m_imgui->button("Autoset by angle...")) {
|
if (m_imgui->button(_L("Autoset by angle") + "...")) {
|
||||||
m_setting_angle = true;
|
m_setting_angle = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -720,7 +720,7 @@ void ImGuiWrapper::search_list(const ImVec2& size_, bool (*items_getter)(int, co
|
||||||
// The press on Esc key invokes editing of InputText (removes last changes)
|
// The press on Esc key invokes editing of InputText (removes last changes)
|
||||||
// So we should save previous value...
|
// So we should save previous value...
|
||||||
std::string str = search_str;
|
std::string str = search_str;
|
||||||
ImGui::InputTextEx("", NULL, search_str, 20, search_size, ImGuiInputTextFlags_AutoSelectAll, NULL, NULL);
|
ImGui::InputTextEx("", NULL, search_str, 40, search_size, ImGuiInputTextFlags_AutoSelectAll, NULL, NULL);
|
||||||
edited = ImGui::IsItemEdited();
|
edited = ImGui::IsItemEdited();
|
||||||
if (edited)
|
if (edited)
|
||||||
hovered_id = 0;
|
hovered_id = 0;
|
||||||
|
@ -798,6 +798,8 @@ void ImGuiWrapper::search_list(const ImVec2& size_, bool (*items_getter)(int, co
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ImGui::AlignTextToFramePadding();
|
||||||
|
|
||||||
// add checkboxes for show/hide Categories and Groups
|
// add checkboxes for show/hide Categories and Groups
|
||||||
text(_L("Use for search")+":");
|
text(_L("Use for search")+":");
|
||||||
check_box(_L("Category"), view_params.category);
|
check_box(_L("Category"), view_params.category);
|
||||||
|
|
|
@ -3560,7 +3560,7 @@ bool Plater::priv::warnings_dialog()
|
||||||
{
|
{
|
||||||
if (current_warnings.empty())
|
if (current_warnings.empty())
|
||||||
return true;
|
return true;
|
||||||
std::string text = _u8L("There are active warnings concerning sliced models:\n");
|
std::string text = _u8L("There are active warnings concerning sliced models:") + "\n";
|
||||||
bool empt = true;
|
bool empt = true;
|
||||||
for (auto const& it : current_warnings) {
|
for (auto const& it : current_warnings) {
|
||||||
int next_n = it.first.message.find_first_of('\n', 0);
|
int next_n = it.first.message.find_first_of('\n', 0);
|
||||||
|
|
|
@ -734,7 +734,7 @@ void UnsavedChangesDialog::show_info_line(Action action, std::string preset_name
|
||||||
if (action == Action::Undef)
|
if (action == Action::Undef)
|
||||||
text = _L("Some fields are too long to fit. Right mouse click reveals the full text.");
|
text = _L("Some fields are too long to fit. Right mouse click reveals the full text.");
|
||||||
else if (action == Action::Discard)
|
else if (action == Action::Discard)
|
||||||
text = _L("All modified options will be reverted.");
|
text = _L("All settings changes will be discarded.");
|
||||||
else {
|
else {
|
||||||
if (preset_name.empty())
|
if (preset_name.empty())
|
||||||
text = action == Action::Save ? _L("Save the selected options.") : _L("Transfer the selected settings to the newly selected preset.");
|
text = action == Action::Save ? _L("Save the selected options.") : _L("Transfer the selected settings to the newly selected preset.");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue