mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-27 02:41:17 +00:00
Misc fixes to GUI strings (#14047)
* Degrees symbol don't need localization * The Z when referring to the axis should be uppercase * Fix the spelling of "GitHub" to camelcase * Unify the casing of mouse button shortcuts * Always use G-code with an hyphen * Fix the spelling of "restricted" * More grammar fixes * add missing modifications --------- Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
co-authored by
SoftFever
parent
ee9a796f14
commit
4535f19501
@@ -4388,7 +4388,7 @@ void PrintConfigDef::init_fff_params()
|
||||
def->tooltip = L("Reduce the height of top-surface perimeters to match the model edge height.\n"
|
||||
"Affects perimeters with a slope less than this angle (degrees).\n"
|
||||
"A reasonable value is 35. Set to 0 to disable.");
|
||||
def->sidetext = L("°");
|
||||
def->sidetext = u8"°"; // degrees, don't need translation
|
||||
def->min = 0;
|
||||
def->max = 90;
|
||||
def->mode = comExpert;
|
||||
@@ -4402,7 +4402,7 @@ void PrintConfigDef::init_fff_params()
|
||||
def->set_default_value(new ConfigOptionBool(false));
|
||||
|
||||
def = this->add("zaa_min_z", coFloat);
|
||||
def->label = L("Minimum z height");
|
||||
def->label = L("Minimum Z height");
|
||||
def->category = L("Quality");
|
||||
def->tooltip = L("Minimum Z-layer height.\n"
|
||||
"Also controls the slicing plane.");
|
||||
|
||||
@@ -1210,8 +1210,8 @@ GLCanvas3D::GLCanvas3D(wxGLCanvas* canvas, Bed3D &bed)
|
||||
const wxString alt = GUI::shortkey_alt_prefix();
|
||||
|
||||
m_shortcuts_assembly_view = {
|
||||
{_L("Left mouse button"), _L("Object Selection")},
|
||||
{alt + _L("Left mouse button"), _L("Part Selection")},
|
||||
{_L("Left mouse button"), _L("Object selection")},
|
||||
{alt + _L("Left mouse button"), _L("Part selection")},
|
||||
{"1~16 " + _L("number keys"), _L("Number keys can quickly change the color of objects")},
|
||||
};
|
||||
}
|
||||
@@ -9468,7 +9468,7 @@ void GLCanvas3D::_render_paint_toolbar() const
|
||||
|
||||
float GLCanvas3D::_render_assembly_tooltip_button(ImGuiWrapper* imgui_wrapper) const
|
||||
{
|
||||
const float text_height = imgui_wrapper->calc_text_size(_L("part selection")).y;
|
||||
const float text_height = imgui_wrapper->calc_text_size(_L("Part selection")).y;
|
||||
ImVec2 windowPos = ImGui::GetWindowPos();
|
||||
float x = windowPos.x;
|
||||
float y = windowPos.y - ImGui::GetFrameHeight() - (5 * text_height);
|
||||
|
||||
@@ -472,7 +472,7 @@ static const FileWildcards file_wildcards_by_type[FT_SIZE] = {
|
||||
/* FT_OBJ */ { L("OBJ files"), { ".obj"sv } },
|
||||
/* FT_AMF */ { L("AMF files"), { ".amf"sv, ".zip.amf"sv, ".xml"sv } },
|
||||
/* FT_3MF */ { L("3MF files"), { ".3mf"sv } },
|
||||
/* FT_GCODE_3MF */ {L("Gcode 3MF files"), {".gcode.3mf"sv}},
|
||||
/* FT_GCODE_3MF */ {L("G-code 3MF files"), {".gcode.3mf"sv}},
|
||||
/* FT_GCODE */ { L("G-code files"), { ".gcode"sv} },
|
||||
#ifdef __APPLE__
|
||||
/* FT_MODEL */
|
||||
|
||||
@@ -162,7 +162,7 @@ void GLGizmoAssembly::render_input_window_warning(bool same_model_object)
|
||||
if (not_assembled_warning) {
|
||||
m_imgui->warning_text(
|
||||
_L("Warning") + ": " +
|
||||
_L("It is recommended to assemble the objects first,\nbecause the objects is restriced to bed \nand only parts can be lifted.")
|
||||
_L("It is recommended to assemble objects first,\nbecause they are restricted to the bed \nand only parts can be lifted.")
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7684,7 +7684,7 @@ void Plater::priv::split_object(int obj_idx, bool auto_drop /* = true */)
|
||||
};
|
||||
bool split_auto_drop = auto_drop;
|
||||
if (current_model_object->instances[0]->auto_drop && is_atleast_one_floating()) {
|
||||
MessageDialog dlg(q, _L("Disable Auto-Drop to preserve z positioning?\n"),
|
||||
MessageDialog dlg(q, _L("Disable Auto-Drop to preserve Z positioning?\n"),
|
||||
_L("Object with floating parts was detected"), wxICON_QUESTION | wxYES_NO);
|
||||
|
||||
if (dlg.ShowModal() == wxID_YES)
|
||||
|
||||
@@ -255,7 +255,7 @@ UpdateVersionDialog::UpdateVersionDialog(wxWindow *parent)
|
||||
|
||||
// Store builds get updates from the Microsoft Store: wxID_YES opens the Store
|
||||
// product page there (see the EVT_SLIC3R_VERSION_ONLINE handler) instead of GitHub.
|
||||
auto github_link = new HyperLink(this, is_running_in_msix() ? _L("Check on Microsoft Store") : _L("Check on Github"), "", LB_AUTO_WRAP);
|
||||
auto github_link = new HyperLink(this, is_running_in_msix() ? _L("Check on Microsoft Store") : _L("Check on GitHub"), "", LB_AUTO_WRAP);
|
||||
github_link->Bind(wxEVT_LEFT_DOWN, [this](wxMouseEvent &e) {
|
||||
EndModal(wxID_YES);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user