优化不合理名称和不合理大小写
This commit is contained in:
parent
2e650926bd
commit
bc6d60fa18
@ -30,7 +30,7 @@ panel: bed_mesh
|
||||
enable: {{ 'bed_mesh' in printer.config_sections }}
|
||||
|
||||
[menu __main more zoffset]
|
||||
name: {{ gettext('Z Calibrate') }}
|
||||
name: {{ gettext('Probe Calibrate') }}
|
||||
icon: z-farther
|
||||
panel: zcalibrate
|
||||
|
||||
|
@ -22,7 +22,7 @@ class Panel(ScreenPanel):
|
||||
"section": "main",
|
||||
"name": _("Adaptive Bed Leveling"),
|
||||
"type": "binary",
|
||||
"tooltip": _("Leveling Only in the Actual Print Area"),
|
||||
"tooltip": _("Leveling only in the actual print area"),
|
||||
"value": "False",
|
||||
"callback": self.set_adaptive_leveling,
|
||||
}
|
||||
@ -50,7 +50,7 @@ class Panel(ScreenPanel):
|
||||
{
|
||||
"factory_settings": {
|
||||
"section": "main",
|
||||
"name": _("Restore factory settings"),
|
||||
"name": _("Restore Factory Settings"),
|
||||
"type": "button",
|
||||
"tooltip": _("This operation will clear the user data"),
|
||||
"value": "True",
|
||||
|
@ -28,21 +28,13 @@ class Panel(ScreenPanel):
|
||||
self.calibrating_axis = None
|
||||
|
||||
auto_calibration_label = Gtk.Label(hexpand=True)
|
||||
auto_calibration_label.set_markup('<big><b>Auto Calibration</b></big>')
|
||||
auto_calibration_label.set_markup("<big><b>{}</b></big>".format(_("Auto Calibration")))
|
||||
|
||||
auto_grid = Gtk.Grid()
|
||||
auto_grid.attach(auto_calibration_label, 0, 0, 1, 1)
|
||||
auto_grid.attach(self.calibrate_btn, 1, 0, 1, 1)
|
||||
|
||||
manual_calibration_label = Gtk.Label(vexpand=True)
|
||||
manual_calibration_label.set_markup('<big><b>Manual Calibration</b></big>')
|
||||
|
||||
disclaimer = Gtk.Label(wrap=True, halign=Gtk.Align.CENTER)
|
||||
disclaimer.set_markup('<small>NOTE: Edit your printer.cfg to save manual calibration changes.</small>')
|
||||
|
||||
input_grid = Gtk.Grid()
|
||||
input_grid.attach(manual_calibration_label, 0, 0, 3, 1)
|
||||
input_grid.attach(disclaimer, 0, 1, 3, 1)
|
||||
|
||||
for i, dim_freq in enumerate(XY_FREQ):
|
||||
axis_lbl = Gtk.Label(hexpand=False, vexpand=True, halign=Gtk.Align.START, valign=Gtk.Align.CENTER,
|
||||
|
@ -362,7 +362,7 @@ class Panel(ScreenPanel):
|
||||
'fine_tune': self._gtk.Button("fine-tune", _("Fine Tuning"), "color4"),
|
||||
'menu': self._gtk.Button("main-menu", _("Main Menu"), "color4"),
|
||||
'pause': self._gtk.Button("pause", _("Pause"), "color1"),
|
||||
'restart': self._gtk.Button("refresh", _("Restart"), "color3"),
|
||||
'restart': self._gtk.Button("refresh", _("Reprint"), "color3"),
|
||||
'resume': self._gtk.Button("resume", _("Resume"), "color1"),
|
||||
'save_offset_probe': self._gtk.Button("home-z", _("Save Z") + "\n" + "Probe", "color1"),
|
||||
'save_offset_endstop': self._gtk.Button("home-z", _("Save Z") + "\n" + "Endstop", "color2"),
|
||||
|
@ -48,8 +48,8 @@ class Panel(ScreenPanel):
|
||||
if isinstance(label, Gtk.Label):
|
||||
label.set_ellipsize(Pango.EllipsizeMode.END)
|
||||
self.buttons = {
|
||||
"z+": self._gtk.Button("z-farther", _("Lower Bed"), "color4"),
|
||||
"z-": self._gtk.Button("z-closer", _("Raise Bed"), "color1"),
|
||||
"z+": self._gtk.Button("z-farther", "Z+", "color4"),
|
||||
"z-": self._gtk.Button("z-closer", "Z-", "color1"),
|
||||
"start_z_offset": self._gtk.Button("offset_z", _("Z offset Calibrate"), "color3"),
|
||||
"start_xy_offset": self._gtk.Button("resume", _("XY offset Calibrate"), "color3"),
|
||||
"complete": self._gtk.Button("complete", _("Save"), "color3"),
|
||||
@ -108,7 +108,7 @@ class Panel(ScreenPanel):
|
||||
text = (
|
||||
_("Start testing the Z offset value of the second nozzle?\n")
|
||||
+ "\n\n"
|
||||
+ _("Please ensure that the Z Calibrate has been performed")
|
||||
+ _("Please ensure that the Probe Calibrate has been performed")
|
||||
)
|
||||
label = Gtk.Label(wrap=True, vexpand=True)
|
||||
label.set_markup(text)
|
||||
|
@ -50,8 +50,8 @@ class Panel(ScreenPanel):
|
||||
if isinstance(label, Gtk.Label):
|
||||
label.set_ellipsize(Pango.EllipsizeMode.END)
|
||||
self.buttons = {
|
||||
'zpos': self._gtk.Button('z-farther', _("Raise Nozzle"), 'color4'),
|
||||
'zneg': self._gtk.Button('z-closer', _("Lower Nozzle"), 'color1'),
|
||||
'zpos': self._gtk.Button('z-farther', "Z+", 'color4'),
|
||||
'zneg': self._gtk.Button('z-closer', "Z-", 'color1'),
|
||||
'start': self._gtk.Button('resume', _("Start"), 'color3'),
|
||||
'complete': self._gtk.Button('complete', _('Accept'), 'color3'),
|
||||
'cancel': self._gtk.Button('cancel', _('Abort'), 'color2'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user