mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
ENH: chinese translation
Change-Id: I6c072b36a14fed516a9cdcbd7c7ea2038ec29f3f
This commit is contained in:
parent
a981d3ac2c
commit
c1cc270788
27 changed files with 1540 additions and 455 deletions
|
@ -10,9 +10,6 @@
|
|||
|
||||
const wxColour text_color(107, 107, 107);
|
||||
|
||||
wxString hint1 = _L("Please home all axes (click ");
|
||||
wxString hint2 = _L(") to locate the toolhead's position. This prevents device moving beyond the printable boundary and causing equipment wear.");
|
||||
|
||||
namespace Slic3r { namespace GUI {
|
||||
RecenterDialog::RecenterDialog(wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style)
|
||||
: DPIDialog(parent, id, _L("Confirm"), pos, size, style)
|
||||
|
@ -20,6 +17,9 @@ RecenterDialog::RecenterDialog(wxWindow* parent, wxWindowID id, const wxString&
|
|||
std::string icon_path = (boost::format("%1%/images/BambuStudioTitle.ico") % resources_dir()).str();
|
||||
SetIcon(wxIcon(encode_path(icon_path.c_str()), wxBITMAP_TYPE_ICO));
|
||||
|
||||
hint1 = _L("Please home all axes (click ");
|
||||
hint2 = _L(") to locate the toolhead's position. This prevents device moving beyond the printable boundary and causing equipment wear.");
|
||||
|
||||
init_bitmap();
|
||||
|
||||
SetBackgroundColour(*wxWHITE);
|
||||
|
@ -130,7 +130,7 @@ void RecenterDialog::render(wxDC& dc) {
|
|||
break;
|
||||
}
|
||||
else {
|
||||
fisrt_line = hint2.SubString(0, i);
|
||||
fisrt_line = hint2.SubString(0, i - 1);
|
||||
remaining_line = hint2.SubString(i, hint2.length());
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue