mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Localization: Fixed some phrases. Updated POT and NL dictionary.
This commit is contained in:
parent
4f4d136f19
commit
e610d2d2f6
9 changed files with 5188 additions and 3625 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -150,9 +150,8 @@ wxString CopyrightsDialog::get_html_text()
|
||||||
, entry.link, entry.lib_name);
|
, entry.link, entry.lib_name);
|
||||||
|
|
||||||
if (!entry.copyright.empty())
|
if (!entry.copyright.empty())
|
||||||
text += wxString::Format(
|
text += format_wxstr(
|
||||||
"%s %s"
|
"%1% %2%<br/><br/>"
|
||||||
"<br/><br/>"
|
|
||||||
, copyright_str, entry.copyright);
|
, copyright_str, entry.copyright);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1217,9 +1217,11 @@ wxString Control::get_tooltip(int tick/*=-1*/)
|
||||||
return _L("Jump to move") + " (Shift + G)";
|
return _L("Jump to move") + " (Shift + G)";
|
||||||
else
|
else
|
||||||
return m_mode == MultiAsSingle ?
|
return m_mode == MultiAsSingle ?
|
||||||
GUI::from_u8((boost::format(_u8L("Jump to height %s Set ruler mode\n or "
|
GUI::from_u8((boost::format(_u8L("Jump to height %s\n"
|
||||||
"Set extruder sequence for the entire print")) % " (Shift + G)\n").str()) :
|
"Set ruler mode\n"
|
||||||
GUI::from_u8((boost::format(_u8L("Jump to height %s or Set ruler mode")) % " (Shift + G)\n").str());
|
"or Set extruder sequence for the entire print")) % "(Shift + G)").str()) :
|
||||||
|
GUI::from_u8((boost::format(_u8L("Jump to height %s\n"
|
||||||
|
"or Set ruler mode")) % "(Shift + G)").str());
|
||||||
}
|
}
|
||||||
if (m_focus == fiColorBand)
|
if (m_focus == fiColorBand)
|
||||||
return m_mode != SingleExtruder ? "" :
|
return m_mode != SingleExtruder ? "" :
|
||||||
|
@ -1844,7 +1846,7 @@ void Control::show_cog_icon_context_menu()
|
||||||
|
|
||||||
wxMenu* ruler_mode_menu = new wxMenu();
|
wxMenu* ruler_mode_menu = new wxMenu();
|
||||||
if (ruler_mode_menu) {
|
if (ruler_mode_menu) {
|
||||||
append_menu_check_item(ruler_mode_menu, wxID_ANY, _L("None"), _L("Supprese show the ruler"),
|
append_menu_check_item(ruler_mode_menu, wxID_ANY, _L("None"), _L("Hide ruler"),
|
||||||
[this](wxCommandEvent&) { if (m_extra_style != 0) m_extra_style = 0; }, ruler_mode_menu,
|
[this](wxCommandEvent&) { if (m_extra_style != 0) m_extra_style = 0; }, ruler_mode_menu,
|
||||||
[]() { return true; }, [this]() { return m_extra_style == 0; }, GUI::wxGetApp().plater());
|
[]() { return true; }, [this]() { return m_extra_style == 0; }, GUI::wxGetApp().plater());
|
||||||
|
|
||||||
|
|
|
@ -3983,7 +3983,7 @@ bool GLCanvas3D::_render_arrange_menu(float pos_x)
|
||||||
|
|
||||||
imgui->text(_L("Use CTRL+left mouse key to enter text edit mode:"));
|
imgui->text(_L("Use CTRL+left mouse key to enter text edit mode:"));
|
||||||
|
|
||||||
if (imgui->slider_float(_L("Clearance size"), &settings.distance, dist_min, 100.0f, "%5.2f") || dist_min > settings.distance) {
|
if (imgui->slider_float(_L("Spacing"), &settings.distance, dist_min, 100.0f, "%5.2f") || dist_min > settings.distance) {
|
||||||
settings.distance = std::max(dist_min, settings.distance);
|
settings.distance = std::max(dist_min, settings.distance);
|
||||||
settings_out.distance = settings.distance;
|
settings_out.distance = settings.distance;
|
||||||
appcfg->set("arrange", dist_key.c_str(), std::to_string(settings_out.distance));
|
appcfg->set("arrange", dist_key.c_str(), std::to_string(settings_out.distance));
|
||||||
|
|
|
@ -204,15 +204,15 @@ void KBShortcutsDialog::fill_shortcuts()
|
||||||
|
|
||||||
Shortcuts preview_shortcuts = {
|
Shortcuts preview_shortcuts = {
|
||||||
#if ENABLE_ARROW_KEYS_WITH_SLIDERS
|
#if ENABLE_ARROW_KEYS_WITH_SLIDERS
|
||||||
{ L("Arrow Up"), L("Move vertical slider current thumb Up") },
|
{ L("Arrow Up"), L("Vertical slider - Move active thumb Up") },
|
||||||
{ L("Arrow Down"), L("Move vertical slider current thumb Down") },
|
{ L("Arrow Down"), L("Vertical slider - Move active thumb Down") },
|
||||||
{ L("Arrow Left"), L("Move horizontal slider current thumb Left") },
|
{ L("Arrow Left"), L("Horizontal slider - Move active thumb Left") },
|
||||||
{ L("Arrow Right"), L("Move horizontal slider current thumb Right") },
|
{ L("Arrow Right"), L("Horizontal slider - Move active thumb Right") },
|
||||||
{ "W", L("Move vertical slider current thumb Up") },
|
{ "W", L("Vertical slider - Move active thumb Up") },
|
||||||
{ "S", L("Move vertical slider current thumb Down") },
|
{ "S", L("Vertical slider - Move active thumb Down") },
|
||||||
{ "A", L("Move horizontal slider current thumb Left") },
|
{ "A", L("Horizontal slider - Move active thumb Left") },
|
||||||
{ "D", L("Move horizontal slider current thumb Right") },
|
{ "D", L("Horizontal slider - Move active thumb Right") },
|
||||||
{ "X", L("Toggle vertical slider one layer mode ON/OFF") },
|
{ "X", L("On/Off one layer mode of the vertical slider") },
|
||||||
{ "L", L("Show/Hide Legend and Estimated printing time") },
|
{ "L", L("Show/Hide Legend and Estimated printing time") },
|
||||||
#else
|
#else
|
||||||
{ L("Arrow Up"), L("Upper layer") },
|
{ L("Arrow Up"), L("Upper layer") },
|
||||||
|
@ -227,16 +227,16 @@ void KBShortcutsDialog::fill_shortcuts()
|
||||||
|
|
||||||
Shortcuts layers_slider_shortcuts = {
|
Shortcuts layers_slider_shortcuts = {
|
||||||
#if ENABLE_ARROW_KEYS_WITH_SLIDERS
|
#if ENABLE_ARROW_KEYS_WITH_SLIDERS
|
||||||
{ L("Arrow Up"), L("Vertical slider - Move current thumb Up") },
|
{ L("Arrow Up"), L("Vertical slider - Move active thumb Up") },
|
||||||
{ L("Arrow Down"), L("Vertical slider - Move current thumb Down") },
|
{ L("Arrow Down"), L("Vertical slider - Move active thumb Down") },
|
||||||
{ L("Arrow Left"), L("Vertical slider - Set upper thumb to current thumb") },
|
{ L("Arrow Left"), L("Vertical slider - Set upper thumb as active") },
|
||||||
{ L("Arrow Right"), L("Vertical slider - Set lower thumb to current thumb") },
|
{ L("Arrow Right"), L("Vertical slider - Set lower thumb as active") },
|
||||||
{ "+", L("Vertical slider - Add color change marker for current layer") },
|
{ "+", L("Vertical slider - Add color change marker for current layer") },
|
||||||
{ "-", L("Vertical slider - Delete color change marker for current layer") },
|
{ "-", L("Vertical slider - Delete color change marker for current layer") },
|
||||||
{ L("Arrow Up"), L("Horizontal slider - Set left thumb to current thumb") },
|
{ L("Arrow Up"), L("Horizontal slider - Set left thumb as active") },
|
||||||
{ L("Arrow Down"), L("Horizontal slider - Set right thumb to current thumb") },
|
{ L("Arrow Down"), L("Horizontal slider - Set right thumb as active") },
|
||||||
{ L("Arrow Left"), L("Horizontal slider - Move current thumb Left") },
|
{ L("Arrow Left"), L("Horizontal slider - Move active thumb Left") },
|
||||||
{ L("Arrow Right"), L("Horizontal slider - Move current thumb Right") },
|
{ L("Arrow Right"), L("Horizontal slider - Move active thumb Right") },
|
||||||
#else
|
#else
|
||||||
{ L("Arrow Up"), L("Move current slider thumb Up") },
|
{ L("Arrow Up"), L("Move current slider thumb Up") },
|
||||||
{ L("Arrow Down"), L("Move current slider thumb Down") },
|
{ L("Arrow Down"), L("Move current slider thumb Down") },
|
||||||
|
@ -252,8 +252,8 @@ void KBShortcutsDialog::fill_shortcuts()
|
||||||
m_full_shortcuts.push_back(std::make_pair(_L("Layers Slider"), layers_slider_shortcuts));
|
m_full_shortcuts.push_back(std::make_pair(_L("Layers Slider"), layers_slider_shortcuts));
|
||||||
|
|
||||||
Shortcuts sequential_slider_shortcuts = {
|
Shortcuts sequential_slider_shortcuts = {
|
||||||
{ L("Arrow Left"), L("Move current slider thumb Left") },
|
{ L("Arrow Left"), L("Move active slider thumb Left") },
|
||||||
{ L("Arrow Right"), L("Move current slider thumb Right") },
|
{ L("Arrow Right"), L("Move active slider thumb Right") },
|
||||||
{ "Shift+", L("Press to speed up 5 times while moving thumb\nwith arrow keys or mouse wheel") },
|
{ "Shift+", L("Press to speed up 5 times while moving thumb\nwith arrow keys or mouse wheel") },
|
||||||
{ ctrl, L("Press to speed up 5 times while moving thumb\nwith arrow keys or mouse wheel") },
|
{ ctrl, L("Press to speed up 5 times while moving thumb\nwith arrow keys or mouse wheel") },
|
||||||
};
|
};
|
||||||
|
|
|
@ -623,7 +623,7 @@ void PhysicalPrinterDialog::DeletePreset(PresetForPrinter* preset_for_printer)
|
||||||
{
|
{
|
||||||
if (m_presets.size() == 1) {
|
if (m_presets.size() == 1) {
|
||||||
wxString msg_text = _L("It's not possible to delete the last related preset for the printer.");
|
wxString msg_text = _L("It's not possible to delete the last related preset for the printer.");
|
||||||
wxMessageDialog dialog(nullptr, msg_text, _L("Infornation"), wxICON_INFORMATION | wxOK);
|
wxMessageDialog dialog(nullptr, msg_text, _L("Information"), wxICON_INFORMATION | wxOK);
|
||||||
dialog.ShowModal();
|
dialog.ShowModal();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1192,7 +1192,7 @@ void Sidebar::update_sliced_info_sizer()
|
||||||
|
|
||||||
double spool_weight = filament_preset->config.opt_float("filament_spool_weight", 0);
|
double spool_weight = filament_preset->config.opt_float("filament_spool_weight", 0);
|
||||||
if (spool_weight != 0.0) {
|
if (spool_weight != 0.0) {
|
||||||
new_label += "\n " + _L("(weight with spool)");
|
new_label += "\n " + _L("(including spool)");
|
||||||
info_text += wxString::Format(" (%.2f)\n", filament_weight + spool_weight);
|
info_text += wxString::Format(" (%.2f)\n", filament_weight + spool_weight);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1586,7 +1586,7 @@ void TabPrint::build()
|
||||||
page = add_options_page(L("Output options"), "output+page_white");
|
page = add_options_page(L("Output options"), "output+page_white");
|
||||||
optgroup = page->new_optgroup(L("Sequential printing"));
|
optgroup = page->new_optgroup(L("Sequential printing"));
|
||||||
optgroup->append_single_option_line("complete_objects", "sequential-printing_124589");
|
optgroup->append_single_option_line("complete_objects", "sequential-printing_124589");
|
||||||
line = { L("Extruder clearance (mm)"), "" };
|
line = { L("Extruder clearance"), "" };
|
||||||
line.append_option(optgroup->get_option("extruder_clearance_radius"));
|
line.append_option(optgroup->get_option("extruder_clearance_radius"));
|
||||||
line.append_option(optgroup->get_option("extruder_clearance_height"));
|
line.append_option(optgroup->get_option("extruder_clearance_height"));
|
||||||
optgroup->append_line(line);
|
optgroup->append_line(line);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue