v0.2.1
Screen: * The no DPMS option should now protect from the first touch, and it should provide a way for screens that turn all white/random colors/no-signal to just be all black Zcalibrate: * Add selector if multiple options can be used * Go to the middle of the bed if position is not configured * Add an option to set the custom position per printer Fine_tune: * Add reset button for each of the 3 options Network: * Add reload button * Show hidden SSIDs as Hidden instead of x00 System: * Add full update option to update all items at once Mesh: * Fix graph getting a bit out of screen in vertical mode Menu: * Use scrollbars when there are too many items * Fix vertical mode not arranging items correctly Move: * Show ??? if not homed * Hide originXY for delta kinematics Splash: * Change buttons to local commands if not connected to moonraker * Fix issues with power button if klipper is not connected Misc: * Keyboard now works on all the entry boxes, you can press enter on them to confirm. * If there is only 1 extruder, then the nozzle icon is shown instead of the number
No files matched your search
@@ -78,16 +78,17 @@ titlebar_items: chamber, MCU, Pi
|
||||
# The style of the user defined items in the titlebar
|
||||
# Can be 'full' indicating that the full name is shown, 'short' for the first letter, or None (default) for no name
|
||||
titlebar_name_type: None
|
||||
```
|
||||
|
||||
## Z probe calibrate Option
|
||||
If for any reason the XYZ home position is not suitable for calibrating the probe Z offset, you can enter the coordinates for the desired position here.
|
||||
```
|
||||
[z_calibrate_position]
|
||||
# The specified positions must be> 0 otherwise this option is ignored.
|
||||
# the center of the print bed is a good value
|
||||
# Z probe calibrate position
|
||||
# By default is the middle of the bed
|
||||
calibrate_x_position: 100
|
||||
calibrate_y_position: 100
|
||||
|
||||
# Screen DPMS
|
||||
# By default DPMS is used to turn off the screen, this should prevent burn-in and save power.
|
||||
# However if you find that your screen doesn't turn off because it doesn't support it
|
||||
# Setting this to false will just turn the screen black.
|
||||
use_dpms: True
|
||||
```
|
||||
|
||||
## Preheat Options
|
||||
|
||||
@@ -199,7 +199,7 @@ class KlippyGtk:
|
||||
|
||||
if style is not None:
|
||||
b.get_style_context().add_class(style)
|
||||
|
||||
b.connect("clicked", self.screen.reset_screensaver_timeout)
|
||||
return b
|
||||
|
||||
def ButtonImage(self, image_name, label=None, style=None, width_scale=1.38, height_scale=1.38,
|
||||
@@ -239,7 +239,7 @@ class KlippyGtk:
|
||||
|
||||
if style is not None:
|
||||
b.get_style_context().add_class(style)
|
||||
|
||||
b.connect("clicked", self.screen.reset_screensaver_timeout)
|
||||
return b
|
||||
|
||||
def Dialog(self, screen, buttons, content, callback=None, *args):
|
||||
@@ -300,6 +300,7 @@ class KlippyGtk:
|
||||
ctx = b.get_style_context()
|
||||
ctx.add_class(style)
|
||||
|
||||
b.connect("clicked", self.screen.reset_screensaver_timeout)
|
||||
return b
|
||||
|
||||
def HomogeneousGrid(self, width=None, height=None):
|
||||
@@ -315,6 +316,7 @@ class KlippyGtk:
|
||||
b.props.relief = Gtk.ReliefStyle.NONE
|
||||
b.set_hexpand(True)
|
||||
b.set_vexpand(True)
|
||||
b.connect("clicked", self.screen.reset_screensaver_timeout)
|
||||
return b
|
||||
|
||||
def formatFileName(self, name):
|
||||
|
||||
@@ -73,16 +73,6 @@ class KlippyWebsocket(threading.Thread):
|
||||
("\n\n%s\n\n") % self._url +
|
||||
_("Retry #%s") % self.reconnect_count)
|
||||
return False
|
||||
if state['result']['klippy_connected'] is False:
|
||||
if self.reconnect_count > 3:
|
||||
self._screen.panels['splash_screen'].update_text(
|
||||
_("Moonraker: connected") +
|
||||
("\n\nKlipper: %s\n\n") % state['result']['klippy_state'] +
|
||||
_("Retry #%s") % self.reconnect_count)
|
||||
return False
|
||||
printer_info = self._screen.apiclient.get_printer_info()
|
||||
if printer_info is False:
|
||||
return False
|
||||
token = self._screen.apiclient.get_oneshot_token()
|
||||
except Exception:
|
||||
logging.debug("Unable to get oneshot token")
|
||||
|
||||
@@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-03-20 10:15-0300\n"
|
||||
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@@ -52,6 +52,9 @@ msgstr ""
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure you wish to disable motors?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr ""
|
||||
|
||||
@@ -197,15 +200,25 @@ msgstr ""
|
||||
msgid "Finish"
|
||||
msgstr ""
|
||||
|
||||
msgid "Firmware Restart"
|
||||
msgid ""
|
||||
"Firmware\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
|
||||
msgid "Font Size"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Full\n"
|
||||
"Update"
|
||||
msgstr ""
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr ""
|
||||
|
||||
msgid "Hidden"
|
||||
msgstr ""
|
||||
|
||||
msgid "Hide"
|
||||
msgstr ""
|
||||
|
||||
@@ -236,12 +249,6 @@ msgstr ""
|
||||
msgid "Hostname"
|
||||
msgstr ""
|
||||
|
||||
msgid "IPv4"
|
||||
msgstr ""
|
||||
|
||||
msgid "IPv6"
|
||||
msgstr ""
|
||||
|
||||
msgid "Icon Theme"
|
||||
msgstr ""
|
||||
|
||||
@@ -269,7 +276,9 @@ msgstr ""
|
||||
msgid "Invert Z"
|
||||
msgstr ""
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgid ""
|
||||
"Klipper\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
|
||||
msgid "Klipper has disconnected"
|
||||
@@ -374,6 +383,9 @@ msgstr ""
|
||||
msgid "Paused"
|
||||
msgstr ""
|
||||
|
||||
msgid "Perform a full upgrade?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Please recompile and flash the micro-controller."
|
||||
msgstr ""
|
||||
|
||||
@@ -499,7 +511,7 @@ msgstr ""
|
||||
msgid "Start"
|
||||
msgstr ""
|
||||
|
||||
msgid "Starting WiFi Re-association"
|
||||
msgid "Starting WiFi Association"
|
||||
msgstr ""
|
||||
|
||||
msgid "Starting recovery for"
|
||||
@@ -549,6 +561,9 @@ msgstr ""
|
||||
msgid "Update"
|
||||
msgstr ""
|
||||
|
||||
msgid "Updating"
|
||||
msgstr ""
|
||||
|
||||
msgid "Uploaded"
|
||||
msgstr ""
|
||||
|
||||
@@ -576,7 +591,7 @@ msgstr ""
|
||||
msgid "Z Move Speed (mm/s)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Z Offset"
|
||||
msgid "Z Position"
|
||||
msgstr ""
|
||||
|
||||
msgid "Z Tilt"
|
||||
|
||||
@@ -2,7 +2,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: KlipperScreen\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-03-20 10:15-0300\n"
|
||||
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: SRBJ\n"
|
||||
"Language-Team: \n"
|
||||
@@ -10,8 +10,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 3.0\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Poedit 3.0.1\n"
|
||||
|
||||
#, python-format
|
||||
msgid "%s will be updated to version"
|
||||
@@ -24,7 +24,7 @@ msgid "24 Hour Time"
|
||||
msgstr "24-timers visning"
|
||||
|
||||
msgid "A FIRMWARE_RESTART may fix the issue."
|
||||
msgstr ""
|
||||
msgstr "En FIRMWARE_RESTART kan løse problemet."
|
||||
|
||||
msgid "Abort"
|
||||
msgstr "Annuller"
|
||||
@@ -47,6 +47,9 @@ msgstr "Er du sikker på, at du vil køre nødstop?"
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr "Er du sikker på du vil annullere det igangværende print?"
|
||||
|
||||
msgid "Are you sure you wish to disable motors?"
|
||||
msgstr "Er du sikker på, at du vil deaktivere motorer?"
|
||||
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr "Er du sikker på du vil genstarte systemet?"
|
||||
|
||||
@@ -54,10 +57,10 @@ msgid "Are you sure you wish to shutdown the system?"
|
||||
msgstr "Er du sikker på du vil lukke systemet?"
|
||||
|
||||
msgid "Auto"
|
||||
msgstr ""
|
||||
msgstr "Auto"
|
||||
|
||||
msgid "Auto-scroll"
|
||||
msgstr ""
|
||||
msgstr "Auto-scroll"
|
||||
|
||||
msgid "Bed Level"
|
||||
msgstr "Bed-Level"
|
||||
@@ -90,7 +93,7 @@ msgid "Cancelling"
|
||||
msgstr "Annullerer"
|
||||
|
||||
msgid "Cannot connect to Moonraker"
|
||||
msgstr ""
|
||||
msgstr "Kan ikke oprette forbindelse til Moonraker"
|
||||
|
||||
msgid "Channel"
|
||||
msgstr "Kanal"
|
||||
@@ -194,15 +197,29 @@ msgstr "Finjustering"
|
||||
msgid "Finish"
|
||||
msgstr "Færdig"
|
||||
|
||||
msgid "Firmware Restart"
|
||||
msgstr "Genstart alt"
|
||||
msgid ""
|
||||
"Firmware\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
"Firmware\n"
|
||||
"Genstart"
|
||||
|
||||
msgid "Font Size"
|
||||
msgstr "Skriftstørrelse"
|
||||
|
||||
msgid ""
|
||||
"Full\n"
|
||||
"Update"
|
||||
msgstr ""
|
||||
"Fuld\n"
|
||||
"Opdatering"
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "Gå tilbage"
|
||||
|
||||
msgid "Hidden"
|
||||
msgstr "Skjult"
|
||||
|
||||
msgid "Hide"
|
||||
msgstr "Skjule"
|
||||
|
||||
@@ -233,12 +250,6 @@ msgstr "Homing"
|
||||
msgid "Hostname"
|
||||
msgstr "Værtsnavn"
|
||||
|
||||
msgid "IPv4"
|
||||
msgstr "IPv4"
|
||||
|
||||
msgid "IPv6"
|
||||
msgstr "IPv6"
|
||||
|
||||
msgid "Icon Theme"
|
||||
msgstr "Ikon-tema"
|
||||
|
||||
@@ -266,8 +277,12 @@ msgstr "Invertér Y"
|
||||
msgid "Invert Z"
|
||||
msgstr "Invertér Z"
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr "Genstart Klipper"
|
||||
msgid ""
|
||||
"Klipper\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
"Klipper\n"
|
||||
"Genstart"
|
||||
|
||||
msgid "Klipper has disconnected"
|
||||
msgstr "Klipper er frokoblet"
|
||||
@@ -330,7 +345,7 @@ msgid "Modified"
|
||||
msgstr "Ændret"
|
||||
|
||||
msgid "Moonraker: connected"
|
||||
msgstr ""
|
||||
msgstr "Moonraker: tilsluttet"
|
||||
|
||||
msgid "Move"
|
||||
msgstr "Flytning"
|
||||
@@ -363,7 +378,7 @@ msgstr[0] "Pakken vil blive opdateret"
|
||||
msgstr[1] "Pakker vil blive opdateret"
|
||||
|
||||
msgid "Password saved"
|
||||
msgstr ""
|
||||
msgstr "Adgangskode gemt"
|
||||
|
||||
msgid "Pause"
|
||||
msgstr "Pause"
|
||||
@@ -371,8 +386,11 @@ msgstr "Pause"
|
||||
msgid "Paused"
|
||||
msgstr "På pause"
|
||||
|
||||
msgid "Perform a full upgrade?"
|
||||
msgstr "Vil du udføre en fuld opgradering?"
|
||||
|
||||
msgid "Please recompile and flash the micro-controller."
|
||||
msgstr ""
|
||||
msgstr "Genkompilér og flash mikrocontrolleren."
|
||||
|
||||
msgid "Power"
|
||||
msgstr "Strømstyring"
|
||||
@@ -427,7 +445,7 @@ msgstr "Retract"
|
||||
|
||||
#, python-format
|
||||
msgid "Retry #%s"
|
||||
msgstr ""
|
||||
msgstr "Prøv igen #%s"
|
||||
|
||||
msgid "Save"
|
||||
msgstr "Gem"
|
||||
@@ -439,7 +457,7 @@ msgid "Save configuration"
|
||||
msgstr "Gem Konfiguration"
|
||||
|
||||
msgid "Screen DPMS"
|
||||
msgstr ""
|
||||
msgstr "Skærm DPMS"
|
||||
|
||||
msgid "Screen Power Off Time"
|
||||
msgstr "Skærm timeout"
|
||||
@@ -451,11 +469,11 @@ msgid "Select"
|
||||
msgstr "Vælg"
|
||||
|
||||
msgid "Send"
|
||||
msgstr ""
|
||||
msgstr "Sende"
|
||||
|
||||
#, python-format
|
||||
msgid "Sending Power ON signal to: %s"
|
||||
msgstr ""
|
||||
msgstr "Sender Power ON-signal til: %s"
|
||||
|
||||
msgid "Set Temp"
|
||||
msgstr "Indstil Temp"
|
||||
@@ -473,7 +491,7 @@ msgid "Slicer"
|
||||
msgstr "Slicer"
|
||||
|
||||
msgid "Slicer Time correction (%)"
|
||||
msgstr ""
|
||||
msgstr "Slicer Tidskorrektion (%)"
|
||||
|
||||
msgid "Small"
|
||||
msgstr "Lille"
|
||||
@@ -496,8 +514,8 @@ msgstr "Hastighed for 90° hjørne"
|
||||
msgid "Start"
|
||||
msgstr "Start"
|
||||
|
||||
msgid "Starting WiFi Re-association"
|
||||
msgstr "Gendanner forbindelse til WiFi"
|
||||
msgid "Starting WiFi Association"
|
||||
msgstr "Starter WiFi Association"
|
||||
|
||||
msgid "Starting recovery for"
|
||||
msgstr "Gendanner"
|
||||
@@ -536,7 +554,7 @@ msgid "Tool"
|
||||
msgstr "Ekstruder"
|
||||
|
||||
msgid "Total:"
|
||||
msgstr ""
|
||||
msgstr "Total:"
|
||||
|
||||
msgid "Unknown Heater"
|
||||
msgstr "Ukendt varmelegeme"
|
||||
@@ -550,6 +568,9 @@ msgstr "Up-to-Date"
|
||||
msgid "Update"
|
||||
msgstr "Opdater"
|
||||
|
||||
msgid "Updating"
|
||||
msgstr "Opdatering"
|
||||
|
||||
msgid "Uploaded"
|
||||
msgstr "Uploadet"
|
||||
|
||||
@@ -577,8 +598,8 @@ msgstr "Kalibrér Z"
|
||||
msgid "Z Move Speed (mm/s)"
|
||||
msgstr "Z Flyt hastighed (mm/s)"
|
||||
|
||||
msgid "Z Offset"
|
||||
msgstr "Z-offset"
|
||||
msgid "Z Position"
|
||||
msgstr "Z-position"
|
||||
|
||||
msgid "Z Tilt"
|
||||
msgstr "Z-tilt"
|
||||
@@ -614,6 +635,15 @@ msgstr "mm/s"
|
||||
msgid "mm/s^2"
|
||||
msgstr "mm/s^2"
|
||||
|
||||
#~ msgid "IPv4"
|
||||
#~ msgstr "IPv4"
|
||||
|
||||
#~ msgid "IPv6"
|
||||
#~ msgstr "IPv6"
|
||||
|
||||
#~ msgid "Z Offset"
|
||||
#~ msgstr "Z-offset"
|
||||
|
||||
#~ msgid "Unknown Heater "
|
||||
#~ msgstr "Ukendt varmelegeme "
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: KlipperScreen\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-03-20 10:15-0300\n"
|
||||
"PO-Revision-Date: 2022-03-05 23:08+0100\n"
|
||||
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
|
||||
"PO-Revision-Date: 2022-03-31 10:43-0300\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: de_DE\n"
|
||||
@@ -20,7 +20,7 @@ msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgid "%s will be updated to version"
|
||||
msgstr "%s wird aktualisiert auf Version"
|
||||
msgstr "%s wird auf Version aktualisiert"
|
||||
|
||||
msgid "(default)"
|
||||
msgstr "(Standard)"
|
||||
@@ -29,7 +29,7 @@ msgid "24 Hour Time"
|
||||
msgstr "24h-Zeit"
|
||||
|
||||
msgid "A FIRMWARE_RESTART may fix the issue."
|
||||
msgstr ""
|
||||
msgstr "Ein FIRMWARE_RESTART kann das Problem beheben."
|
||||
|
||||
msgid "Abort"
|
||||
msgstr "Abbrechen"
|
||||
@@ -52,6 +52,9 @@ msgstr "Sind Sie sicher, dass Sie Not-Aus ausführen möchten?"
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr "Möchten Sie diesen Druck wirklich abbrechen?"
|
||||
|
||||
msgid "Are you sure you wish to disable motors?"
|
||||
msgstr "Möchten Sie die Motoren wirklich deaktivieren?"
|
||||
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr "Möchten Sie das System wirklich neu starten?"
|
||||
|
||||
@@ -59,10 +62,10 @@ msgid "Are you sure you wish to shutdown the system?"
|
||||
msgstr "Möchten Sie das System wirklich herunterfahren?"
|
||||
|
||||
msgid "Auto"
|
||||
msgstr ""
|
||||
msgstr "Auto"
|
||||
|
||||
msgid "Auto-scroll"
|
||||
msgstr ""
|
||||
msgstr "Auto-scroll"
|
||||
|
||||
msgid "Bed Level"
|
||||
msgstr "Druckbett leveln"
|
||||
@@ -95,7 +98,7 @@ msgid "Cancelling"
|
||||
msgstr "Wird unterbrochen"
|
||||
|
||||
msgid "Cannot connect to Moonraker"
|
||||
msgstr ""
|
||||
msgstr "Es kann keine Verbindung zu Moonraker hergestellt werden"
|
||||
|
||||
msgid "Channel"
|
||||
msgstr "Kanal"
|
||||
@@ -199,15 +202,29 @@ msgstr "Feintuning"
|
||||
msgid "Finish"
|
||||
msgstr "Ziel"
|
||||
|
||||
msgid "Firmware Restart"
|
||||
msgstr "Firmware neustarten"
|
||||
msgid ""
|
||||
"Firmware\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
"Firmware\n"
|
||||
"Neu starten"
|
||||
|
||||
msgid "Font Size"
|
||||
msgstr "Schriftgröße"
|
||||
|
||||
msgid ""
|
||||
"Full\n"
|
||||
"Update"
|
||||
msgstr ""
|
||||
"Voll\n"
|
||||
"Aktualisieren"
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "Zurück"
|
||||
|
||||
msgid "Hidden"
|
||||
msgstr "Versteckt"
|
||||
|
||||
msgid "Hide"
|
||||
msgstr "Verstecken"
|
||||
|
||||
@@ -248,12 +265,6 @@ msgstr "Grundposition"
|
||||
msgid "Hostname"
|
||||
msgstr "Hostname"
|
||||
|
||||
msgid "IPv4"
|
||||
msgstr "IPv4"
|
||||
|
||||
msgid "IPv6"
|
||||
msgstr "IPv6"
|
||||
|
||||
msgid "Icon Theme"
|
||||
msgstr "Icon Theme"
|
||||
|
||||
@@ -281,8 +292,12 @@ msgstr "Achse Y invertieren"
|
||||
msgid "Invert Z"
|
||||
msgstr "Achse Z invertieren"
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr "Klipper neustarten"
|
||||
msgid ""
|
||||
"Klipper\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
"Klipper\n"
|
||||
"Neu starten"
|
||||
|
||||
msgid "Klipper has disconnected"
|
||||
msgstr "Klipper nicht verbunden"
|
||||
@@ -345,7 +360,7 @@ msgid "Modified"
|
||||
msgstr "Modifiziert"
|
||||
|
||||
msgid "Moonraker: connected"
|
||||
msgstr ""
|
||||
msgstr "Moonraker: Verbunden"
|
||||
|
||||
msgid "Move"
|
||||
msgstr "Bewegen"
|
||||
@@ -378,7 +393,7 @@ msgstr[0] "Paket wird aktualisiert"
|
||||
msgstr[1] "Pakete werden aktualisiert"
|
||||
|
||||
msgid "Password saved"
|
||||
msgstr ""
|
||||
msgstr "Passwort gespeichert"
|
||||
|
||||
msgid "Pause"
|
||||
msgstr "Pause"
|
||||
@@ -386,8 +401,11 @@ msgstr "Pause"
|
||||
msgid "Paused"
|
||||
msgstr "Pausiert"
|
||||
|
||||
msgid "Perform a full upgrade?"
|
||||
msgstr "Vollständiges Upgrade durchführen?"
|
||||
|
||||
msgid "Please recompile and flash the micro-controller."
|
||||
msgstr ""
|
||||
msgstr "Please recompile and flash the micro-controller."
|
||||
|
||||
msgid "Power"
|
||||
msgstr "Ein"
|
||||
@@ -446,7 +464,7 @@ msgstr "Zurückziehen"
|
||||
|
||||
#, python-format
|
||||
msgid "Retry #%s"
|
||||
msgstr ""
|
||||
msgstr "Wiederholen #%s"
|
||||
|
||||
msgid "Save"
|
||||
msgstr "Speichern"
|
||||
@@ -458,7 +476,7 @@ msgid "Save configuration"
|
||||
msgstr "Speichere Einstellungen"
|
||||
|
||||
msgid "Screen DPMS"
|
||||
msgstr ""
|
||||
msgstr "Bildschirm-DPMS"
|
||||
|
||||
msgid "Screen Power Off Time"
|
||||
msgstr "Bildschirm abschalten in"
|
||||
@@ -470,11 +488,11 @@ msgid "Select"
|
||||
msgstr "Wählen"
|
||||
|
||||
msgid "Send"
|
||||
msgstr ""
|
||||
msgstr "Schicken"
|
||||
|
||||
#, python-format
|
||||
msgid "Sending Power ON signal to: %s"
|
||||
msgstr ""
|
||||
msgstr "Senden des Einschaltsignals an: %s"
|
||||
|
||||
msgid "Set Temp"
|
||||
msgstr "Temp. einstellen"
|
||||
@@ -492,7 +510,7 @@ msgid "Slicer"
|
||||
msgstr "Slicer"
|
||||
|
||||
msgid "Slicer Time correction (%)"
|
||||
msgstr ""
|
||||
msgstr "Slicer-Zeitkorrektur (%)"
|
||||
|
||||
msgid "Small"
|
||||
msgstr "Klein"
|
||||
@@ -515,8 +533,8 @@ msgstr "Eckgeschwindigkeit"
|
||||
msgid "Start"
|
||||
msgstr "Starten"
|
||||
|
||||
msgid "Starting WiFi Re-association"
|
||||
msgstr "Starte WiFi Verbindung"
|
||||
msgid "Starting WiFi Association"
|
||||
msgstr "Wi-Fi Association starten"
|
||||
|
||||
msgid "Starting recovery for"
|
||||
msgstr "Starte Wiederherstellung für"
|
||||
@@ -555,7 +573,7 @@ msgid "Tool"
|
||||
msgstr "Druckkopf"
|
||||
|
||||
msgid "Total:"
|
||||
msgstr ""
|
||||
msgstr "Gesamt:"
|
||||
|
||||
msgid "Unknown Heater"
|
||||
msgstr "Unbekannte Heizung"
|
||||
@@ -571,6 +589,9 @@ msgstr "Aktuell"
|
||||
msgid "Update"
|
||||
msgstr "Update"
|
||||
|
||||
msgid "Updating"
|
||||
msgstr "Aktualisierung"
|
||||
|
||||
msgid "Uploaded"
|
||||
msgstr "Hochgeladen"
|
||||
|
||||
@@ -598,8 +619,8 @@ msgstr "Höhe Kalibrieren"
|
||||
msgid "Z Move Speed (mm/s)"
|
||||
msgstr "Z Bewegungsgeschwindigkeit (mm/s)"
|
||||
|
||||
msgid "Z Offset"
|
||||
msgstr "Z Offset"
|
||||
msgid "Z Position"
|
||||
msgstr "Z-Position"
|
||||
|
||||
msgid "Z Tilt"
|
||||
msgstr "Z-Achse ausrichten"
|
||||
@@ -635,6 +656,15 @@ msgstr "mm/s"
|
||||
msgid "mm/s^2"
|
||||
msgstr "mm/s^2"
|
||||
|
||||
#~ msgid "IPv4"
|
||||
#~ msgstr "IPv4"
|
||||
|
||||
#~ msgid "IPv6"
|
||||
#~ msgstr "IPv6"
|
||||
|
||||
#~ msgid "Z Offset"
|
||||
#~ msgstr "Z Offset"
|
||||
|
||||
#~ msgid "Unknown Heater "
|
||||
#~ msgstr "Unbekannte Heizung "
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: KlipperScreen\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-03-20 10:15-0300\n"
|
||||
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@@ -47,6 +47,9 @@ msgstr ""
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure you wish to disable motors?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr ""
|
||||
|
||||
@@ -192,15 +195,25 @@ msgstr ""
|
||||
msgid "Finish"
|
||||
msgstr ""
|
||||
|
||||
msgid "Firmware Restart"
|
||||
msgid ""
|
||||
"Firmware\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
|
||||
msgid "Font Size"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Full\n"
|
||||
"Update"
|
||||
msgstr ""
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr ""
|
||||
|
||||
msgid "Hidden"
|
||||
msgstr ""
|
||||
|
||||
msgid "Hide"
|
||||
msgstr ""
|
||||
|
||||
@@ -231,12 +244,6 @@ msgstr ""
|
||||
msgid "Hostname"
|
||||
msgstr ""
|
||||
|
||||
msgid "IPv4"
|
||||
msgstr ""
|
||||
|
||||
msgid "IPv6"
|
||||
msgstr ""
|
||||
|
||||
msgid "Icon Theme"
|
||||
msgstr ""
|
||||
|
||||
@@ -264,7 +271,9 @@ msgstr ""
|
||||
msgid "Invert Z"
|
||||
msgstr ""
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgid ""
|
||||
"Klipper\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
|
||||
msgid "Klipper has disconnected"
|
||||
@@ -369,6 +378,9 @@ msgstr ""
|
||||
msgid "Paused"
|
||||
msgstr ""
|
||||
|
||||
msgid "Perform a full upgrade?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Please recompile and flash the micro-controller."
|
||||
msgstr ""
|
||||
|
||||
@@ -494,7 +506,7 @@ msgstr ""
|
||||
msgid "Start"
|
||||
msgstr ""
|
||||
|
||||
msgid "Starting WiFi Re-association"
|
||||
msgid "Starting WiFi Association"
|
||||
msgstr ""
|
||||
|
||||
msgid "Starting recovery for"
|
||||
@@ -544,6 +556,9 @@ msgstr ""
|
||||
msgid "Update"
|
||||
msgstr ""
|
||||
|
||||
msgid "Updating"
|
||||
msgstr ""
|
||||
|
||||
msgid "Uploaded"
|
||||
msgstr ""
|
||||
|
||||
@@ -571,7 +586,7 @@ msgstr ""
|
||||
msgid "Z Move Speed (mm/s)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Z Offset"
|
||||
msgid "Z Position"
|
||||
msgstr ""
|
||||
|
||||
msgid "Z Tilt"
|
||||
|
||||
@@ -7,8 +7,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: KlipperScreen\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-03-20 10:15-0300\n"
|
||||
"PO-Revision-Date: 2022-03-20 10:10-0300\n"
|
||||
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
|
||||
"PO-Revision-Date: 2022-03-31 10:46-0300\n"
|
||||
"Last-Translator: alfrix\n"
|
||||
"Language-Team: \n"
|
||||
"Language: es\n"
|
||||
@@ -52,6 +52,9 @@ msgstr "¿Parada de emergencia?"
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr "Está seguro que desea cancelar esta impresión?"
|
||||
|
||||
msgid "Are you sure you wish to disable motors?"
|
||||
msgstr "¿Está seguro que desea desactivar los motores?"
|
||||
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr "Está seguro que desea reiniciar el sistema?"
|
||||
|
||||
@@ -199,15 +202,29 @@ msgstr "Ajuste Fino"
|
||||
msgid "Finish"
|
||||
msgstr "Cerrar"
|
||||
|
||||
msgid "Firmware Restart"
|
||||
msgstr "Reiniciar Firmware"
|
||||
msgid ""
|
||||
"Firmware\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
"Reiniciar\n"
|
||||
"Firmware"
|
||||
|
||||
msgid "Font Size"
|
||||
msgstr "Tamaño del texto"
|
||||
|
||||
msgid ""
|
||||
"Full\n"
|
||||
"Update"
|
||||
msgstr ""
|
||||
"Actualizar\n"
|
||||
"Todo"
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "Volver"
|
||||
|
||||
msgid "Hidden"
|
||||
msgstr "Oculto"
|
||||
|
||||
msgid "Hide"
|
||||
msgstr "Ocultar"
|
||||
|
||||
@@ -238,12 +255,6 @@ msgstr "Origen"
|
||||
msgid "Hostname"
|
||||
msgstr "Hostname"
|
||||
|
||||
msgid "IPv4"
|
||||
msgstr "IPv4"
|
||||
|
||||
msgid "IPv6"
|
||||
msgstr "IPv6"
|
||||
|
||||
msgid "Icon Theme"
|
||||
msgstr "Tema de Iconos"
|
||||
|
||||
@@ -271,7 +282,9 @@ msgstr "Invertir Y"
|
||||
msgid "Invert Z"
|
||||
msgstr "Invertir Z"
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgid ""
|
||||
"Klipper\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
"Reiniciar\n"
|
||||
"Klipper"
|
||||
@@ -378,6 +391,9 @@ msgstr "Pausar"
|
||||
msgid "Paused"
|
||||
msgstr "Pausado"
|
||||
|
||||
msgid "Perform a full upgrade?"
|
||||
msgstr " ¿Actualizar Todo?"
|
||||
|
||||
msgid "Please recompile and flash the micro-controller."
|
||||
msgstr "Por favor recompile y flashee el micro-controlador."
|
||||
|
||||
@@ -503,8 +519,8 @@ msgstr "Velocidad de esquina"
|
||||
msgid "Start"
|
||||
msgstr "Iniciar"
|
||||
|
||||
msgid "Starting WiFi Re-association"
|
||||
msgstr "Comenzando re-asociación"
|
||||
msgid "Starting WiFi Association"
|
||||
msgstr "Iniciando asociación WiFi"
|
||||
|
||||
msgid "Starting recovery for"
|
||||
msgstr "Iniciando recuperación de"
|
||||
@@ -557,6 +573,9 @@ msgstr "Actualizado"
|
||||
msgid "Update"
|
||||
msgstr "Actualizar"
|
||||
|
||||
msgid "Updating"
|
||||
msgstr "Actualizando"
|
||||
|
||||
msgid "Uploaded"
|
||||
msgstr "Subido"
|
||||
|
||||
@@ -584,8 +603,8 @@ msgstr "Calibrar Z"
|
||||
msgid "Z Move Speed (mm/s)"
|
||||
msgstr "Velocidad Z (mm/s)"
|
||||
|
||||
msgid "Z Offset"
|
||||
msgstr "Desfase Z"
|
||||
msgid "Z Position"
|
||||
msgstr "Posición Z"
|
||||
|
||||
msgid "Z Tilt"
|
||||
msgstr "Inclinación Z"
|
||||
@@ -621,6 +640,15 @@ msgstr "mm/s"
|
||||
msgid "mm/s^2"
|
||||
msgstr "mm/s^2"
|
||||
|
||||
#~ msgid "IPv4"
|
||||
#~ msgstr "IPv4"
|
||||
|
||||
#~ msgid "IPv6"
|
||||
#~ msgstr "IPv6"
|
||||
|
||||
#~ msgid "Z Offset"
|
||||
#~ msgstr "Desfase Z"
|
||||
|
||||
#~ msgid "Unknown Heater "
|
||||
#~ msgstr "Calentador Desconocido "
|
||||
|
||||
|
||||
@@ -7,16 +7,16 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: KlipperScreen\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-03-20 10:15-0300\n"
|
||||
"PO-Revision-Date: 2022-02-26 15:16-0300\n"
|
||||
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
|
||||
"PO-Revision-Date: 2022-03-31 10:50-0300\n"
|
||||
"Last-Translator: O. Robardet\n"
|
||||
"Language-Team: \n"
|
||||
"Language: fr_FR\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 3.0\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
"X-Generator: Poedit 3.0.1\n"
|
||||
|
||||
#, python-format
|
||||
msgid "%s will be updated to version"
|
||||
@@ -29,7 +29,7 @@ msgid "24 Hour Time"
|
||||
msgstr "Format 24 heures"
|
||||
|
||||
msgid "A FIRMWARE_RESTART may fix the issue."
|
||||
msgstr ""
|
||||
msgstr "Un FIRMWARE_RESTART peut résoudre le problème."
|
||||
|
||||
msgid "Abort"
|
||||
msgstr "Annuler"
|
||||
@@ -52,6 +52,9 @@ msgstr "Êtes-vous sûr de vouloir exécuter l'arrêt d'urgence?"
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr "Êtes-vous sûr de vouloir annuler cette impression?"
|
||||
|
||||
msgid "Are you sure you wish to disable motors?"
|
||||
msgstr "Voulez-vous vraiment désactiver les moteurs ?"
|
||||
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr "Êtes-vous sûr de vouloir redémarrer le système?"
|
||||
|
||||
@@ -59,10 +62,10 @@ msgid "Are you sure you wish to shutdown the system?"
|
||||
msgstr "Êtes-vous sûr de vouloir arrêter le système?"
|
||||
|
||||
msgid "Auto"
|
||||
msgstr ""
|
||||
msgstr "Auto"
|
||||
|
||||
msgid "Auto-scroll"
|
||||
msgstr ""
|
||||
msgstr "Auto-scroll"
|
||||
|
||||
msgid "Bed Level"
|
||||
msgstr "Nivelage du plateau"
|
||||
@@ -95,7 +98,7 @@ msgid "Cancelling"
|
||||
msgstr "Annulation"
|
||||
|
||||
msgid "Cannot connect to Moonraker"
|
||||
msgstr ""
|
||||
msgstr "Impossible de se connecter à Moonraker"
|
||||
|
||||
msgid "Channel"
|
||||
msgstr "Canal"
|
||||
@@ -199,15 +202,29 @@ msgstr "Réglages fins"
|
||||
msgid "Finish"
|
||||
msgstr "Fin"
|
||||
|
||||
msgid "Firmware Restart"
|
||||
msgstr "Redémarrer le firmware"
|
||||
msgid ""
|
||||
"Firmware\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
"Micrologiciel\n"
|
||||
"Redémarrage"
|
||||
|
||||
msgid "Font Size"
|
||||
msgstr "Taille de police"
|
||||
|
||||
msgid ""
|
||||
"Full\n"
|
||||
"Update"
|
||||
msgstr ""
|
||||
"Plein\n"
|
||||
"Mettre à jour"
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "Retourner"
|
||||
|
||||
msgid "Hidden"
|
||||
msgstr "Caché"
|
||||
|
||||
msgid "Hide"
|
||||
msgstr "Cacher"
|
||||
|
||||
@@ -238,12 +255,6 @@ msgstr "Origine"
|
||||
msgid "Hostname"
|
||||
msgstr "Hostname"
|
||||
|
||||
msgid "IPv4"
|
||||
msgstr "IPv4"
|
||||
|
||||
msgid "IPv6"
|
||||
msgstr "IPv6"
|
||||
|
||||
msgid "Icon Theme"
|
||||
msgstr "Thème icônes"
|
||||
|
||||
@@ -271,10 +282,12 @@ msgstr "Inverser Y"
|
||||
msgid "Invert Z"
|
||||
msgstr "Inverser Z"
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgid ""
|
||||
"Klipper\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
"Redémarrer\n"
|
||||
"Klipper"
|
||||
"Klipper\n"
|
||||
"Redémarrage"
|
||||
|
||||
msgid "Klipper has disconnected"
|
||||
msgstr "Klipper s'est déconnecté"
|
||||
@@ -337,7 +350,7 @@ msgid "Modified"
|
||||
msgstr "Modifié"
|
||||
|
||||
msgid "Moonraker: connected"
|
||||
msgstr ""
|
||||
msgstr "Moonraker : connecté"
|
||||
|
||||
msgid "Move"
|
||||
msgstr "Mouvement"
|
||||
@@ -370,7 +383,7 @@ msgstr[0] "Le paquet sera mis à jour"
|
||||
msgstr[1] "Forfaits seront mis à jour"
|
||||
|
||||
msgid "Password saved"
|
||||
msgstr ""
|
||||
msgstr "Mot de passe enregistré"
|
||||
|
||||
msgid "Pause"
|
||||
msgstr "Pause"
|
||||
@@ -378,8 +391,11 @@ msgstr "Pause"
|
||||
msgid "Paused"
|
||||
msgstr "En pause"
|
||||
|
||||
msgid "Perform a full upgrade?"
|
||||
msgstr "Effectuer une mise à jour complète ?"
|
||||
|
||||
msgid "Please recompile and flash the micro-controller."
|
||||
msgstr ""
|
||||
msgstr "Veuillez recompiler et flasher le microcontrôleur."
|
||||
|
||||
msgid "Power"
|
||||
msgstr "Alimentation"
|
||||
@@ -434,7 +450,7 @@ msgstr "Rétracter"
|
||||
|
||||
#, python-format
|
||||
msgid "Retry #%s"
|
||||
msgstr ""
|
||||
msgstr "Réessayez #%s"
|
||||
|
||||
msgid "Save"
|
||||
msgstr "Enregistrer"
|
||||
@@ -446,7 +462,7 @@ msgid "Save configuration"
|
||||
msgstr "Enregistrer la configuration"
|
||||
|
||||
msgid "Screen DPMS"
|
||||
msgstr ""
|
||||
msgstr "Écran DPMS"
|
||||
|
||||
msgid "Screen Power Off Time"
|
||||
msgstr "Délai d'extinction de l'écran"
|
||||
@@ -458,11 +474,11 @@ msgid "Select"
|
||||
msgstr "Sélectionner"
|
||||
|
||||
msgid "Send"
|
||||
msgstr ""
|
||||
msgstr "Envoyer"
|
||||
|
||||
#, python-format
|
||||
msgid "Sending Power ON signal to: %s"
|
||||
msgstr ""
|
||||
msgstr "Envoi du signal de mise sous tension à : %s"
|
||||
|
||||
msgid "Set Temp"
|
||||
msgstr "Régler la temp"
|
||||
@@ -480,7 +496,7 @@ msgid "Slicer"
|
||||
msgstr "Trancheur"
|
||||
|
||||
msgid "Slicer Time correction (%)"
|
||||
msgstr ""
|
||||
msgstr "Correction du temps de trancheuse (%)"
|
||||
|
||||
msgid "Small"
|
||||
msgstr "Petit"
|
||||
@@ -503,8 +519,8 @@ msgstr "Vélocité des angles droits"
|
||||
msgid "Start"
|
||||
msgstr "Démarrer"
|
||||
|
||||
msgid "Starting WiFi Re-association"
|
||||
msgstr "Démarrage de la re-association WiFi"
|
||||
msgid "Starting WiFi Association"
|
||||
msgstr "Démarrage de l'association Wi-Fi"
|
||||
|
||||
msgid "Starting recovery for"
|
||||
msgstr "Démarrage de la récupération pour"
|
||||
@@ -541,7 +557,7 @@ msgid "Tool"
|
||||
msgstr "Outil"
|
||||
|
||||
msgid "Total:"
|
||||
msgstr ""
|
||||
msgstr "Total:"
|
||||
|
||||
msgid "Unknown Heater"
|
||||
msgstr "Chauffage inconnu"
|
||||
@@ -555,6 +571,10 @@ msgstr "À jour"
|
||||
msgid "Update"
|
||||
msgstr "Mise à jour"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Updating"
|
||||
msgstr "Mise à jour"
|
||||
|
||||
msgid "Uploaded"
|
||||
msgstr "Téléchargé"
|
||||
|
||||
@@ -582,8 +602,8 @@ msgstr "Calibration Z"
|
||||
msgid "Z Move Speed (mm/s)"
|
||||
msgstr "Vitesse de déplacement Z (mm/s)"
|
||||
|
||||
msgid "Z Offset"
|
||||
msgstr "Décalage Z"
|
||||
msgid "Z Position"
|
||||
msgstr "Position Z"
|
||||
|
||||
msgid "Z Tilt"
|
||||
msgstr "Z Tilt"
|
||||
@@ -619,6 +639,15 @@ msgstr "mm/s"
|
||||
msgid "mm/s^2"
|
||||
msgstr "mm/s^2"
|
||||
|
||||
#~ msgid "IPv4"
|
||||
#~ msgstr "IPv4"
|
||||
|
||||
#~ msgid "IPv6"
|
||||
#~ msgstr "IPv6"
|
||||
|
||||
#~ msgid "Z Offset"
|
||||
#~ msgstr "Décalage Z"
|
||||
|
||||
#~ msgid "Unknown Heater "
|
||||
#~ msgstr "Chauffage inconnu "
|
||||
|
||||
|
||||
@@ -7,17 +7,17 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Klipperscreen\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-03-20 10:15-0300\n"
|
||||
"PO-Revision-Date: 2022-02-26 15:22-0300\n"
|
||||
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
|
||||
"PO-Revision-Date: 2022-03-31 10:54-0300\n"
|
||||
"Last-Translator: Emanuel Sharvit <manu7irl@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: he_IL\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 3.0\n"
|
||||
"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : n==2 ? 1 : n>10 && n%10==0 ? "
|
||||
"2 : 3);\n"
|
||||
"X-Generator: Poedit 3.0.1\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
|
||||
#, python-format
|
||||
@@ -31,7 +31,7 @@ msgid "24 Hour Time"
|
||||
msgstr "זמן 24 שעות"
|
||||
|
||||
msgid "A FIRMWARE_RESTART may fix the issue."
|
||||
msgstr ""
|
||||
msgstr "FIRMWARE_RESTART עשוי לפתור את הבעיה."
|
||||
|
||||
msgid "Abort"
|
||||
msgstr "בטל"
|
||||
@@ -55,6 +55,9 @@ msgstr ""
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr "האם אתה בטוח שברצונך לבטל את ההדפסה?"
|
||||
|
||||
msgid "Are you sure you wish to disable motors?"
|
||||
msgstr "האם אתה בטוח שברצונך להשבית מנועים?"
|
||||
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr "האם אתה בטוח שברצונך לאתחל את המערכת?"
|
||||
|
||||
@@ -62,10 +65,10 @@ msgid "Are you sure you wish to shutdown the system?"
|
||||
msgstr "האם אתה בטוח שברצונך לסגור את המערכת?"
|
||||
|
||||
msgid "Auto"
|
||||
msgstr ""
|
||||
msgstr "אוטומטי"
|
||||
|
||||
msgid "Auto-scroll"
|
||||
msgstr ""
|
||||
msgstr "גלילה אוטומטית"
|
||||
|
||||
msgid "Bed Level"
|
||||
msgstr "פילוס מיטה"
|
||||
@@ -98,7 +101,7 @@ msgid "Cancelling"
|
||||
msgstr "מבטל"
|
||||
|
||||
msgid "Cannot connect to Moonraker"
|
||||
msgstr ""
|
||||
msgstr "לא ניתן להתחבר ל-Moonraker"
|
||||
|
||||
msgid "Channel"
|
||||
msgstr "עָרוּץ"
|
||||
@@ -202,15 +205,29 @@ msgstr "כוונון עדין"
|
||||
msgid "Finish"
|
||||
msgstr "סיים"
|
||||
|
||||
msgid "Firmware Restart"
|
||||
msgstr "הפעלה מחדש של הקושחה"
|
||||
msgid ""
|
||||
"Firmware\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
"קושחה\n"
|
||||
"איתחול"
|
||||
|
||||
msgid "Font Size"
|
||||
msgstr "גודל טקסט"
|
||||
|
||||
msgid ""
|
||||
"Full\n"
|
||||
"Update"
|
||||
msgstr ""
|
||||
"מלא\n"
|
||||
"עדכון"
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "חזרה"
|
||||
|
||||
msgid "Hidden"
|
||||
msgstr "מוּסתָר"
|
||||
|
||||
msgid "Hide"
|
||||
msgstr "להתחבא"
|
||||
|
||||
@@ -241,12 +258,6 @@ msgstr "איפוס צירים"
|
||||
msgid "Hostname"
|
||||
msgstr "Hostname"
|
||||
|
||||
msgid "IPv4"
|
||||
msgstr "IPv4"
|
||||
|
||||
msgid "IPv6"
|
||||
msgstr "IPv6"
|
||||
|
||||
msgid "Icon Theme"
|
||||
msgstr "נושא אייקון"
|
||||
|
||||
@@ -274,8 +285,12 @@ msgstr "הפוך את Y"
|
||||
msgid "Invert Z"
|
||||
msgstr "הפוך את Z"
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr "אתחול קליפר"
|
||||
msgid ""
|
||||
"Klipper\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
"קליפר\n"
|
||||
"איתחול"
|
||||
|
||||
msgid "Klipper has disconnected"
|
||||
msgstr "קליפר התנתק"
|
||||
@@ -338,7 +353,7 @@ msgid "Modified"
|
||||
msgstr "שונה"
|
||||
|
||||
msgid "Moonraker: connected"
|
||||
msgstr ""
|
||||
msgstr "Moonraker: מחובר"
|
||||
|
||||
msgid "Move"
|
||||
msgstr "הזזת צירים"
|
||||
@@ -373,7 +388,7 @@ msgstr[2] "חבילות יעודכנו"
|
||||
msgstr[3] "חבילות יעודכנו"
|
||||
|
||||
msgid "Password saved"
|
||||
msgstr ""
|
||||
msgstr "הסיסמה נשמרה"
|
||||
|
||||
msgid "Pause"
|
||||
msgstr "השהיה"
|
||||
@@ -381,8 +396,11 @@ msgstr "השהיה"
|
||||
msgid "Paused"
|
||||
msgstr "מושהה"
|
||||
|
||||
msgid "Perform a full upgrade?"
|
||||
msgstr "לבצע שדרוג מלא?"
|
||||
|
||||
msgid "Please recompile and flash the micro-controller."
|
||||
msgstr ""
|
||||
msgstr "אנא הידור מחדש והבזק את המיקרו-בקר."
|
||||
|
||||
msgid "Power"
|
||||
msgstr "הפעלה"
|
||||
@@ -437,7 +455,7 @@ msgstr "שיחול לאחור"
|
||||
|
||||
#, python-format
|
||||
msgid "Retry #%s"
|
||||
msgstr ""
|
||||
msgstr "נסה שוב #%s"
|
||||
|
||||
msgid "Save"
|
||||
msgstr "להציל"
|
||||
@@ -449,7 +467,7 @@ msgid "Save configuration"
|
||||
msgstr "שמור תצורה"
|
||||
|
||||
msgid "Screen DPMS"
|
||||
msgstr ""
|
||||
msgstr "DPMS מסך"
|
||||
|
||||
msgid "Screen Power Off Time"
|
||||
msgstr "זמן כיבוי מסך"
|
||||
@@ -461,11 +479,11 @@ msgid "Select"
|
||||
msgstr "בחר"
|
||||
|
||||
msgid "Send"
|
||||
msgstr ""
|
||||
msgstr "לִשְׁלוֹחַ"
|
||||
|
||||
#, python-format
|
||||
msgid "Sending Power ON signal to: %s"
|
||||
msgstr ""
|
||||
msgstr "שולח אות הפעלה אל: %s"
|
||||
|
||||
msgid "Set Temp"
|
||||
msgstr "הגדר טמפ'"
|
||||
@@ -483,7 +501,7 @@ msgid "Slicer"
|
||||
msgstr "Slicer"
|
||||
|
||||
msgid "Slicer Time correction (%)"
|
||||
msgstr ""
|
||||
msgstr "תיקון זמן פריסה (%)"
|
||||
|
||||
msgid "Small"
|
||||
msgstr "קָטָן"
|
||||
@@ -506,8 +524,8 @@ msgstr "מהירות פינה מרובעת"
|
||||
msgid "Start"
|
||||
msgstr "הַתחָלָה"
|
||||
|
||||
msgid "Starting WiFi Re-association"
|
||||
msgstr "התחלת שיוך מחדש ל- WiFi"
|
||||
msgid "Starting WiFi Association"
|
||||
msgstr "מתחיל איגוד WiFi"
|
||||
|
||||
msgid "Starting recovery for"
|
||||
msgstr "החל התאוששות עבור"
|
||||
@@ -546,7 +564,7 @@ msgid "Tool"
|
||||
msgstr "כלי"
|
||||
|
||||
msgid "Total:"
|
||||
msgstr ""
|
||||
msgstr "סך הכל:"
|
||||
|
||||
msgid "Unknown Heater"
|
||||
msgstr "מחמם לא ידוע"
|
||||
@@ -560,6 +578,9 @@ msgstr "עדכני"
|
||||
msgid "Update"
|
||||
msgstr "עדכון"
|
||||
|
||||
msgid "Updating"
|
||||
msgstr "עִדכּוּן"
|
||||
|
||||
msgid "Uploaded"
|
||||
msgstr "הועלה"
|
||||
|
||||
@@ -587,8 +608,8 @@ msgstr "כיול Z"
|
||||
msgid "Z Move Speed (mm/s)"
|
||||
msgstr "מהירות תנועה Z (מ\"מ/שניות)"
|
||||
|
||||
msgid "Z Offset"
|
||||
msgstr "הפרז גובה Z"
|
||||
msgid "Z Position"
|
||||
msgstr "מיקום Z"
|
||||
|
||||
msgid "Z Tilt"
|
||||
msgstr "הטיה Z"
|
||||
@@ -628,6 +649,15 @@ msgstr "מ\"מ/ש"
|
||||
msgid "mm/s^2"
|
||||
msgstr "mm/s^2"
|
||||
|
||||
#~ msgid "IPv4"
|
||||
#~ msgstr "IPv4"
|
||||
|
||||
#~ msgid "IPv6"
|
||||
#~ msgstr "IPv6"
|
||||
|
||||
#~ msgid "Z Offset"
|
||||
#~ msgstr "הפרז גובה Z"
|
||||
|
||||
#~ msgid "Unknown Heater "
|
||||
#~ msgstr "מחמם לא ידוע "
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: KlipperScreen\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-03-27 12:47-0300\n"
|
||||
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: AntoszHUN\n"
|
||||
"Language-Team: \n"
|
||||
@@ -47,6 +47,9 @@ msgstr "Biztosan Vészleállítást végez?"
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr "Biztosan megszakítja ezt a nyomtatást?"
|
||||
|
||||
msgid "Are you sure you wish to disable motors?"
|
||||
msgstr "Biztos benne, hogy le szeretné tiltani a motorokat?"
|
||||
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr "Biztos benne, hogy újra akarja indítani a rendszert?"
|
||||
|
||||
@@ -194,15 +197,29 @@ msgstr "Finomhangolás"
|
||||
msgid "Finish"
|
||||
msgstr "Befejezve"
|
||||
|
||||
msgid "Firmware Restart"
|
||||
msgstr "Firmware Újraindítás"
|
||||
msgid ""
|
||||
"Firmware\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
"Firmware\n"
|
||||
"Újrakezd"
|
||||
|
||||
msgid "Font Size"
|
||||
msgstr "Betűméret"
|
||||
|
||||
msgid ""
|
||||
"Full\n"
|
||||
"Update"
|
||||
msgstr ""
|
||||
"Teljes\n"
|
||||
"Frissítés"
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "Menj vissza"
|
||||
|
||||
msgid "Hidden"
|
||||
msgstr "Rejtett"
|
||||
|
||||
msgid "Hide"
|
||||
msgstr "Elrejt"
|
||||
|
||||
@@ -233,12 +250,6 @@ msgstr "Kezdőpont"
|
||||
msgid "Hostname"
|
||||
msgstr "Gazdanév"
|
||||
|
||||
msgid "IPv4"
|
||||
msgstr "IPv4"
|
||||
|
||||
msgid "IPv6"
|
||||
msgstr "IPv6"
|
||||
|
||||
msgid "Icon Theme"
|
||||
msgstr "Ikon téma"
|
||||
|
||||
@@ -266,8 +277,12 @@ msgstr "Fordított Y"
|
||||
msgid "Invert Z"
|
||||
msgstr "Fordított Z"
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr "Klipper Újraindítása"
|
||||
msgid ""
|
||||
"Klipper\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
"Klipper\n"
|
||||
"Újrakezd"
|
||||
|
||||
msgid "Klipper has disconnected"
|
||||
msgstr "Klipper szétkapcsolt"
|
||||
@@ -371,6 +386,9 @@ msgstr "Szünet"
|
||||
msgid "Paused"
|
||||
msgstr "Szüneteltetve"
|
||||
|
||||
msgid "Perform a full upgrade?"
|
||||
msgstr "Teljes frissítést hajt végre?"
|
||||
|
||||
msgid "Please recompile and flash the micro-controller."
|
||||
msgstr "Fordítsa újra és frissítse a mikrovezérlőt."
|
||||
|
||||
@@ -496,8 +514,8 @@ msgstr "Sebesség a sarkokban"
|
||||
msgid "Start"
|
||||
msgstr "Indítás"
|
||||
|
||||
msgid "Starting WiFi Re-association"
|
||||
msgstr "Wi-Fi újratársítás indítása"
|
||||
msgid "Starting WiFi Association"
|
||||
msgstr "A WiFi Egyesület elindítása"
|
||||
|
||||
msgid "Starting recovery for"
|
||||
msgstr "Helyreállítás megkezdése"
|
||||
@@ -550,6 +568,10 @@ msgstr "Naprakész"
|
||||
msgid "Update"
|
||||
msgstr "Frissítés"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Updating"
|
||||
msgstr "Frissítés"
|
||||
|
||||
msgid "Uploaded"
|
||||
msgstr "Feltöltve"
|
||||
|
||||
@@ -577,8 +599,8 @@ msgstr "Z Kalibrálás"
|
||||
msgid "Z Move Speed (mm/s)"
|
||||
msgstr "Z Mozgási seb. (mm/s)"
|
||||
|
||||
msgid "Z Offset"
|
||||
msgstr "Z Eltolás"
|
||||
msgid "Z Position"
|
||||
msgstr "Z Pozíció"
|
||||
|
||||
msgid "Z Tilt"
|
||||
msgstr "Z Dönt"
|
||||
@@ -614,6 +636,15 @@ msgstr "mm/s"
|
||||
msgid "mm/s^2"
|
||||
msgstr "mm/s^2"
|
||||
|
||||
#~ msgid "IPv4"
|
||||
#~ msgstr "IPv4"
|
||||
|
||||
#~ msgid "IPv6"
|
||||
#~ msgstr "IPv6"
|
||||
|
||||
#~ msgid "Z Offset"
|
||||
#~ msgstr "Z Eltolás"
|
||||
|
||||
#~ msgid "Unknown Heater "
|
||||
#~ msgstr "Ismeretlen melegítő "
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: KlipperScreen\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-03-20 10:15-0300\n"
|
||||
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: pappicio\n"
|
||||
"Language-Team: \n"
|
||||
@@ -10,8 +10,8 @@ msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 3.0\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Poedit 3.0.1\n"
|
||||
|
||||
#, python-format
|
||||
msgid "%s will be updated to version"
|
||||
@@ -24,7 +24,7 @@ msgid "24 Hour Time"
|
||||
msgstr "24H"
|
||||
|
||||
msgid "A FIRMWARE_RESTART may fix the issue."
|
||||
msgstr ""
|
||||
msgstr "Un FIRMWARE_RESTART potrebbe risolvere il problema."
|
||||
|
||||
msgid "Abort"
|
||||
msgstr "Annulla"
|
||||
@@ -47,6 +47,9 @@ msgstr "Sei sicuro di voler eseguire l'arresto di emergenza?"
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr "Cancellare la Stampa?"
|
||||
|
||||
msgid "Are you sure you wish to disable motors?"
|
||||
msgstr "Sei sicuro di voler disabilitare i motori?"
|
||||
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr "Riavviare il Sistema?"
|
||||
|
||||
@@ -54,10 +57,10 @@ msgid "Are you sure you wish to shutdown the system?"
|
||||
msgstr "Spegnere il Sistema?"
|
||||
|
||||
msgid "Auto"
|
||||
msgstr ""
|
||||
msgstr "Auto"
|
||||
|
||||
msgid "Auto-scroll"
|
||||
msgstr ""
|
||||
msgstr "Auto-scroll"
|
||||
|
||||
msgid "Bed Level"
|
||||
msgstr "Livello del letto"
|
||||
@@ -90,7 +93,7 @@ msgid "Cancelling"
|
||||
msgstr "Annullamento"
|
||||
|
||||
msgid "Cannot connect to Moonraker"
|
||||
msgstr ""
|
||||
msgstr "Impossibile connettersi a Moonraker"
|
||||
|
||||
msgid "Channel"
|
||||
msgstr "Canale"
|
||||
@@ -194,15 +197,29 @@ msgstr "Messa a Punto"
|
||||
msgid "Finish"
|
||||
msgstr "Finito"
|
||||
|
||||
msgid "Firmware Restart"
|
||||
msgstr "Riavvia Firmware"
|
||||
msgid ""
|
||||
"Firmware\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
"Firmware\n"
|
||||
"Riavvio"
|
||||
|
||||
msgid "Font Size"
|
||||
msgstr "Dimensione del testo"
|
||||
|
||||
msgid ""
|
||||
"Full\n"
|
||||
"Update"
|
||||
msgstr ""
|
||||
"Completo\n"
|
||||
"Aggiornare"
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "Indietro"
|
||||
|
||||
msgid "Hidden"
|
||||
msgstr "Nascosto"
|
||||
|
||||
msgid "Hide"
|
||||
msgstr "Nascondere"
|
||||
|
||||
@@ -233,12 +250,6 @@ msgstr "Homing"
|
||||
msgid "Hostname"
|
||||
msgstr "Hostname"
|
||||
|
||||
msgid "IPv4"
|
||||
msgstr "IPv4"
|
||||
|
||||
msgid "IPv6"
|
||||
msgstr "IPv6"
|
||||
|
||||
msgid "Icon Theme"
|
||||
msgstr "Tema Icone"
|
||||
|
||||
@@ -266,10 +277,12 @@ msgstr "Inverti Y"
|
||||
msgid "Invert Z"
|
||||
msgstr "Inverti Z"
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgid ""
|
||||
"Klipper\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
"Riavvia\n"
|
||||
"Klipper"
|
||||
"Klipper\n"
|
||||
"Riavvio"
|
||||
|
||||
msgid "Klipper has disconnected"
|
||||
msgstr "Klipper è disconnesso"
|
||||
@@ -332,7 +345,7 @@ msgid "Modified"
|
||||
msgstr "Modificato"
|
||||
|
||||
msgid "Moonraker: connected"
|
||||
msgstr ""
|
||||
msgstr "Moonraker: connesso"
|
||||
|
||||
msgid "Move"
|
||||
msgstr "Muovi"
|
||||
@@ -365,7 +378,7 @@ msgstr[0] "Pacchetto verrà aggiornato"
|
||||
msgstr[1] "I pacchetti verranno aggiornati"
|
||||
|
||||
msgid "Password saved"
|
||||
msgstr ""
|
||||
msgstr "Password salvata"
|
||||
|
||||
msgid "Pause"
|
||||
msgstr "Pausa"
|
||||
@@ -373,8 +386,11 @@ msgstr "Pausa"
|
||||
msgid "Paused"
|
||||
msgstr "In Pausa"
|
||||
|
||||
msgid "Perform a full upgrade?"
|
||||
msgstr "Eseguire un aggiornamento completo?"
|
||||
|
||||
msgid "Please recompile and flash the micro-controller."
|
||||
msgstr ""
|
||||
msgstr "Si prega di ricompilare e flashare il microcontrollore."
|
||||
|
||||
msgid "Power"
|
||||
msgstr "Power"
|
||||
@@ -429,7 +445,7 @@ msgstr "Ritrai"
|
||||
|
||||
#, python-format
|
||||
msgid "Retry #%s"
|
||||
msgstr ""
|
||||
msgstr "Riprova #%s"
|
||||
|
||||
msgid "Save"
|
||||
msgstr "Salva"
|
||||
@@ -441,7 +457,7 @@ msgid "Save configuration"
|
||||
msgstr "Salva configurazione"
|
||||
|
||||
msgid "Screen DPMS"
|
||||
msgstr ""
|
||||
msgstr "Schermo DPMS"
|
||||
|
||||
msgid "Screen Power Off Time"
|
||||
msgstr "Tempo Spegnim. Schermo"
|
||||
@@ -453,11 +469,11 @@ msgid "Select"
|
||||
msgstr "Selezionare"
|
||||
|
||||
msgid "Send"
|
||||
msgstr ""
|
||||
msgstr "Spedire"
|
||||
|
||||
#, python-format
|
||||
msgid "Sending Power ON signal to: %s"
|
||||
msgstr ""
|
||||
msgstr "Invio del segnale di accensione a: %s"
|
||||
|
||||
msgid "Set Temp"
|
||||
msgstr "Imposta temp"
|
||||
@@ -475,7 +491,7 @@ msgid "Slicer"
|
||||
msgstr "Slicer"
|
||||
|
||||
msgid "Slicer Time correction (%)"
|
||||
msgstr ""
|
||||
msgstr "Affettatrice Correzione del tempo (%)"
|
||||
|
||||
msgid "Small"
|
||||
msgstr "Piccola"
|
||||
@@ -498,8 +514,8 @@ msgstr "Velocità Square Corner"
|
||||
msgid "Start"
|
||||
msgstr "Iniziare"
|
||||
|
||||
msgid "Starting WiFi Re-association"
|
||||
msgstr "Riassocia WiFi"
|
||||
msgid "Starting WiFi Association"
|
||||
msgstr "Avvio dell'Associazione WiFi"
|
||||
|
||||
msgid "Starting recovery for"
|
||||
msgstr "Inizio del recupero per"
|
||||
@@ -538,7 +554,7 @@ msgid "Tool"
|
||||
msgstr "Strumenti"
|
||||
|
||||
msgid "Total:"
|
||||
msgstr ""
|
||||
msgstr "Totale:"
|
||||
|
||||
msgid "Unknown Heater"
|
||||
msgstr "Riscaldatore sconosciuto"
|
||||
@@ -552,6 +568,9 @@ msgstr "Aggiornato"
|
||||
msgid "Update"
|
||||
msgstr "Aggiorna"
|
||||
|
||||
msgid "Updating"
|
||||
msgstr "In aggiornamento"
|
||||
|
||||
msgid "Uploaded"
|
||||
msgstr "Caricato"
|
||||
|
||||
@@ -579,8 +598,8 @@ msgstr "Calibra Z"
|
||||
msgid "Z Move Speed (mm/s)"
|
||||
msgstr "Velocità di spostamento Z (mm/s)"
|
||||
|
||||
msgid "Z Offset"
|
||||
msgstr "Offset Z"
|
||||
msgid "Z Position"
|
||||
msgstr "Posizione Z"
|
||||
|
||||
msgid "Z Tilt"
|
||||
msgstr "Z Tilt"
|
||||
@@ -616,6 +635,15 @@ msgstr "mm/s"
|
||||
msgid "mm/s^2"
|
||||
msgstr "mm/s^2"
|
||||
|
||||
#~ msgid "IPv4"
|
||||
#~ msgstr "IPv4"
|
||||
|
||||
#~ msgid "IPv6"
|
||||
#~ msgstr "IPv6"
|
||||
|
||||
#~ msgid "Z Offset"
|
||||
#~ msgstr "Offset Z"
|
||||
|
||||
#~ msgid "Unknown Heater "
|
||||
#~ msgstr "Riscaldatore sconosciuto "
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: KlipperScreen\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-03-20 10:15-0300\n"
|
||||
"PO-Revision-Date: 2022-02-26 15:30-0300\n"
|
||||
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
|
||||
"PO-Revision-Date: 2022-03-31 11:06-0300\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: pl_PL\n"
|
||||
@@ -17,7 +17,7 @@ msgstr ""
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 "
|
||||
"|| n%100>14) ? 1 : 2);\n"
|
||||
"X-Generator: Poedit 3.0\n"
|
||||
"X-Generator: Poedit 3.0.1\n"
|
||||
|
||||
#, python-format
|
||||
msgid "%s will be updated to version"
|
||||
@@ -30,7 +30,7 @@ msgid "24 Hour Time"
|
||||
msgstr "Zegar 24-godzinny"
|
||||
|
||||
msgid "A FIRMWARE_RESTART may fix the issue."
|
||||
msgstr ""
|
||||
msgstr "FIRMWARE_RESTART może rozwiązać problem."
|
||||
|
||||
msgid "Abort"
|
||||
msgstr "Odwołaj"
|
||||
@@ -53,6 +53,9 @@ msgstr "Czy na pewno chcesz Awaryjnie Zatrzymać?"
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr "Czy na pewno chcesz odwołać drukowanie?"
|
||||
|
||||
msgid "Are you sure you wish to disable motors?"
|
||||
msgstr "Czy na pewno chcesz wyłączyć silniki?"
|
||||
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr "Czy na pewno chcesz ponownie uruchomić system?"
|
||||
|
||||
@@ -60,10 +63,10 @@ msgid "Are you sure you wish to shutdown the system?"
|
||||
msgstr "Czy na pewno chcesz wyłączyć system?"
|
||||
|
||||
msgid "Auto"
|
||||
msgstr ""
|
||||
msgstr "Automatyczny"
|
||||
|
||||
msgid "Auto-scroll"
|
||||
msgstr ""
|
||||
msgstr "Auto-scroll"
|
||||
|
||||
msgid "Bed Level"
|
||||
msgstr "Poziom stołu"
|
||||
@@ -96,7 +99,7 @@ msgid "Cancelling"
|
||||
msgstr "Odwoływanie trwa"
|
||||
|
||||
msgid "Cannot connect to Moonraker"
|
||||
msgstr ""
|
||||
msgstr "Nie można połączyć się z Moonrakerem"
|
||||
|
||||
msgid "Channel"
|
||||
msgstr "Kanał"
|
||||
@@ -200,15 +203,28 @@ msgstr "Regulacja Precyzyjna"
|
||||
msgid "Finish"
|
||||
msgstr "Zakończ"
|
||||
|
||||
msgid "Firmware Restart"
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"Firmware\n"
|
||||
"Restart"
|
||||
msgstr "Firmware Restart"
|
||||
|
||||
msgid "Font Size"
|
||||
msgstr "Rozmiar trzcionki"
|
||||
|
||||
msgid ""
|
||||
"Full\n"
|
||||
"Update"
|
||||
msgstr ""
|
||||
"Pełny\n"
|
||||
"Aktualizacja"
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "Powróć"
|
||||
|
||||
msgid "Hidden"
|
||||
msgstr "Ukryty"
|
||||
|
||||
msgid "Hide"
|
||||
msgstr "Schowaj"
|
||||
|
||||
@@ -239,12 +255,6 @@ msgstr "Bazowanie"
|
||||
msgid "Hostname"
|
||||
msgstr "Nazwa hosta"
|
||||
|
||||
msgid "IPv4"
|
||||
msgstr "IPv4"
|
||||
|
||||
msgid "IPv6"
|
||||
msgstr "IPv6"
|
||||
|
||||
msgid "Icon Theme"
|
||||
msgstr "Motyw Ikon"
|
||||
|
||||
@@ -272,7 +282,10 @@ msgstr "Odwróć Y"
|
||||
msgid "Invert Z"
|
||||
msgstr "Odwróć Z"
|
||||
|
||||
msgid "Klipper Restart"
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"Klipper\n"
|
||||
"Restart"
|
||||
msgstr "Restart Klippera"
|
||||
|
||||
msgid "Klipper has disconnected"
|
||||
@@ -336,7 +349,7 @@ msgid "Modified"
|
||||
msgstr "Zmodyfikowane"
|
||||
|
||||
msgid "Moonraker: connected"
|
||||
msgstr ""
|
||||
msgstr "Moonraker: podłączony"
|
||||
|
||||
msgid "Move"
|
||||
msgstr "Ruch"
|
||||
@@ -370,7 +383,7 @@ msgstr[1] "Pakiety zostaną zaktualizowane"
|
||||
msgstr[2] "Pakiety zostaną zaktualizowane"
|
||||
|
||||
msgid "Password saved"
|
||||
msgstr ""
|
||||
msgstr "Hasło zostało zapisane"
|
||||
|
||||
msgid "Pause"
|
||||
msgstr "Pauza"
|
||||
@@ -378,8 +391,11 @@ msgstr "Pauza"
|
||||
msgid "Paused"
|
||||
msgstr "Zapauzowane"
|
||||
|
||||
msgid "Perform a full upgrade?"
|
||||
msgstr "Przeprowadzić pełną aktualizację?"
|
||||
|
||||
msgid "Please recompile and flash the micro-controller."
|
||||
msgstr ""
|
||||
msgstr "Proszę przekompilować i sflashować mikrokontroler."
|
||||
|
||||
msgid "Power"
|
||||
msgstr "Zasilanie"
|
||||
@@ -434,7 +450,7 @@ msgstr "Cofnij"
|
||||
|
||||
#, python-format
|
||||
msgid "Retry #%s"
|
||||
msgstr ""
|
||||
msgstr "Spróbuj ponownie #%s"
|
||||
|
||||
msgid "Save"
|
||||
msgstr "Zapisz"
|
||||
@@ -446,7 +462,7 @@ msgid "Save configuration"
|
||||
msgstr "Zapisz konfigurację"
|
||||
|
||||
msgid "Screen DPMS"
|
||||
msgstr ""
|
||||
msgstr "Ekran DPMS"
|
||||
|
||||
msgid "Screen Power Off Time"
|
||||
msgstr "Czas wygaszania ekranu"
|
||||
@@ -458,11 +474,11 @@ msgid "Select"
|
||||
msgstr "Zaznacz"
|
||||
|
||||
msgid "Send"
|
||||
msgstr ""
|
||||
msgstr "Wysłać"
|
||||
|
||||
#, python-format
|
||||
msgid "Sending Power ON signal to: %s"
|
||||
msgstr ""
|
||||
msgstr "Wysyłam sygnał włączenia do: %s"
|
||||
|
||||
msgid "Set Temp"
|
||||
msgstr "Ustaw Temperaturę"
|
||||
@@ -480,7 +496,7 @@ msgid "Slicer"
|
||||
msgstr "Slicer"
|
||||
|
||||
msgid "Slicer Time correction (%)"
|
||||
msgstr ""
|
||||
msgstr "Korekta czasu krajalnicy (%)"
|
||||
|
||||
msgid "Small"
|
||||
msgstr "Mały"
|
||||
@@ -503,8 +519,8 @@ msgstr "Prędkość w narożniku kwadratowym"
|
||||
msgid "Start"
|
||||
msgstr "Start"
|
||||
|
||||
msgid "Starting WiFi Re-association"
|
||||
msgstr "Uruchamianie ponownej asocjacji WiFi"
|
||||
msgid "Starting WiFi Association"
|
||||
msgstr "Rozpoczęcie stowarzyszenia WiFi"
|
||||
|
||||
msgid "Starting recovery for"
|
||||
msgstr "Rozpoczęcie odzyskiwania dla"
|
||||
@@ -543,7 +559,7 @@ msgid "Tool"
|
||||
msgstr "Narzędzie"
|
||||
|
||||
msgid "Total:"
|
||||
msgstr ""
|
||||
msgstr "Całkowity:"
|
||||
|
||||
msgid "Unknown Heater"
|
||||
msgstr "Nieznany Podgrzewacz"
|
||||
@@ -557,6 +573,9 @@ msgstr "Aktualne"
|
||||
msgid "Update"
|
||||
msgstr "Uaktualnienie"
|
||||
|
||||
msgid "Updating"
|
||||
msgstr "Aktualizacja"
|
||||
|
||||
msgid "Uploaded"
|
||||
msgstr "Przesłane"
|
||||
|
||||
@@ -584,8 +603,8 @@ msgstr "Kalibracja Z"
|
||||
msgid "Z Move Speed (mm/s)"
|
||||
msgstr "Prędkość ruchu Z (mm/s)"
|
||||
|
||||
msgid "Z Offset"
|
||||
msgstr "Przesunięcie Z"
|
||||
msgid "Z Position"
|
||||
msgstr "Pozycja Z"
|
||||
|
||||
msgid "Z Tilt"
|
||||
msgstr "Przechył Z"
|
||||
@@ -623,6 +642,15 @@ msgstr "mm/s^2"
|
||||
msgid "mm/s^2"
|
||||
msgstr "mm/s^2"
|
||||
|
||||
#~ msgid "IPv4"
|
||||
#~ msgstr "IPv4"
|
||||
|
||||
#~ msgid "IPv6"
|
||||
#~ msgstr "IPv6"
|
||||
|
||||
#~ msgid "Z Offset"
|
||||
#~ msgstr "Przesunięcie Z"
|
||||
|
||||
#~ msgid "Unknown Heater "
|
||||
#~ msgstr "Nieznany Podgrzewacz "
|
||||
|
||||
|
||||
@@ -6,17 +6,17 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: KlipperScreen\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-03-20 10:15-0300\n"
|
||||
"PO-Revision-Date: 2022-02-26 15:33-0300\n"
|
||||
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
|
||||
"PO-Revision-Date: 2022-03-31 11:10-0300\n"
|
||||
"Last-Translator: Jakob Kais <schpuntik@freenet.de>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: ru_RU\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 3.0\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
||||
"%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
|
||||
"X-Generator: Poedit 3.0.1\n"
|
||||
"X-Poedit-Flags-xgettext: --add-comments\n"
|
||||
|
||||
#, python-format
|
||||
@@ -30,7 +30,7 @@ msgid "24 Hour Time"
|
||||
msgstr "24-часовой формат"
|
||||
|
||||
msgid "A FIRMWARE_RESTART may fix the issue."
|
||||
msgstr ""
|
||||
msgstr "FIRMWARE_RESTART может решить проблему."
|
||||
|
||||
msgid "Abort"
|
||||
msgstr "Отменить"
|
||||
@@ -53,6 +53,9 @@ msgstr "Вы уверены, что хотите запустить аварий
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr "Вы хотите отменить эту печать?"
|
||||
|
||||
msgid "Are you sure you wish to disable motors?"
|
||||
msgstr "Вы уверены, что хотите отключить двигатели?"
|
||||
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr "Вы уверены что хотите перезагрузить систему?"
|
||||
|
||||
@@ -60,10 +63,10 @@ msgid "Are you sure you wish to shutdown the system?"
|
||||
msgstr "Вы хотите выключить принтер?"
|
||||
|
||||
msgid "Auto"
|
||||
msgstr ""
|
||||
msgstr "Авто"
|
||||
|
||||
msgid "Auto-scroll"
|
||||
msgstr ""
|
||||
msgstr "Автопрокрутка"
|
||||
|
||||
msgid "Bed Level"
|
||||
msgstr "Уровень стола"
|
||||
@@ -96,7 +99,7 @@ msgid "Cancelling"
|
||||
msgstr "Отменить"
|
||||
|
||||
msgid "Cannot connect to Moonraker"
|
||||
msgstr ""
|
||||
msgstr "Не могу подключиться к Moonraker"
|
||||
|
||||
msgid "Channel"
|
||||
msgstr "Канал"
|
||||
@@ -200,15 +203,29 @@ msgstr "Точная настройка"
|
||||
msgid "Finish"
|
||||
msgstr "Конец"
|
||||
|
||||
msgid "Firmware Restart"
|
||||
msgstr "Рестарт прошивки"
|
||||
msgid ""
|
||||
"Firmware\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
"Прошивка\n"
|
||||
"Рестарт"
|
||||
|
||||
msgid "Font Size"
|
||||
msgstr "Размер шрифта"
|
||||
|
||||
msgid ""
|
||||
"Full\n"
|
||||
"Update"
|
||||
msgstr ""
|
||||
"Полный\n"
|
||||
"Обновлять"
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "Назад"
|
||||
|
||||
msgid "Hidden"
|
||||
msgstr "Скрытый"
|
||||
|
||||
msgid "Hide"
|
||||
msgstr "Скрывать"
|
||||
|
||||
@@ -239,12 +256,6 @@ msgstr "Парковка"
|
||||
msgid "Hostname"
|
||||
msgstr "Имя хоста"
|
||||
|
||||
msgid "IPv4"
|
||||
msgstr "IPv4"
|
||||
|
||||
msgid "IPv6"
|
||||
msgstr "IPv6"
|
||||
|
||||
msgid "Icon Theme"
|
||||
msgstr "Темы"
|
||||
|
||||
@@ -272,10 +283,12 @@ msgstr "Инверсия Y"
|
||||
msgid "Invert Z"
|
||||
msgstr "Инверсия Z"
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgid ""
|
||||
"Klipper\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
"Рестарт\n"
|
||||
"Klipper"
|
||||
"Klipper\n"
|
||||
"Рестарт"
|
||||
|
||||
msgid "Klipper has disconnected"
|
||||
msgstr "Нет связи с Klipper"
|
||||
@@ -338,7 +351,7 @@ msgid "Modified"
|
||||
msgstr "Изменено"
|
||||
|
||||
msgid "Moonraker: connected"
|
||||
msgstr ""
|
||||
msgstr "Мунрейкер: подключен"
|
||||
|
||||
msgid "Move"
|
||||
msgstr "Двигать"
|
||||
@@ -368,11 +381,11 @@ msgstr "PSK для"
|
||||
msgid "Package will be updated"
|
||||
msgid_plural "Packages will be updated"
|
||||
msgstr[0] "Пакет будет обновлен"
|
||||
msgstr[1] "Пакеты будут обновлены "
|
||||
msgstr[2] "Пакеты будут обновлены "
|
||||
msgstr[1] "Пакеты будут обновляться"
|
||||
msgstr[2] "Пакеты будут обновляться"
|
||||
|
||||
msgid "Password saved"
|
||||
msgstr ""
|
||||
msgstr "Пароль сохранен"
|
||||
|
||||
msgid "Pause"
|
||||
msgstr "Пауза"
|
||||
@@ -380,8 +393,11 @@ msgstr "Пауза"
|
||||
msgid "Paused"
|
||||
msgstr "Приостановлено"
|
||||
|
||||
msgid "Perform a full upgrade?"
|
||||
msgstr "Выполнить полное обновление?"
|
||||
|
||||
msgid "Please recompile and flash the micro-controller."
|
||||
msgstr ""
|
||||
msgstr "Пожалуйста, перекомпилируйте и прошейте микроконтроллер."
|
||||
|
||||
msgid "Power"
|
||||
msgstr "Включено"
|
||||
@@ -436,7 +452,7 @@ msgstr "Втянуть"
|
||||
|
||||
#, python-format
|
||||
msgid "Retry #%s"
|
||||
msgstr ""
|
||||
msgstr "Повторить #%s"
|
||||
|
||||
msgid "Save"
|
||||
msgstr "Сохранить"
|
||||
@@ -448,7 +464,7 @@ msgid "Save configuration"
|
||||
msgstr "Настройки сохраняются"
|
||||
|
||||
msgid "Screen DPMS"
|
||||
msgstr ""
|
||||
msgstr "Экран DPMS"
|
||||
|
||||
msgid "Screen Power Off Time"
|
||||
msgstr "Время выключения экрана"
|
||||
@@ -460,11 +476,11 @@ msgid "Select"
|
||||
msgstr "Выбирать"
|
||||
|
||||
msgid "Send"
|
||||
msgstr ""
|
||||
msgstr "Отправлять"
|
||||
|
||||
#, python-format
|
||||
msgid "Sending Power ON signal to: %s"
|
||||
msgstr ""
|
||||
msgstr "Отправка сигнала включения питания на: %s"
|
||||
|
||||
msgid "Set Temp"
|
||||
msgstr "Заданная температура"
|
||||
@@ -482,7 +498,7 @@ msgid "Slicer"
|
||||
msgstr "Слайсер"
|
||||
|
||||
msgid "Slicer Time correction (%)"
|
||||
msgstr ""
|
||||
msgstr "Коррекция времени слайсера (%)"
|
||||
|
||||
msgid "Small"
|
||||
msgstr "Маленький"
|
||||
@@ -505,8 +521,8 @@ msgstr "Квадратная угловая скорость"
|
||||
msgid "Start"
|
||||
msgstr "Hачать"
|
||||
|
||||
msgid "Starting WiFi Re-association"
|
||||
msgstr "WiFi реконенект"
|
||||
msgid "Starting WiFi Association"
|
||||
msgstr "Запуск ассоциации WiFi"
|
||||
|
||||
msgid "Starting recovery for"
|
||||
msgstr "Запуск восстановления для"
|
||||
@@ -543,7 +559,7 @@ msgid "Tool"
|
||||
msgstr "Инструмент"
|
||||
|
||||
msgid "Total:"
|
||||
msgstr ""
|
||||
msgstr "Всего:"
|
||||
|
||||
msgid "Unknown Heater"
|
||||
msgstr "Неизвестный обогреватель"
|
||||
@@ -557,6 +573,9 @@ msgstr "Обновлено"
|
||||
msgid "Update"
|
||||
msgstr "Обновить"
|
||||
|
||||
msgid "Updating"
|
||||
msgstr "Обновление"
|
||||
|
||||
msgid "Uploaded"
|
||||
msgstr "Дата"
|
||||
|
||||
@@ -584,8 +603,8 @@ msgstr "Калибр. Z"
|
||||
msgid "Z Move Speed (mm/s)"
|
||||
msgstr "Скорость перемещения по оси Z (мм/с)"
|
||||
|
||||
msgid "Z Offset"
|
||||
msgstr "Офсет Z"
|
||||
msgid "Z Position"
|
||||
msgstr "Позиция Z"
|
||||
|
||||
msgid "Z Tilt"
|
||||
msgstr "Z Наклон"
|
||||
@@ -623,6 +642,15 @@ msgstr "мм/с"
|
||||
msgid "mm/s^2"
|
||||
msgstr "мм/с^2"
|
||||
|
||||
#~ msgid "IPv4"
|
||||
#~ msgstr "IPv4"
|
||||
|
||||
#~ msgid "IPv6"
|
||||
#~ msgstr "IPv6"
|
||||
|
||||
#~ msgid "Z Offset"
|
||||
#~ msgstr "Офсет Z"
|
||||
|
||||
#~ msgid "Unknown Heater "
|
||||
#~ msgstr "Неизвестный обогреватель "
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-03-21 10:26-0300\n"
|
||||
"PO-Revision-Date: 2022-03-21 10:25-0300\n"
|
||||
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
|
||||
"PO-Revision-Date: 2022-03-31 11:18-0300\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: Andrii Komarovskiy\n"
|
||||
"Language: uk_UA\n"
|
||||
@@ -53,6 +53,9 @@ msgstr "Ви впевнені, що хочете запустити аварій
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr "Ви впевнені, що хочете скасувати цей друк?"
|
||||
|
||||
msgid "Are you sure you wish to disable motors?"
|
||||
msgstr "Ви впевнені, що хочете відключити двигуни?"
|
||||
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr "Ви впевнені, що хочете перезавантажити систему?"
|
||||
|
||||
@@ -200,15 +203,29 @@ msgstr "Підправити"
|
||||
msgid "Finish"
|
||||
msgstr "Фініш"
|
||||
|
||||
msgid "Firmware Restart"
|
||||
msgstr "Рестарт прошивки"
|
||||
msgid ""
|
||||
"Firmware\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
"Firmware\n"
|
||||
"Перезавантажте"
|
||||
|
||||
msgid "Font Size"
|
||||
msgstr "Розмір шрифту"
|
||||
|
||||
msgid ""
|
||||
"Full\n"
|
||||
"Update"
|
||||
msgstr ""
|
||||
"Повний\n"
|
||||
"Оновлення"
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "Назад"
|
||||
|
||||
msgid "Hidden"
|
||||
msgstr "Оновлення"
|
||||
|
||||
msgid "Hide"
|
||||
msgstr "Сховати"
|
||||
|
||||
@@ -239,12 +256,6 @@ msgstr "До дому"
|
||||
msgid "Hostname"
|
||||
msgstr "Назва хоста"
|
||||
|
||||
msgid "IPv4"
|
||||
msgstr "IPv4"
|
||||
|
||||
msgid "IPv6"
|
||||
msgstr "IPv6"
|
||||
|
||||
msgid "Icon Theme"
|
||||
msgstr "Тема оформлення"
|
||||
|
||||
@@ -272,8 +283,12 @@ msgstr "Інвертувати Y"
|
||||
msgid "Invert Z"
|
||||
msgstr "Інвертувати Z"
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr "Перезапуск pper"
|
||||
msgid ""
|
||||
"Klipper\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
"Klipper\n"
|
||||
"Перезавантажте"
|
||||
|
||||
msgid "Klipper has disconnected"
|
||||
msgstr "Klipper відключився"
|
||||
@@ -378,6 +393,9 @@ msgstr "Пауза"
|
||||
msgid "Paused"
|
||||
msgstr "Пауза"
|
||||
|
||||
msgid "Perform a full upgrade?"
|
||||
msgstr "Виконати повне оновлення?"
|
||||
|
||||
msgid "Please recompile and flash the micro-controller."
|
||||
msgstr "Будь ласка, перекомпілюйте та перепрошійте мікроконтролер."
|
||||
|
||||
@@ -503,8 +521,8 @@ msgstr "Квадратна кутова швидкість"
|
||||
msgid "Start"
|
||||
msgstr "Старт"
|
||||
|
||||
msgid "Starting WiFi Re-association"
|
||||
msgstr "Запуск повторної асоціації WiFi"
|
||||
msgid "Starting WiFi Association"
|
||||
msgstr "Запуск асоціації WiFi"
|
||||
|
||||
msgid "Starting recovery for"
|
||||
msgstr "Початок відновлення для"
|
||||
@@ -557,6 +575,10 @@ msgstr "Оновити"
|
||||
msgid "Update"
|
||||
msgstr "Оновлення"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Updating"
|
||||
msgstr "Оновлення"
|
||||
|
||||
msgid "Uploaded"
|
||||
msgstr "Завантажено"
|
||||
|
||||
@@ -584,8 +606,8 @@ msgstr "Калібровка Z"
|
||||
msgid "Z Move Speed (mm/s)"
|
||||
msgstr "Швидкість Z (мм/с)"
|
||||
|
||||
msgid "Z Offset"
|
||||
msgstr "Зміщення Z"
|
||||
msgid "Z Position"
|
||||
msgstr "Позиція Z"
|
||||
|
||||
msgid "Z Tilt"
|
||||
msgstr "Z Нахил"
|
||||
@@ -622,3 +644,12 @@ msgstr "мм/с"
|
||||
|
||||
msgid "mm/s^2"
|
||||
msgstr "мм/с²"
|
||||
|
||||
#~ msgid "IPv4"
|
||||
#~ msgstr "IPv4"
|
||||
|
||||
#~ msgid "IPv6"
|
||||
#~ msgstr "IPv6"
|
||||
|
||||
#~ msgid "Z Offset"
|
||||
#~ msgstr "Зміщення Z"
|
||||
@@ -7,8 +7,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: KlipperScreen\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-03-20 10:15-0300\n"
|
||||
"PO-Revision-Date: 2022-02-26 15:47-0300\n"
|
||||
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
|
||||
"PO-Revision-Date: 2022-03-31 11:21-0300\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: zh_CN\n"
|
||||
@@ -16,7 +16,7 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
"X-Generator: Poedit 3.0\n"
|
||||
"X-Generator: Poedit 3.0.1\n"
|
||||
|
||||
#, python-format
|
||||
msgid "%s will be updated to version"
|
||||
@@ -29,7 +29,7 @@ msgid "24 Hour Time"
|
||||
msgstr "使用 24 小时制"
|
||||
|
||||
msgid "A FIRMWARE_RESTART may fix the issue."
|
||||
msgstr ""
|
||||
msgstr "FIRMWARE_RESTART 可能会解决此问题。"
|
||||
|
||||
msgid "Abort"
|
||||
msgstr "终止"
|
||||
@@ -52,6 +52,9 @@ msgstr "您确定要紧急停止吗?"
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr "您确定要取消打印吗?"
|
||||
|
||||
msgid "Are you sure you wish to disable motors?"
|
||||
msgstr "您确定要禁用电机吗?"
|
||||
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr "您确定要重启系统吗?"
|
||||
|
||||
@@ -59,10 +62,10 @@ msgid "Are you sure you wish to shutdown the system?"
|
||||
msgstr "您确定要关闭系统吗?"
|
||||
|
||||
msgid "Auto"
|
||||
msgstr ""
|
||||
msgstr "汽车"
|
||||
|
||||
msgid "Auto-scroll"
|
||||
msgstr ""
|
||||
msgstr "自动滚屏"
|
||||
|
||||
msgid "Bed Level"
|
||||
msgstr "热床调平"
|
||||
@@ -95,7 +98,7 @@ msgid "Cancelling"
|
||||
msgstr "正在取消"
|
||||
|
||||
msgid "Cannot connect to Moonraker"
|
||||
msgstr ""
|
||||
msgstr "无法连接到 Moonraker"
|
||||
|
||||
msgid "Channel"
|
||||
msgstr "更新通道"
|
||||
@@ -199,15 +202,29 @@ msgstr "微调"
|
||||
msgid "Finish"
|
||||
msgstr "结束"
|
||||
|
||||
msgid "Firmware Restart"
|
||||
msgstr "重启Firmware"
|
||||
msgid ""
|
||||
"Firmware\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
"重启\n"
|
||||
"Firmware"
|
||||
|
||||
msgid "Font Size"
|
||||
msgstr "字体大小"
|
||||
|
||||
msgid ""
|
||||
"Full\n"
|
||||
"Update"
|
||||
msgstr ""
|
||||
"满的\n"
|
||||
"更新"
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "返回"
|
||||
|
||||
msgid "Hidden"
|
||||
msgstr "隐"
|
||||
|
||||
msgid "Hide"
|
||||
msgstr "隐藏"
|
||||
|
||||
@@ -238,12 +255,6 @@ msgstr "归零"
|
||||
msgid "Hostname"
|
||||
msgstr "主机名"
|
||||
|
||||
msgid "IPv4"
|
||||
msgstr "IPv4 地址"
|
||||
|
||||
msgid "IPv6"
|
||||
msgstr "IPv6 地址"
|
||||
|
||||
msgid "Icon Theme"
|
||||
msgstr "主题风格"
|
||||
|
||||
@@ -271,8 +282,12 @@ msgstr "反转 Y"
|
||||
msgid "Invert Z"
|
||||
msgstr "反转 Z"
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr "重启Klipper"
|
||||
msgid ""
|
||||
"Klipper\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
"重启\n"
|
||||
"Klipper"
|
||||
|
||||
msgid "Klipper has disconnected"
|
||||
msgstr "Klipper 已断开连接"
|
||||
@@ -335,7 +350,7 @@ msgid "Modified"
|
||||
msgstr "修改"
|
||||
|
||||
msgid "Moonraker: connected"
|
||||
msgstr ""
|
||||
msgstr "Moonraker:已连接"
|
||||
|
||||
msgid "Move"
|
||||
msgstr "移动"
|
||||
@@ -367,7 +382,7 @@ msgid_plural "Packages will be updated"
|
||||
msgstr[0] "包将被更新"
|
||||
|
||||
msgid "Password saved"
|
||||
msgstr ""
|
||||
msgstr "密码已保存"
|
||||
|
||||
msgid "Pause"
|
||||
msgstr "暂停"
|
||||
@@ -375,8 +390,11 @@ msgstr "暂停"
|
||||
msgid "Paused"
|
||||
msgstr "已暂停"
|
||||
|
||||
msgid "Perform a full upgrade?"
|
||||
msgstr "执行全面升级?"
|
||||
|
||||
msgid "Please recompile and flash the micro-controller."
|
||||
msgstr ""
|
||||
msgstr "请重新编译并刷写微控制器。"
|
||||
|
||||
msgid "Power"
|
||||
msgstr "电源开关"
|
||||
@@ -431,7 +449,7 @@ msgstr "回抽"
|
||||
|
||||
#, python-format
|
||||
msgid "Retry #%s"
|
||||
msgstr ""
|
||||
msgstr "重试 #%s"
|
||||
|
||||
msgid "Save"
|
||||
msgstr "保存"
|
||||
@@ -443,7 +461,7 @@ msgid "Save configuration"
|
||||
msgstr "即将保存配置文件"
|
||||
|
||||
msgid "Screen DPMS"
|
||||
msgstr ""
|
||||
msgstr "屏幕DPMS"
|
||||
|
||||
msgid "Screen Power Off Time"
|
||||
msgstr "关闭屏幕"
|
||||
@@ -455,11 +473,11 @@ msgid "Select"
|
||||
msgstr "选择"
|
||||
|
||||
msgid "Send"
|
||||
msgstr ""
|
||||
msgstr "发送"
|
||||
|
||||
#, python-format
|
||||
msgid "Sending Power ON signal to: %s"
|
||||
msgstr ""
|
||||
msgstr "正在发送通电信号到:%s"
|
||||
|
||||
msgid "Set Temp"
|
||||
msgstr "设定温度"
|
||||
@@ -477,7 +495,7 @@ msgid "Slicer"
|
||||
msgstr "切片软件"
|
||||
|
||||
msgid "Slicer Time correction (%)"
|
||||
msgstr ""
|
||||
msgstr "切片器时间校正 (%)"
|
||||
|
||||
msgid "Small"
|
||||
msgstr "小"
|
||||
@@ -500,8 +518,8 @@ msgstr "转角速度"
|
||||
msgid "Start"
|
||||
msgstr "开始"
|
||||
|
||||
msgid "Starting WiFi Re-association"
|
||||
msgstr "重新连接无线网络"
|
||||
msgid "Starting WiFi Association"
|
||||
msgstr "启动 WiFi 关联"
|
||||
|
||||
msgid "Starting recovery for"
|
||||
msgstr "开始恢复"
|
||||
@@ -536,7 +554,7 @@ msgid "Tool"
|
||||
msgstr "工具"
|
||||
|
||||
msgid "Total:"
|
||||
msgstr ""
|
||||
msgstr "全部的:"
|
||||
|
||||
msgid "Unknown Heater"
|
||||
msgstr "未知加热器"
|
||||
@@ -550,6 +568,10 @@ msgstr "最新"
|
||||
msgid "Update"
|
||||
msgstr "更新"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Updating"
|
||||
msgstr "更新"
|
||||
|
||||
msgid "Uploaded"
|
||||
msgstr "上传时间"
|
||||
|
||||
@@ -577,8 +599,8 @@ msgstr "Z 校准"
|
||||
msgid "Z Move Speed (mm/s)"
|
||||
msgstr "Z 移动速度 (mm/s)"
|
||||
|
||||
msgid "Z Offset"
|
||||
msgstr "Z 偏移"
|
||||
msgid "Z Position"
|
||||
msgstr "Z 位置"
|
||||
|
||||
msgid "Z Tilt"
|
||||
msgstr "Z 倾斜校准"
|
||||
@@ -612,6 +634,15 @@ msgstr "mm/s"
|
||||
msgid "mm/s^2"
|
||||
msgstr "mm/s^2"
|
||||
|
||||
#~ msgid "IPv4"
|
||||
#~ msgstr "IPv4 地址"
|
||||
|
||||
#~ msgid "IPv6"
|
||||
#~ msgstr "IPv6 地址"
|
||||
|
||||
#~ msgid "Z Offset"
|
||||
#~ msgstr "Z 偏移"
|
||||
|
||||
#~ msgid "Unknown Heater "
|
||||
#~ msgstr "未知加热器 "
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: KlipperScreen\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-03-20 10:15-0300\n"
|
||||
"PO-Revision-Date: 2022-02-26 15:47-0300\n"
|
||||
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
|
||||
"PO-Revision-Date: 2022-03-31 11:25-0300\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: zh_TW\n"
|
||||
@@ -16,7 +16,7 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
"X-Generator: Poedit 3.0\n"
|
||||
"X-Generator: Poedit 3.0.1\n"
|
||||
|
||||
#, python-format
|
||||
msgid "%s will be updated to version"
|
||||
@@ -52,6 +52,9 @@ msgstr "您確定要運行緊急停止嗎?"
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr "您確定要取消列印嗎?"
|
||||
|
||||
msgid "Are you sure you wish to disable motors?"
|
||||
msgstr "您確定要禁用電機嗎?"
|
||||
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr "您確定要重新啟動系統嗎?"
|
||||
|
||||
@@ -59,10 +62,10 @@ msgid "Are you sure you wish to shutdown the system?"
|
||||
msgstr "您確定要關閉系統嗎?"
|
||||
|
||||
msgid "Auto"
|
||||
msgstr ""
|
||||
msgstr "汽車"
|
||||
|
||||
msgid "Auto-scroll"
|
||||
msgstr ""
|
||||
msgstr "自動滾屏"
|
||||
|
||||
msgid "Bed Level"
|
||||
msgstr "熱床調平"
|
||||
@@ -95,7 +98,7 @@ msgid "Cancelling"
|
||||
msgstr "取消"
|
||||
|
||||
msgid "Cannot connect to Moonraker"
|
||||
msgstr ""
|
||||
msgstr "無法連接到 Moonraker"
|
||||
|
||||
msgid "Channel"
|
||||
msgstr "通道"
|
||||
@@ -199,15 +202,29 @@ msgstr "微調"
|
||||
msgid "Finish"
|
||||
msgstr "完成"
|
||||
|
||||
msgid "Firmware Restart"
|
||||
msgstr "框架重啟"
|
||||
msgid ""
|
||||
"Firmware\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
"Firmware\n"
|
||||
"重新啟動"
|
||||
|
||||
msgid "Font Size"
|
||||
msgstr "字體大小"
|
||||
|
||||
msgid ""
|
||||
"Full\n"
|
||||
"Update"
|
||||
msgstr ""
|
||||
"滿的\n"
|
||||
"更新"
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "返回"
|
||||
|
||||
msgid "Hidden"
|
||||
msgstr "隱"
|
||||
|
||||
msgid "Hide"
|
||||
msgstr "隱藏"
|
||||
|
||||
@@ -238,12 +255,6 @@ msgstr "歸零"
|
||||
msgid "Hostname"
|
||||
msgstr "主機名稱"
|
||||
|
||||
msgid "IPv4"
|
||||
msgstr "IPv4"
|
||||
|
||||
msgid "IPv6"
|
||||
msgstr "IPv6"
|
||||
|
||||
msgid "Icon Theme"
|
||||
msgstr "圖標主題"
|
||||
|
||||
@@ -271,8 +282,12 @@ msgstr "反轉 Y"
|
||||
msgid "Invert Z"
|
||||
msgstr "反轉 Z"
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr "Klipper 重新啟動"
|
||||
msgid ""
|
||||
"Klipper\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
"Klipper\n"
|
||||
"重新啟動"
|
||||
|
||||
msgid "Klipper has disconnected"
|
||||
msgstr "Klipper 已斷開連結"
|
||||
@@ -335,7 +350,7 @@ msgid "Modified"
|
||||
msgstr "修改"
|
||||
|
||||
msgid "Moonraker: connected"
|
||||
msgstr ""
|
||||
msgstr "Moonraker:已連接"
|
||||
|
||||
msgid "Move"
|
||||
msgstr "移動"
|
||||
@@ -367,7 +382,7 @@ msgid_plural "Packages will be updated"
|
||||
msgstr[0] "包將被更新"
|
||||
|
||||
msgid "Password saved"
|
||||
msgstr ""
|
||||
msgstr "密碼已保存"
|
||||
|
||||
msgid "Pause"
|
||||
msgstr "暫停"
|
||||
@@ -375,8 +390,11 @@ msgstr "暫停"
|
||||
msgid "Paused"
|
||||
msgstr "已暫停"
|
||||
|
||||
msgid "Perform a full upgrade?"
|
||||
msgstr "執行全面升級?"
|
||||
|
||||
msgid "Please recompile and flash the micro-controller."
|
||||
msgstr ""
|
||||
msgstr "請重新編譯並刷寫微控制器。"
|
||||
|
||||
msgid "Power"
|
||||
msgstr "電源"
|
||||
@@ -431,7 +449,7 @@ msgstr "回抽"
|
||||
|
||||
#, python-format
|
||||
msgid "Retry #%s"
|
||||
msgstr ""
|
||||
msgstr "重試 #%s"
|
||||
|
||||
msgid "Save"
|
||||
msgstr "儲存"
|
||||
@@ -443,7 +461,7 @@ msgid "Save configuration"
|
||||
msgstr "儲存設定檔案"
|
||||
|
||||
msgid "Screen DPMS"
|
||||
msgstr ""
|
||||
msgstr "屏幕DPMS"
|
||||
|
||||
msgid "Screen Power Off Time"
|
||||
msgstr "螢幕關閉時間"
|
||||
@@ -455,11 +473,11 @@ msgid "Select"
|
||||
msgstr "選擇"
|
||||
|
||||
msgid "Send"
|
||||
msgstr ""
|
||||
msgstr "發送"
|
||||
|
||||
#, python-format
|
||||
msgid "Sending Power ON signal to: %s"
|
||||
msgstr ""
|
||||
msgstr "正在發送通電信號到:%s"
|
||||
|
||||
msgid "Set Temp"
|
||||
msgstr "設定溫度"
|
||||
@@ -477,7 +495,7 @@ msgid "Slicer"
|
||||
msgstr "切片"
|
||||
|
||||
msgid "Slicer Time correction (%)"
|
||||
msgstr ""
|
||||
msgstr "切片器時間校正 (%)"
|
||||
|
||||
msgid "Small"
|
||||
msgstr "小的"
|
||||
@@ -500,8 +518,8 @@ msgstr "方角速度"
|
||||
msgid "Start"
|
||||
msgstr "開始"
|
||||
|
||||
msgid "Starting WiFi Re-association"
|
||||
msgstr "啟動 WiFi 重新關聯"
|
||||
msgid "Starting WiFi Association"
|
||||
msgstr "啟動 WiFi 關聯"
|
||||
|
||||
msgid "Starting recovery for"
|
||||
msgstr "開始恢復"
|
||||
@@ -536,7 +554,7 @@ msgid "Tool"
|
||||
msgstr "工具"
|
||||
|
||||
msgid "Total:"
|
||||
msgstr ""
|
||||
msgstr "全部的:"
|
||||
|
||||
msgid "Unknown Heater"
|
||||
msgstr "未知加熱器"
|
||||
@@ -550,6 +568,9 @@ msgstr "最新"
|
||||
msgid "Update"
|
||||
msgstr "更新"
|
||||
|
||||
msgid "Updating"
|
||||
msgstr "更新"
|
||||
|
||||
msgid "Uploaded"
|
||||
msgstr "上傳時間"
|
||||
|
||||
@@ -577,8 +598,8 @@ msgstr "Z 校準"
|
||||
msgid "Z Move Speed (mm/s)"
|
||||
msgstr "Z 移動速度 (mm/s)"
|
||||
|
||||
msgid "Z Offset"
|
||||
msgstr "Z 間隙"
|
||||
msgid "Z Position"
|
||||
msgstr "Z 位置"
|
||||
|
||||
msgid "Z Tilt"
|
||||
msgstr "Z 傾斜"
|
||||
@@ -612,6 +633,15 @@ msgstr "mm/s"
|
||||
msgid "mm/s^2"
|
||||
msgstr "mm/s^2"
|
||||
|
||||
#~ msgid "IPv4"
|
||||
#~ msgstr "IPv4"
|
||||
|
||||
#~ msgid "IPv6"
|
||||
#~ msgstr "IPv6"
|
||||
|
||||
#~ msgid "Z Offset"
|
||||
#~ msgstr "Z 間隙"
|
||||
|
||||
#~ msgid "Unknown Heater "
|
||||
#~ msgstr "未知加熱器 "
|
||||
|
||||
|
||||
@@ -329,7 +329,8 @@ class Printer:
|
||||
return self.extrudercount
|
||||
|
||||
def get_temp_store_devices(self):
|
||||
return list(self.tempstore)
|
||||
if self.tempstore is not None:
|
||||
return list(self.tempstore)
|
||||
|
||||
def get_temp_store_device_has_target(self, device):
|
||||
if device in self.tempstore:
|
||||
@@ -398,5 +399,5 @@ class Printer:
|
||||
temp = self.get_dev_stat(device, x[:-1])
|
||||
if temp is None:
|
||||
temp = 0
|
||||
self.tempstore[device][x].append(round(temp))
|
||||
self.tempstore[device][x].append(round(temp, 2))
|
||||
return True
|
||||
@@ -46,6 +46,7 @@ class Keypad(Gtk.Box):
|
||||
self.labels["keypad"] = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
|
||||
self.labels['entry'] = Gtk.Entry()
|
||||
self.labels['entry'].props.xalign = 0.5
|
||||
self.labels['entry'].connect("activate", self.update_entry, "E")
|
||||
|
||||
b = self._gtk.ButtonImage('cancel', _('Close'), None, 1, 1)
|
||||
b.connect("clicked", close_function)
|
||||
@@ -66,7 +67,10 @@ class Keypad(Gtk.Box):
|
||||
return
|
||||
self.labels['entry'].set_text(text[0:-1])
|
||||
elif digit == 'E':
|
||||
temp = int(text)
|
||||
try:
|
||||
temp = int(text)
|
||||
except ValueError:
|
||||
temp = 0
|
||||
self.change_temp(temp)
|
||||
self.labels['entry'].set_text("")
|
||||
else:
|
||||
|
||||
@@ -149,10 +149,13 @@ class BasePanel(ScreenPanel):
|
||||
self.labels[device].set_ellipsize(True)
|
||||
self.labels[device].set_ellipsize(Pango.EllipsizeMode.START)
|
||||
if device.startswith("extruder"):
|
||||
if device == "extruder":
|
||||
ext_img = self._gtk.Image("extruder-0.svg", None, .5, .5)
|
||||
if self._printer.extrudercount > 1:
|
||||
if device == "extruder":
|
||||
ext_img = self._gtk.Image("extruder-0.svg", None, .5, .5)
|
||||
else:
|
||||
ext_img = self._gtk.Image("extruder-%s.svg" % device[8:], None, .5, .5)
|
||||
else:
|
||||
ext_img = self._gtk.Image("extruder-%s.svg" % device[8:], None, .5, .5)
|
||||
ext_img = self._gtk.Image("extruder.svg", None, .5, .5)
|
||||
self.labels[device + '_box'].pack_start(ext_img, True, True, 3)
|
||||
elif device.startswith("heater_bed"):
|
||||
bed_img = self._gtk.Image("bed.svg", None, .5, .5)
|
||||
|
||||
@@ -90,7 +90,6 @@ class BedMeshPanel(ScreenPanel):
|
||||
_ = self.lang.gettext
|
||||
|
||||
frame = Gtk.Frame()
|
||||
frame.set_property("shadow-type", Gtk.ShadowType.NONE)
|
||||
|
||||
name = Gtk.Label()
|
||||
name.set_markup("<big><b>%s</b></big>" % (profile))
|
||||
@@ -282,6 +281,7 @@ class BedMeshPanel(ScreenPanel):
|
||||
pl.set_hexpand(False)
|
||||
entry = Gtk.Entry()
|
||||
entry.set_hexpand(True)
|
||||
entry.connect("activate", self.create_profile)
|
||||
|
||||
save = self._gtk.ButtonImage("sd", _("Save"), "color3")
|
||||
save.set_hexpand(False)
|
||||
@@ -350,7 +350,7 @@ class BedMeshPanel(ScreenPanel):
|
||||
surf = ax.plot_surface(x, y, z, cmap=cm.coolwarm, vmin=-0.1, vmax=0.1)
|
||||
|
||||
chartBox = ax.get_position()
|
||||
ax.set_position([chartBox.x0, chartBox.y0+0.1, chartBox.width, chartBox.height])
|
||||
ax.set_position([chartBox.x0, chartBox.y0+0.1, chartBox.width*.92, chartBox.height])
|
||||
|
||||
ax.set_zlim(z_range[0], z_range[1])
|
||||
ax.zaxis.set_major_locator(LinearLocator(5))
|
||||
|
||||
@@ -47,14 +47,18 @@ class ExtrudePanel(ScreenPanel):
|
||||
extgrid = self._gtk.HomogeneousGrid()
|
||||
self.current_extruder = self._printer.get_stat("toolhead", "extruder")
|
||||
for i, extruder in enumerate(self._printer.get_tools()):
|
||||
self.labels[extruder] = self._gtk.ButtonImage("extruder-%s" % i, _("Tool") + " %s" % str(i))
|
||||
if self._printer.extrudercount > 1:
|
||||
self.labels[extruder] = self._gtk.ButtonImage("extruder-%s" % i, _("Tool") + " %s" % str(i))
|
||||
else:
|
||||
self.labels[extruder] = self._gtk.ButtonImage("extruder", _("Tool"))
|
||||
self.labels[extruder].connect("clicked", self.change_extruder, extruder)
|
||||
if extruder == self.current_extruder:
|
||||
self.labels[extruder].get_style_context().add_class("button_active")
|
||||
if i < 5:
|
||||
extgrid.attach(self.labels[extruder], i, 0, 1, 1)
|
||||
if i < 3:
|
||||
extgrid.attach(self.labels['temperature'], i+1, 0, 1, 1)
|
||||
if i < 3:
|
||||
extgrid.attach(self.labels['temperature'], i+1, 0, 1, 1)
|
||||
|
||||
|
||||
grid.attach(extgrid, 0, 0, 4, 1)
|
||||
if self._screen.vertical_mode:
|
||||
|
||||
@@ -71,7 +71,6 @@ class FanPanel(ScreenPanel):
|
||||
break
|
||||
|
||||
frame = Gtk.Frame()
|
||||
frame.set_property("shadow-type", Gtk.ShadowType.NONE)
|
||||
frame.get_style_context().add_class("frame-item")
|
||||
|
||||
self.fan_speed[fan] = float(self._printer.get_fan_speed(fan))
|
||||
|
||||
@@ -19,16 +19,12 @@ class FineTunePanel(ScreenPanel):
|
||||
bs_deltas = ["0.01", "0.05"]
|
||||
percent_delta = 1
|
||||
percent_deltas = ['1', '5', '10', '25']
|
||||
fan = 100
|
||||
|
||||
extrusion = 0
|
||||
speed = 0
|
||||
extrusion = 100
|
||||
speed = 100
|
||||
|
||||
def initialize(self, panel_name):
|
||||
_ = self.lang.gettext
|
||||
|
||||
grid = self._gtk.HomogeneousGrid()
|
||||
grid.set_row_homogeneous(False)
|
||||
logging.debug("FineTunePanel")
|
||||
|
||||
print_cfg = self._config.get_printer_config(self._screen.connected_printer)
|
||||
@@ -42,52 +38,6 @@ class FineTunePanel(ScreenPanel):
|
||||
self.bs_deltas = [bs[0], bs[-1]]
|
||||
self.bs_delta = self.bs_deltas[0]
|
||||
|
||||
|
||||
self.labels['z+'] = self._gtk.ButtonImage("z-farther", _("Z+"), "color1")
|
||||
self.labels['z+'].connect("clicked", self.change_babystepping, "+")
|
||||
self.labels['zoffset'] = Gtk.Label("0.00" + _("mm"))
|
||||
self.labels['zoffset'].get_style_context().add_class('temperature_entry')
|
||||
self.labels['z-'] = self._gtk.ButtonImage("z-closer", _("Z-"), "color1")
|
||||
self.labels['z-'].connect("clicked", self.change_babystepping, "-")
|
||||
|
||||
grid.attach(self.labels['z+'], 0, 0, 1, 1)
|
||||
if self._screen.vertical_mode:
|
||||
grid.attach(self.labels['zoffset'], 2, 0, 1, 1)
|
||||
grid.attach(self.labels['z-'], 1, 0, 1, 1)
|
||||
else:
|
||||
grid.attach(self.labels['zoffset'], 0, 1, 1, 1)
|
||||
grid.attach(self.labels['z-'], 0, 2, 1, 1)
|
||||
|
||||
self.labels['speed+'] = self._gtk.ButtonImage("speed+", _("Speed +"), "color3")
|
||||
self.labels['speed+'].connect("clicked", self.change_speed, "+")
|
||||
self.labels['speedfactor'] = Gtk.Label("100%")
|
||||
self.labels['speedfactor'].get_style_context().add_class('temperature_entry')
|
||||
self.labels['speed-'] = self._gtk.ButtonImage("speed-", _("Speed -"), "color3")
|
||||
self.labels['speed-'].connect("clicked", self.change_speed, "-")
|
||||
if self._screen.vertical_mode:
|
||||
grid.attach(self.labels['speed+'], 1, 2, 1, 1)
|
||||
grid.attach(self.labels['speedfactor'], 2, 2, 1, 1)
|
||||
grid.attach(self.labels['speed-'], 0, 2, 1, 1)
|
||||
else:
|
||||
grid.attach(self.labels['speed+'], 1, 0, 1, 1)
|
||||
grid.attach(self.labels['speedfactor'], 1, 1, 1, 1)
|
||||
grid.attach(self.labels['speed-'], 1, 2, 1, 1)
|
||||
|
||||
self.labels['extrude+'] = self._gtk.ButtonImage("flow+", _("Extrusion +"), "color4")
|
||||
self.labels['extrude+'].connect("clicked", self.change_extrusion, "+")
|
||||
self.labels['extrudefactor'] = Gtk.Label("100%")
|
||||
self.labels['extrudefactor'].get_style_context().add_class('temperature_entry')
|
||||
self.labels['extrude-'] = self._gtk.ButtonImage("flow-", _("Extrusion -"), "color4")
|
||||
self.labels['extrude-'].connect("clicked", self.change_extrusion, "-")
|
||||
if self._screen.vertical_mode:
|
||||
grid.attach(self.labels['extrude+'], 1, 3, 1, 1)
|
||||
grid.attach(self.labels['extrudefactor'], 2, 3, 1, 1)
|
||||
grid.attach(self.labels['extrude-'], 0, 3, 1, 1)
|
||||
else:
|
||||
grid.attach(self.labels['extrude+'], 2, 0, 1, 1)
|
||||
grid.attach(self.labels['extrudefactor'], 2, 1, 1, 1)
|
||||
grid.attach(self.labels['extrude-'], 2, 2, 1, 1)
|
||||
|
||||
# babystepping grid
|
||||
bsgrid = Gtk.Grid()
|
||||
j = 0
|
||||
@@ -105,10 +55,6 @@ class FineTunePanel(ScreenPanel):
|
||||
ctx.add_class("distbutton_active")
|
||||
bsgrid.attach(self.labels[i], j, 0, 1, 1)
|
||||
j += 1
|
||||
if self._screen.vertical_mode:
|
||||
grid.attach(bsgrid, 0, 1, 3, 1)
|
||||
else:
|
||||
grid.attach(bsgrid, 0, 3, 1, 1)
|
||||
|
||||
# Grid for percentage
|
||||
deltgrid = Gtk.Grid()
|
||||
@@ -130,12 +76,74 @@ class FineTunePanel(ScreenPanel):
|
||||
|
||||
self.labels["1"].set_active(True)
|
||||
|
||||
grid = self._gtk.HomogeneousGrid()
|
||||
grid.set_row_homogeneous(False)
|
||||
if self._screen.vertical_mode:
|
||||
self.labels['z+'] = self._gtk.ButtonImage("z-farther", _("Z+"), "color1")
|
||||
self.labels['z-'] = self._gtk.ButtonImage("z-closer", _("Z-"), "color1")
|
||||
self.labels['zoffset'] = self._gtk.ButtonImage("refresh", " 0.00" + _("mm"),
|
||||
"color1", .6, .6, Gtk.PositionType.LEFT, False)
|
||||
|
||||
self.labels['speed+'] = self._gtk.ButtonImage("speed+", _("Speed +"), "color3")
|
||||
self.labels['speed-'] = self._gtk.ButtonImage("speed-", _("Speed -"), "color3")
|
||||
self.labels['speedfactor'] = self._gtk.ButtonImage("refresh", " 100%",
|
||||
"color3", .6, .6, Gtk.PositionType.LEFT, False)
|
||||
|
||||
self.labels['extrude+'] = self._gtk.ButtonImage("flow+", _("Extrusion +"), "color4")
|
||||
self.labels['extrude-'] = self._gtk.ButtonImage("flow-", _("Extrusion -"), "color4")
|
||||
self.labels['extrudefactor'] = self._gtk.ButtonImage("refresh", " 100%",
|
||||
"color4", .6, .6, Gtk.PositionType.LEFT, False)
|
||||
|
||||
grid.attach(self.labels['z+'], 0, 0, 1, 1)
|
||||
grid.attach(self.labels['z-'], 1, 0, 1, 1)
|
||||
grid.attach(self.labels['zoffset'], 2, 0, 1, 1)
|
||||
grid.attach(bsgrid, 0, 1, 3, 1)
|
||||
|
||||
grid.attach(self.labels['speed-'], 0, 2, 1, 1)
|
||||
grid.attach(self.labels['speed+'], 1, 2, 1, 1)
|
||||
grid.attach(self.labels['speedfactor'], 2, 2, 1, 1)
|
||||
|
||||
grid.attach(self.labels['extrude-'], 0, 3, 1, 1)
|
||||
grid.attach(self.labels['extrude+'], 1, 3, 1, 1)
|
||||
grid.attach(self.labels['extrudefactor'], 2, 3, 1, 1)
|
||||
grid.attach(deltgrid, 0, 4, 3, 1)
|
||||
else:
|
||||
self.labels['z+'] = self._gtk.ButtonImage("z-farther", _("Z+"), "color1")
|
||||
self.labels['zoffset'] = self._gtk.ButtonImage("refresh", " 0.00" + _("mm"),
|
||||
"color1", .6, .6, Gtk.PositionType.LEFT, False)
|
||||
self.labels['z-'] = self._gtk.ButtonImage("z-closer", _("Z-"), "color1")
|
||||
|
||||
self.labels['speed+'] = self._gtk.ButtonImage("speed+", _("Speed +"), "color3")
|
||||
self.labels['speedfactor'] = self._gtk.ButtonImage("refresh", " 100%",
|
||||
"color3", .6, .6, Gtk.PositionType.LEFT, False)
|
||||
self.labels['speed-'] = self._gtk.ButtonImage("speed-", _("Speed -"), "color3")
|
||||
|
||||
self.labels['extrude+'] = self._gtk.ButtonImage("flow+", _("Extrusion +"), "color4")
|
||||
self.labels['extrudefactor'] = self._gtk.ButtonImage("refresh", " 100%",
|
||||
"color4", .6, .6, Gtk.PositionType.LEFT, False)
|
||||
self.labels['extrude-'] = self._gtk.ButtonImage("flow-", _("Extrusion -"), "color4")
|
||||
grid.attach(self.labels['zoffset'], 0, 0, 1, 1)
|
||||
grid.attach(self.labels['z+'], 0, 1, 1, 1)
|
||||
grid.attach(self.labels['z-'], 0, 2, 1, 1)
|
||||
grid.attach(bsgrid, 0, 3, 1, 1)
|
||||
grid.attach(self.labels['speedfactor'], 1, 0, 1, 1)
|
||||
grid.attach(self.labels['speed+'], 1, 1, 1, 1)
|
||||
grid.attach(self.labels['speed-'], 1, 2, 1, 1)
|
||||
grid.attach(self.labels['extrudefactor'], 2, 0, 1, 1)
|
||||
grid.attach(self.labels['extrude+'], 2, 1, 1, 1)
|
||||
grid.attach(self.labels['extrude-'], 2, 2, 1, 1)
|
||||
grid.attach(deltgrid, 1, 3, 2, 1)
|
||||
|
||||
# self.panel = grid
|
||||
self.labels['z+'].connect("clicked", self.change_babystepping, "+")
|
||||
self.labels['zoffset'].connect("clicked", self.change_babystepping, "reset")
|
||||
self.labels['z-'].connect("clicked", self.change_babystepping, "-")
|
||||
self.labels['speed+'].connect("clicked", self.change_speed, "+")
|
||||
self.labels['speedfactor'].connect("clicked", self.change_speed, "reset")
|
||||
self.labels['speed-'].connect("clicked", self.change_speed, "-")
|
||||
self.labels['extrude+'].connect("clicked", self.change_extrusion, "+")
|
||||
self.labels['extrudefactor'].connect("clicked", self.change_extrusion, "reset")
|
||||
self.labels['extrude-'].connect("clicked", self.change_extrusion, "-")
|
||||
|
||||
self.content.add(grid)
|
||||
|
||||
def process_update(self, action, data):
|
||||
@@ -146,24 +154,28 @@ class FineTunePanel(ScreenPanel):
|
||||
|
||||
if "gcode_move" in data:
|
||||
if "homing_origin" in data["gcode_move"]:
|
||||
self.labels['zoffset'].set_text("%.2fmm" % data["gcode_move"]["homing_origin"][2])
|
||||
self.labels['zoffset'].set_label(" %.2fmm" % data["gcode_move"]["homing_origin"][2])
|
||||
if "extrude_factor" in data["gcode_move"]:
|
||||
self.extrusion = int(round(data["gcode_move"]["extrude_factor"]*100))
|
||||
self.labels['extrudefactor'].set_text("%3d%%" % self.extrusion)
|
||||
self.labels['extrudefactor'].set_label(" %3d%%" % self.extrusion)
|
||||
if "speed_factor" in data["gcode_move"]:
|
||||
self.speed = int(round(data["gcode_move"]["speed_factor"]*100))
|
||||
self.labels['speedfactor'].set_text("%3d%%" % self.speed)
|
||||
self.labels['speedfactor'].set_label(" %3d%%" % self.speed)
|
||||
|
||||
def change_babystepping(self, widget, dir):
|
||||
if self._screen.printer.get_stat("toolhead", "homed_axes") != "xyz":
|
||||
self._screen.show_popup_message("Must home first")
|
||||
return
|
||||
|
||||
if dir == "+":
|
||||
gcode = "SET_GCODE_OFFSET Z_ADJUST=%s MOVE=1" % self.bs_delta
|
||||
else:
|
||||
elif dir == "-":
|
||||
gcode = "SET_GCODE_OFFSET Z_ADJUST=-%s MOVE=1" % self.bs_delta
|
||||
elif dir == "reset":
|
||||
gcode = "SET_GCODE_OFFSET Z=0 MOVE=1"
|
||||
|
||||
self._screen._ws.klippy.gcode_script(gcode)
|
||||
|
||||
|
||||
|
||||
def change_bs_delta(self, widget, bs):
|
||||
if self.bs_delta == bs:
|
||||
return
|
||||
@@ -183,35 +195,26 @@ class FineTunePanel(ScreenPanel):
|
||||
def change_extrusion(self, widget, dir):
|
||||
if dir == "+":
|
||||
self.extrusion += int(self.percent_delta)
|
||||
else:
|
||||
elif dir == "-":
|
||||
self.extrusion -= int(self.percent_delta)
|
||||
elif dir == "reset":
|
||||
self.extrusion = 100
|
||||
|
||||
if self.extrusion < 0:
|
||||
self.extrusion = 0
|
||||
if self.extrusion < 1:
|
||||
self.extrusion = 1
|
||||
|
||||
self._screen._ws.klippy.gcode_script(KlippyGcodes.set_extrusion_rate(self.extrusion))
|
||||
|
||||
def change_fan(self, widget, dir):
|
||||
if dir == "+":
|
||||
self.fan += int(self.percent_delta)
|
||||
else:
|
||||
self.fan -= int(self.percent_delta)
|
||||
|
||||
if self.fan < 0:
|
||||
self.fan = 0
|
||||
elif self.fan > 100:
|
||||
self.fan = 100
|
||||
|
||||
self._screen._ws.klippy.gcode_script(KlippyGcodes.set_fan_speed(self.fan))
|
||||
|
||||
def change_speed(self, widget, dir):
|
||||
if dir == "+":
|
||||
self.speed += int(self.percent_delta)
|
||||
else:
|
||||
elif dir == "-":
|
||||
self.speed -= int(self.percent_delta)
|
||||
elif dir == "reset":
|
||||
self.speed = 100
|
||||
|
||||
if self.speed < 0:
|
||||
self.speed = 0
|
||||
if self.speed < 1:
|
||||
self.speed = 1
|
||||
|
||||
self._screen._ws.klippy.gcode_script(KlippyGcodes.set_speed_rate(self.speed))
|
||||
|
||||
|
||||
@@ -42,7 +42,6 @@ class MacroPanel(ScreenPanel):
|
||||
if macro.startswith("_"):
|
||||
return
|
||||
frame = Gtk.Frame()
|
||||
frame.set_property("shadow-type", Gtk.ShadowType.NONE)
|
||||
frame.get_style_context().add_class("frame-item")
|
||||
|
||||
name = Gtk.Label()
|
||||
|
||||
@@ -78,7 +78,6 @@ class LimitsPanel(ScreenPanel):
|
||||
logging.info("Adding option: %s" % option)
|
||||
|
||||
frame = Gtk.Frame()
|
||||
frame.set_property("shadow-type", Gtk.ShadowType.NONE)
|
||||
frame.get_style_context().add_class("frame-item")
|
||||
|
||||
name = Gtk.Label()
|
||||
|
||||
@@ -35,10 +35,11 @@ class MainPanel(MenuPanel):
|
||||
|
||||
leftpanel = self.create_left_panel()
|
||||
grid.attach(leftpanel, 0, 0, 1, 1)
|
||||
self.labels['menu'] = self.arrangeMenuItems(items, 2, True)
|
||||
if self._screen.vertical_mode:
|
||||
self.labels['menu'] = self.arrangeMenuItems(items, 3, True)
|
||||
grid.attach(self.labels['menu'], 0, 1, 1, 1)
|
||||
else:
|
||||
self.labels['menu'] = self.arrangeMenuItems(items, 2, True)
|
||||
grid.attach(self.labels['menu'], 1, 0, 1, 1)
|
||||
|
||||
self.grid = grid
|
||||
@@ -78,7 +79,10 @@ class MainPanel(MenuPanel):
|
||||
for d in self.devices:
|
||||
if d.startswith('extruder'):
|
||||
i += 1
|
||||
image = "extruder-%s" % i
|
||||
if self._printer.extrudercount > 1:
|
||||
image = "extruder-%s" % i
|
||||
else:
|
||||
image = "extruder"
|
||||
class_name = "graph_label_%s" % device
|
||||
type = "extruder"
|
||||
elif device == "heater_bed":
|
||||
|
||||
@@ -19,10 +19,16 @@ class MenuPanel(ScreenPanel):
|
||||
self.items = items
|
||||
self.create_menu_items()
|
||||
|
||||
self.grid = Gtk.Grid()
|
||||
self.grid.set_row_homogeneous(True)
|
||||
self.grid.set_column_homogeneous(True)
|
||||
self.content.add(self.grid)
|
||||
self.grid = self._gtk.HomogeneousGrid()
|
||||
|
||||
scroll = Gtk.ScrolledWindow()
|
||||
scroll.set_property("overlay-scrolling", False)
|
||||
scroll.set_hexpand(True)
|
||||
scroll.set_vexpand(True)
|
||||
scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
|
||||
scroll.add(self.grid)
|
||||
|
||||
self.content.add(scroll)
|
||||
|
||||
def activate(self):
|
||||
if not self.j2_data:
|
||||
@@ -30,7 +36,10 @@ class MenuPanel(ScreenPanel):
|
||||
self.j2_data.update({
|
||||
'moonraker_connected': self._screen._ws.is_connected()
|
||||
})
|
||||
self.arrangeMenuItems(self.items, 4)
|
||||
if self._screen.vertical_mode:
|
||||
self.arrangeMenuItems(self.items, 3)
|
||||
else:
|
||||
self.arrangeMenuItems(self.items, 4)
|
||||
|
||||
def arrangeMenuItems(self, items, columns, expandLast=False):
|
||||
for child in self.grid.get_children():
|
||||
@@ -52,19 +61,12 @@ class MenuPanel(ScreenPanel):
|
||||
# Arrange 3 x 2
|
||||
columns = 3
|
||||
|
||||
if self._screen.vertical_mode:
|
||||
row = i % columns
|
||||
col = int(i/columns)
|
||||
else:
|
||||
col = i % columns
|
||||
row = int(i/columns)
|
||||
col = i % columns
|
||||
row = int(i/columns)
|
||||
|
||||
width = height = 1
|
||||
if expandLast is True and i+1 == length and length % 2 == 1:
|
||||
if self._screen.vertical_mode:
|
||||
height = 2
|
||||
else:
|
||||
width = 2
|
||||
width = 2
|
||||
|
||||
self.grid.attach(self.labels[key], col, row, width, height)
|
||||
i += 1
|
||||
|
||||
@@ -22,8 +22,7 @@ class MovePanel(ScreenPanel):
|
||||
def initialize(self, panel_name):
|
||||
_ = self.lang.gettext
|
||||
|
||||
grid = Gtk.Grid()
|
||||
grid.set_column_homogeneous(True)
|
||||
grid = self._gtk.HomogeneousGrid()
|
||||
|
||||
self.labels['x+'] = self._gtk.ButtonImage("arrow-right", _("X+"), "color1")
|
||||
self.labels['x+'].connect("clicked", self.move, AXIS_X, "+")
|
||||
@@ -52,6 +51,12 @@ class MovePanel(ScreenPanel):
|
||||
self.labels['quad_gantry_level'] = self._gtk.ButtonImage("z-tilt", _("Quad Gantry Level"), "color4")
|
||||
self.labels['quad_gantry_level'].connect("clicked", self.quad_gantry_level)
|
||||
|
||||
self.labels['motors-off'] = self._gtk.ButtonImage("motor-off", _("Disable Motors"), "color4")
|
||||
script = {"script": "M18"}
|
||||
self.labels['motors-off'].connect("clicked", self._screen._confirm_send_action,
|
||||
_("Are you sure you wish to disable motors?"),
|
||||
"printer.gcode.script", script)
|
||||
|
||||
if self._screen.vertical_mode:
|
||||
if self._screen.lang_ltr:
|
||||
grid.attach(self.labels['x+'], 2, 1, 1, 1)
|
||||
@@ -85,7 +90,10 @@ class MovePanel(ScreenPanel):
|
||||
elif self._printer.config_section_exists("quad_gantry_level"):
|
||||
grid.attach(self.labels['quad_gantry_level'], 2, 0, 1, 1)
|
||||
else:
|
||||
grid.attach(self.labels['home-xy'], 2, 0, 1, 1)
|
||||
if "delta" in self._screen.printer.get_config_section("printer")['kinematics']:
|
||||
grid.attach(self.labels['motors-off'], 2, 0, 1, 1)
|
||||
else:
|
||||
grid.attach(self.labels['home-xy'], 2, 0, 1, 1)
|
||||
|
||||
distgrid = Gtk.Grid()
|
||||
j = 0
|
||||
@@ -107,8 +115,6 @@ class MovePanel(ScreenPanel):
|
||||
|
||||
self.labels["1"].set_active(True)
|
||||
|
||||
box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
|
||||
|
||||
bottomgrid = self._gtk.HomogeneousGrid()
|
||||
bottomgrid.set_direction(Gtk.TextDirection.LTR)
|
||||
self.labels['pos_x'] = Gtk.Label("X: 0")
|
||||
@@ -117,26 +123,42 @@ class MovePanel(ScreenPanel):
|
||||
bottomgrid.attach(self.labels['pos_x'], 0, 0, 1, 1)
|
||||
bottomgrid.attach(self.labels['pos_y'], 1, 0, 1, 1)
|
||||
bottomgrid.attach(self.labels['pos_z'], 2, 0, 1, 1)
|
||||
box.pack_start(bottomgrid, True, True, 0)
|
||||
self.labels['move_dist'] = Gtk.Label(_("Move Distance (mm)"))
|
||||
|
||||
box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
|
||||
box.pack_start(grid, True, True, 0)
|
||||
box.pack_start(bottomgrid, True, True, 0)
|
||||
box.pack_start(self.labels['move_dist'], True, True, 0)
|
||||
box.pack_start(distgrid, True, True, 0)
|
||||
|
||||
if self._screen.vertical_mode:
|
||||
grid.attach(box, 0, 3, 3, 1)
|
||||
else:
|
||||
grid.attach(box, 0, 2, 4, 1)
|
||||
|
||||
self.content.add(grid)
|
||||
self.content.add(box)
|
||||
|
||||
def process_update(self, action, data):
|
||||
if action != "notify_status_update":
|
||||
return
|
||||
|
||||
if "gcode_move" in data and "gcode_position" in data["gcode_move"]:
|
||||
self.labels['pos_x'].set_text("X: %.2f" % (data["gcode_move"]["gcode_position"][0]))
|
||||
self.labels['pos_y'].set_text("Y: %.2f" % (data["gcode_move"]["gcode_position"][1]))
|
||||
self.labels['pos_z'].set_text("Z: %.2f" % (data["gcode_move"]["gcode_position"][2]))
|
||||
homed_axes = self._screen.printer.get_stat("toolhead", "homed_axes")
|
||||
if homed_axes == "xyz":
|
||||
if "gcode_move" in data and "gcode_position" in data["gcode_move"]:
|
||||
self.labels['pos_x'].set_text("X: %.2f" % (data["gcode_move"]["gcode_position"][0]))
|
||||
self.labels['pos_y'].set_text("Y: %.2f" % (data["gcode_move"]["gcode_position"][1]))
|
||||
self.labels['pos_z'].set_text("Z: %.2f" % (data["gcode_move"]["gcode_position"][2]))
|
||||
else:
|
||||
if "x" in homed_axes:
|
||||
if "gcode_move" in data and "gcode_position" in data["gcode_move"]:
|
||||
self.labels['pos_x'].set_text("X: %.2f" % (data["gcode_move"]["gcode_position"][0]))
|
||||
else:
|
||||
self.labels['pos_x'].set_text("X: ?")
|
||||
if "y" in homed_axes:
|
||||
if "gcode_move" in data and "gcode_position" in data["gcode_move"]:
|
||||
self.labels['pos_y'].set_text("Y: %.2f" % (data["gcode_move"]["gcode_position"][1]))
|
||||
else:
|
||||
self.labels['pos_y'].set_text("Y: ?")
|
||||
if "z" in homed_axes:
|
||||
if "gcode_move" in data and "gcode_position" in data["gcode_move"]:
|
||||
self.labels['pos_z'].set_text("Z: %.2f" % (data["gcode_move"]["gcode_position"][2]))
|
||||
else:
|
||||
self.labels['pos_z'].set_text("Z: ?")
|
||||
|
||||
def change_distance(self, widget, distance):
|
||||
if self.distance == distance:
|
||||
|
||||
@@ -13,6 +13,8 @@ def create_panel(*args):
|
||||
return NetworkPanel(*args)
|
||||
|
||||
class NetworkPanel(ScreenPanel):
|
||||
initialized = False
|
||||
|
||||
def initialize(self, menu):
|
||||
_ = self.lang.gettext
|
||||
self.show_add = False
|
||||
@@ -52,7 +54,12 @@ class NetworkPanel(ScreenPanel):
|
||||
|
||||
self.labels['interface'] = Gtk.Label()
|
||||
self.labels['interface'].set_text(" %s: %s " % (_("Interface"), self.interface))
|
||||
self.labels['interface'].set_hexpand(True)
|
||||
self.labels['ip'] = Gtk.Label()
|
||||
self.labels['ip'].set_hexpand(True)
|
||||
reload_networks = self._gtk.ButtonImage("refresh", None, "color1")
|
||||
reload_networks.connect("clicked", self.reload_networks)
|
||||
reload_networks.set_hexpand(False)
|
||||
|
||||
sbox = Gtk.Box()
|
||||
sbox.set_hexpand(True)
|
||||
@@ -61,6 +68,8 @@ class NetworkPanel(ScreenPanel):
|
||||
if ip is not None:
|
||||
self.labels['ip'].set_text("IP: %s " % ip)
|
||||
sbox.add(self.labels['ip'])
|
||||
sbox.add(reload_networks)
|
||||
|
||||
|
||||
scroll = Gtk.ScrolledWindow()
|
||||
scroll.set_property("overlay-scrolling", False)
|
||||
@@ -94,14 +103,13 @@ class NetworkPanel(ScreenPanel):
|
||||
|
||||
self.content.add(box)
|
||||
self.labels['main_box'] = box
|
||||
self.initialized = True
|
||||
|
||||
def load_networks(self):
|
||||
networks = self.wifi.get_networks()
|
||||
|
||||
conn_ssid = self.wifi.get_connected_ssid()
|
||||
if conn_ssid in networks:
|
||||
networks.remove(conn_ssid)
|
||||
self.add_network(conn_ssid, False)
|
||||
if not networks:
|
||||
return
|
||||
|
||||
for net in networks:
|
||||
self.add_network(net, False)
|
||||
@@ -113,30 +121,38 @@ class NetworkPanel(ScreenPanel):
|
||||
_ = self.lang.gettext
|
||||
|
||||
if ssid is None:
|
||||
logging.info("SSID is None")
|
||||
return
|
||||
ssid = ssid.strip()
|
||||
if ssid in list(self.networks):
|
||||
logging.info("SSID already listed")
|
||||
return
|
||||
|
||||
netinfo = self.wifi.get_network_info(ssid)
|
||||
if netinfo is None:
|
||||
logging.debug("Couldn't get netinfo")
|
||||
netinfo = {'connected': False}
|
||||
|
||||
configured_networks = self.wifi.get_supplicant_networks()
|
||||
network_id = -1
|
||||
for net in list(configured_networks):
|
||||
if configured_networks[net]['ssid'] == ssid:
|
||||
network_id = net
|
||||
|
||||
frame = Gtk.Frame()
|
||||
frame.set_property("shadow-type", Gtk.ShadowType.NONE)
|
||||
frame.get_style_context().add_class("frame-item")
|
||||
if ssid.startswith("\x00"):
|
||||
display_name = _("Hidden")
|
||||
else:
|
||||
display_name = str(ssid)
|
||||
|
||||
netinfo = self.wifi.get_network_info(ssid)
|
||||
connected_ssid = self.wifi.get_connected_ssid()
|
||||
if netinfo is None:
|
||||
logging.debug("Couldn't get netinfo")
|
||||
if connected_ssid == ssid:
|
||||
netinfo = {'connected': True}
|
||||
else:
|
||||
netinfo = {'connected': False}
|
||||
|
||||
name = Gtk.Label()
|
||||
name.set_markup("<big><b>%s</b></big>" % (ssid))
|
||||
if connected_ssid == ssid:
|
||||
display_name += " (" + _("Connected") + ")"
|
||||
|
||||
name = Gtk.Label("")
|
||||
name.set_markup("<big><b>%s</b></big>" % (display_name))
|
||||
name.set_hexpand(True)
|
||||
name.set_halign(Gtk.Align.START)
|
||||
name.set_line_wrap(True)
|
||||
@@ -171,21 +187,21 @@ class NetworkPanel(ScreenPanel):
|
||||
buttons = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=5)
|
||||
if network_id != -1 or netinfo['connected']:
|
||||
buttons.pack_end(delete, False, False, 0)
|
||||
connected_ssid = self.wifi.get_connected_ssid()
|
||||
if ssid != connected_ssid or not netinfo['connected']:
|
||||
else:
|
||||
buttons.pack_end(connect, False, False, 0)
|
||||
|
||||
network.add(buttons)
|
||||
|
||||
frame = Gtk.Frame()
|
||||
frame.get_style_context().add_class("frame-item")
|
||||
self.networks[ssid] = frame
|
||||
frame.add(network)
|
||||
|
||||
nets = sorted(list(self.networks), reverse=False)
|
||||
if connected_ssid == ssid:
|
||||
pos = 0
|
||||
name.set_markup("<big><b>%s</b></big> (%s)" % (ssid, _("Connected")))
|
||||
elif nets.index(ssid) is not None:
|
||||
pos = nets.index(ssid) + 1
|
||||
if connected_ssid in nets:
|
||||
nets.remove(connected_ssid)
|
||||
nets.insert(0, connected_ssid)
|
||||
if nets.index(ssid) is not None:
|
||||
pos = nets.index(ssid)
|
||||
else:
|
||||
logging.info("Error: SSID not in nets")
|
||||
return
|
||||
@@ -283,16 +299,16 @@ class NetworkPanel(ScreenPanel):
|
||||
scroll.set_vexpand(True)
|
||||
scroll.add_events(Gdk.EventMask.TOUCH_MASK)
|
||||
scroll.add_events(Gdk.EventMask.BUTTON_PRESS_MASK)
|
||||
self.labels['connecting_info'] = Gtk.Label(_("Starting WiFi Re-association"))
|
||||
self.labels['connecting_info'] = Gtk.Label(_("Starting WiFi Association"))
|
||||
self.labels['connecting_info'].set_halign(Gtk.Align.START)
|
||||
self.labels['connecting_info'].set_valign(Gtk.Align.START)
|
||||
scroll.add(self.labels['connecting_info'])
|
||||
self._gtk.Dialog(self._screen, buttons, scroll, self.close_dialog)
|
||||
self._screen.show_all()
|
||||
|
||||
if ssid in self.networks:
|
||||
if ssid in list(self.networks):
|
||||
self.remove_network(ssid)
|
||||
if self.prev_network in self.networks:
|
||||
if self.prev_network in list(self.networks):
|
||||
self.remove_network(self.prev_network)
|
||||
|
||||
self.wifi.add_callback("connecting_status", self.connecting_status_callback)
|
||||
@@ -303,9 +319,9 @@ class NetworkPanel(ScreenPanel):
|
||||
self.labels['connecting_info'].show_all()
|
||||
|
||||
def remove_network(self, ssid, show=True):
|
||||
if ssid not in self.networks:
|
||||
if ssid not in list(self.networks):
|
||||
return
|
||||
|
||||
logging.info(self.labels['networklist'])
|
||||
for i in range(len(self.labels['networklist'])):
|
||||
if self.networks[ssid] == self.labels['networklist'].get_child_at(0, i):
|
||||
self.labels['networklist'].remove_row(i)
|
||||
@@ -351,6 +367,7 @@ class NetworkPanel(ScreenPanel):
|
||||
label.set_hexpand(False)
|
||||
entry = Gtk.Entry()
|
||||
entry.set_hexpand(True)
|
||||
entry.connect("activate", self.add_new_network, ssid, True)
|
||||
|
||||
save = self._gtk.ButtonImage("sd", _("Save"), "color3")
|
||||
save.set_hexpand(False)
|
||||
@@ -379,7 +396,7 @@ class NetworkPanel(ScreenPanel):
|
||||
_ = self.lang.gettext
|
||||
info = freq = encr = chan = lvl = ipv4 = ipv6 = ""
|
||||
|
||||
if ssid not in self.networks or ssid not in self.labels['networks']:
|
||||
if ssid not in list(self.networks) or ssid not in self.labels['networks']:
|
||||
logging.info("Unknown SSID %s", ssid)
|
||||
return
|
||||
netinfo = self.wifi.get_network_info(ssid)
|
||||
@@ -424,31 +441,32 @@ class NetworkPanel(ScreenPanel):
|
||||
ipv4 = ""
|
||||
ipv6 = ""
|
||||
if netifaces.AF_INET in ifadd and len(ifadd[netifaces.AF_INET]) > 0:
|
||||
ipv4 = "<b>%s:</b> %s " % (_("IPv4"), ifadd[netifaces.AF_INET][0]['addr'])
|
||||
ipv4 = "<b>%s:</b> %s " % ("IPv4", ifadd[netifaces.AF_INET][0]['addr'])
|
||||
if netifaces.AF_INET6 in ifadd and len(ifadd[netifaces.AF_INET6]) > 0:
|
||||
ipv6 = ipv6 = "<b>%s:</b> %s " % (_("IPv6"), ifadd[netifaces.AF_INET6][0]['addr'].split('%')[0])
|
||||
ipv6 = ipv6 = "<b>%s:</b> %s " % ("IPv6", ifadd[netifaces.AF_INET6][0]['addr'].split('%')[0])
|
||||
connected = "<b>%s</b>\n\n<small><b>%s</b></small>\n<b>%s:</b> %s\n%s\n%s\n" % (
|
||||
self.interface, _("Connected"), _("Hostname"), hostname, ipv4, ipv6)
|
||||
|
||||
self.labels['networkinfo'].set_markup(connected)
|
||||
self.labels['networkinfo'].show_all()
|
||||
|
||||
def activate(self):
|
||||
def reload_networks(self, widget=None):
|
||||
self.networks = {}
|
||||
|
||||
for i in range(len(self.labels['networklist'])):
|
||||
self.labels['networklist'].remove_row(i)
|
||||
self.labels['networklist'].remove_column(0)
|
||||
self.wifi.rescan()
|
||||
if self.wifi is not None and self.wifi.is_initialized():
|
||||
GLib.idle_add(self.load_networks)
|
||||
if self.update_timeout is None:
|
||||
if self.wifi is not None and self.wifi.is_initialized():
|
||||
self.update_timeout = GLib.timeout_add_seconds(5, self.update_all_networks)
|
||||
else:
|
||||
self.update_timeout = GLib.timeout_add_seconds(5, self.update_single_network_info)
|
||||
return
|
||||
|
||||
def activate(self):
|
||||
if self.initialized:
|
||||
self.reload_networks()
|
||||
if self.update_timeout is None:
|
||||
if self.wifi is not None and self.wifi.is_initialized():
|
||||
self.update_timeout = GLib.timeout_add_seconds(5, self.update_all_networks)
|
||||
else:
|
||||
self.update_timeout = GLib.timeout_add_seconds(5, self.update_single_network_info)
|
||||
|
||||
def deactivate(self):
|
||||
if self.update_timeout is not None:
|
||||
GLib.source_remove(self.update_timeout)
|
||||
self.update_timeout = None
|
||||
self.networks = None
|
||||
@@ -44,7 +44,6 @@ class PowerPanel(ScreenPanel):
|
||||
|
||||
def add_device(self, device):
|
||||
frame = Gtk.Frame()
|
||||
frame.set_property("shadow-type", Gtk.ShadowType.NONE)
|
||||
frame.get_style_context().add_class("frame-item")
|
||||
|
||||
name = Gtk.Label()
|
||||
|
||||
@@ -85,9 +85,6 @@ class PrintPanel(ScreenPanel):
|
||||
self.content.add(box)
|
||||
self._screen.files.add_file_callback(self._callback)
|
||||
|
||||
|
||||
return
|
||||
|
||||
def activate(self):
|
||||
if self.cur_directory != "gcodes":
|
||||
self.change_dir(None, "gcodes")
|
||||
@@ -100,7 +97,6 @@ class PrintPanel(ScreenPanel):
|
||||
|
||||
if directory not in self.labels['directories']:
|
||||
frame = Gtk.Frame()
|
||||
frame.set_property("shadow-type", Gtk.ShadowType.NONE)
|
||||
frame.get_style_context().add_class("frame-item")
|
||||
|
||||
name = Gtk.Label()
|
||||
@@ -187,11 +183,10 @@ class PrintPanel(ScreenPanel):
|
||||
|
||||
if filepath not in self.files:
|
||||
frame = Gtk.Frame()
|
||||
frame.set_property("shadow-type", Gtk.ShadowType.NONE)
|
||||
frame.get_style_context().add_class("frame-item")
|
||||
|
||||
name = Gtk.Label()
|
||||
name.set_markup("<big><b>%s</b></big>" % (os.path.splitext(filename)[0]))
|
||||
name.set_markup("<big><b>%s</b></big>" % (os.path.splitext(filename)[0].replace("_", " ")))
|
||||
name.set_hexpand(True)
|
||||
name.set_halign(Gtk.Align.START)
|
||||
name.set_line_wrap(True)
|
||||
@@ -216,14 +211,17 @@ class PrintPanel(ScreenPanel):
|
||||
file.set_hexpand(True)
|
||||
file.set_vexpand(False)
|
||||
|
||||
icon = self._gtk.Image("file.svg", False, 1.6, 1.6)
|
||||
icon = Gtk.Image()
|
||||
pixbuf = self.get_file_image(filepath)
|
||||
if pixbuf is not None:
|
||||
icon.set_from_pixbuf(pixbuf)
|
||||
else:
|
||||
icon = self._gtk.Image("file.svg", False, 1.6, 1.6)
|
||||
|
||||
file.add(icon)
|
||||
file.add(labels)
|
||||
file.add(actions)
|
||||
if os.path.splitext(filename)[1] in [".gcode", ".g", ".gco"]:
|
||||
file.add(actions)
|
||||
frame.add(file)
|
||||
|
||||
self.files[filepath] = frame
|
||||
|
||||
@@ -2,7 +2,7 @@ import gi
|
||||
import logging
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
|
||||
from gi.repository import Gtk
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.PrinterSelect")
|
||||
@@ -20,7 +20,13 @@ class PrinterSelect(ScreenPanel):
|
||||
printers = self._config.get_printers()
|
||||
|
||||
grid = self._gtk.HomogeneousGrid()
|
||||
self.content.add(grid)
|
||||
scroll = Gtk.ScrolledWindow()
|
||||
scroll.set_property("overlay-scrolling", False)
|
||||
scroll.set_hexpand(True)
|
||||
scroll.set_vexpand(True)
|
||||
scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
|
||||
scroll.add(grid)
|
||||
self.content.add(scroll)
|
||||
|
||||
length = len(printers)
|
||||
if length == 4:
|
||||
|
||||
@@ -105,7 +105,6 @@ class SettingsPanel(ScreenPanel):
|
||||
return
|
||||
|
||||
frame = Gtk.Frame()
|
||||
frame.set_property("shadow-type", Gtk.ShadowType.NONE)
|
||||
frame.get_style_context().add_class("frame-item")
|
||||
|
||||
name = Gtk.Label()
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import gi
|
||||
import logging
|
||||
import os
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gdk, Gtk, Pango
|
||||
@@ -29,12 +30,23 @@ class SplashScreenPanel(ScreenPanel):
|
||||
self.labels['text'].set_halign(Gtk.Align.CENTER)
|
||||
self.labels['text'].set_valign(Gtk.Align.CENTER)
|
||||
|
||||
self.labels['menu'] = self._gtk.ButtonImage("settings", _("Menu"), "color4")
|
||||
self.labels['menu'].connect("clicked", self._screen._go_to_submenu, "")
|
||||
self.labels['restart'] = self._gtk.ButtonImage("refresh", _("Klipper\nRestart"), "color1")
|
||||
self.labels['restart'].connect("clicked", self.restart)
|
||||
self.labels['firmware_restart'] = self._gtk.ButtonImage("refresh", _("Firmware\nRestart"), "color2")
|
||||
self.labels['firmware_restart'].connect("clicked", self.firmware_restart)
|
||||
self.labels['restart_system'] = self._gtk.ButtonImage("refresh", _("System\nRestart"), "color1")
|
||||
self.labels['restart_system'].connect("clicked", self.restart_system)
|
||||
self.labels['shutdown'] = self._gtk.ButtonImage("shutdown", _('System\nShutdown'), "color2")
|
||||
self.labels['shutdown'].connect("clicked", self.shutdown)
|
||||
|
||||
self.labels['actions'] = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL)
|
||||
self.labels['actions'].set_hexpand(True)
|
||||
self.labels['actions'].set_vexpand(False)
|
||||
self.labels['actions'].set_halign(Gtk.Align.CENTER)
|
||||
self.labels['actions'].set_homogeneous(True)
|
||||
self.labels['actions'].set_size_request(self._screen.base_panel.content.get_allocation().width, 0)
|
||||
|
||||
scroll = Gtk.ScrolledWindow()
|
||||
scroll.set_property("overlay-scrolling", False)
|
||||
@@ -59,6 +71,7 @@ class SplashScreenPanel(ScreenPanel):
|
||||
|
||||
def update_text(self, text):
|
||||
self.labels['text'].set_markup("%s" % text)
|
||||
self.show_restart_buttons()
|
||||
|
||||
def clear_action_bar(self):
|
||||
for child in self.labels['actions'].get_children():
|
||||
@@ -67,60 +80,58 @@ class SplashScreenPanel(ScreenPanel):
|
||||
def show_restart_buttons(self):
|
||||
_ = self.lang.gettext
|
||||
|
||||
if "firmware_restart" not in self.labels:
|
||||
self.labels['menu'] = self._gtk.ButtonImage("settings", _("Menu"), "color4")
|
||||
self.labels['menu'].connect("clicked", self._screen._go_to_submenu, "")
|
||||
self.labels['restart'] = self._gtk.ButtonImage("refresh", _("Restart"), "color1")
|
||||
self.labels['restart'].connect("clicked", self.restart)
|
||||
self.labels['firmware_restart'] = self._gtk.ButtonImage("refresh", _("Firmware Restart"), "color2")
|
||||
self.labels['firmware_restart'].connect("clicked", self.firmware_restart)
|
||||
self.labels['power'] = self._gtk.ButtonImage("shutdown", _("Power On Printer"), "color3")
|
||||
|
||||
self.clear_action_bar()
|
||||
self.search_power_devices()
|
||||
|
||||
self.labels['actions'].add(self.labels['restart'])
|
||||
self.labels['actions'].add(self.labels['firmware_restart'])
|
||||
self.labels['actions'].add(self.labels['menu'])
|
||||
self.labels['actions'].show_all()
|
||||
|
||||
def search_power_devices(self):
|
||||
if self._screen.printer is not None:
|
||||
power_devices = found_devices = []
|
||||
printer = self._screen.connecting_to_printer
|
||||
logging.info("Connecting to %s", printer)
|
||||
printer = self._screen.connected_printer
|
||||
if printer is not None and not self._screen.shutdown:
|
||||
printer_cfg = self._config.get_printer_config(printer)
|
||||
if printer_cfg is not None:
|
||||
power_devices = printer_cfg.get("power_devices", "")
|
||||
power_devices = [str(i.strip()) for i in power_devices.split(',')]
|
||||
logging.info("%s associated power devices: %s", printer, power_devices)
|
||||
logging.info("Associated power devices: %s", power_devices)
|
||||
self.add_power_button(self._screen.search_power_devices(power_devices))
|
||||
|
||||
if self._screen.printer is not None and self._screen.printer.state != "disconnected":
|
||||
self.labels['actions'].add(self.labels['restart'])
|
||||
self.labels['actions'].add(self.labels['firmware_restart'])
|
||||
self.labels['actions'].add(self.labels['menu'])
|
||||
else:
|
||||
self.labels['actions'].add(self.labels['restart_system'])
|
||||
self.labels['actions'].add(self.labels['shutdown'])
|
||||
self.labels['actions'].add(self.labels['menu'])
|
||||
|
||||
self.labels['actions'].show_all()
|
||||
|
||||
def add_power_button(self, powerdevs):
|
||||
if powerdevs is not None:
|
||||
_ = self.lang.gettext
|
||||
self.labels['power'] = self._gtk.ButtonImage("shutdown", _("Power On Printer"), "color3")
|
||||
self.labels['power'].connect("clicked", self._screen.power_on, powerdevs)
|
||||
self.check_power_status()
|
||||
self.labels['actions'].add(self.labels['power'])
|
||||
|
||||
def activate(self):
|
||||
self.check_power_status()
|
||||
|
||||
def check_power_status(self):
|
||||
if 'power' in self.labels:
|
||||
devices = self._screen.printer.get_power_devices()
|
||||
logging.debug("Power devices: %s", devices)
|
||||
if devices is not None:
|
||||
for device in devices:
|
||||
for power_device in power_devices:
|
||||
if device == power_device and power_device not in found_devices:
|
||||
found_devices.append(power_device)
|
||||
if len(found_devices) > 0:
|
||||
logging.info("Found %s, Adding power button", found_devices)
|
||||
self.labels['power'].connect("clicked", self.power_on, found_devices)
|
||||
self.labels['actions'].add(self.labels['power'])
|
||||
else:
|
||||
logging.info("%s power devices not found", printer)
|
||||
|
||||
def power_on(self, widget, devices):
|
||||
_ = self.lang.gettext
|
||||
self._screen.show_popup_message(_("Sending Power ON signal to: %s") % devices, level=1)
|
||||
for device in devices:
|
||||
if self._screen.printer.get_power_device_status(device) == "off":
|
||||
logging.info("%s is OFF, Sending Power ON signal", device)
|
||||
self._screen._ws.klippy.power_device_on(device)
|
||||
elif self._screen.printer.get_power_device_status(device) == "on":
|
||||
logging.info("%s is ON", device)
|
||||
|
||||
if self._screen.printer.get_power_device_status(device) == "off":
|
||||
self.labels['power'].set_sensitive(True)
|
||||
break
|
||||
elif self._screen.printer.get_power_device_status(device) == "on":
|
||||
self.labels['power'].set_sensitive(False)
|
||||
|
||||
def firmware_restart(self, widget):
|
||||
self._screen._ws.klippy.restart_firmware()
|
||||
|
||||
def restart(self, widget):
|
||||
self._screen._ws.klippy.restart()
|
||||
|
||||
|
||||
def shutdown(self, widget):
|
||||
os.system("sudo shutdown -P now")
|
||||
|
||||
def restart_system(self, widget):
|
||||
os.system("sudo reboot now")
|
||||
@@ -21,10 +21,10 @@ class SystemPanel(ScreenPanel):
|
||||
grid = self._gtk.HomogeneousGrid()
|
||||
grid.set_row_homogeneous(False)
|
||||
|
||||
restart = self._gtk.ButtonImage('refresh', "\n".join(_('Klipper Restart').split(' ')), 'color1')
|
||||
restart.connect("clicked", self.restart_klippy)
|
||||
restart.set_vexpand(False)
|
||||
firmrestart = self._gtk.ButtonImage('refresh', "\n".join(_('Firmware Restart').split(' ')), 'color2')
|
||||
update_all = self._gtk.ButtonImage('refresh', "\n".join(_('Full\nUpdate').split(' ')), 'color1')
|
||||
update_all.connect("clicked", self.show_update_info, "full")
|
||||
update_all.set_vexpand(False)
|
||||
firmrestart = self._gtk.ButtonImage('refresh', "\n".join(_('Firmware\nRestart').split(' ')), 'color2')
|
||||
firmrestart.connect("clicked", self.restart_klippy, "firmware")
|
||||
firmrestart.set_vexpand(False)
|
||||
|
||||
@@ -82,7 +82,7 @@ class SystemPanel(ScreenPanel):
|
||||
scroll.add(infogrid)
|
||||
|
||||
grid.attach(scroll, 0, 0, 4, 2)
|
||||
grid.attach(restart, 0, 2, 1, 1)
|
||||
grid.attach(update_all, 0, 2, 1, 1)
|
||||
grid.attach(firmrestart, 1, 2, 1, 1)
|
||||
grid.attach(reboot, 2, 2, 1, 1)
|
||||
grid.attach(shutdown, 3, 2, 1, 1)
|
||||
@@ -136,10 +136,12 @@ class SystemPanel(ScreenPanel):
|
||||
_ = self.lang.gettext
|
||||
_n = self.lang.ngettext
|
||||
|
||||
if not self.update_status or program not in self.update_status['version_info']:
|
||||
if not self.update_status:
|
||||
return
|
||||
|
||||
info = self.update_status['version_info'][program]
|
||||
if program in self.update_status['version_info']:
|
||||
info = self.update_status['version_info'][program]
|
||||
else:
|
||||
info = ["full"]
|
||||
|
||||
scroll = Gtk.ScrolledWindow()
|
||||
scroll.set_property("overlay-scrolling", False)
|
||||
@@ -221,6 +223,10 @@ class SystemPanel(ScreenPanel):
|
||||
j = j + 1
|
||||
if (pos == 2):
|
||||
i = i + 1
|
||||
elif "full" in info:
|
||||
label.set_markup("<b>" + _("Perform a full upgrade?") + "</b>")
|
||||
grid.attach(label, 0, i, 1, 1)
|
||||
i = i + 1
|
||||
else:
|
||||
label.set_markup("<b>" + _("%s will be updated to version") % program.capitalize() +
|
||||
": %s</b>" % (info['remote_version']))
|
||||
@@ -291,15 +297,20 @@ class SystemPanel(ScreenPanel):
|
||||
|
||||
_ = self.lang.gettext
|
||||
|
||||
if not self.update_status or program not in self.update_status['version_info']:
|
||||
if not self.update_status:
|
||||
return
|
||||
|
||||
info = self.update_status['version_info'][program]
|
||||
logging.info("program: %s" % info)
|
||||
if program in self.update_status['version_info']:
|
||||
info = self.update_status['version_info'][program]
|
||||
logging.info("program: %s" % info)
|
||||
else:
|
||||
info = ["full"]
|
||||
logging.info("full upgrade")
|
||||
|
||||
if "package_count" in info:
|
||||
if info['package_count'] == 0:
|
||||
return
|
||||
else:
|
||||
elif "version" in info:
|
||||
if info['version'] == info['remote_version']:
|
||||
return
|
||||
|
||||
@@ -315,7 +326,10 @@ class SystemPanel(ScreenPanel):
|
||||
scroll.add_events(Gdk.EventMask.TOUCH_MASK)
|
||||
scroll.add_events(Gdk.EventMask.BUTTON_PRESS_MASK)
|
||||
|
||||
self.labels['update_progress'] = Gtk.Label("%s %s..." % (_("Starting update for"), program))
|
||||
if "full" in info:
|
||||
self.labels['update_progress'] = Gtk.Label("%s\n" % _("Updating"))
|
||||
else:
|
||||
self.labels['update_progress'] = Gtk.Label("%s %s..." % (_("Starting update for"), program))
|
||||
self.labels['update_progress'].set_halign(Gtk.Align.START)
|
||||
self.labels['update_progress'].set_valign(Gtk.Align.START)
|
||||
scroll.add(self.labels['update_progress'])
|
||||
@@ -327,7 +341,7 @@ class SystemPanel(ScreenPanel):
|
||||
self.update_prog = program
|
||||
self.update_dialog = dialog
|
||||
|
||||
if program in ['klipper', 'moonraker', 'system']:
|
||||
if program in ['klipper', 'moonraker', 'system', 'full']:
|
||||
logging.info("Sending machine.update.%s" % program)
|
||||
self._screen._ws.send_method("machine.update.%s" % program)
|
||||
else:
|
||||
|
||||
@@ -130,9 +130,14 @@ class TemperaturePanel(ScreenPanel):
|
||||
vbox.pack_start(Gtk.Label(_("Temperature") + " (°C)"), False, False, 8)
|
||||
vbox.pack_end(tempgrid, True, True, 2)
|
||||
|
||||
deltagrid.attach(vbox, 0, 3, 2, 2)
|
||||
deltagrid.attach(self.labels["decrease"], 0, 0, 1, 3)
|
||||
deltagrid.attach(self.labels["increase"], 1, 0, 1, 3)
|
||||
if self._screen.vertical_mode:
|
||||
deltagrid.attach(self.labels["decrease"], 0, 0, 1, 2)
|
||||
deltagrid.attach(self.labels["increase"], 1, 0, 1, 2)
|
||||
deltagrid.attach(vbox, 0, 2, 2, 2)
|
||||
else:
|
||||
deltagrid.attach(self.labels["decrease"], 0, 0, 1, 3)
|
||||
deltagrid.attach(self.labels["increase"], 1, 0, 1, 3)
|
||||
deltagrid.attach(vbox, 0, 3, 2, 2)
|
||||
return deltagrid
|
||||
|
||||
def change_temp_delta(self, widget, tempdelta):
|
||||
@@ -280,7 +285,10 @@ class TemperaturePanel(ScreenPanel):
|
||||
for d in self.devices:
|
||||
if d.startswith('extruder'):
|
||||
i += 1
|
||||
image = "extruder-%s" % i
|
||||
if self._printer.extrudercount > 1:
|
||||
image = "extruder-%s" % i
|
||||
else:
|
||||
image = "extruder"
|
||||
class_name = "graph_label_%s" % device
|
||||
type = "extruder"
|
||||
elif device == "heater_bed":
|
||||
|
||||
@@ -24,32 +24,65 @@ class ZCalibratePanel(ScreenPanel):
|
||||
_ = self.lang.gettext
|
||||
grid = Gtk.Grid()
|
||||
|
||||
label = Gtk.Label(_("Z Offset") + ": \n")
|
||||
self.widgets['zposition'] = Gtk.Label(_("Homing"))
|
||||
pos_label = Gtk.Label(_("Z Position") + ": \n")
|
||||
self.widgets['zposition'] = Gtk.Label("?")
|
||||
pos = Gtk.VBox()
|
||||
pos.set_vexpand(False)
|
||||
pos.set_valign(Gtk.Align.CENTER)
|
||||
pos.add(label)
|
||||
pos.add(pos_label)
|
||||
pos.add(self.widgets['zposition'])
|
||||
|
||||
self.widgets['zpos'] = self._gtk.ButtonImage('z-farther', _("Raise Nozzle"), 'color4')
|
||||
self.widgets['zpos'].connect("clicked", self.move, "+")
|
||||
self.widgets['zneg'] = self._gtk.ButtonImage('z-closer', _("Lower Nozzle"), 'color1')
|
||||
self.widgets['zneg'].connect("clicked", self.move, "-")
|
||||
if (self._printer.config_section_exists("probe") or self._printer.config_section_exists("bltouch")):
|
||||
self.widgets['start'] = self._gtk.ButtonImage('resume', _("Start") + "\n(Probe)", 'color3')
|
||||
self.widgets['start'].connect("clicked", self.start_calibration)
|
||||
elif "Mesh" in self.title:
|
||||
self.widgets['start'] = self._gtk.ButtonImage('resume', _("Start") + "\n(Mesh)", 'color3')
|
||||
self.widgets['start'].connect("clicked", self.start_mesh)
|
||||
else:
|
||||
self.widgets['start'] = self._gtk.ButtonImage('resume', _("Start") + "\n(Endstop)", 'color3')
|
||||
self.widgets['start'].connect("clicked", self.start_calibration)
|
||||
self.widgets['start'] = self._gtk.ButtonImage('resume', _("Start"), 'color3')
|
||||
self.widgets['complete'] = self._gtk.ButtonImage('complete', _('Accept'), 'color3')
|
||||
self.widgets['complete'].connect("clicked", self.accept)
|
||||
self.widgets['cancel'] = self._gtk.ButtonImage('cancel', _('Abort'), 'color2')
|
||||
self.widgets['cancel'].connect("clicked", self.abort)
|
||||
|
||||
functions = ["endstop", "probe", "mesh", "delta"]
|
||||
pobox = Gtk.VBox()
|
||||
if not self._screen.printer.get_config_section("stepper_z")['endstop_pin'].startswith("probe"):
|
||||
endstop = self._gtk.Button(label="Endstop")
|
||||
endstop.connect("clicked", self.start_calibration, "endstop")
|
||||
pobox.pack_start(endstop, True, True, 5)
|
||||
else:
|
||||
functions.remove("endstop")
|
||||
|
||||
if (self._printer.config_section_exists("probe") or self._printer.config_section_exists("bltouch")):
|
||||
probe = self._gtk.Button(label="Probe")
|
||||
probe.connect("clicked", self.start_calibration, "probe")
|
||||
pobox.pack_start(probe, True, True, 5)
|
||||
functions.remove("mesh")
|
||||
else:
|
||||
functions.remove("probe")
|
||||
# This is used to do a manual bed mesh if there is no probe
|
||||
if self._printer.config_section_exists("bed_mesh"):
|
||||
mesh = self._gtk.Button(label="Bed mesh")
|
||||
mesh.connect("clicked", self.start_calibration, "mesh")
|
||||
pobox.pack_start(mesh, True, True, 5)
|
||||
else:
|
||||
functions.remove("mesh")
|
||||
|
||||
if "delta" in self._screen.printer.get_config_section("printer")['kinematics']:
|
||||
delta = self._gtk.Button(label="Delta")
|
||||
delta.connect("clicked", self.start_calibration, "delta")
|
||||
pobox.pack_start(delta, True, True, 5)
|
||||
else:
|
||||
functions.remove("delta")
|
||||
logging.info("Available functions: %s" % functions)
|
||||
|
||||
self.labels['popover'] = Gtk.Popover()
|
||||
self.labels['popover'].add(pobox)
|
||||
self.labels['popover'].set_position(Gtk.PositionType.BOTTOM)
|
||||
|
||||
if len(functions) > 1:
|
||||
self.widgets['start'].connect("clicked", self.on_popover_clicked)
|
||||
else:
|
||||
self.widgets['start'].connect("clicked", self.start_calibration, functions[0])
|
||||
|
||||
distgrid = Gtk.Grid()
|
||||
j = 0
|
||||
for i in self.distances:
|
||||
@@ -94,34 +127,82 @@ class ZCalibratePanel(ScreenPanel):
|
||||
grid.attach(distances, 0, 2, 3, 1)
|
||||
|
||||
self.buttons_not_calibrating()
|
||||
|
||||
self.content.add(grid)
|
||||
|
||||
def start_mesh(self, widget):
|
||||
def on_popover_clicked(self, widget):
|
||||
self.labels['popover'].set_relative_to(widget)
|
||||
self.labels['popover'].show_all()
|
||||
|
||||
def start_calibration(self, widget, method):
|
||||
self.labels['popover'].popdown()
|
||||
if self._screen.printer.get_stat("toolhead", "homed_axes") != "xyz":
|
||||
self._screen._ws.klippy.gcode_script(KlippyGcodes.HOME)
|
||||
|
||||
self._screen._ws.klippy.gcode_script("BED_MESH_CALIBRATE")
|
||||
if method == "probe":
|
||||
# Get position from config
|
||||
printer = self._screen.connected_printer
|
||||
printer_cfg = self._config.get_printer_config(printer)
|
||||
logging.info(printer_cfg)
|
||||
if printer_cfg is not None:
|
||||
x_position = printer_cfg.getint("calibrate_x_position", 0)
|
||||
y_position = printer_cfg.getint("calibrate_y_position", 0)
|
||||
elif 'z_calibrate_position' in self._config.get_config():
|
||||
# OLD global way, this should be deprecated
|
||||
x_position = self._config.get_config()['z_calibrate_position'].getint("calibrate_x_position", 0)
|
||||
y_position = self._config.get_config()['z_calibrate_position'].getint("calibrate_y_position", 0)
|
||||
|
||||
def start_calibration(self, widget):
|
||||
if self._screen.printer.get_stat("toolhead", "homed_axes") != "xyz":
|
||||
self._screen._ws.klippy.gcode_script(KlippyGcodes.HOME)
|
||||
|
||||
if 'z_calibrate_position' in self._config.get_config():
|
||||
x_position = self._config.get_config()['z_calibrate_position'].getint("calibrate_x_position", 0)
|
||||
y_position = self._config.get_config()['z_calibrate_position'].getint("calibrate_y_position", 0)
|
||||
if x_position > 0 and y_position > 0:
|
||||
logging.debug("Configured probing position X: %.0f Y: %.0f", x_position, y_position)
|
||||
self._screen._ws.klippy.gcode_script('G0 X%d Y%d F3000' % (x_position, y_position))
|
||||
elif "delta" in self._screen.printer.get_config_section("printer")['kinematics']:
|
||||
logging.info("Detected delta kinematics calibrating at 0,0")
|
||||
self._screen._ws.klippy.gcode_script('G0 X%d Y%d F3000' % (0, 0))
|
||||
else:
|
||||
logging.debug("Position not configured, probing the middle of the bed")
|
||||
x_position = int(int(self._screen.printer.get_config_section("stepper_x")['position_max'])/2)
|
||||
y_position = int(int(self._screen.printer.get_config_section("stepper_y")['position_max'])/2)
|
||||
|
||||
# Find probe offset
|
||||
klipper_cfg = self._screen.printer.get_config_section_list()
|
||||
x_offset = y_offset = 0
|
||||
if "bltouch" in klipper_cfg:
|
||||
bltouch = self._screen.printer.get_config_section("bltouch")
|
||||
if "x_offset" in bltouch:
|
||||
x_offset = float(bltouch['x_offset'])
|
||||
if "y_offset" in bltouch:
|
||||
y_offset = float(bltouch['y_offset'])
|
||||
elif "probe" in klipper_cfg:
|
||||
probe = self._screen.printer.get_config_section("probe")
|
||||
if "x_offset" in probe:
|
||||
x_offset = float(probe['x_offset'])
|
||||
if "y_offset" in probe:
|
||||
y_offset = float(probe['y_offset'])
|
||||
if x_offset > 0 or y_offset > 0:
|
||||
logging.debug("Substracting probe offset X: %.0f Y: %.0f", x_offset, y_offset)
|
||||
x_position = self.apply_probe_offset(x_position, x_offset)
|
||||
y_position = self.apply_probe_offset(y_position, y_offset)
|
||||
# Move
|
||||
self._screen._ws.klippy.gcode_script('G0 X%d Y%d F3000' % (x_position, y_position))
|
||||
|
||||
if (self._printer.config_section_exists("probe") or self._printer.config_section_exists("bltouch")):
|
||||
self._screen._ws.klippy.gcode_script(KlippyGcodes.PROBE_CALIBRATE)
|
||||
else:
|
||||
elif method == "mesh":
|
||||
self._screen._ws.klippy.gcode_script("BED_MESH_CALIBRATE")
|
||||
elif method == "delta":
|
||||
self._screen._ws.klippy.gcode_script("DELTA_CALIBRATE")
|
||||
elif method == "endstop":
|
||||
self._screen._ws.klippy.gcode_script(KlippyGcodes.Z_ENDSTOP_CALIBRATE)
|
||||
|
||||
def apply_probe_offset(self, pos, offset):
|
||||
return max(0, int(float(pos) - offset))
|
||||
|
||||
def process_update(self, action, data):
|
||||
_ = self.lang.gettext
|
||||
|
||||
if action == "notify_status_update":
|
||||
if "toolhead" in data and "position" in data['toolhead']:
|
||||
if self._screen.printer.get_stat("toolhead", "homed_axes") != "xyz":
|
||||
self.widgets['zposition'].set_text("?")
|
||||
elif "toolhead" in data and "position" in data['toolhead']:
|
||||
self.updatePosition(data['toolhead']['position'])
|
||||
elif action == "notify_gcode_response":
|
||||
if "unknown" in data.lower():
|
||||
|
||||
@@ -77,9 +77,12 @@ class KlipperScreen(Gtk.Window):
|
||||
updating = False
|
||||
update_queue = []
|
||||
_ws = None
|
||||
init_printer_timeout = None
|
||||
dpms_timeout = None
|
||||
screensaver_timeout = None
|
||||
reinit_count = 0
|
||||
|
||||
def __init__(self, args, version):
|
||||
self.dpms_timeout = None
|
||||
self.version = version
|
||||
|
||||
configfile = os.path.normpath(os.path.expanduser(args.configfile))
|
||||
@@ -233,11 +236,6 @@ class KlipperScreen(Gtk.Window):
|
||||
data["moonraker_port"]
|
||||
)
|
||||
|
||||
powerdevs = self.apiclient.send_request("machine/device_power/devices")
|
||||
if powerdevs is not False:
|
||||
self.printer.configure_power_devices(powerdevs['result'])
|
||||
self.panels['splash_screen'].show_restart_buttons()
|
||||
|
||||
self.files = KlippyFiles(self)
|
||||
self._ws.initial_connect()
|
||||
self.connecting = False
|
||||
@@ -577,6 +575,11 @@ class KlipperScreen(Gtk.Window):
|
||||
self.subscriptions.pop(i)
|
||||
return
|
||||
|
||||
def reset_screensaver_timeout(self, widget=None):
|
||||
if self.screensaver_timeout is not None:
|
||||
GLib.source_remove(self.screensaver_timeout)
|
||||
self.screensaver_timeout = GLib.timeout_add_seconds(self.blanking_time, self.show_screensaver)
|
||||
|
||||
def show_screensaver(self):
|
||||
logging.debug("Showing Screensaver")
|
||||
if self.screensaver is not None:
|
||||
@@ -594,6 +597,7 @@ class KlipperScreen(Gtk.Window):
|
||||
self.base_panel.get().put(box, 0, 0)
|
||||
self.show_all()
|
||||
self.screensaver = box
|
||||
return False
|
||||
|
||||
def close_screensaver(self, widget=None):
|
||||
if self.screensaver is None:
|
||||
@@ -603,6 +607,8 @@ class KlipperScreen(Gtk.Window):
|
||||
self.screensaver = None
|
||||
if self.use_dpms:
|
||||
self.wake_screen()
|
||||
else:
|
||||
self.screensaver_timeout = GLib.timeout_add_seconds(self.blanking_time, self.show_screensaver)
|
||||
self.show_all()
|
||||
return False
|
||||
|
||||
@@ -611,7 +617,8 @@ class KlipperScreen(Gtk.Window):
|
||||
|
||||
if state == functions.DPMS_State.Fail:
|
||||
logging.info("DPMS State FAIL: Stopping DPMS Check")
|
||||
os.system("xset -display :0 s %s" % self.blanking_time)
|
||||
if self.screensaver_timeout is None:
|
||||
self.set_dpms(False)
|
||||
return False
|
||||
elif state != functions.DPMS_State.On:
|
||||
if self.screensaver is None:
|
||||
@@ -631,9 +638,8 @@ class KlipperScreen(Gtk.Window):
|
||||
self.set_screenblanking_timeout(self._config.get_main_config_option('screen_blanking'))
|
||||
|
||||
def set_screenblanking_timeout(self, time):
|
||||
# The 'blank' flag sets the preference to blank the video
|
||||
# rather than display a background pattern
|
||||
os.system("xset -display :0 s blank")
|
||||
os.system("xset -display :0 s noblank")
|
||||
os.system("xset -display :0 s off")
|
||||
self.use_dpms = self._config.get_main_config().getboolean("use_dpms", fallback=True)
|
||||
|
||||
if time == "off":
|
||||
@@ -641,8 +647,9 @@ class KlipperScreen(Gtk.Window):
|
||||
if self.dpms_timeout is not None:
|
||||
GLib.source_remove(self.dpms_timeout)
|
||||
self.dpms_timeout = None
|
||||
if self.screensaver_timeout is not None:
|
||||
GLib.source_remove(self.screensaver_timeout)
|
||||
os.system("xset -display :0 dpms 0 0 0")
|
||||
os.system("xset -display :0 s off")
|
||||
return
|
||||
|
||||
self.blanking_time = abs(int(time))
|
||||
@@ -660,8 +667,13 @@ class KlipperScreen(Gtk.Window):
|
||||
return
|
||||
# Without dpms just blank the screen
|
||||
logging.debug("Not using DPMS")
|
||||
if self.dpms_timeout is not None:
|
||||
GLib.source_remove(self.dpms_timeout)
|
||||
self.dpms_timeout = None
|
||||
os.system("xset -display :0 dpms 0 0 0")
|
||||
os.system("xset -display :0 s %s" % self.blanking_time)
|
||||
if self.screensaver_timeout is None:
|
||||
self.screensaver_timeout = GLib.timeout_add_seconds(self.blanking_time, self.show_screensaver)
|
||||
return
|
||||
|
||||
def set_updating(self, updating=False):
|
||||
if self.updating is True and updating is False:
|
||||
@@ -777,6 +789,8 @@ class KlipperScreen(Gtk.Window):
|
||||
self.base_panel.show_macro_shortcut(False)
|
||||
self.wake_screen()
|
||||
msg = self.printer.get_stat("webhooks", "state_message")
|
||||
if "ready" in msg:
|
||||
msg = ""
|
||||
self.printer_initializing("<b>" + _("Klipper has shutdown") +
|
||||
"</b>" + "\n\n" + msg)
|
||||
|
||||
@@ -811,6 +825,7 @@ class KlipperScreen(Gtk.Window):
|
||||
elif action == "notify_power_changed":
|
||||
logging.debug("Power status changed: %s", data)
|
||||
self.printer.process_power_update(data)
|
||||
self.panels['splash_screen'].check_power_status()
|
||||
elif self.printer.get_state() not in ["error", "shutdown"] and action == "notify_gcode_response":
|
||||
if "Klipper state: Shutdown" in data:
|
||||
logging.debug("Shutdown in gcode response, changing state to shutdown")
|
||||
@@ -872,25 +887,76 @@ class KlipperScreen(Gtk.Window):
|
||||
self.printer.state = "disconnected"
|
||||
if text is not None:
|
||||
self.panels['splash_screen'].update_text(text)
|
||||
self.panels['splash_screen'].show_restart_buttons()
|
||||
|
||||
def search_power_devices(self, power_devices):
|
||||
if self.connected_printer is not None:
|
||||
found_devices = []
|
||||
devices = self.printer.get_power_devices()
|
||||
logging.debug("Power devices: %s", devices)
|
||||
if devices is not None:
|
||||
for device in devices:
|
||||
for power_device in power_devices:
|
||||
if device == power_device and power_device not in found_devices:
|
||||
found_devices.append(power_device)
|
||||
if len(found_devices) > 0:
|
||||
logging.info("Found %s", found_devices)
|
||||
return found_devices
|
||||
else:
|
||||
logging.info("Power devices not found")
|
||||
return None
|
||||
|
||||
def power_on(self, widget, devices):
|
||||
_ = self.lang.gettext
|
||||
for device in devices:
|
||||
if self.printer.get_power_device_status(device) == "off":
|
||||
self.show_popup_message(_("Sending Power ON signal to: %s") % devices, level=1)
|
||||
logging.info("%s is OFF, Sending Power ON signal", device)
|
||||
self._ws.klippy.power_device_on(device)
|
||||
elif self.printer.get_power_device_status(device) == "on":
|
||||
logging.info("%s is ON", device)
|
||||
|
||||
def init_printer(self):
|
||||
_ = self.lang.gettext
|
||||
|
||||
state = self.apiclient.get_server_info()
|
||||
if state is False:
|
||||
return False
|
||||
else:
|
||||
# Moonraker is ready, set a loop to init the printer
|
||||
self.reinit_count += 1
|
||||
self.init_printer_timeout = GLib.timeout_add_seconds(3, self.init_printer)
|
||||
|
||||
self.shutdown = False
|
||||
powerdevs = self.apiclient.send_request("machine/device_power/devices")
|
||||
if powerdevs is not False:
|
||||
self.printer.configure_power_devices(powerdevs['result'])
|
||||
|
||||
if state['result']['klippy_connected'] is False:
|
||||
self.panels['splash_screen'].update_text(
|
||||
_("Moonraker: connected") +
|
||||
("\n\nKlipper: %s\n\n") % state['result']['klippy_state'] +
|
||||
_("Retry #%s") % self.reinit_count)
|
||||
return False
|
||||
|
||||
printer_info = self.apiclient.get_printer_info()
|
||||
if printer_info is False:
|
||||
logging.info("Unable to get printer info from moonraker")
|
||||
msg = "Unable to get printer info from moonraker"
|
||||
logging.info(msg)
|
||||
self.panels['splash_screen'].update_text(msg)
|
||||
return False
|
||||
data = self.apiclient.send_request("printer/objects/query?" + "&".join(PRINTER_BASE_STATUS_OBJECTS))
|
||||
if data is False:
|
||||
logging.info("Error getting printer object data")
|
||||
msg = "Error getting printer object data"
|
||||
logging.info(msg)
|
||||
self.panels['splash_screen'].update_text(msg)
|
||||
return False
|
||||
powerdevs = self.apiclient.send_request("machine/device_power/devices")
|
||||
data = data['result']['status']
|
||||
|
||||
config = self.apiclient.send_request("printer/objects/query?configfile")
|
||||
if config is False:
|
||||
logging.info("Error getting printer config data")
|
||||
msg = "Error getting printer config data"
|
||||
logging.info(msg)
|
||||
self.panels['splash_screen'].update_text(msg)
|
||||
return False
|
||||
|
||||
# Reinitialize printer, in case the printer was shut down and anything has changed.
|
||||
@@ -908,7 +974,9 @@ class KlipperScreen(Gtk.Window):
|
||||
data = self.apiclient.send_request("printer/objects/query?" + "&".join(PRINTER_BASE_STATUS_OBJECTS +
|
||||
extra_items))
|
||||
if data is False:
|
||||
logging.info("Error getting printer object data")
|
||||
msg = "Error getting printer object data with extra items"
|
||||
logging.info(msg)
|
||||
self.panels['splash_screen'].update_text(msg)
|
||||
return False
|
||||
|
||||
tempstore = self.apiclient.send_request("server/temperature_store")
|
||||
@@ -919,9 +987,10 @@ class KlipperScreen(Gtk.Window):
|
||||
self.files.initialize()
|
||||
self.files.refresh_files()
|
||||
|
||||
if powerdevs is not False:
|
||||
self.printer.configure_power_devices(powerdevs['result'])
|
||||
self.panels['splash_screen'].show_restart_buttons()
|
||||
logging.info("Printer initialized")
|
||||
GLib.source_remove(self.init_printer_timeout)
|
||||
self.reinit_count = 0
|
||||
return False
|
||||
|
||||
def printer_ready(self):
|
||||
_ = self.lang.gettext
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
numpy==1.21.4
|
||||
jinja2==3.0.3
|
||||
numpy==1.21.5
|
||||
jinja2==3.1.1
|
||||
matplotlib==3.5.0
|
||||
netifaces==0.11.0
|
||||
requests==2.27.1
|
||||
websocket-client==1.3.1
|
||||
websocket-client==1.3.2
|
||||
pycairo==1.21.0
|
||||
PyGObject==3.42.0
|
||||
@@ -4,6 +4,7 @@
|
||||
-GtkComboBox-appears-as-list: 0;
|
||||
text-shadow: none;
|
||||
box-shadow: none;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
window {
|
||||
@@ -216,6 +217,7 @@ trough {
|
||||
border-top-left-radius: .75em;
|
||||
border-bottom-left-radius: .75em;
|
||||
margin-right: 0;
|
||||
min-height: 3em;
|
||||
}
|
||||
|
||||
.distbutton {
|
||||
@@ -224,6 +226,7 @@ trough {
|
||||
border-right: 0;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
min-height: 3em;
|
||||
}
|
||||
|
||||
.distbutton_bottom {
|
||||
@@ -232,6 +235,7 @@ trough {
|
||||
border-top-right-radius: .7em;
|
||||
border-bottom-right-radius: .7em;
|
||||
margin-left: 0;
|
||||
min-height: 3em;
|
||||
}
|
||||
|
||||
.extruder-0 {
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
id="svg892"
|
||||
sodipodi:docname="extruder.svg"
|
||||
inkscape:version="1.1 (c4e8f9ed74, 2021-05-24)"
|
||||
sodipodi:docname="extrude.svg"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04, custom)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
@@ -23,8 +23,8 @@
|
||||
inkscape:pagecheckerboard="1"
|
||||
showgrid="false"
|
||||
inkscape:zoom="26"
|
||||
inkscape:cx="-0.38461538"
|
||||
inkscape:cy="12.019231"
|
||||
inkscape:cx="11.346154"
|
||||
inkscape:cy="13.288462"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="826"
|
||||
inkscape:window-x="0"
|
||||
@@ -32,7 +32,8 @@
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg892" />
|
||||
<path
|
||||
d="M7,2H17V8H19V13H16.5L13,17H11L7.5,13H5V8H7V2M10,22H2V20H10A1,1 0 0,0 11,19V18H13V19A3,3 0 0,1 10,22Z"
|
||||
d="m 7,4.5 h 10 v 6 h 2 v 5 h -2.5 l -3.5,4 h -2 l -3.5,-4 H 5 v -5 h 2 v -6"
|
||||
id="path890"
|
||||
style="fill:#e2e2e2" />
|
||||
style="fill:#e2e2e2"
|
||||
sodipodi:nodetypes="ccccccccccccc" />
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.2 KiB |
@@ -4,35 +4,35 @@
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
id="svg1087"
|
||||
id="svg4"
|
||||
sodipodi:docname="load.svg"
|
||||
inkscape:version="1.1 (c4e8f9ed74, 2021-05-24)"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04, custom)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs1091" />
|
||||
id="defs8" />
|
||||
<sodipodi:namedview
|
||||
id="namedview1089"
|
||||
id="namedview6"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#ffffff"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:pageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="1"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="26"
|
||||
inkscape:cx="-0.38461538"
|
||||
inkscape:cy="12.019231"
|
||||
inkscape:zoom="26.25"
|
||||
inkscape:cx="11.333333"
|
||||
inkscape:cy="12"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="826"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1087" />
|
||||
inkscape:current-layer="svg4" />
|
||||
<path
|
||||
d="M20,6A2,2 0 0,1 22,8V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4H10L12,6H20M10.75,13H14V17H16V13H19.25L15,8.75"
|
||||
id="path1085"
|
||||
style="fill:#e2e2e2" />
|
||||
d="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"
|
||||
id="path2"
|
||||
style="fill:#e2e2e2;fill-opacity:1" />
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.1 KiB |
@@ -5,8 +5,8 @@
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
id="svg892"
|
||||
sodipodi:docname="extruder.svg"
|
||||
inkscape:version="1.1 (c4e8f9ed74, 2021-05-24)"
|
||||
sodipodi:docname="extrude.svg"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04, custom)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
@@ -23,8 +23,8 @@
|
||||
inkscape:pagecheckerboard="1"
|
||||
showgrid="false"
|
||||
inkscape:zoom="26"
|
||||
inkscape:cx="-0.38461538"
|
||||
inkscape:cy="12.019231"
|
||||
inkscape:cx="11.346154"
|
||||
inkscape:cy="13.288462"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="826"
|
||||
inkscape:window-x="0"
|
||||
@@ -32,7 +32,8 @@
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg892" />
|
||||
<path
|
||||
d="M7,2H17V8H19V13H16.5L13,17H11L7.5,13H5V8H7V2M10,22H2V20H10A1,1 0 0,0 11,19V18H13V19A3,3 0 0,1 10,22Z"
|
||||
d="m 7,4.5 h 10 v 6 h 2 v 5 h -2.5 l -3.5,4 h -2 l -3.5,-4 H 5 v -5 h 2 v -6"
|
||||
id="path890"
|
||||
style="fill:#e2e2e2" />
|
||||
style="fill:#e2e2e2"
|
||||
sodipodi:nodetypes="ccccccccccccc" />
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.2 KiB |
@@ -4,35 +4,35 @@
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
id="svg1087"
|
||||
id="svg4"
|
||||
sodipodi:docname="load.svg"
|
||||
inkscape:version="1.1 (c4e8f9ed74, 2021-05-24)"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04, custom)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs1091" />
|
||||
id="defs8" />
|
||||
<sodipodi:namedview
|
||||
id="namedview1089"
|
||||
id="namedview6"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#ffffff"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:pageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="1"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="26"
|
||||
inkscape:cx="-0.38461538"
|
||||
inkscape:cy="12.019231"
|
||||
inkscape:zoom="26.25"
|
||||
inkscape:cx="11.333333"
|
||||
inkscape:cy="12"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="826"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1087" />
|
||||
inkscape:current-layer="svg4" />
|
||||
<path
|
||||
d="M20,6A2,2 0 0,1 22,8V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4H10L12,6H20M10.75,13H14V17H16V13H19.25L15,8.75"
|
||||
id="path1085"
|
||||
style="fill:#e2e2e2" />
|
||||
d="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"
|
||||
id="path2"
|
||||
style="fill:#e2e2e2;fill-opacity:1" />
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.1 KiB |
@@ -1 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path d="M7,2H17V8H19V13H16.5L13,17H11L7.5,13H5V8H7V2M10,22H2V20H10A1,1 0 0,0 11,19V18H13V19A3,3 0 0,1 10,22Z" /></svg>
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
version="1.1"
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
id="svg4"
|
||||
sodipodi:docname="extrude.svg"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04, custom)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs8" />
|
||||
<sodipodi:namedview
|
||||
id="namedview6"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#ffffff"
|
||||
borderopacity="1"
|
||||
inkscape:pageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="1"
|
||||
showgrid="false"
|
||||
inkscape:zoom="26"
|
||||
inkscape:cx="12"
|
||||
inkscape:cy="12.019231"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="826"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg4" />
|
||||
<path
|
||||
d="m 7,4.5 h 10 v 6 h 2 v 5 h -2.5 l -3.5,4 h -2 l -3.5,-4 H 5 v -5 h 2 v -6"
|
||||
id="path2"
|
||||
sodipodi:nodetypes="ccccccccccccc" />
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 395 B After Width: | Height: | Size: 1.1 KiB |
@@ -1 +1 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path d="M20,6A2,2 0 0,1 22,8V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4H10L12,6H20M10.75,13H14V17H16V13H19.25L15,8.75" /></svg>
|
||||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path d="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z" /></svg>
|
||||
|
Before Width: | Height: | Size: 413 B After Width: | Height: | Size: 354 B |