优化排除对象的英文语法错误

This commit is contained in:
张开科 2024-12-31 14:10:03 +08:00
parent e8d509cb6c
commit 1a177e90d0
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ class ObjectMap(Gtk.DrawingArea):
script = {"script": f"EXCLUDE_OBJECT NAME={name}"}
self._screen._confirm_send_action(
None,
_("Are you sure do you want to exclude the object?") + f"\n\n{name}",
_("Are you sure you want to exclude the object?") + f"\n\n{name}",
"printer.gcode.script",
script
)

View File

@ -69,7 +69,7 @@ class Panel(ScreenPanel):
script = {"script": f"EXCLUDE_OBJECT NAME={name}"}
self._screen._confirm_send_action(
widget,
_("Are you sure do you want to exclude the object?") + f"\n\n{name}",
_("Are you sure you want to exclude the object?") + f"\n\n{name}",
"printer.gcode.script",
script
)