Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0a5e931d17 | ||
|
|
f047830852 | ||
|
|
2c87e096f4 | ||
|
|
acbfd6e5c5 | ||
|
|
79eefbd170 | ||
|
|
a332556a51 | ||
|
|
874b74d59a | ||
|
|
49f7cf0e46 | ||
|
|
57aa7e6e85 | ||
|
|
054f7c72db | ||
|
|
1d746c074c | ||
|
|
9f2a328b62 | ||
|
|
e1d01c81a2 | ||
|
|
b251a2ebbb | ||
|
|
c3f0abd671 | ||
|
|
b6fb4c1da2 | ||
|
|
6228465fdd | ||
|
|
05623b7a26 | ||
|
|
b258d64fb4 | ||
|
|
7d1ec41f4b | ||
|
|
1e9aabec7d | ||
|
|
7609cedda4 | ||
|
|
f5a2d97842 | ||
|
|
c2dc0fdb46 | ||
|
|
faabceeafd | ||
|
|
4b4faaab88 | ||
|
|
3e4ae3bdee | ||
|
|
ad17131393 | ||
|
|
d25f642716 | ||
|
|
f1ced2ac46 | ||
|
|
1137ddb265 | ||
|
|
3f2fc93be4 | ||
|
|
d6bf77870b | ||
|
|
874dd509bf | ||
|
|
3ea8402303 | ||
|
|
f297699396 | ||
|
|
52cadb7744 | ||
|
|
90c84d5f17 | ||
|
|
a51360f372 | ||
|
|
fc074c350f | ||
|
|
c926184918 | ||
|
|
a17c8665ac | ||
|
|
6c252b0862 | ||
|
|
30ed648934 | ||
|
|
da9570a925 | ||
|
|
37f8a5d632 | ||
|
|
0453627d40 | ||
|
|
4f929ba342 | ||
|
|
8920516053 | ||
|
|
a087ecfa30 | ||
|
|
ab7cffe4d6 | ||
|
|
32ccfc125d | ||
|
|
ffb24a2ffd | ||
|
|
6e3965bf6c | ||
|
|
b1f110c13a | ||
|
|
6f15bb1d91 |
No files matched your search
@@ -0,0 +1,12 @@
|
||||
# These are supported funding model platforms
|
||||
|
||||
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
||||
patreon: klipperscreen
|
||||
open_collective: # Replace with a single Open Collective username
|
||||
ko_fi: # Replace with a single Ko-fi username
|
||||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
|
||||
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
||||
liberapay: # Replace with a single Liberapay username
|
||||
issuehunt: # Replace with a single IssueHunt username
|
||||
otechie: # Replace with a single Otechie username
|
||||
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
|
||||
+22
-6
@@ -12,12 +12,6 @@ config is included here: [ks_includes/KlipperScreen.conf](../ks_includes/Klipper
|
||||
## Main Options
|
||||
```
|
||||
[main]
|
||||
# Define the moonraker host/port if different from 127.0.0.1 and 7125
|
||||
moonraker_host: 127.0.0.1
|
||||
moonraker_port: 7125
|
||||
# Moonraker API key if this is not connecting from a trusted client IP
|
||||
moonraker_api_key: False
|
||||
|
||||
# Invert axis in move panel. Default is False. Change to true to invert
|
||||
invert_x: False
|
||||
invert_y: False
|
||||
@@ -29,6 +23,28 @@ job_complete_timeout: 30
|
||||
# Time (seconds) before the Job Status page reverts to main menu after a successful job.
|
||||
# If this option is 0, the user must click on a button to go back to the main menu.
|
||||
job_error_timeout: 0
|
||||
|
||||
#
|
||||
# The following main options are deprecated and will be removed in the near future
|
||||
#
|
||||
|
||||
# Define the moonraker host/port if different from 127.0.0.1 and 7125
|
||||
moonraker_host: 127.0.0.1
|
||||
moonraker_port: 7125
|
||||
# Moonraker API key if this is not connecting from a trusted client IP
|
||||
moonraker_api_key: False
|
||||
```
|
||||
|
||||
## Printer Options
|
||||
Multiple printers can be defined, currently only the first one will be used until an update in the near future.
|
||||
```
|
||||
# Define printer and name. Name is anything after the first printer word
|
||||
[printer Ender 3 Pro]
|
||||
# Define the moonraker host/port if different from 127.0.0.1 and 7125
|
||||
moonraker_host: 127.0.0.1
|
||||
moonraker_port: 7125
|
||||
# Moonraker API key if this is not connecting from a trusted client IP
|
||||
moonraker_api_key: False
|
||||
```
|
||||
|
||||
|
||||
|
||||
+44
-5
@@ -19,6 +19,15 @@ After changing _/boot/config.txt_ you must reboot your raspberry pi. Please also
|
||||
|
||||
### Installation
|
||||
|
||||
#### Setup Raspberry Pi
|
||||
This install process is meant for Raspbian non-desktop version. If you have installed it on the GUI version, use
|
||||
`sudo raspi-config` to set boot to console by choosing the following options in order:
|
||||
* 1 System Options
|
||||
* S5 Boot / Auto Login
|
||||
* B1 Console
|
||||
|
||||
#### Klipper and Moonraker Installation
|
||||
|
||||
Follow the instructions to install klipper and moonraker.
|
||||
klipper: https://github.com/KevinOConnor/klipper/
|
||||
moonraker: https://github.com/Arksine/moonraker
|
||||
@@ -30,14 +39,44 @@ trusted_clients:
|
||||
127.0.0.1
|
||||
```
|
||||
|
||||
For moonraker, ensure that 127.0.0.1 is a trusted client:
|
||||
If you wish to use the update manager feature of moonraker for KlipperScreen, add the following block into the moonraker
|
||||
configuration:
|
||||
```
|
||||
[update_manager client KlipperScreen]
|
||||
type: git_repo
|
||||
path: /home/pi/KlipperScreen
|
||||
origin: https://github.com/jordanruthe/KlipperScreen.git
|
||||
env: /home/pi/.KlipperScreen-env/bin/python
|
||||
requirements: scripts/KlipperScreen-requirements.txt
|
||||
install_script: scripts/KlipperScreen-install.sh
|
||||
```
|
||||
|
||||
Run _scripts/KlipperScreen-install.sh_
|
||||
This script will install packages that are listed under manual install, create a
|
||||
python virtual environment at ${HOME}/.KlipperScreen-env and install a systemd
|
||||
service file.
|
||||
#### KlipperScreen Installation
|
||||
To clone and install execute the following commands:
|
||||
```
|
||||
cd ~/
|
||||
git clone https://github.com/jordanruthe/KlipperScreen.git
|
||||
cd ~/KlipperScreen
|
||||
./scripts/KlipperScreen-install.sh
|
||||
```
|
||||
|
||||
This script will install packages that are listed under manual install, create a python virtual environment at
|
||||
${HOME}/.KlipperScreen-env and install a systemd service file.
|
||||
|
||||
KlipperScreen will create a log file output at `/tmp/KlipperScreen.log`. If you are having issues and KlipperScreen has
|
||||
not gotten to the point where the log file has been created. Run `journalctl -xe -u KlipperScreen` to view the ouput and
|
||||
see any issues that may be happening.
|
||||
|
||||
As an option to do development or interact with KlipperScreen from your computer, you may install tigervnc-scraping-server and VNC to your pi instance. Follow tigervnc server setup procedures for details on how to do that.
|
||||
|
||||
If you need a custom location for the configuration file, you can add -c or --configfile to the systemd file and specify
|
||||
the location of your configuration file.
|
||||
|
||||
#### Touchscreen Calibration
|
||||
Most people don't need to calibrate, but if you do need to calibrate your touchscreen, follow this process:
|
||||
|
||||
```
|
||||
DISPLAY=:0 xinput_calibrator --list
|
||||
Device "wch.cn USB2IIC_CTP_CONTROL" id=6
|
||||
DISPLAY=:0 xinput_calibrator -v --device <id from last command>
|
||||
```
|
||||
+29
-1
@@ -1,5 +1,33 @@
|
||||
## Changelog
|
||||
|
||||
#### 2021 02 15
|
||||
* Added action bar to left side (moves the Back, E-stop, and Home buttons)
|
||||
* Added wifi manager. Will show current wifi details in network panel. Will allow switching networks in the future.
|
||||
* Show printer name in main menu (user will need to configure the printer)
|
||||
|
||||
#### 2021 01 21
|
||||
* Configure screen blanking from settings panel
|
||||
|
||||
#### 2021 01 21
|
||||
* !! Important. matchbox-keyboard must be installed. Install script has changed to include this
|
||||
* Added onscreen keyboard
|
||||
* Can now add bed mesh profiles
|
||||
|
||||
#### 2021 01 20
|
||||
* Add different time estimation methods to settings panel
|
||||
* Job status panel will use time estimation method selected from settings panel
|
||||
* Bugfixes to state tracking
|
||||
|
||||
#### 2021 01 10
|
||||
* Added system reboot/shutdown buttons to systems panel.
|
||||
|
||||
#### 2021 01 09
|
||||
* Better RTL support (most panels now properly support RTL)
|
||||
* Fixes to install script for latest version of raspbian.
|
||||
|
||||
#### 2021 01 08
|
||||
* Added settings panel. Invert axis and hiding macros can now be configured from within KlipperScreen
|
||||
|
||||
#### 2021 01 03
|
||||
* Updated base language translation files with new phrases
|
||||
* Allow translations from KlipperScreen.conf for
|
||||
@@ -30,7 +58,7 @@
|
||||
|
||||
#### 2020 12 05
|
||||
* Added ability to invert Z axis in move panel
|
||||
* Fixed problem with metadata being retreived constantly
|
||||
* Fixed problem with metadata being retrieved constantly
|
||||
|
||||
#### 2020 12 04
|
||||
* Removed fan options from fine tuning
|
||||
|
||||
@@ -85,6 +85,13 @@ name: {{ gettext('Temperature') }}
|
||||
icon: heat-up
|
||||
panel: temperature
|
||||
|
||||
[menu __main actions quad_gantry_level]
|
||||
name: {{ gettext('Quad Gantry Level') }}
|
||||
icon: home-z
|
||||
method: printer.gcode.script
|
||||
params: {"script":"QUAD_GANTRY_LEVEL"}
|
||||
enable: {{ printer.quad_gantry_level is defined }}
|
||||
|
||||
[menu __main actions macros]
|
||||
name: {{ gettext('Macros') }}
|
||||
icon: custom-script
|
||||
@@ -169,6 +176,12 @@ icon: filament
|
||||
panel: extrude
|
||||
enable: {{ printer.pause_resume.is_paused == True }}
|
||||
|
||||
[menu __print power]
|
||||
name: {{ gettext('Power') }}
|
||||
icon: shutdown
|
||||
panel: power
|
||||
enable: {{ printer.power_devices.count > 0 }}
|
||||
|
||||
[menu __print network]
|
||||
name: {{ gettext('Network') }}
|
||||
icon: network
|
||||
@@ -178,3 +191,28 @@ panel: network
|
||||
name: {{ gettext('System') }}
|
||||
icon: info
|
||||
panel: system
|
||||
|
||||
[menu __print settings]
|
||||
name: {{ gettext('Settings') }}
|
||||
icon: settings
|
||||
panel: settings
|
||||
|
||||
|
||||
[menu __splashscreen]
|
||||
name: {{ gettext('Menu') }}
|
||||
|
||||
[menu __splashscreen power]
|
||||
name: {{ gettext('Power') }}
|
||||
icon: shutdown
|
||||
panel: power
|
||||
enable: {{ printer.power_devices.count > 0 }}
|
||||
|
||||
[menu __splashscreen network]
|
||||
name: {{ gettext('Network') }}
|
||||
icon: network
|
||||
panel: network
|
||||
|
||||
[menu __splashscreen system]
|
||||
name: {{ gettext('System') }}
|
||||
icon: info
|
||||
panel: system
|
||||
@@ -63,8 +63,12 @@ class KlippyGcodes:
|
||||
|
||||
@staticmethod
|
||||
def bed_mesh_load(profile):
|
||||
return "BED_MESH_PROFILE LOAD=%s" % profile
|
||||
return "BED_MESH_PROFILE LOAD='%s'" % profile
|
||||
|
||||
@staticmethod
|
||||
def bed_mesh_remove(profile):
|
||||
return "BED_MESH_PROFILE REMOVE='%s'" % profile
|
||||
|
||||
@staticmethod
|
||||
def bed_mesh_save(profile):
|
||||
return "BED_MESH_PROFILE SAVE=%s" % profile
|
||||
return "BED_MESH_PROFILE SAVE='%s'" % profile
|
||||
@@ -3,7 +3,7 @@ import gi
|
||||
import logging
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, Gdk, GdkPixbuf, GLib
|
||||
from gi.repository import Gtk, Gdk, GdkPixbuf, GLib, Pango
|
||||
import os
|
||||
klipperscreendir = os.getcwd()
|
||||
|
||||
@@ -23,11 +23,21 @@ class KlippyGtk:
|
||||
self.header_size = int(round((self.width / self.width_ratio) / 1.33))
|
||||
self.img_width = int(round(self.width / self.width_ratio))
|
||||
self.img_height = int(round(self.height / self.height_ratio))
|
||||
self.header_image_scale_width = .625
|
||||
self.header_image_scale_height = .625
|
||||
self.action_bar_width = int(self.width * .1)
|
||||
self.header_image_scale_width = 1.2
|
||||
self.header_image_scale_height = 1.4
|
||||
|
||||
logger.debug("img width: %s height: %s" % (self.img_width, self.img_height))
|
||||
|
||||
def get_action_bar_width(self):
|
||||
return self.action_bar_width
|
||||
|
||||
def get_content_width(self):
|
||||
return self.width - self.action_bar_width
|
||||
|
||||
def get_content_height(self):
|
||||
return self.height - self.header_size
|
||||
|
||||
def get_header_size(self):
|
||||
return self.header_size
|
||||
|
||||
@@ -43,9 +53,9 @@ class KlippyGtk:
|
||||
def get_font_size(self):
|
||||
return self.font_size
|
||||
|
||||
def Label(self, label, style):
|
||||
def Label(self, label, style=None):
|
||||
l = Gtk.Label(label)
|
||||
if style != False:
|
||||
if style != None and style != False:
|
||||
l.get_style_context().add_class(style)
|
||||
return l
|
||||
|
||||
@@ -108,7 +118,8 @@ class KlippyGtk:
|
||||
|
||||
return b
|
||||
|
||||
def ButtonImage(self, image_name, label=None, style=None, width_scale=1, height_scale=1):
|
||||
def ButtonImage(self, image_name, label=None, style=None, width_scale=1, height_scale=1,
|
||||
position=Gtk.PositionType.TOP):
|
||||
filename = "%s/styles/z-bolt/images/%s.svg" % (klipperscreendir, str(image_name))
|
||||
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(
|
||||
filename,
|
||||
@@ -124,10 +135,18 @@ class KlippyGtk:
|
||||
b.set_hexpand(True)
|
||||
b.set_vexpand(True)
|
||||
b.set_can_focus(False)
|
||||
b.set_image_position(Gtk.PositionType.TOP)
|
||||
b.set_image_position(position)
|
||||
b.set_always_show_image(True)
|
||||
b.props.relief = Gtk.ReliefStyle.NONE
|
||||
|
||||
#try:
|
||||
# # Get the label object
|
||||
# child = b.get_children()[0].get_children()[0].get_children()[1]
|
||||
# child.set_line_wrap(True)
|
||||
# child.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
|
||||
#except:
|
||||
# pass
|
||||
|
||||
if style != None:
|
||||
b.get_style_context().add_class(style)
|
||||
|
||||
|
||||
@@ -26,7 +26,10 @@ class KlippyRest:
|
||||
url = "http://%s:%s/%s" % (self.ip, self.port, method)
|
||||
logger.debug("Sending request to %s" % url)
|
||||
headers = {} if self.api_key == False else {"x-api-key":self.api_key}
|
||||
r = requests.get(url, headers=headers)
|
||||
try:
|
||||
r = requests.get(url, headers=headers)
|
||||
except:
|
||||
return False
|
||||
if r.status_code != 200:
|
||||
return False
|
||||
|
||||
|
||||
@@ -43,6 +43,7 @@ class KlippyWebsocket(threading.Thread):
|
||||
self._screen = screen
|
||||
self._callback = callback
|
||||
self.klippy = MoonrakerApi(self)
|
||||
self.closing = False
|
||||
|
||||
self._url = "%s:%s" % (host, port)
|
||||
|
||||
@@ -73,6 +74,9 @@ class KlippyWebsocket(threading.Thread):
|
||||
except Exception:
|
||||
logger.debug("Error starting web socket")
|
||||
|
||||
def close(self):
|
||||
self.closing = True
|
||||
|
||||
def is_connected(self):
|
||||
return self.connected
|
||||
|
||||
@@ -133,6 +137,11 @@ class KlippyWebsocket(threading.Thread):
|
||||
logger.debug("Connection already closed")
|
||||
return
|
||||
|
||||
if self.closing == True:
|
||||
logger.debug("Closing websocket")
|
||||
self.ws.stop()
|
||||
return
|
||||
|
||||
logger.info("Moonraker Websocket Closed")
|
||||
self.connected = False
|
||||
if self.timeout == None:
|
||||
|
||||
+62
-4
@@ -10,6 +10,15 @@ from os import path
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.config")
|
||||
|
||||
SCREEN_BLANKING_OPTIONS = [
|
||||
"300", #5 Minutes
|
||||
"900", #15 Minutes
|
||||
"1800", #30 Minutes
|
||||
"3600", #1 Hour
|
||||
"7200", #2 Hours
|
||||
"14400", #4 Hours
|
||||
]
|
||||
|
||||
class ConfigError(Exception):
|
||||
pass
|
||||
|
||||
@@ -19,15 +28,41 @@ class KlipperScreenConfig:
|
||||
do_not_edit_line = "#~# --- Do not edit below this line. This section is auto generated --- #~#"
|
||||
do_not_edit_prefix = "#~#"
|
||||
|
||||
def __init__(self, configfile, lang=None):
|
||||
def __init__(self, configfile, lang=None, screen=None):
|
||||
_ = lang.gettext
|
||||
_n = lang.ngettext
|
||||
|
||||
self.configurable_options = [
|
||||
{"invert_x": {"section": "main", "name": _("Invert X"), "type": "binary", "value": "False"}},
|
||||
{"invert_y": {"section": "main", "name": _("Invert Y"), "type": "binary", "value": "False"}},
|
||||
{"invert_z": {"section": "main", "name": _("Invert Z"), "type": "binary", "value": "False"}}
|
||||
{"invert_z": {"section": "main", "name": _("Invert Z"), "type": "binary", "value": "False"}},
|
||||
{"print_estimate_method": {"section": "main", "name": _("Estimated Time Method"), "type": "dropdown",
|
||||
"value": "file","options":[
|
||||
{"name": _("File Estimation (default)"), "value": "file"},
|
||||
{"name": _("Duration Only"), "value": "duration"},
|
||||
{"name": _("Filament Used"), "value": "filament"},
|
||||
{"name": _("Slicer"), "value": "slicer"}
|
||||
]}},
|
||||
{"screen_blanking": {"section": "main", "name": _("Screen Blanking Time"), "type": "dropdown",
|
||||
"value": "3600", "callback": screen.set_screenblanking_timeout, "options":[
|
||||
{"name": _("Off"), "value": "off"}
|
||||
]}}
|
||||
#{"": {"section": "main", "name": _(""), "type": ""}}
|
||||
]
|
||||
|
||||
index = self.configurable_options.index(
|
||||
[i for i in self.configurable_options if list(i)[0]=="screen_blanking"][0])
|
||||
for num in SCREEN_BLANKING_OPTIONS:
|
||||
hour = int(int(num)/3600)
|
||||
if hour > 0:
|
||||
name = str(hour) + " " + _n("hour","hours", hour)
|
||||
else:
|
||||
name = str(int(int(num)/60)) + " " + _("minutes")
|
||||
self.configurable_options[index]['screen_blanking']['options'].append({
|
||||
"name": name,
|
||||
"value": num
|
||||
})
|
||||
|
||||
self.default_config_path = "%s/ks_includes/%s" % (os.getcwd(), self.configfile_name)
|
||||
self.config = configparser.ConfigParser()
|
||||
self.config_path = self.get_config_file_location(configfile)
|
||||
@@ -47,7 +82,28 @@ class KlipperScreenConfig:
|
||||
except KeyError:
|
||||
raise ConfigError(f"Error reading config: {self.config_path}")
|
||||
|
||||
self.get_menu_items("__main")
|
||||
printers = [i for i in self.config.sections() if i.startswith("printer ")]
|
||||
logger.debug("Printers: %s %s" % (len(printers), printers))
|
||||
self.printers = []
|
||||
for printer in printers:
|
||||
self.printers.append({
|
||||
printer[8:]: {
|
||||
"moonraker_host": self.config.get(printer, "moonraker_host", fallback="127.0.0.1"),
|
||||
"moonraker_port": self.config.get(printer, "moonraker_port", fallback="7125"),
|
||||
"moonraker_api_key": self.config.get(printer, "moonraker_api_key", fallback="")
|
||||
}
|
||||
})
|
||||
if len(printers) <= 0:
|
||||
self.printers.append({
|
||||
"Printer": {
|
||||
"moonraker_host": self.config.get("main", "moonraker_host", fallback="127.0.0.1"),
|
||||
"moonraker_port": self.config.get("main", "moonraker_port", fallback="7125"),
|
||||
"moonraker_api_key": self.config.get("main", "moonraker_api_key", fallback="")
|
||||
}
|
||||
})
|
||||
|
||||
logger.debug("Configured printers: %s" % json.dumps(self.printers, indent=2))
|
||||
|
||||
for item in self.configurable_options:
|
||||
name = list(item)[0]
|
||||
vals = item[name]
|
||||
@@ -131,6 +187,9 @@ class KlipperScreenConfig:
|
||||
def get_printer_power_name(self):
|
||||
return self.config['settings'].get("printer_power_name", "printer")
|
||||
|
||||
def get_printers(self):
|
||||
return self.printers
|
||||
|
||||
def get_user_saved_config(self):
|
||||
if self.config_path != self.default_config_path:
|
||||
print("Get")
|
||||
@@ -188,7 +247,6 @@ class KlipperScreenConfig:
|
||||
def set(self, section, name, value):
|
||||
self.config.set(section, name, value)
|
||||
|
||||
|
||||
def log_config(self, config):
|
||||
lines = [
|
||||
" "
|
||||
|
||||
+40
-19
@@ -4,13 +4,18 @@ import json
|
||||
import os
|
||||
import base64
|
||||
|
||||
from contextlib import suppress
|
||||
from threading import Thread
|
||||
|
||||
import gi
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, Gdk, GLib
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.KlippyFiles")
|
||||
|
||||
class KlippyFiles:
|
||||
RESCAN_INTERVAL = 4
|
||||
|
||||
class KlippyFiles(Thread):
|
||||
callbacks = []
|
||||
filelist = []
|
||||
files = {}
|
||||
@@ -18,13 +23,41 @@ class KlippyFiles:
|
||||
timeout = None
|
||||
thumbnail_dir = "/tmp/.KS-thumbnails"
|
||||
|
||||
def __init__(self, screen):
|
||||
def __init__(self, screen, *args, **kwargs):
|
||||
super().__init__(*args, **kwargs)
|
||||
self.loop = None
|
||||
self._poll_task = None
|
||||
self._screen = screen
|
||||
self.add_timeout()
|
||||
|
||||
if not os.path.exists(self.thumbnail_dir):
|
||||
os.makedirs(self.thumbnail_dir)
|
||||
GLib.idle_add(self.ret_files, False)
|
||||
|
||||
def run(self):
|
||||
self.loop = asyncio.new_event_loop()
|
||||
loop = self.loop
|
||||
asyncio.set_event_loop(loop)
|
||||
try:
|
||||
self._poll_task = asyncio.ensure_future(self._poll())
|
||||
loop.run_forever()
|
||||
loop.run_until_complete(loop.shutdown_asyncgens())
|
||||
|
||||
self._poll_task.cancel()
|
||||
with suppress(asyncio.CancelledError):
|
||||
loop.run_until_complete(self._poll_task)
|
||||
finally:
|
||||
loop.close()
|
||||
|
||||
def stop(self):
|
||||
self.loop.call_soon_threadsafe(self.loop.stop)
|
||||
|
||||
async def _poll(self):
|
||||
await self.ret_files()
|
||||
while True:
|
||||
try:
|
||||
await self.ret_files()
|
||||
except:
|
||||
logger.exception("Poll files error")
|
||||
await asyncio.sleep(4)
|
||||
|
||||
|
||||
def _callback(self, result, method, params):
|
||||
@@ -62,9 +95,6 @@ class KlippyFiles:
|
||||
return
|
||||
|
||||
logger.debug("Got metadata for %s" % (result['result']['filename']))
|
||||
if params['filename'] in self.metadata_timeout:
|
||||
GLib.source_remove(self.metadata_timeout[params['filename']])
|
||||
del self.metadata_timeout[params['filename']]
|
||||
|
||||
for x in result['result']:
|
||||
self.files[params['filename']][x] = result['result'][x]
|
||||
@@ -121,21 +151,12 @@ class KlippyFiles:
|
||||
def request_metadata(self, filename):
|
||||
if filename not in self.filelist:
|
||||
return False
|
||||
if filename in self.metadata_timeout:
|
||||
GLib.source_remove(self.metadata_timeout[filename])
|
||||
self.metadata_timeout[filename] = GLib.timeout_add(
|
||||
6000, self._screen._ws.klippy.get_file_metadata, filename, self._callback
|
||||
)
|
||||
GLib.idle_add(
|
||||
lambda x, y: False if self._screen._ws.klippy.get_file_metadata(x,y) else False,
|
||||
filename, self._callback
|
||||
)
|
||||
self._screen._ws.klippy.get_file_metadata(filename, self._callback)
|
||||
|
||||
def ret_files(self, retval=True):
|
||||
async def ret_files(self, retval=True):
|
||||
logger.debug("Scanning for files")
|
||||
if not self._screen._ws.klippy.get_file_list(self._callback):
|
||||
self.timeout = None
|
||||
return False
|
||||
return retval
|
||||
|
||||
def ret_file_data (self, filename):
|
||||
print("Getting file info for %s" % (filename))
|
||||
|
||||
@@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-01-07 05:48+0000\n"
|
||||
"POT-Creation-Date: 2021-02-11 22:13+0100\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"
|
||||
@@ -17,15 +17,15 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: panels/print.py:197
|
||||
#: panels/print.py:247
|
||||
msgid "?"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:70
|
||||
#: panels/zcalibrate.py:71
|
||||
msgid "Abort"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:67
|
||||
#: panels/zcalibrate.py:68
|
||||
msgid "Accept"
|
||||
msgstr ""
|
||||
|
||||
@@ -33,23 +33,39 @@ msgstr ""
|
||||
msgid "Actions"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:197
|
||||
#: panels/bed_mesh.py:33
|
||||
msgid "Add bed mesh profile"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:247
|
||||
msgid "Are you sure you want to print"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:305
|
||||
#: panels/job_status.py:306
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:107
|
||||
#: panels/system.py:29
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:32
|
||||
msgid "Are you sure you wish to shutdown the system?"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:114
|
||||
msgid "Bed Level"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:112
|
||||
#: ks_includes/KlipperScreen.conf:119
|
||||
msgid "Bed Mesh"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:455 panels/job_status.py:267 panels/print.py:193
|
||||
#: panels/bed_mesh.py:104
|
||||
msgid "Calibrate"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:493 panels/job_status.py:268 panels/print.py:243
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
@@ -57,17 +73,17 @@ msgstr ""
|
||||
msgid "Cancel Change"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:300
|
||||
#: panels/job_status.py:301
|
||||
msgid "Cancel Print"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:289
|
||||
#: screen.py:305
|
||||
msgid ""
|
||||
"Check /tmp/KlipperScreen.log for more information.\n"
|
||||
"Please submit an issue on GitHub for help."
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_mesh.py:172 panels/temperature.py:149
|
||||
#: panels/bed_mesh.py:290 panels/temperature.py:150
|
||||
msgid "Close"
|
||||
msgstr ""
|
||||
|
||||
@@ -75,11 +91,11 @@ msgstr ""
|
||||
msgid "Configuration"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:454
|
||||
#: screen.py:492
|
||||
msgid "Continue"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:269
|
||||
#: panels/job_status.py:270
|
||||
msgid "Control"
|
||||
msgstr ""
|
||||
|
||||
@@ -87,36 +103,52 @@ msgstr ""
|
||||
msgid "Cooldown"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:24
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#: panels/temperature.py:53
|
||||
msgid "Decrease"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:101
|
||||
#: panels/bed_mesh.py:122
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:108
|
||||
msgid "Disable Motors"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_level.py:101
|
||||
#: panels/bed_level.py:107
|
||||
msgid "Disable XY"
|
||||
msgstr ""
|
||||
|
||||
#: panels/settings.py:32
|
||||
#: panels/settings.py:28
|
||||
msgid "Displayed Macros"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:63
|
||||
#: panels/zcalibrate.py:64
|
||||
msgid "Distance (mm)"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:135
|
||||
#: ks_includes/config.py:42
|
||||
msgid "Duration Only"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:136
|
||||
msgid "Elapsed:"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:271
|
||||
#: panels/job_status.py:272
|
||||
msgid "Emergency Stop"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:45 ks_includes/KlipperScreen.conf:74
|
||||
#: ks_includes/KlipperScreen.conf:167
|
||||
#: ks_includes/config.py:39
|
||||
msgid "Estimated Time Method"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:46 ks_includes/KlipperScreen.conf:74
|
||||
#: ks_includes/KlipperScreen.conf:174
|
||||
msgid "Extrude"
|
||||
msgstr ""
|
||||
|
||||
@@ -128,7 +160,7 @@ msgstr ""
|
||||
msgid "Extrusion -"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:79 ks_includes/KlipperScreen.conf:162
|
||||
#: ks_includes/KlipperScreen.conf:79 ks_includes/KlipperScreen.conf:169
|
||||
msgid "Fan"
|
||||
msgstr ""
|
||||
|
||||
@@ -140,23 +172,31 @@ msgstr ""
|
||||
msgid "Fan On"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:30
|
||||
#: panels/extrude.py:31
|
||||
msgid "Fast"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:157
|
||||
#: ks_includes/config.py:43
|
||||
msgid "Filament Used"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:41
|
||||
msgid "File Estimation (default)"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:164
|
||||
msgid "Fine Tuning"
|
||||
msgstr ""
|
||||
|
||||
#: panels/splash_screen.py:62 panels/system.py:24
|
||||
#: panels/splash_screen.py:64 panels/system.py:24
|
||||
msgid "Firmware Restart"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:284 panels/job_status.py:301
|
||||
#: screen.py:300 panels/job_status.py:302
|
||||
msgid "Go Back"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_level.py:98 panels/move.py:40 ks_includes/KlipperScreen.conf:39
|
||||
#: panels/bed_level.py:104 panels/move.py:40 ks_includes/KlipperScreen.conf:39
|
||||
msgid "Home All"
|
||||
msgstr ""
|
||||
|
||||
@@ -185,7 +225,7 @@ msgid "Increase"
|
||||
msgstr ""
|
||||
|
||||
#. self._load_panels()
|
||||
#: screen.py:136
|
||||
#: screen.py:149
|
||||
msgid "Initializing"
|
||||
msgstr ""
|
||||
|
||||
@@ -193,15 +233,15 @@ msgstr ""
|
||||
msgid "Initializing printer..."
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:26
|
||||
#: ks_includes/config.py:36
|
||||
msgid "Invert X"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:27
|
||||
#: ks_includes/config.py:37
|
||||
msgid "Invert Y"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:28
|
||||
#: ks_includes/config.py:38
|
||||
msgid "Invert Z"
|
||||
msgstr ""
|
||||
|
||||
@@ -209,51 +249,55 @@ msgstr ""
|
||||
msgid "Klipper Restart"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:35
|
||||
#: panels/system.py:42
|
||||
msgid "Klipper Version"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:384
|
||||
#: screen.py:418
|
||||
msgid "Klipper has disconnected"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:395
|
||||
#: screen.py:429
|
||||
msgid ""
|
||||
"Klipper has encountered an error with the micro-controller.\n"
|
||||
"Please recompile and flash."
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:399
|
||||
#: screen.py:433
|
||||
msgid "Klipper has encountered an error."
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:391
|
||||
#: screen.py:425
|
||||
msgid ""
|
||||
"Klipper has encountered an error.\n"
|
||||
"Issue a FIRMWARE_RESTART to attempt fixing the issue."
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:417
|
||||
#: screen.py:453
|
||||
msgid "Klipper has shutdown"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:413
|
||||
#: screen.py:449
|
||||
msgid "Klipper is attempting to start"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:141
|
||||
#: ks_includes/KlipperScreen.conf:148
|
||||
msgid "Klipper will reboot"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:39
|
||||
#: panels/system.py:46
|
||||
msgid "KlipperScreen Version"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:123
|
||||
#: panels/job_status.py:124
|
||||
msgid "Left:"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:57
|
||||
#: panels/bed_mesh.py:98
|
||||
msgid "Load"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:66
|
||||
msgid "Load Average"
|
||||
msgstr ""
|
||||
|
||||
@@ -261,27 +305,36 @@ msgstr ""
|
||||
msgid "Lower Nozzle"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:89
|
||||
#: ks_includes/KlipperScreen.conf:96
|
||||
msgid "Macros"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:273 ks_includes/KlipperScreen.conf:14
|
||||
#: panels/job_status.py:274 ks_includes/KlipperScreen.conf:14
|
||||
msgid "Main Menu"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:30
|
||||
#: panels/extrude.py:31
|
||||
msgid "Medium"
|
||||
msgstr ""
|
||||
|
||||
#: panels/splash_screen.py:59 ks_includes/KlipperScreen.conf:202
|
||||
msgid "Menu"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:69
|
||||
msgid "Move"
|
||||
msgstr ""
|
||||
|
||||
#: panels/move.py:86
|
||||
#: panels/move.py:91
|
||||
msgid "Move Distance (mm)"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:124 ks_includes/KlipperScreen.conf:173
|
||||
#: panels/print.py:23
|
||||
msgid "Name"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:131 ks_includes/KlipperScreen.conf:186
|
||||
#: ks_includes/KlipperScreen.conf:211
|
||||
msgid "Network"
|
||||
msgstr ""
|
||||
|
||||
@@ -293,19 +346,24 @@ msgstr ""
|
||||
msgid "Number Pad"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:275
|
||||
#: ks_includes/config.py:48
|
||||
msgid "Off"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:276
|
||||
msgid "Pause"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:454
|
||||
#: panels/job_status.py:470
|
||||
msgid "Paused"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:95
|
||||
#: ks_includes/KlipperScreen.conf:102 ks_includes/KlipperScreen.conf:180
|
||||
#: ks_includes/KlipperScreen.conf:205
|
||||
msgid "Power"
|
||||
msgstr ""
|
||||
|
||||
#: panels/splash_screen.py:59
|
||||
#: panels/splash_screen.py:61
|
||||
msgid "Power On Printer"
|
||||
msgstr ""
|
||||
|
||||
@@ -313,47 +371,63 @@ msgstr ""
|
||||
msgid "Preheat"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:192 ks_includes/KlipperScreen.conf:34
|
||||
#: panels/print.py:242 ks_includes/KlipperScreen.conf:34
|
||||
msgid "Print"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:149
|
||||
#: ks_includes/KlipperScreen.conf:156
|
||||
msgid "Print Control"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:122
|
||||
#: panels/print.py:171
|
||||
msgid "Print Time"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:231
|
||||
#: panels/job_status.py:232
|
||||
msgid "Printing"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_mesh.py:264
|
||||
msgid "Profile Name:"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:89
|
||||
msgid "Quad Gantry Level"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:37
|
||||
msgid "Raise Nozzle"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:277 panels/splash_screen.py:60
|
||||
#: panels/job_status.py:278 panels/splash_screen.py:62
|
||||
msgid "Restart"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:279
|
||||
#: panels/job_status.py:280
|
||||
msgid "Resume"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:47
|
||||
#: panels/extrude.py:48
|
||||
msgid "Retract"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:134
|
||||
#: panels/bed_mesh.py:116 panels/bed_mesh.py:269
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:141
|
||||
msgid "Save Config"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:139
|
||||
#: ks_includes/KlipperScreen.conf:146
|
||||
msgid "Save configuration."
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_level.py:108
|
||||
#: ks_includes/config.py:46
|
||||
msgid "Screen Blanking Time"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_level.py:114
|
||||
msgid "Screws Adjust"
|
||||
msgstr ""
|
||||
|
||||
@@ -361,18 +435,27 @@ msgstr ""
|
||||
msgid "Set Speed"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:144
|
||||
#: ks_includes/KlipperScreen.conf:151 ks_includes/KlipperScreen.conf:196
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:120
|
||||
#: panels/print.py:169
|
||||
msgid "Size"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:30
|
||||
#: ks_includes/config.py:44
|
||||
msgid "Slicer"
|
||||
msgstr ""
|
||||
|
||||
#. This line for translations only
|
||||
#: panels/extrude.py:31
|
||||
msgid "Slow"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:39
|
||||
msgid "Sort by: "
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:47
|
||||
msgid "Speed +"
|
||||
msgstr ""
|
||||
@@ -381,20 +464,33 @@ msgstr ""
|
||||
msgid "Speed -"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:129 ks_includes/KlipperScreen.conf:178
|
||||
#: ks_includes/KlipperScreen.conf:136 ks_includes/KlipperScreen.conf:191
|
||||
#: ks_includes/KlipperScreen.conf:216
|
||||
msgid "System"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:49 ks_includes/KlipperScreen.conf:84
|
||||
#: ks_includes/KlipperScreen.conf:152
|
||||
#: panels/system.py:27
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:30
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Shutdown"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:50 ks_includes/KlipperScreen.conf:84
|
||||
#: ks_includes/KlipperScreen.conf:159
|
||||
msgid "Temperature"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:37
|
||||
#: panels/extrude.py:38
|
||||
msgid "Tool"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:118
|
||||
#: panels/print.py:167
|
||||
msgid "Uploaded"
|
||||
msgstr ""
|
||||
|
||||
@@ -414,7 +510,7 @@ msgstr ""
|
||||
msgid "Y-"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:118
|
||||
#: ks_includes/KlipperScreen.conf:125
|
||||
msgid "Z Calibrate"
|
||||
msgstr ""
|
||||
|
||||
@@ -430,6 +526,10 @@ msgstr ""
|
||||
msgid "Z-"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:60
|
||||
msgid "minutes"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:38
|
||||
msgid "mm"
|
||||
msgstr ""
|
||||
Binary file not shown.
@@ -0,0 +1,562 @@
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
#
|
||||
# Jakob Kais <schpuntik@freenet.de>, 2021.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-02-11 22:13+0100\n"
|
||||
"PO-Revision-Date: 2021-02-12 02:02+0100\n"
|
||||
"Last-Translator: Jakob Kais <schpuntik@freenet.de>\n"
|
||||
"Language-Team: Russian <kde-i18n-de@kde.org>\n"
|
||||
"Language: de_DE\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 2.3\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: panels/print.py:247
|
||||
msgid "?"
|
||||
msgstr "?"
|
||||
|
||||
#: panels/zcalibrate.py:71
|
||||
msgid "Abort"
|
||||
msgstr "Abbrechen"
|
||||
|
||||
#: panels/zcalibrate.py:68
|
||||
msgid "Accept"
|
||||
msgstr "OK"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:26
|
||||
msgid "Actions"
|
||||
msgstr "Aktionen"
|
||||
|
||||
#: panels/bed_mesh.py:33
|
||||
msgid "Add bed mesh profile"
|
||||
msgstr "Druckbett Mesh Profil hinzufügen"
|
||||
|
||||
#: panels/print.py:247
|
||||
msgid "Are you sure you want to print"
|
||||
msgstr "Möchten Sie wirklich drucken"
|
||||
|
||||
#: panels/job_status.py:306
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr "Möchten Sie diesen Druck wirklich abbrechen?"
|
||||
|
||||
#: panels/system.py:29
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr "Möchten Sie das System wirklich neu starten?"
|
||||
|
||||
#: panels/system.py:32
|
||||
msgid "Are you sure you wish to shutdown the system?"
|
||||
msgstr "Möchten Sie das System wirklich herunterfahren?"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:114
|
||||
msgid "Bed Level"
|
||||
msgstr "Druckbett leveln"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:119
|
||||
msgid "Bed Mesh"
|
||||
msgstr "Druckbett Mesh-Level"
|
||||
|
||||
#: panels/bed_mesh.py:104
|
||||
msgid "Calibrate"
|
||||
msgstr "Kalibrieren"
|
||||
|
||||
#: screen.py:493 panels/job_status.py:268 panels/print.py:243
|
||||
msgid "Cancel"
|
||||
msgstr "Abbruch"
|
||||
|
||||
#: panels/fan.py:45
|
||||
msgid "Cancel Change"
|
||||
msgstr "Änderung abbrechen"
|
||||
|
||||
#: panels/job_status.py:301
|
||||
msgid "Cancel Print"
|
||||
msgstr "Druck abbrechen"
|
||||
|
||||
#: screen.py:305
|
||||
msgid ""
|
||||
"Check /tmp/KlipperScreen.log for more information.\n"
|
||||
"Please submit an issue on GitHub for help."
|
||||
msgstr ""
|
||||
"Prüfe /tmp/KlipperScreen.log für weitere Informationen.\n"
|
||||
"Bitte eröffne einen Fehlerbericht auf https://git.io/JLNn4 für Hilfe."
|
||||
|
||||
#: panels/bed_mesh.py:290 panels/temperature.py:150
|
||||
msgid "Close"
|
||||
msgstr "Schließen"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:30
|
||||
msgid "Configuration"
|
||||
msgstr "Einstellungen"
|
||||
|
||||
#: screen.py:492
|
||||
msgid "Continue"
|
||||
msgstr "Fortsetzen"
|
||||
|
||||
#: panels/job_status.py:270
|
||||
msgid "Control"
|
||||
msgstr "Steuerung"
|
||||
|
||||
#: panels/preheat.py:54
|
||||
msgid "Cooldown"
|
||||
msgstr "Abkühlen"
|
||||
|
||||
#: panels/print.py:24
|
||||
msgid "Date"
|
||||
msgstr "Datum"
|
||||
|
||||
#: panels/temperature.py:53
|
||||
msgid "Decrease"
|
||||
msgstr "Verringern"
|
||||
|
||||
#: panels/bed_mesh.py:122
|
||||
msgid "Delete"
|
||||
msgstr "Löschen"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:108
|
||||
msgid "Disable Motors"
|
||||
msgstr "Motoren deaktivieren"
|
||||
|
||||
#: panels/bed_level.py:107
|
||||
msgid "Disable XY"
|
||||
msgstr "Achse XY deaktivieren"
|
||||
|
||||
#: panels/settings.py:28
|
||||
msgid "Displayed Macros"
|
||||
msgstr "Aktive Macros"
|
||||
|
||||
#: panels/zcalibrate.py:64
|
||||
msgid "Distance (mm)"
|
||||
msgstr "Entfernung (mm)"
|
||||
|
||||
#: ks_includes/config.py:42
|
||||
msgid "Duration Only"
|
||||
msgstr "Reine Druckzeit"
|
||||
|
||||
#: panels/job_status.py:136
|
||||
msgid "Elapsed:"
|
||||
msgstr "Verstrichene Zeit:"
|
||||
|
||||
#: panels/job_status.py:272
|
||||
msgid "Emergency Stop"
|
||||
msgstr "NOT-STOP"
|
||||
|
||||
#: ks_includes/config.py:39
|
||||
msgid "Estimated Time Method"
|
||||
msgstr "Druckzeit"
|
||||
|
||||
#: panels/extrude.py:46 ks_includes/KlipperScreen.conf:74
|
||||
#: ks_includes/KlipperScreen.conf:174
|
||||
msgid "Extrude"
|
||||
msgstr "Filament fördern"
|
||||
|
||||
#: panels/fine_tune.py:57
|
||||
msgid "Extrusion +"
|
||||
msgstr "Extrusion +"
|
||||
|
||||
#: panels/fine_tune.py:61
|
||||
msgid "Extrusion -"
|
||||
msgstr "Extrusion -"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:79 ks_includes/KlipperScreen.conf:169
|
||||
msgid "Fan"
|
||||
msgstr "Lüfter"
|
||||
|
||||
#: panels/fan.py:35
|
||||
msgid "Fan Off"
|
||||
msgstr "Lüfter Aus"
|
||||
|
||||
#: panels/fan.py:38
|
||||
msgid "Fan On"
|
||||
msgstr "Lüfter An"
|
||||
|
||||
#: panels/extrude.py:31
|
||||
msgid "Fast"
|
||||
msgstr "Schnell"
|
||||
|
||||
#: ks_includes/config.py:43
|
||||
msgid "Filament Used"
|
||||
msgstr "Filamentverbrauch"
|
||||
|
||||
#: ks_includes/config.py:41
|
||||
msgid "File Estimation (default)"
|
||||
msgstr "Dateischätzung (Standard)"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:164
|
||||
msgid "Fine Tuning"
|
||||
msgstr "Feintuning"
|
||||
|
||||
#: panels/splash_screen.py:64 panels/system.py:24
|
||||
msgid "Firmware Restart"
|
||||
msgstr ""
|
||||
"Firmware\n"
|
||||
" neustarten"
|
||||
|
||||
#: screen.py:300 panels/job_status.py:302
|
||||
msgid "Go Back"
|
||||
msgstr "Zurück"
|
||||
|
||||
#: panels/bed_level.py:104 panels/move.py:40 ks_includes/KlipperScreen.conf:39
|
||||
msgid "Home All"
|
||||
msgstr ""
|
||||
"Alle Achsen\n"
|
||||
"zurücksetzen"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:45
|
||||
msgid "Home X"
|
||||
msgstr ""
|
||||
"Achse X\n"
|
||||
"zurücksetzen"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:63
|
||||
msgid "Home XY"
|
||||
msgstr ""
|
||||
"Achse XY\n"
|
||||
"zurücksetzen"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:51
|
||||
msgid "Home Y"
|
||||
msgstr ""
|
||||
"Achse Y\n"
|
||||
"zurücksetzen"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:57
|
||||
msgid "Home Z"
|
||||
msgstr ""
|
||||
"Achse Z\n"
|
||||
"zurücksetzen"
|
||||
|
||||
#: panels/zcalibrate.py:29 ks_includes/KlipperScreen.conf:17
|
||||
msgid "Homing"
|
||||
msgstr "Grundposition"
|
||||
|
||||
#: panels/temperature.py:51
|
||||
msgid "Increase"
|
||||
msgstr "Erhöhen"
|
||||
|
||||
#. self._load_panels()
|
||||
#: screen.py:149
|
||||
msgid "Initializing"
|
||||
msgstr "Startvorgang"
|
||||
|
||||
#: panels/splash_screen.py:23
|
||||
msgid "Initializing printer..."
|
||||
msgstr "Drucker wird initialisiert..."
|
||||
|
||||
#: ks_includes/config.py:36
|
||||
msgid "Invert X"
|
||||
msgstr "Achse X invertieren"
|
||||
|
||||
#: ks_includes/config.py:37
|
||||
msgid "Invert Y"
|
||||
msgstr "Achse Y invertieren"
|
||||
|
||||
#: ks_includes/config.py:38
|
||||
msgid "Invert Z"
|
||||
msgstr "Achse Z invertieren"
|
||||
|
||||
#: panels/system.py:22
|
||||
msgid "Klipper Restart"
|
||||
msgstr ""
|
||||
"Klipper\n"
|
||||
" neustarten"
|
||||
|
||||
#: panels/system.py:42
|
||||
msgid "Klipper Version"
|
||||
msgstr "Klipper Version"
|
||||
|
||||
#: screen.py:418
|
||||
msgid "Klipper has disconnected"
|
||||
msgstr "Klipper nicht verbunden"
|
||||
|
||||
#: screen.py:429
|
||||
msgid ""
|
||||
"Klipper has encountered an error with the micro-controller.\n"
|
||||
"Please recompile and flash."
|
||||
msgstr ""
|
||||
"Klipper hat einen Fehler mit dem Mainboard festgestellt.\n"
|
||||
"Bitte Mainboard neu programmieren."
|
||||
|
||||
#: screen.py:433
|
||||
msgid "Klipper has encountered an error."
|
||||
msgstr "Klipper hat einen Fehler festgestellt."
|
||||
|
||||
#: screen.py:425
|
||||
msgid ""
|
||||
"Klipper has encountered an error.\n"
|
||||
"Issue a FIRMWARE_RESTART to attempt fixing the issue."
|
||||
msgstr ""
|
||||
"Klipper hat einen Fehler festgestellt.\n"
|
||||
"Führe einen FIRMWARE_RESTART durch um den Fehler zu beheben."
|
||||
|
||||
#: screen.py:453
|
||||
msgid "Klipper has shutdown"
|
||||
msgstr "Klipper abgeschaltet"
|
||||
|
||||
#: screen.py:449
|
||||
msgid "Klipper is attempting to start"
|
||||
msgstr "Klipper ist startbereit"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:148
|
||||
msgid "Klipper will reboot"
|
||||
msgstr "Klipper startet neu"
|
||||
|
||||
#: panels/system.py:46
|
||||
msgid "KlipperScreen Version"
|
||||
msgstr "KlipperScreen Version"
|
||||
|
||||
#: panels/job_status.py:124
|
||||
msgid "Left:"
|
||||
msgstr "Restzeit:"
|
||||
|
||||
#: panels/bed_mesh.py:98
|
||||
msgid "Load"
|
||||
msgstr "Belastung"
|
||||
|
||||
#: panels/system.py:66
|
||||
msgid "Load Average"
|
||||
msgstr "Durchschnittslast"
|
||||
|
||||
#: panels/zcalibrate.py:39
|
||||
msgid "Lower Nozzle"
|
||||
msgstr "Düse absenken"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:96
|
||||
msgid "Macros"
|
||||
msgstr "Makros"
|
||||
|
||||
#: panels/job_status.py:274 ks_includes/KlipperScreen.conf:14
|
||||
msgid "Main Menu"
|
||||
msgstr "Hauptmenü"
|
||||
|
||||
#: panels/extrude.py:31
|
||||
msgid "Medium"
|
||||
msgstr "Mittel"
|
||||
|
||||
#: panels/splash_screen.py:59 ks_includes/KlipperScreen.conf:202
|
||||
msgid "Menu"
|
||||
msgstr "Menü"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:69
|
||||
msgid "Move"
|
||||
msgstr "Bewegen"
|
||||
|
||||
#: panels/move.py:91
|
||||
msgid "Move Distance (mm)"
|
||||
msgstr "Bewegungsdistanz (mm)"
|
||||
|
||||
#: panels/print.py:23
|
||||
msgid "Name"
|
||||
msgstr "Name"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:131 ks_includes/KlipperScreen.conf:186
|
||||
#: ks_includes/KlipperScreen.conf:211
|
||||
msgid "Network"
|
||||
msgstr "Netzwerk"
|
||||
|
||||
#: panels/network.py:31
|
||||
msgid "Network Info"
|
||||
msgstr "Netzwerkinfo"
|
||||
|
||||
#: panels/temperature.py:55
|
||||
msgid "Number Pad"
|
||||
msgstr "Nummernblock"
|
||||
|
||||
#: ks_includes/config.py:48
|
||||
msgid "Off"
|
||||
msgstr "Ausschalten"
|
||||
|
||||
#: panels/job_status.py:276
|
||||
msgid "Pause"
|
||||
msgstr "Pause"
|
||||
|
||||
#: panels/job_status.py:470
|
||||
msgid "Paused"
|
||||
msgstr "Pausiert"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:102 ks_includes/KlipperScreen.conf:180
|
||||
#: ks_includes/KlipperScreen.conf:205
|
||||
msgid "Power"
|
||||
msgstr "Ein"
|
||||
|
||||
#: panels/splash_screen.py:61
|
||||
msgid "Power On Printer"
|
||||
msgstr "Drucker einschalten"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:21
|
||||
msgid "Preheat"
|
||||
msgstr "Vorheizen"
|
||||
|
||||
#: panels/print.py:242 ks_includes/KlipperScreen.conf:34
|
||||
msgid "Print"
|
||||
msgstr "Druck"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:156
|
||||
msgid "Print Control"
|
||||
msgstr "Druck Steuerung"
|
||||
|
||||
#: panels/print.py:171
|
||||
msgid "Print Time"
|
||||
msgstr "Druckzeit"
|
||||
|
||||
#: panels/job_status.py:232
|
||||
msgid "Printing"
|
||||
msgstr "Drucken"
|
||||
|
||||
#: panels/bed_mesh.py:264
|
||||
msgid "Profile Name:"
|
||||
msgstr "Profil Name:"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:89
|
||||
msgid "Quad Gantry Level"
|
||||
msgstr "Quad Gantry Level"
|
||||
|
||||
#: panels/zcalibrate.py:37
|
||||
msgid "Raise Nozzle"
|
||||
msgstr "Düse anheben"
|
||||
|
||||
#: panels/job_status.py:278 panels/splash_screen.py:62
|
||||
msgid "Restart"
|
||||
msgstr "Neustart"
|
||||
|
||||
#: panels/job_status.py:280
|
||||
msgid "Resume"
|
||||
msgstr "Fortsetzen"
|
||||
|
||||
#: panels/extrude.py:48
|
||||
msgid "Retract"
|
||||
msgstr "Zurückziehen"
|
||||
|
||||
#: panels/bed_mesh.py:116 panels/bed_mesh.py:269
|
||||
msgid "Save"
|
||||
msgstr "Speichern"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:141
|
||||
msgid "Save Config"
|
||||
msgstr "Einstellungen speichern"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:146
|
||||
msgid "Save configuration."
|
||||
msgstr "Speichere Einstellungen."
|
||||
|
||||
#: ks_includes/config.py:46
|
||||
msgid "Screen Blanking Time"
|
||||
msgstr "Bildschirm Ausblenden in"
|
||||
|
||||
#: panels/bed_level.py:114
|
||||
msgid "Screws Adjust"
|
||||
msgstr "Schrauben Einstellen"
|
||||
|
||||
#: panels/fan.py:42
|
||||
msgid "Set Speed"
|
||||
msgstr "Geschwindigkeit einstellen"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:151 ks_includes/KlipperScreen.conf:196
|
||||
msgid "Settings"
|
||||
msgstr "Einstellungen"
|
||||
|
||||
#: panels/print.py:169
|
||||
msgid "Size"
|
||||
msgstr "Größe"
|
||||
|
||||
#: ks_includes/config.py:44
|
||||
msgid "Slicer"
|
||||
msgstr "Slicer"
|
||||
|
||||
#. This line for translations only
|
||||
#: panels/extrude.py:31
|
||||
msgid "Slow"
|
||||
msgstr "Langsam"
|
||||
|
||||
#: panels/print.py:39
|
||||
msgid "Sort by: "
|
||||
msgstr "Sortieren nach: "
|
||||
|
||||
#: panels/fine_tune.py:47
|
||||
msgid "Speed +"
|
||||
msgstr "Geschwindigkeit +"
|
||||
|
||||
#: panels/fine_tune.py:51
|
||||
msgid "Speed -"
|
||||
msgstr "Geschwindigkeit -"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:136 ks_includes/KlipperScreen.conf:191
|
||||
#: ks_includes/KlipperScreen.conf:216
|
||||
msgid "System"
|
||||
msgstr "System"
|
||||
|
||||
#: panels/system.py:27
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
"Drucker\n"
|
||||
"Neustarten"
|
||||
|
||||
#: panels/system.py:30
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Shutdown"
|
||||
msgstr ""
|
||||
"Drucker\n"
|
||||
"Ausschalten"
|
||||
|
||||
#: panels/extrude.py:50 ks_includes/KlipperScreen.conf:84
|
||||
#: ks_includes/KlipperScreen.conf:159
|
||||
msgid "Temperature"
|
||||
msgstr "Temperatur"
|
||||
|
||||
#: panels/extrude.py:38
|
||||
msgid "Tool"
|
||||
msgstr "Druckkopf"
|
||||
|
||||
#: panels/print.py:167
|
||||
msgid "Uploaded"
|
||||
msgstr "Hochgeladen"
|
||||
|
||||
#: panels/move.py:25
|
||||
msgid "X+"
|
||||
msgstr "X+"
|
||||
|
||||
#: panels/move.py:27
|
||||
msgid "X-"
|
||||
msgstr "X-"
|
||||
|
||||
#: panels/move.py:30
|
||||
msgid "Y+"
|
||||
msgstr "Y+"
|
||||
|
||||
#: panels/move.py:32
|
||||
msgid "Y-"
|
||||
msgstr "Y-"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:125
|
||||
msgid "Z Calibrate"
|
||||
msgstr "Höhe Kalibrieren"
|
||||
|
||||
#: panels/zcalibrate.py:28
|
||||
msgid "Z Offset"
|
||||
msgstr "Z Offset"
|
||||
|
||||
#: panels/fine_tune.py:36 panels/move.py:35
|
||||
msgid "Z+"
|
||||
msgstr "Z+"
|
||||
|
||||
#: panels/fine_tune.py:40 panels/move.py:37
|
||||
msgid "Z-"
|
||||
msgstr "Z-"
|
||||
|
||||
#: ks_includes/config.py:60
|
||||
msgid "minutes"
|
||||
msgstr "Minuten"
|
||||
|
||||
#: panels/fine_tune.py:38
|
||||
msgid "mm"
|
||||
msgstr "mm"
|
||||
|
||||
#~ msgid "Klipper"
|
||||
#~ msgstr "Klipper"
|
||||
@@ -1,12 +1,12 @@
|
||||
#: panels/print.py:197
|
||||
#: panels/print.py:247
|
||||
msgid "?"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:70
|
||||
#: panels/zcalibrate.py:71
|
||||
msgid "Abort"
|
||||
msgstr "Abort"
|
||||
|
||||
#: panels/zcalibrate.py:67
|
||||
#: panels/zcalibrate.py:68
|
||||
msgid "Accept"
|
||||
msgstr ""
|
||||
|
||||
@@ -14,23 +14,39 @@ msgstr ""
|
||||
msgid "Actions"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:197
|
||||
#: panels/bed_mesh.py:33
|
||||
msgid "Add bed mesh profile"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:247
|
||||
msgid "Are you sure you want to print"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:305
|
||||
#: panels/job_status.py:306
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:107
|
||||
#: panels/system.py:29
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:32
|
||||
msgid "Are you sure you wish to shutdown the system?"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:114
|
||||
msgid "Bed Level"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:112
|
||||
#: ks_includes/KlipperScreen.conf:119
|
||||
msgid "Bed Mesh"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:455 panels/job_status.py:267 panels/print.py:193
|
||||
#: panels/bed_mesh.py:104
|
||||
msgid "Calibrate"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:493 panels/job_status.py:268 panels/print.py:243
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
@@ -38,17 +54,17 @@ msgstr ""
|
||||
msgid "Cancel Change"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:300
|
||||
#: panels/job_status.py:301
|
||||
msgid "Cancel Print"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:289
|
||||
#: screen.py:305
|
||||
msgid ""
|
||||
"Check /tmp/KlipperScreen.log for more information.\n"
|
||||
"Please submit an issue on GitHub for help."
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_mesh.py:172 panels/temperature.py:149
|
||||
#: panels/bed_mesh.py:290 panels/temperature.py:150
|
||||
msgid "Close"
|
||||
msgstr ""
|
||||
|
||||
@@ -56,11 +72,11 @@ msgstr ""
|
||||
msgid "Configuration"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:454
|
||||
#: screen.py:492
|
||||
msgid "Continue"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:269
|
||||
#: panels/job_status.py:270
|
||||
msgid "Control"
|
||||
msgstr ""
|
||||
|
||||
@@ -68,36 +84,52 @@ msgstr ""
|
||||
msgid "Cooldown"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:24
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#: panels/temperature.py:53
|
||||
msgid "Decrease"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:101
|
||||
#: panels/bed_mesh.py:122
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:108
|
||||
msgid "Disable Motors"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_level.py:101
|
||||
#: panels/bed_level.py:107
|
||||
msgid "Disable XY"
|
||||
msgstr ""
|
||||
|
||||
#: panels/settings.py:32
|
||||
#: panels/settings.py:28
|
||||
msgid "Displayed Macros"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:63
|
||||
#: panels/zcalibrate.py:64
|
||||
msgid "Distance (mm)"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:135
|
||||
#: ks_includes/config.py:42
|
||||
msgid "Duration Only"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:136
|
||||
msgid "Elapsed:"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:271
|
||||
#: panels/job_status.py:272
|
||||
msgid "Emergency Stop"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:45 ks_includes/KlipperScreen.conf:74
|
||||
#: ks_includes/KlipperScreen.conf:167
|
||||
#: ks_includes/config.py:39
|
||||
msgid "Estimated Time Method"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:46 ks_includes/KlipperScreen.conf:74
|
||||
#: ks_includes/KlipperScreen.conf:174
|
||||
msgid "Extrude"
|
||||
msgstr ""
|
||||
|
||||
@@ -109,7 +141,7 @@ msgstr ""
|
||||
msgid "Extrusion -"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:79 ks_includes/KlipperScreen.conf:162
|
||||
#: ks_includes/KlipperScreen.conf:79 ks_includes/KlipperScreen.conf:169
|
||||
msgid "Fan"
|
||||
msgstr ""
|
||||
|
||||
@@ -121,23 +153,31 @@ msgstr ""
|
||||
msgid "Fan On"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:30
|
||||
#: panels/extrude.py:31
|
||||
msgid "Fast"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:157
|
||||
#: ks_includes/config.py:43
|
||||
msgid "Filament Used"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:41
|
||||
msgid "File Estimation (default)"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:164
|
||||
msgid "Fine Tuning"
|
||||
msgstr ""
|
||||
|
||||
#: panels/splash_screen.py:62 panels/system.py:24
|
||||
#: panels/splash_screen.py:64 panels/system.py:24
|
||||
msgid "Firmware Restart"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:284 panels/job_status.py:301
|
||||
#: screen.py:300 panels/job_status.py:302
|
||||
msgid "Go Back"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_level.py:98 panels/move.py:40 ks_includes/KlipperScreen.conf:39
|
||||
#: panels/bed_level.py:104 panels/move.py:40 ks_includes/KlipperScreen.conf:39
|
||||
msgid "Home All"
|
||||
msgstr ""
|
||||
|
||||
@@ -166,7 +206,7 @@ msgid "Increase"
|
||||
msgstr ""
|
||||
|
||||
#. self._load_panels()
|
||||
#: screen.py:136
|
||||
#: screen.py:149
|
||||
msgid "Initializing"
|
||||
msgstr ""
|
||||
|
||||
@@ -174,15 +214,15 @@ msgstr ""
|
||||
msgid "Initializing printer..."
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:26
|
||||
#: ks_includes/config.py:36
|
||||
msgid "Invert X"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:27
|
||||
#: ks_includes/config.py:37
|
||||
msgid "Invert Y"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:28
|
||||
#: ks_includes/config.py:38
|
||||
msgid "Invert Z"
|
||||
msgstr ""
|
||||
|
||||
@@ -190,51 +230,55 @@ msgstr ""
|
||||
msgid "Klipper Restart"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:35
|
||||
#: panels/system.py:42
|
||||
msgid "Klipper Version"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:384
|
||||
#: screen.py:418
|
||||
msgid "Klipper has disconnected"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:395
|
||||
#: screen.py:429
|
||||
msgid ""
|
||||
"Klipper has encountered an error with the micro-controller.\n"
|
||||
"Please recompile and flash."
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:399
|
||||
#: screen.py:433
|
||||
msgid "Klipper has encountered an error."
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:391
|
||||
#: screen.py:425
|
||||
msgid ""
|
||||
"Klipper has encountered an error.\n"
|
||||
"Issue a FIRMWARE_RESTART to attempt fixing the issue."
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:417
|
||||
#: screen.py:453
|
||||
msgid "Klipper has shutdown"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:413
|
||||
#: screen.py:449
|
||||
msgid "Klipper is attempting to start"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:141
|
||||
#: ks_includes/KlipperScreen.conf:148
|
||||
msgid "Klipper will reboot"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:39
|
||||
#: panels/system.py:46
|
||||
msgid "KlipperScreen Version"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:123
|
||||
#: panels/job_status.py:124
|
||||
msgid "Left:"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:57
|
||||
#: panels/bed_mesh.py:98
|
||||
msgid "Load"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:66
|
||||
msgid "Load Average"
|
||||
msgstr ""
|
||||
|
||||
@@ -242,27 +286,36 @@ msgstr ""
|
||||
msgid "Lower Nozzle"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:89
|
||||
#: ks_includes/KlipperScreen.conf:96
|
||||
msgid "Macros"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:273 ks_includes/KlipperScreen.conf:14
|
||||
#: panels/job_status.py:274 ks_includes/KlipperScreen.conf:14
|
||||
msgid "Main Menu"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:30
|
||||
#: panels/extrude.py:31
|
||||
msgid "Medium"
|
||||
msgstr ""
|
||||
|
||||
#: panels/splash_screen.py:59 ks_includes/KlipperScreen.conf:202
|
||||
msgid "Menu"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:69
|
||||
msgid "Move"
|
||||
msgstr ""
|
||||
|
||||
#: panels/move.py:86
|
||||
#: panels/move.py:91
|
||||
msgid "Move Distance (mm)"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:124 ks_includes/KlipperScreen.conf:173
|
||||
#: panels/print.py:23
|
||||
msgid "Name"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:131 ks_includes/KlipperScreen.conf:186
|
||||
#: ks_includes/KlipperScreen.conf:211
|
||||
msgid "Network"
|
||||
msgstr ""
|
||||
|
||||
@@ -274,19 +327,24 @@ msgstr ""
|
||||
msgid "Number Pad"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:275
|
||||
#: ks_includes/config.py:48
|
||||
msgid "Off"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:276
|
||||
msgid "Pause"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:454
|
||||
#: panels/job_status.py:470
|
||||
msgid "Paused"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:95
|
||||
#: ks_includes/KlipperScreen.conf:102 ks_includes/KlipperScreen.conf:180
|
||||
#: ks_includes/KlipperScreen.conf:205
|
||||
msgid "Power"
|
||||
msgstr ""
|
||||
|
||||
#: panels/splash_screen.py:59
|
||||
#: panels/splash_screen.py:61
|
||||
msgid "Power On Printer"
|
||||
msgstr ""
|
||||
|
||||
@@ -294,47 +352,63 @@ msgstr ""
|
||||
msgid "Preheat"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:192 ks_includes/KlipperScreen.conf:34
|
||||
#: panels/print.py:242 ks_includes/KlipperScreen.conf:34
|
||||
msgid "Print"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:149
|
||||
#: ks_includes/KlipperScreen.conf:156
|
||||
msgid "Print Control"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:122
|
||||
#: panels/print.py:171
|
||||
msgid "Print Time"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:231
|
||||
#: panels/job_status.py:232
|
||||
msgid "Printing"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_mesh.py:264
|
||||
msgid "Profile Name:"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:89
|
||||
msgid "Quad Gantry Level"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:37
|
||||
msgid "Raise Nozzle"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:277 panels/splash_screen.py:60
|
||||
#: panels/job_status.py:278 panels/splash_screen.py:62
|
||||
msgid "Restart"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:279
|
||||
#: panels/job_status.py:280
|
||||
msgid "Resume"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:47
|
||||
#: panels/extrude.py:48
|
||||
msgid "Retract"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:134
|
||||
#: panels/bed_mesh.py:116 panels/bed_mesh.py:269
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:141
|
||||
msgid "Save Config"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:139
|
||||
#: ks_includes/KlipperScreen.conf:146
|
||||
msgid "Save configuration."
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_level.py:108
|
||||
#: ks_includes/config.py:46
|
||||
msgid "Screen Blanking Time"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_level.py:114
|
||||
msgid "Screws Adjust"
|
||||
msgstr ""
|
||||
|
||||
@@ -342,18 +416,27 @@ msgstr ""
|
||||
msgid "Set Speed"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:144
|
||||
#: ks_includes/KlipperScreen.conf:151 ks_includes/KlipperScreen.conf:196
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:120
|
||||
#: panels/print.py:169
|
||||
msgid "Size"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:30
|
||||
#: ks_includes/config.py:44
|
||||
msgid "Slicer"
|
||||
msgstr ""
|
||||
|
||||
#. This line for translations only
|
||||
#: panels/extrude.py:31
|
||||
msgid "Slow"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:39
|
||||
msgid "Sort by: "
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:47
|
||||
msgid "Speed +"
|
||||
msgstr ""
|
||||
@@ -362,20 +445,33 @@ msgstr ""
|
||||
msgid "Speed -"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:129 ks_includes/KlipperScreen.conf:178
|
||||
#: ks_includes/KlipperScreen.conf:136 ks_includes/KlipperScreen.conf:191
|
||||
#: ks_includes/KlipperScreen.conf:216
|
||||
msgid "System"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:49 ks_includes/KlipperScreen.conf:84
|
||||
#: ks_includes/KlipperScreen.conf:152
|
||||
#: panels/system.py:27
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:30
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Shutdown"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:50 ks_includes/KlipperScreen.conf:84
|
||||
#: ks_includes/KlipperScreen.conf:159
|
||||
msgid "Temperature"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:37
|
||||
#: panels/extrude.py:38
|
||||
msgid "Tool"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:118
|
||||
#: panels/print.py:167
|
||||
msgid "Uploaded"
|
||||
msgstr ""
|
||||
|
||||
@@ -395,7 +491,7 @@ msgstr ""
|
||||
msgid "Y-"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:118
|
||||
#: ks_includes/KlipperScreen.conf:125
|
||||
msgid "Z Calibrate"
|
||||
msgstr ""
|
||||
|
||||
@@ -411,6 +507,10 @@ msgstr ""
|
||||
msgid "Z-"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:60
|
||||
msgid "minutes"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:38
|
||||
msgid "mm"
|
||||
msgstr ""
|
||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-01-07 05:48+0000\n"
|
||||
"POT-Creation-Date: 2021-02-11 22:13+0100\n"
|
||||
"PO-Revision-Date: 2021-01-03 23:18+0200\n"
|
||||
"Last-Translator: Emanuel Sharvit <manu7irl@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
@@ -18,15 +18,15 @@ msgstr ""
|
||||
"X-Generator: Poedit 2.4.2\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#: panels/print.py:197
|
||||
#: panels/print.py:247
|
||||
msgid "?"
|
||||
msgstr "?"
|
||||
|
||||
#: panels/zcalibrate.py:70
|
||||
#: panels/zcalibrate.py:71
|
||||
msgid "Abort"
|
||||
msgstr "Annuler"
|
||||
|
||||
#: panels/zcalibrate.py:67
|
||||
#: panels/zcalibrate.py:68
|
||||
msgid "Accept"
|
||||
msgstr "Accepter"
|
||||
|
||||
@@ -34,23 +34,42 @@ msgstr "Accepter"
|
||||
msgid "Actions"
|
||||
msgstr "Actions"
|
||||
|
||||
#: panels/print.py:197
|
||||
#: panels/bed_mesh.py:33
|
||||
msgid "Add bed mesh profile"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:247
|
||||
msgid "Are you sure you want to print"
|
||||
msgstr "Es tu sure de vouloir imprimer"
|
||||
|
||||
#: panels/job_status.py:305
|
||||
#: panels/job_status.py:306
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr "Es tu sure de vouloir annuler cette impression?"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:107
|
||||
#: panels/system.py:29
|
||||
#, fuzzy
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr "Es tu sure de vouloir annuler cette impression?"
|
||||
|
||||
#: panels/system.py:32
|
||||
#, fuzzy
|
||||
msgid "Are you sure you wish to shutdown the system?"
|
||||
msgstr "Es tu sure de vouloir annuler cette impression?"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:114
|
||||
msgid "Bed Level"
|
||||
msgstr "Nivelage du plateau"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:112
|
||||
#: ks_includes/KlipperScreen.conf:119
|
||||
msgid "Bed Mesh"
|
||||
msgstr "Grille du plateau"
|
||||
|
||||
#: screen.py:455 panels/job_status.py:267 panels/print.py:193
|
||||
#: panels/bed_mesh.py:104
|
||||
#, fuzzy
|
||||
msgid "Calibrate"
|
||||
msgstr "Calibration Z"
|
||||
|
||||
#: screen.py:493 panels/job_status.py:268 panels/print.py:243
|
||||
msgid "Cancel"
|
||||
msgstr "Annuler"
|
||||
|
||||
@@ -58,11 +77,11 @@ msgstr "Annuler"
|
||||
msgid "Cancel Change"
|
||||
msgstr "Annuler le changement"
|
||||
|
||||
#: panels/job_status.py:300
|
||||
#: panels/job_status.py:301
|
||||
msgid "Cancel Print"
|
||||
msgstr "Annuler l'impression"
|
||||
|
||||
#: screen.py:289
|
||||
#: screen.py:305
|
||||
msgid ""
|
||||
"Check /tmp/KlipperScreen.log for more information.\n"
|
||||
"Please submit an issue on GitHub for help."
|
||||
@@ -70,7 +89,7 @@ msgstr ""
|
||||
"Verifier /tmp/KlipperScreen.log pour plus d'imformation.\n"
|
||||
"SVP envoie une requte sur GITHUB pour obtenir de l'aide"
|
||||
|
||||
#: panels/bed_mesh.py:172 panels/temperature.py:149
|
||||
#: panels/bed_mesh.py:290 panels/temperature.py:150
|
||||
msgid "Close"
|
||||
msgstr "Fermer"
|
||||
|
||||
@@ -78,11 +97,11 @@ msgstr "Fermer"
|
||||
msgid "Configuration"
|
||||
msgstr "Configuration"
|
||||
|
||||
#: screen.py:454
|
||||
#: screen.py:492
|
||||
msgid "Continue"
|
||||
msgstr "Continuer"
|
||||
|
||||
#: panels/job_status.py:269
|
||||
#: panels/job_status.py:270
|
||||
msgid "Control"
|
||||
msgstr "Controle"
|
||||
|
||||
@@ -90,36 +109,52 @@ msgstr "Controle"
|
||||
msgid "Cooldown"
|
||||
msgstr "Refroidir"
|
||||
|
||||
#: panels/print.py:24
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#: panels/temperature.py:53
|
||||
msgid "Decrease"
|
||||
msgstr "Diminuer"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:101
|
||||
#: panels/bed_mesh.py:122
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:108
|
||||
msgid "Disable Motors"
|
||||
msgstr "Déactiver les moteurs"
|
||||
|
||||
#: panels/bed_level.py:101
|
||||
#: panels/bed_level.py:107
|
||||
msgid "Disable XY"
|
||||
msgstr "Deactiver XY"
|
||||
|
||||
#: panels/settings.py:32
|
||||
#: panels/settings.py:28
|
||||
msgid "Displayed Macros"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:63
|
||||
#: panels/zcalibrate.py:64
|
||||
msgid "Distance (mm)"
|
||||
msgstr "Distance (mm)"
|
||||
|
||||
#: panels/job_status.py:135
|
||||
#: ks_includes/config.py:42
|
||||
msgid "Duration Only"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:136
|
||||
msgid "Elapsed:"
|
||||
msgstr "Écoulé:"
|
||||
|
||||
#: panels/job_status.py:271
|
||||
#: panels/job_status.py:272
|
||||
msgid "Emergency Stop"
|
||||
msgstr "Arret d'urgence"
|
||||
|
||||
#: panels/extrude.py:45 ks_includes/KlipperScreen.conf:74
|
||||
#: ks_includes/KlipperScreen.conf:167
|
||||
#: ks_includes/config.py:39
|
||||
msgid "Estimated Time Method"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:46 ks_includes/KlipperScreen.conf:74
|
||||
#: ks_includes/KlipperScreen.conf:174
|
||||
msgid "Extrude"
|
||||
msgstr "Extruder"
|
||||
|
||||
@@ -131,7 +166,7 @@ msgstr "Extrusion +"
|
||||
msgid "Extrusion -"
|
||||
msgstr "Extrusion +"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:79 ks_includes/KlipperScreen.conf:162
|
||||
#: ks_includes/KlipperScreen.conf:79 ks_includes/KlipperScreen.conf:169
|
||||
msgid "Fan"
|
||||
msgstr "Ventilateur"
|
||||
|
||||
@@ -143,23 +178,31 @@ msgstr "ventilateur éteint"
|
||||
msgid "Fan On"
|
||||
msgstr "Ventilateur en marche"
|
||||
|
||||
#: panels/extrude.py:30
|
||||
#: panels/extrude.py:31
|
||||
msgid "Fast"
|
||||
msgstr "Rapide"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:157
|
||||
#: ks_includes/config.py:43
|
||||
msgid "Filament Used"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:41
|
||||
msgid "File Estimation (default)"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:164
|
||||
msgid "Fine Tuning"
|
||||
msgstr "Fin réglage"
|
||||
|
||||
#: panels/splash_screen.py:62 panels/system.py:24
|
||||
#: panels/splash_screen.py:64 panels/system.py:24
|
||||
msgid "Firmware Restart"
|
||||
msgstr "Redemarrer le FW"
|
||||
|
||||
#: screen.py:284 panels/job_status.py:301
|
||||
#: screen.py:300 panels/job_status.py:302
|
||||
msgid "Go Back"
|
||||
msgstr "Retourner"
|
||||
|
||||
#: panels/bed_level.py:98 panels/move.py:40 ks_includes/KlipperScreen.conf:39
|
||||
#: panels/bed_level.py:104 panels/move.py:40 ks_includes/KlipperScreen.conf:39
|
||||
msgid "Home All"
|
||||
msgstr "Réinitialiser XYZ"
|
||||
|
||||
@@ -188,7 +231,7 @@ msgid "Increase"
|
||||
msgstr "Augmenter"
|
||||
|
||||
#. self._load_panels()
|
||||
#: screen.py:136
|
||||
#: screen.py:149
|
||||
msgid "Initializing"
|
||||
msgstr "Initialisation"
|
||||
|
||||
@@ -196,15 +239,15 @@ msgstr "Initialisation"
|
||||
msgid "Initializing printer..."
|
||||
msgstr "Initialisation l'imprimante"
|
||||
|
||||
#: ks_includes/config.py:26
|
||||
#: ks_includes/config.py:36
|
||||
msgid "Invert X"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:27
|
||||
#: ks_includes/config.py:37
|
||||
msgid "Invert Y"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:28
|
||||
#: ks_includes/config.py:38
|
||||
msgid "Invert Z"
|
||||
msgstr ""
|
||||
|
||||
@@ -212,15 +255,15 @@ msgstr ""
|
||||
msgid "Klipper Restart"
|
||||
msgstr "Redémarrer klipper"
|
||||
|
||||
#: panels/system.py:35
|
||||
#: panels/system.py:42
|
||||
msgid "Klipper Version"
|
||||
msgstr "Version de klipper"
|
||||
|
||||
#: screen.py:384
|
||||
#: screen.py:418
|
||||
msgid "Klipper has disconnected"
|
||||
msgstr "Klipper s'est déconnecté"
|
||||
|
||||
#: screen.py:395
|
||||
#: screen.py:429
|
||||
msgid ""
|
||||
"Klipper has encountered an error with the micro-controller.\n"
|
||||
"Please recompile and flash."
|
||||
@@ -228,38 +271,42 @@ msgstr ""
|
||||
"Klipper a rencontré une erreur avec le microcontrôleur.\n"
|
||||
"Veuillez recompiler et reflasher."
|
||||
|
||||
#: screen.py:399
|
||||
#: screen.py:433
|
||||
msgid "Klipper has encountered an error."
|
||||
msgstr "Klipper a rencontré une erreur."
|
||||
|
||||
#: screen.py:391
|
||||
#: screen.py:425
|
||||
msgid ""
|
||||
"Klipper has encountered an error.\n"
|
||||
"Issue a FIRMWARE_RESTART to attempt fixing the issue."
|
||||
msgstr ""
|
||||
"Klipper a rencontré une erreur. Taper FIRMWARE_RESTART pour fixer l'erreur."
|
||||
|
||||
#: screen.py:417
|
||||
#: screen.py:453
|
||||
msgid "Klipper has shutdown"
|
||||
msgstr "Klipper s'est arrêté"
|
||||
|
||||
#: screen.py:413
|
||||
#: screen.py:449
|
||||
msgid "Klipper is attempting to start"
|
||||
msgstr "Klipper tente de démarrer"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:141
|
||||
#: ks_includes/KlipperScreen.conf:148
|
||||
msgid "Klipper will reboot"
|
||||
msgstr "Klipper va redémarrer"
|
||||
|
||||
#: panels/system.py:39
|
||||
#: panels/system.py:46
|
||||
msgid "KlipperScreen Version"
|
||||
msgstr "Version de KlipperScreen"
|
||||
|
||||
#: panels/job_status.py:123
|
||||
#: panels/job_status.py:124
|
||||
msgid "Left:"
|
||||
msgstr "Gauche:"
|
||||
|
||||
#: panels/system.py:57
|
||||
#: panels/bed_mesh.py:98
|
||||
msgid "Load"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:66
|
||||
msgid "Load Average"
|
||||
msgstr "Charge moyenne"
|
||||
|
||||
@@ -267,27 +314,37 @@ msgstr "Charge moyenne"
|
||||
msgid "Lower Nozzle"
|
||||
msgstr "Rapprocher la buse"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:89
|
||||
#: ks_includes/KlipperScreen.conf:96
|
||||
msgid "Macros"
|
||||
msgstr "Macros"
|
||||
|
||||
#: panels/job_status.py:273 ks_includes/KlipperScreen.conf:14
|
||||
#: panels/job_status.py:274 ks_includes/KlipperScreen.conf:14
|
||||
msgid "Main Menu"
|
||||
msgstr "Menu principal"
|
||||
|
||||
#: panels/extrude.py:30
|
||||
#: panels/extrude.py:31
|
||||
msgid "Medium"
|
||||
msgstr "Moyen"
|
||||
|
||||
#: panels/splash_screen.py:59 ks_includes/KlipperScreen.conf:202
|
||||
#, fuzzy
|
||||
msgid "Menu"
|
||||
msgstr "Menu principal"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:69
|
||||
msgid "Move"
|
||||
msgstr "Mouvement"
|
||||
|
||||
#: panels/move.py:86
|
||||
#: panels/move.py:91
|
||||
msgid "Move Distance (mm)"
|
||||
msgstr "Distance de mouvement (mm)"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:124 ks_includes/KlipperScreen.conf:173
|
||||
#: panels/print.py:23
|
||||
msgid "Name"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:131 ks_includes/KlipperScreen.conf:186
|
||||
#: ks_includes/KlipperScreen.conf:211
|
||||
msgid "Network"
|
||||
msgstr "Réseau"
|
||||
|
||||
@@ -299,19 +356,25 @@ msgstr "Information réseau "
|
||||
msgid "Number Pad"
|
||||
msgstr "Pad numerique"
|
||||
|
||||
#: panels/job_status.py:275
|
||||
#: ks_includes/config.py:48
|
||||
#, fuzzy
|
||||
msgid "Off"
|
||||
msgstr "ventilateur éteint"
|
||||
|
||||
#: panels/job_status.py:276
|
||||
msgid "Pause"
|
||||
msgstr "Pause"
|
||||
|
||||
#: panels/job_status.py:454
|
||||
#: panels/job_status.py:470
|
||||
msgid "Paused"
|
||||
msgstr "En pause"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:95
|
||||
#: ks_includes/KlipperScreen.conf:102 ks_includes/KlipperScreen.conf:180
|
||||
#: ks_includes/KlipperScreen.conf:205
|
||||
msgid "Power"
|
||||
msgstr "Energie"
|
||||
|
||||
#: panels/splash_screen.py:59
|
||||
#: panels/splash_screen.py:61
|
||||
msgid "Power On Printer"
|
||||
msgstr "Allumer l'imrimante"
|
||||
|
||||
@@ -319,47 +382,63 @@ msgstr "Allumer l'imrimante"
|
||||
msgid "Preheat"
|
||||
msgstr "Préchauffer"
|
||||
|
||||
#: panels/print.py:192 ks_includes/KlipperScreen.conf:34
|
||||
#: panels/print.py:242 ks_includes/KlipperScreen.conf:34
|
||||
msgid "Print"
|
||||
msgstr "Imprimer"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:149
|
||||
#: ks_includes/KlipperScreen.conf:156
|
||||
msgid "Print Control"
|
||||
msgstr "Controle de l'imprimante"
|
||||
|
||||
#: panels/print.py:122
|
||||
#: panels/print.py:171
|
||||
msgid "Print Time"
|
||||
msgstr "Temps d'impression"
|
||||
|
||||
#: panels/job_status.py:231
|
||||
#: panels/job_status.py:232
|
||||
msgid "Printing"
|
||||
msgstr "imprime"
|
||||
|
||||
#: panels/bed_mesh.py:264
|
||||
msgid "Profile Name:"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:89
|
||||
msgid "Quad Gantry Level"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:37
|
||||
msgid "Raise Nozzle"
|
||||
msgstr "Éloigner la buse"
|
||||
|
||||
#: panels/job_status.py:277 panels/splash_screen.py:60
|
||||
#: panels/job_status.py:278 panels/splash_screen.py:62
|
||||
msgid "Restart"
|
||||
msgstr "Redémarrage"
|
||||
|
||||
#: panels/job_status.py:279
|
||||
#: panels/job_status.py:280
|
||||
msgid "Resume"
|
||||
msgstr "Resumer"
|
||||
|
||||
#: panels/extrude.py:47
|
||||
#: panels/extrude.py:48
|
||||
msgid "Retract"
|
||||
msgstr "Rétracter"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:134
|
||||
#: panels/bed_mesh.py:116 panels/bed_mesh.py:269
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:141
|
||||
msgid "Save Config"
|
||||
msgstr "Enregistrer la config"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:139
|
||||
#: ks_includes/KlipperScreen.conf:146
|
||||
msgid "Save configuration."
|
||||
msgstr "Enregistrer la configuration"
|
||||
|
||||
#: panels/bed_level.py:108
|
||||
#: ks_includes/config.py:46
|
||||
msgid "Screen Blanking Time"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_level.py:114
|
||||
msgid "Screws Adjust"
|
||||
msgstr "Ajuster les vis"
|
||||
|
||||
@@ -367,19 +446,28 @@ msgstr "Ajuster les vis"
|
||||
msgid "Set Speed"
|
||||
msgstr "Régler la vitesse"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:144
|
||||
#: ks_includes/KlipperScreen.conf:151 ks_includes/KlipperScreen.conf:196
|
||||
#, fuzzy
|
||||
msgid "Settings"
|
||||
msgstr "Paramètres KS"
|
||||
msgstr "Paramètres"
|
||||
|
||||
#: panels/print.py:120
|
||||
#: panels/print.py:169
|
||||
msgid "Size"
|
||||
msgstr "dimensions"
|
||||
|
||||
#: panels/extrude.py:30
|
||||
#: ks_includes/config.py:44
|
||||
msgid "Slicer"
|
||||
msgstr ""
|
||||
|
||||
#. This line for translations only
|
||||
#: panels/extrude.py:31
|
||||
msgid "Slow"
|
||||
msgstr "Lent"
|
||||
|
||||
#: panels/print.py:39
|
||||
msgid "Sort by: "
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:47
|
||||
msgid "Speed +"
|
||||
msgstr "Vitesse+"
|
||||
@@ -388,20 +476,34 @@ msgstr "Vitesse+"
|
||||
msgid "Speed -"
|
||||
msgstr "Vitesse-"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:129 ks_includes/KlipperScreen.conf:178
|
||||
#: ks_includes/KlipperScreen.conf:136 ks_includes/KlipperScreen.conf:191
|
||||
#: ks_includes/KlipperScreen.conf:216
|
||||
msgid "System"
|
||||
msgstr "Systeme"
|
||||
|
||||
#: panels/extrude.py:49 ks_includes/KlipperScreen.conf:84
|
||||
#: ks_includes/KlipperScreen.conf:152
|
||||
#: panels/system.py:27
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Restart"
|
||||
msgstr "Redémarrage"
|
||||
|
||||
#: panels/system.py:30
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Shutdown"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:50 ks_includes/KlipperScreen.conf:84
|
||||
#: ks_includes/KlipperScreen.conf:159
|
||||
msgid "Temperature"
|
||||
msgstr "Temperature"
|
||||
|
||||
#: panels/extrude.py:37
|
||||
#: panels/extrude.py:38
|
||||
msgid "Tool"
|
||||
msgstr "outil"
|
||||
|
||||
#: panels/print.py:118
|
||||
#: panels/print.py:167
|
||||
msgid "Uploaded"
|
||||
msgstr "Telecharger"
|
||||
|
||||
@@ -421,7 +523,7 @@ msgstr "Y+"
|
||||
msgid "Y-"
|
||||
msgstr "Y-"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:118
|
||||
#: ks_includes/KlipperScreen.conf:125
|
||||
msgid "Z Calibrate"
|
||||
msgstr "Calibration Z"
|
||||
|
||||
@@ -437,10 +539,18 @@ msgstr "Z+"
|
||||
msgid "Z-"
|
||||
msgstr "Z-"
|
||||
|
||||
#: ks_includes/config.py:60
|
||||
msgid "minutes"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:38
|
||||
msgid "mm"
|
||||
msgstr "mm"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "Klipper"
|
||||
#~ msgstr "Redémarrer klipper"
|
||||
|
||||
#~ msgid "Back"
|
||||
#~ msgstr "Retour"
|
||||
|
||||
|
||||
Binary file not shown.
@@ -7,8 +7,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Klipperscreen\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-01-07 05:48+0000\n"
|
||||
"PO-Revision-Date: 2021-01-05 21:32+0200\n"
|
||||
"POT-Creation-Date: 2021-02-11 22:13+0100\n"
|
||||
"PO-Revision-Date: 2021-01-08 08:21-0500\n"
|
||||
"Last-Translator: Emanuel Sharvit <manu7irl@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: he_IL\n"
|
||||
@@ -20,15 +20,15 @@ msgstr ""
|
||||
"2 : 3);\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
|
||||
#: panels/print.py:197
|
||||
#: panels/print.py:247
|
||||
msgid "?"
|
||||
msgstr "?"
|
||||
|
||||
#: panels/zcalibrate.py:70
|
||||
#: panels/zcalibrate.py:71
|
||||
msgid "Abort"
|
||||
msgstr "בטל"
|
||||
|
||||
#: panels/zcalibrate.py:67
|
||||
#: panels/zcalibrate.py:68
|
||||
msgid "Accept"
|
||||
msgstr "אשר"
|
||||
|
||||
@@ -36,23 +36,42 @@ msgstr "אשר"
|
||||
msgid "Actions"
|
||||
msgstr "פעולות"
|
||||
|
||||
#: panels/print.py:197
|
||||
#: panels/bed_mesh.py:33
|
||||
msgid "Add bed mesh profile"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:247
|
||||
msgid "Are you sure you want to print"
|
||||
msgstr "האם אתה בטוח שברצונך להדפיס"
|
||||
|
||||
#: panels/job_status.py:305
|
||||
#: panels/job_status.py:306
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr "האם אתה בטוח שברצונך לבטל את ההדפסה?"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:107
|
||||
#: panels/system.py:29
|
||||
#, fuzzy
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr "האם אתה בטוח שברצונך לבטל את ההדפסה?"
|
||||
|
||||
#: panels/system.py:32
|
||||
#, fuzzy
|
||||
msgid "Are you sure you wish to shutdown the system?"
|
||||
msgstr "האם אתה בטוח שברצונך לבטל את ההדפסה?"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:114
|
||||
msgid "Bed Level"
|
||||
msgstr "פילוס מיטה"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:112
|
||||
#: ks_includes/KlipperScreen.conf:119
|
||||
msgid "Bed Mesh"
|
||||
msgstr "מיפוי מיטה"
|
||||
|
||||
#: screen.py:455 panels/job_status.py:267 panels/print.py:193
|
||||
#: panels/bed_mesh.py:104
|
||||
#, fuzzy
|
||||
msgid "Calibrate"
|
||||
msgstr "כיול Z"
|
||||
|
||||
#: screen.py:493 panels/job_status.py:268 panels/print.py:243
|
||||
msgid "Cancel"
|
||||
msgstr "ביטול"
|
||||
|
||||
@@ -60,11 +79,11 @@ msgstr "ביטול"
|
||||
msgid "Cancel Change"
|
||||
msgstr "בטל שינוי"
|
||||
|
||||
#: panels/job_status.py:300
|
||||
#: panels/job_status.py:301
|
||||
msgid "Cancel Print"
|
||||
msgstr "בטל הדפסה"
|
||||
|
||||
#: screen.py:289
|
||||
#: screen.py:305
|
||||
msgid ""
|
||||
"Check /tmp/KlipperScreen.log for more information.\n"
|
||||
"Please submit an issue on GitHub for help."
|
||||
@@ -72,7 +91,7 @@ msgstr ""
|
||||
"בדוק KlipperScreen.log, בתיקית tmp ליותר פרטים.\n"
|
||||
"אנא שלח דוח תקלה ב- GITHUB, לעזרה."
|
||||
|
||||
#: panels/bed_mesh.py:172 panels/temperature.py:149
|
||||
#: panels/bed_mesh.py:290 panels/temperature.py:150
|
||||
msgid "Close"
|
||||
msgstr "סגור"
|
||||
|
||||
@@ -80,11 +99,11 @@ msgstr "סגור"
|
||||
msgid "Configuration"
|
||||
msgstr "קונפיגורציה"
|
||||
|
||||
#: screen.py:454
|
||||
#: screen.py:492
|
||||
msgid "Continue"
|
||||
msgstr "המשך"
|
||||
|
||||
#: panels/job_status.py:269
|
||||
#: panels/job_status.py:270
|
||||
msgid "Control"
|
||||
msgstr "שליטה"
|
||||
|
||||
@@ -92,36 +111,52 @@ msgstr "שליטה"
|
||||
msgid "Cooldown"
|
||||
msgstr "קירור"
|
||||
|
||||
#: panels/print.py:24
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#: panels/temperature.py:53
|
||||
msgid "Decrease"
|
||||
msgstr "הקטן"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:101
|
||||
#: panels/bed_mesh.py:122
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:108
|
||||
msgid "Disable Motors"
|
||||
msgstr "בטל מנועים"
|
||||
|
||||
#: panels/bed_level.py:101
|
||||
#: panels/bed_level.py:107
|
||||
msgid "Disable XY"
|
||||
msgstr "בטל XY"
|
||||
|
||||
#: panels/settings.py:32
|
||||
#: panels/settings.py:28
|
||||
msgid "Displayed Macros"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:63
|
||||
#: panels/zcalibrate.py:64
|
||||
msgid "Distance (mm)"
|
||||
msgstr "מרחק (מ''מ)"
|
||||
|
||||
#: panels/job_status.py:135
|
||||
#: ks_includes/config.py:42
|
||||
msgid "Duration Only"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:136
|
||||
msgid "Elapsed:"
|
||||
msgstr "זמן שעבר:"
|
||||
|
||||
#: panels/job_status.py:271
|
||||
#: panels/job_status.py:272
|
||||
msgid "Emergency Stop"
|
||||
msgstr "עצירת חירום"
|
||||
|
||||
#: panels/extrude.py:45 ks_includes/KlipperScreen.conf:74
|
||||
#: ks_includes/KlipperScreen.conf:167
|
||||
#: ks_includes/config.py:39
|
||||
msgid "Estimated Time Method"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:46 ks_includes/KlipperScreen.conf:74
|
||||
#: ks_includes/KlipperScreen.conf:174
|
||||
msgid "Extrude"
|
||||
msgstr "אקסטרוזיה"
|
||||
|
||||
@@ -133,7 +168,7 @@ msgstr "שיחול +"
|
||||
msgid "Extrusion -"
|
||||
msgstr "שיחול -"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:79 ks_includes/KlipperScreen.conf:162
|
||||
#: ks_includes/KlipperScreen.conf:79 ks_includes/KlipperScreen.conf:169
|
||||
msgid "Fan"
|
||||
msgstr "מאוורר"
|
||||
|
||||
@@ -145,23 +180,31 @@ msgstr "כבה מאוורר"
|
||||
msgid "Fan On"
|
||||
msgstr "הפעל מאוורר"
|
||||
|
||||
#: panels/extrude.py:30
|
||||
#: panels/extrude.py:31
|
||||
msgid "Fast"
|
||||
msgstr "מהיר"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:157
|
||||
#: ks_includes/config.py:43
|
||||
msgid "Filament Used"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:41
|
||||
msgid "File Estimation (default)"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:164
|
||||
msgid "Fine Tuning"
|
||||
msgstr "כיולים עדינים"
|
||||
|
||||
#: panels/splash_screen.py:62 panels/system.py:24
|
||||
#: panels/splash_screen.py:64 panels/system.py:24
|
||||
msgid "Firmware Restart"
|
||||
msgstr "התחל קושחה"
|
||||
|
||||
#: screen.py:284 panels/job_status.py:301
|
||||
#: screen.py:300 panels/job_status.py:302
|
||||
msgid "Go Back"
|
||||
msgstr "חזרה"
|
||||
|
||||
#: panels/bed_level.py:98 panels/move.py:40 ks_includes/KlipperScreen.conf:39
|
||||
#: panels/bed_level.py:104 panels/move.py:40 ks_includes/KlipperScreen.conf:39
|
||||
msgid "Home All"
|
||||
msgstr "איפוס XYZ"
|
||||
|
||||
@@ -190,7 +233,7 @@ msgid "Increase"
|
||||
msgstr "הגדל"
|
||||
|
||||
#. self._load_panels()
|
||||
#: screen.py:136
|
||||
#: screen.py:149
|
||||
msgid "Initializing"
|
||||
msgstr "מאתחל"
|
||||
|
||||
@@ -198,15 +241,15 @@ msgstr "מאתחל"
|
||||
msgid "Initializing printer..."
|
||||
msgstr "מאתחל מדפסת..."
|
||||
|
||||
#: ks_includes/config.py:26
|
||||
#: ks_includes/config.py:36
|
||||
msgid "Invert X"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:27
|
||||
#: ks_includes/config.py:37
|
||||
msgid "Invert Y"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:28
|
||||
#: ks_includes/config.py:38
|
||||
msgid "Invert Z"
|
||||
msgstr ""
|
||||
|
||||
@@ -214,25 +257,25 @@ msgstr ""
|
||||
msgid "Klipper Restart"
|
||||
msgstr "אתחול קליפר"
|
||||
|
||||
#: panels/system.py:35
|
||||
#: panels/system.py:42
|
||||
msgid "Klipper Version"
|
||||
msgstr "גרסא של קליפר"
|
||||
|
||||
#: screen.py:384
|
||||
#: screen.py:418
|
||||
msgid "Klipper has disconnected"
|
||||
msgstr "קליפר התנתק"
|
||||
|
||||
#: screen.py:395
|
||||
#: screen.py:429
|
||||
msgid ""
|
||||
"Klipper has encountered an error with the micro-controller.\n"
|
||||
"Please recompile and flash."
|
||||
msgstr "בעיית תקשורת בין קליפר ללוח בקרה. אנא לקמפל קושחה ולצרובה מחדש. "
|
||||
|
||||
#: screen.py:399
|
||||
#: screen.py:433
|
||||
msgid "Klipper has encountered an error."
|
||||
msgstr "קילפר נתקל בבעיה."
|
||||
|
||||
#: screen.py:391
|
||||
#: screen.py:425
|
||||
msgid ""
|
||||
"Klipper has encountered an error.\n"
|
||||
"Issue a FIRMWARE_RESTART to attempt fixing the issue."
|
||||
@@ -240,27 +283,31 @@ msgstr ""
|
||||
"קליפר נתקל בבעיה. \n"
|
||||
"נסה להריץ firmware_restart, כדי לפתור את הבעיה."
|
||||
|
||||
#: screen.py:417
|
||||
#: screen.py:453
|
||||
msgid "Klipper has shutdown"
|
||||
msgstr "קליפר נכבה"
|
||||
|
||||
#: screen.py:413
|
||||
#: screen.py:449
|
||||
msgid "Klipper is attempting to start"
|
||||
msgstr "קליפר מנסה לרוץ"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:141
|
||||
#: ks_includes/KlipperScreen.conf:148
|
||||
msgid "Klipper will reboot"
|
||||
msgstr "קליפר יבצע אתחול"
|
||||
|
||||
#: panels/system.py:39
|
||||
#: panels/system.py:46
|
||||
msgid "KlipperScreen Version"
|
||||
msgstr "גרסא של KlipperScreen"
|
||||
|
||||
#: panels/job_status.py:123
|
||||
#: panels/job_status.py:124
|
||||
msgid "Left:"
|
||||
msgstr "זמן שנותר:"
|
||||
|
||||
#: panels/system.py:57
|
||||
#: panels/bed_mesh.py:98
|
||||
msgid "Load"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:66
|
||||
msgid "Load Average"
|
||||
msgstr "עומס ממוצע"
|
||||
|
||||
@@ -268,27 +315,37 @@ msgstr "עומס ממוצע"
|
||||
msgid "Lower Nozzle"
|
||||
msgstr "הנמך דיזה"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:89
|
||||
#: ks_includes/KlipperScreen.conf:96
|
||||
msgid "Macros"
|
||||
msgstr "מקרואים"
|
||||
|
||||
#: panels/job_status.py:273 ks_includes/KlipperScreen.conf:14
|
||||
#: panels/job_status.py:274 ks_includes/KlipperScreen.conf:14
|
||||
msgid "Main Menu"
|
||||
msgstr "תפריט ראשי"
|
||||
|
||||
#: panels/extrude.py:30
|
||||
#: panels/extrude.py:31
|
||||
msgid "Medium"
|
||||
msgstr "ממוצע"
|
||||
|
||||
#: panels/splash_screen.py:59 ks_includes/KlipperScreen.conf:202
|
||||
#, fuzzy
|
||||
msgid "Menu"
|
||||
msgstr "תפריט ראשי"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:69
|
||||
msgid "Move"
|
||||
msgstr "הזזת צירים"
|
||||
|
||||
#: panels/move.py:86
|
||||
#: panels/move.py:91
|
||||
msgid "Move Distance (mm)"
|
||||
msgstr "מרחק הזזה (מ''מ)"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:124 ks_includes/KlipperScreen.conf:173
|
||||
#: panels/print.py:23
|
||||
msgid "Name"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:131 ks_includes/KlipperScreen.conf:186
|
||||
#: ks_includes/KlipperScreen.conf:211
|
||||
msgid "Network"
|
||||
msgstr "רשת"
|
||||
|
||||
@@ -300,19 +357,25 @@ msgstr "מידע על הרשת"
|
||||
msgid "Number Pad"
|
||||
msgstr "פד נומרי"
|
||||
|
||||
#: panels/job_status.py:275
|
||||
#: ks_includes/config.py:48
|
||||
#, fuzzy
|
||||
msgid "Off"
|
||||
msgstr "כבה מאוורר"
|
||||
|
||||
#: panels/job_status.py:276
|
||||
msgid "Pause"
|
||||
msgstr "השהיה"
|
||||
|
||||
#: panels/job_status.py:454
|
||||
#: panels/job_status.py:470
|
||||
msgid "Paused"
|
||||
msgstr "מושהה"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:95
|
||||
#: ks_includes/KlipperScreen.conf:102 ks_includes/KlipperScreen.conf:180
|
||||
#: ks_includes/KlipperScreen.conf:205
|
||||
msgid "Power"
|
||||
msgstr "הפעלה"
|
||||
|
||||
#: panels/splash_screen.py:59
|
||||
#: panels/splash_screen.py:61
|
||||
msgid "Power On Printer"
|
||||
msgstr "הפעל מדפסת"
|
||||
|
||||
@@ -320,47 +383,63 @@ msgstr "הפעל מדפסת"
|
||||
msgid "Preheat"
|
||||
msgstr "חימום מראש"
|
||||
|
||||
#: panels/print.py:192 ks_includes/KlipperScreen.conf:34
|
||||
#: panels/print.py:242 ks_includes/KlipperScreen.conf:34
|
||||
msgid "Print"
|
||||
msgstr "הדפס"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:149
|
||||
#: ks_includes/KlipperScreen.conf:156
|
||||
msgid "Print Control"
|
||||
msgstr "שליטה בהדפסה"
|
||||
|
||||
#: panels/print.py:122
|
||||
#: panels/print.py:171
|
||||
msgid "Print Time"
|
||||
msgstr "זמן הדפסה"
|
||||
|
||||
#: panels/job_status.py:231
|
||||
#: panels/job_status.py:232
|
||||
msgid "Printing"
|
||||
msgstr "מדפיס"
|
||||
|
||||
#: panels/bed_mesh.py:264
|
||||
msgid "Profile Name:"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:89
|
||||
msgid "Quad Gantry Level"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:37
|
||||
msgid "Raise Nozzle"
|
||||
msgstr "הגבה"
|
||||
|
||||
#: panels/job_status.py:277 panels/splash_screen.py:60
|
||||
#: panels/job_status.py:278 panels/splash_screen.py:62
|
||||
msgid "Restart"
|
||||
msgstr "אתחל"
|
||||
|
||||
#: panels/job_status.py:279
|
||||
#: panels/job_status.py:280
|
||||
msgid "Resume"
|
||||
msgstr "המשך"
|
||||
|
||||
#: panels/extrude.py:47
|
||||
#: panels/extrude.py:48
|
||||
msgid "Retract"
|
||||
msgstr "שיחול לאחור"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:134
|
||||
#: panels/bed_mesh.py:116 panels/bed_mesh.py:269
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:141
|
||||
msgid "Save Config"
|
||||
msgstr "שמור קונפיג"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:139
|
||||
#: ks_includes/KlipperScreen.conf:146
|
||||
msgid "Save configuration."
|
||||
msgstr "שמור קונפיגורציה"
|
||||
|
||||
#: panels/bed_level.py:108
|
||||
#: ks_includes/config.py:46
|
||||
msgid "Screen Blanking Time"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_level.py:114
|
||||
msgid "Screws Adjust"
|
||||
msgstr "סידור ברגים"
|
||||
|
||||
@@ -368,19 +447,27 @@ msgstr "סידור ברגים"
|
||||
msgid "Set Speed"
|
||||
msgstr "קבע מהירות"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:144
|
||||
#, fuzzy
|
||||
#: ks_includes/KlipperScreen.conf:151 ks_includes/KlipperScreen.conf:196
|
||||
msgid "Settings"
|
||||
msgstr "הגדרות KS"
|
||||
msgstr "הגדרות"
|
||||
|
||||
#: panels/print.py:120
|
||||
#: panels/print.py:169
|
||||
msgid "Size"
|
||||
msgstr "גודל"
|
||||
|
||||
#: panels/extrude.py:30
|
||||
#: ks_includes/config.py:44
|
||||
msgid "Slicer"
|
||||
msgstr ""
|
||||
|
||||
#. This line for translations only
|
||||
#: panels/extrude.py:31
|
||||
msgid "Slow"
|
||||
msgstr "האט"
|
||||
|
||||
#: panels/print.py:39
|
||||
msgid "Sort by: "
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:47
|
||||
msgid "Speed +"
|
||||
msgstr "מהירות +"
|
||||
@@ -389,20 +476,34 @@ msgstr "מהירות +"
|
||||
msgid "Speed -"
|
||||
msgstr "מהירות -"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:129 ks_includes/KlipperScreen.conf:178
|
||||
#: ks_includes/KlipperScreen.conf:136 ks_includes/KlipperScreen.conf:191
|
||||
#: ks_includes/KlipperScreen.conf:216
|
||||
msgid "System"
|
||||
msgstr "מערכת"
|
||||
|
||||
#: panels/extrude.py:49 ks_includes/KlipperScreen.conf:84
|
||||
#: ks_includes/KlipperScreen.conf:152
|
||||
#: panels/system.py:27
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Restart"
|
||||
msgstr "אתחל"
|
||||
|
||||
#: panels/system.py:30
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Shutdown"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:50 ks_includes/KlipperScreen.conf:84
|
||||
#: ks_includes/KlipperScreen.conf:159
|
||||
msgid "Temperature"
|
||||
msgstr "טמפרטורה"
|
||||
|
||||
#: panels/extrude.py:37
|
||||
#: panels/extrude.py:38
|
||||
msgid "Tool"
|
||||
msgstr "כלי"
|
||||
|
||||
#: panels/print.py:118
|
||||
#: panels/print.py:167
|
||||
msgid "Uploaded"
|
||||
msgstr "הועלה"
|
||||
|
||||
@@ -422,7 +523,7 @@ msgstr "Y+"
|
||||
msgid "Y-"
|
||||
msgstr "Y-"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:118
|
||||
#: ks_includes/KlipperScreen.conf:125
|
||||
msgid "Z Calibrate"
|
||||
msgstr "כיול Z"
|
||||
|
||||
@@ -438,10 +539,18 @@ msgstr "Z+"
|
||||
msgid "Z-"
|
||||
msgstr "Z-"
|
||||
|
||||
#: ks_includes/config.py:60
|
||||
msgid "minutes"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:38
|
||||
msgid "mm"
|
||||
msgstr "מ''מ"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "Klipper"
|
||||
#~ msgstr "אתחול קליפר"
|
||||
|
||||
#~ msgid "Back"
|
||||
#~ msgstr "חזור"
|
||||
|
||||
|
||||
@@ -0,0 +1,209 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<keyboard>
|
||||
|
||||
<options>
|
||||
<!-- not yet implemented -->
|
||||
</options>
|
||||
|
||||
<layout id="defualt keyboard">
|
||||
<row>
|
||||
<key obey-caps='true'>
|
||||
<default display="q" />
|
||||
<shifted display="Q" />
|
||||
<mod1 display="1" />
|
||||
<mod2 display="~" />
|
||||
</key>
|
||||
<key obey-caps='true'>
|
||||
<default display="w" />
|
||||
<shifted display="W" />
|
||||
<mod1 display="2" />
|
||||
<mod2 display="`" />
|
||||
</key>
|
||||
<key obey-caps='true'>
|
||||
<default display="e" />
|
||||
<shifted display="E" />
|
||||
<mod1 display="3" />
|
||||
<mod2 display="|" />
|
||||
</key>
|
||||
<key obey-caps='true'>
|
||||
<default display="r" />
|
||||
<shifted display="R" />
|
||||
<mod1 display="4" />
|
||||
<mod2 display="•" />
|
||||
</key>
|
||||
<key obey-caps='true'>
|
||||
<default display="t" />
|
||||
<shifted display="T" />
|
||||
<mod1 display="5" />
|
||||
<mod2 display="√" />
|
||||
</key>
|
||||
<key obey-caps='true'>
|
||||
<default display="y" />
|
||||
<shifted display="Y" />
|
||||
<mod1 display="6" />
|
||||
<mod2 display="π" />
|
||||
</key>
|
||||
<key obey-caps='true'>
|
||||
<default display="u" />
|
||||
<shifted display="U" />
|
||||
<mod1 display="7" />
|
||||
<mod2 display="÷" />
|
||||
</key>
|
||||
<key obey-caps='true'>
|
||||
<default display="i" />
|
||||
<shifted display="I" />
|
||||
<mod1 display="8" />
|
||||
<mod2 display="×" />
|
||||
</key>
|
||||
<key obey-caps='true'>
|
||||
<default display="o" />
|
||||
<shifted display="O" />
|
||||
<mod1 display="9" />
|
||||
<mod2 display="¶" />
|
||||
</key>
|
||||
<key obey-caps='true'>
|
||||
<default display="p" />
|
||||
<shifted display="P" />
|
||||
<mod1 display="0" />
|
||||
<mod2 display="∆" />
|
||||
</key>
|
||||
</row>
|
||||
<row>
|
||||
<key obey-caps='true'>
|
||||
<default display="Caps" action="modifier:caps" />
|
||||
<shifted display="Caps" action="modifier:caps" />
|
||||
<mod1 display="@" />
|
||||
<mod2 display="£" />
|
||||
</key>
|
||||
<key obey-caps='true'>
|
||||
<default display="a" />
|
||||
<shifted display="A" />
|
||||
<mod1 display="#" />
|
||||
<mod2 display="¢" />
|
||||
</key>
|
||||
<key obey-caps='true'>
|
||||
<default display="s" />
|
||||
<shifted display="S" />
|
||||
<mod1 display="$" />
|
||||
<mod2 display="€" />
|
||||
</key>
|
||||
<key obey-caps='true'>
|
||||
<default display="d" />
|
||||
<shifted display="D" />
|
||||
<mod1 display="_" />
|
||||
<mod2 display="¥" />
|
||||
</key>
|
||||
<key obey-caps='true'>
|
||||
<default display="f" />
|
||||
<shifted display="F" />
|
||||
<mod1 display="&" />
|
||||
<mod2 display="^" />
|
||||
</key>
|
||||
<key obey-caps='true'>
|
||||
<default display="g" />
|
||||
<shifted display="G" />
|
||||
<mod1 display="-" />
|
||||
<mod2 display="°" />
|
||||
</key>
|
||||
<key obey-caps='true'>
|
||||
<default display="h" />
|
||||
<shifted display="H" />
|
||||
<mod1 display="+" />
|
||||
<mod2 display="=" />
|
||||
</key>
|
||||
<key obey-caps='true'>
|
||||
<default display="j" />
|
||||
<shifted display="J" />
|
||||
<mod1 display="(" />
|
||||
<mod2 display="{" />
|
||||
</key>
|
||||
<key obey-caps='true'>
|
||||
<default display="k" />
|
||||
<shifted display="K" />
|
||||
<mod1 display=")" />
|
||||
<mod2 display="}" />
|
||||
</key>
|
||||
<key obey-caps='true'>
|
||||
<default display="l" />
|
||||
<shifted display="L" />
|
||||
<mod1 display="/" />
|
||||
<mod2 display="\" />
|
||||
</key>
|
||||
</row>
|
||||
<row>
|
||||
<key obey-caps='true'>
|
||||
<default display="↑" action="modifier:shift" />
|
||||
</key>
|
||||
<key obey-caps='true'>
|
||||
<default display="z" />
|
||||
<shifted display="Z" />
|
||||
<mod1 display="*" />
|
||||
<mod2 display="%" />
|
||||
</key>
|
||||
<key obey-caps='true'>
|
||||
<default display="x" />
|
||||
<shifted display="X" />
|
||||
<mod1 display='"' />
|
||||
<mod2 display="©" />
|
||||
</key>
|
||||
<key obey-caps='true'>
|
||||
<default display="c" />
|
||||
<shifted display="C" />
|
||||
<mod1 display="'" />
|
||||
<mod2 display="®" />
|
||||
</key>
|
||||
<key obey-caps='true'>
|
||||
<default display="v" />
|
||||
<shifted display="V" />
|
||||
<mod1 display=":" />
|
||||
<mod2 display="™" />
|
||||
</key>
|
||||
<key obey-caps='true'>
|
||||
<default display="b" />
|
||||
<shifted display="B" />
|
||||
<mod1 display=";" />
|
||||
<mod2 display="✓" />
|
||||
</key>
|
||||
<key obey-caps='true'>
|
||||
<default display="n" />
|
||||
<shifted display="N" />
|
||||
<mod1 display="!" />
|
||||
<mod2 display="[" />
|
||||
</key>
|
||||
<key obey-caps='true'>
|
||||
<default display="m" />
|
||||
<shifted display="M" />
|
||||
<mod1 display="?" />
|
||||
<mod2 display="]" />
|
||||
</key>
|
||||
<key obey-caps='true'>
|
||||
<default display="⌫" action="backspace" />
|
||||
</key>
|
||||
</row>
|
||||
<row>
|
||||
<key>
|
||||
<default display="?123" action="modifier:mod1" />
|
||||
</key>
|
||||
<key>
|
||||
<default display="=\<" action="modifier:mod2" />
|
||||
</key>
|
||||
<key>
|
||||
<default display="," />
|
||||
<mod2 display="<" />
|
||||
</key>
|
||||
<key width="6000" fill="true">
|
||||
<default display=" " action="space" />
|
||||
</key>
|
||||
<key>
|
||||
<default display="." />
|
||||
<mod2 display=">" />
|
||||
</key>
|
||||
<key width="1000">
|
||||
<!-- <default display="◀┛" action="return"/> -->
|
||||
<default display="◀┛" action="return"/>
|
||||
</key>
|
||||
</row>
|
||||
</layout>
|
||||
|
||||
|
||||
</keyboard>
|
||||
Binary file not shown.
@@ -0,0 +1,552 @@
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
#
|
||||
# Jakob Kais <schpuntik@freenet.de>, 2021.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-02-11 22:13+0100\n"
|
||||
"PO-Revision-Date: 2021-02-12 02:24+0100\n"
|
||||
"Last-Translator: Jakob Kais <schpuntik@freenet.de>\n"
|
||||
"Language-Team: Russian <kde-i18n-de@kde.org>\n"
|
||||
"Language: ru\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 2.3\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-Poedit-Flags-xgettext: --add-comments\n"
|
||||
|
||||
#: panels/print.py:247
|
||||
msgid "?"
|
||||
msgstr "?"
|
||||
|
||||
#: panels/zcalibrate.py:71
|
||||
msgid "Abort"
|
||||
msgstr "Отменить"
|
||||
|
||||
#: panels/zcalibrate.py:68
|
||||
msgid "Accept"
|
||||
msgstr "Применить"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:26
|
||||
msgid "Actions"
|
||||
msgstr "Действия"
|
||||
|
||||
#: panels/bed_mesh.py:33
|
||||
msgid "Add bed mesh profile"
|
||||
msgstr "Добавить профиль сетки стола"
|
||||
|
||||
#: panels/print.py:247
|
||||
msgid "Are you sure you want to print"
|
||||
msgstr "Вы хотите это распечатать"
|
||||
|
||||
#: panels/job_status.py:306
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr "Вы хотите отменить эту печать?"
|
||||
|
||||
#: panels/system.py:29
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr "Вы уверены что хотите перезагрузить систему?"
|
||||
|
||||
#: panels/system.py:32
|
||||
msgid "Are you sure you wish to shutdown the system?"
|
||||
msgstr "Вы хотите выключить принтер?"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:114
|
||||
msgid "Bed Level"
|
||||
msgstr "Уровень стола"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:119
|
||||
msgid "Bed Mesh"
|
||||
msgstr "Сетка стола"
|
||||
|
||||
#: panels/bed_mesh.py:104
|
||||
msgid "Calibrate"
|
||||
msgstr "Калибровка"
|
||||
|
||||
#: screen.py:493 panels/job_status.py:268 panels/print.py:243
|
||||
msgid "Cancel"
|
||||
msgstr "Отменить"
|
||||
|
||||
#: panels/fan.py:45
|
||||
msgid "Cancel Change"
|
||||
msgstr "Отменить изменения"
|
||||
|
||||
#: panels/job_status.py:301
|
||||
msgid "Cancel Print"
|
||||
msgstr "Отменить печать"
|
||||
|
||||
#: screen.py:305
|
||||
msgid ""
|
||||
"Check /tmp/KlipperScreen.log for more information.\n"
|
||||
"Please submit an issue on GitHub for help."
|
||||
msgstr ""
|
||||
"Проверьте /tmp/KlipperScreen.log для дополнитольной информации.\n"
|
||||
"Создайте issues на GitHub что-бы получить помощь."
|
||||
|
||||
#: panels/bed_mesh.py:290 panels/temperature.py:150
|
||||
msgid "Close"
|
||||
msgstr "Закрыть"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:30
|
||||
msgid "Configuration"
|
||||
msgstr "Конфигурация"
|
||||
|
||||
#: screen.py:492
|
||||
msgid "Continue"
|
||||
msgstr "Продолжить"
|
||||
|
||||
#: panels/job_status.py:270
|
||||
msgid "Control"
|
||||
msgstr "Управление"
|
||||
|
||||
#: panels/preheat.py:54
|
||||
msgid "Cooldown"
|
||||
msgstr "Остудить"
|
||||
|
||||
#: panels/print.py:24
|
||||
msgid "Date"
|
||||
msgstr "Дата"
|
||||
|
||||
#: panels/temperature.py:53
|
||||
msgid "Decrease"
|
||||
msgstr "Уменьшить"
|
||||
|
||||
#: panels/bed_mesh.py:122
|
||||
msgid "Delete"
|
||||
msgstr "Удалить"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:108
|
||||
msgid "Disable Motors"
|
||||
msgstr "Отключить моторы"
|
||||
|
||||
#: panels/bed_level.py:107
|
||||
msgid "Disable XY"
|
||||
msgstr "Отключить XY"
|
||||
|
||||
#: panels/settings.py:28
|
||||
msgid "Displayed Macros"
|
||||
msgstr "Показать макросы"
|
||||
|
||||
#: panels/zcalibrate.py:64
|
||||
msgid "Distance (mm)"
|
||||
msgstr "Расстояние (mm)"
|
||||
|
||||
#: ks_includes/config.py:42
|
||||
msgid "Duration Only"
|
||||
msgstr "Продолжительность печати"
|
||||
|
||||
#: panels/job_status.py:136
|
||||
msgid "Elapsed:"
|
||||
msgstr "Прошло:"
|
||||
|
||||
#: panels/job_status.py:272
|
||||
msgid "Emergency Stop"
|
||||
msgstr "Аварийный стоп"
|
||||
|
||||
#: ks_includes/config.py:39
|
||||
msgid "Estimated Time Method"
|
||||
msgstr "Расчётное время"
|
||||
|
||||
#: panels/extrude.py:46 ks_includes/KlipperScreen.conf:74
|
||||
#: ks_includes/KlipperScreen.conf:174
|
||||
msgid "Extrude"
|
||||
msgstr "Заправить"
|
||||
|
||||
#: panels/fine_tune.py:57
|
||||
msgid "Extrusion +"
|
||||
msgstr "Экструзия +"
|
||||
|
||||
#: panels/fine_tune.py:61
|
||||
msgid "Extrusion -"
|
||||
msgstr "Экструзия -"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:79 ks_includes/KlipperScreen.conf:169
|
||||
msgid "Fan"
|
||||
msgstr "Обдув"
|
||||
|
||||
#: panels/fan.py:35
|
||||
msgid "Fan Off"
|
||||
msgstr "Вентилятор выкл"
|
||||
|
||||
#: panels/fan.py:38
|
||||
msgid "Fan On"
|
||||
msgstr "Вентилятор вкл"
|
||||
|
||||
#: panels/extrude.py:31
|
||||
msgid "Fast"
|
||||
msgstr "Быстро"
|
||||
|
||||
#: ks_includes/config.py:43
|
||||
msgid "Filament Used"
|
||||
msgstr "Использование филамента"
|
||||
|
||||
#: ks_includes/config.py:41
|
||||
msgid "File Estimation (default)"
|
||||
msgstr "По файлу (по умолчанию)"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:164
|
||||
msgid "Fine Tuning"
|
||||
msgstr "Точная настройка"
|
||||
|
||||
#: panels/splash_screen.py:64 panels/system.py:24
|
||||
msgid "Firmware Restart"
|
||||
msgstr ""
|
||||
"Перезагрузка\n"
|
||||
"прошивки"
|
||||
|
||||
#: screen.py:300 panels/job_status.py:302
|
||||
msgid "Go Back"
|
||||
msgstr "Назад"
|
||||
|
||||
#: panels/bed_level.py:104 panels/move.py:40 ks_includes/KlipperScreen.conf:39
|
||||
msgid "Home All"
|
||||
msgstr "Парковать все"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:45
|
||||
msgid "Home X"
|
||||
msgstr "Парковать X"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:63
|
||||
msgid "Home XY"
|
||||
msgstr "Парковать XY"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:51
|
||||
msgid "Home Y"
|
||||
msgstr "Парковать Y"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:57
|
||||
msgid "Home Z"
|
||||
msgstr "Парковать Z"
|
||||
|
||||
#: panels/zcalibrate.py:29 ks_includes/KlipperScreen.conf:17
|
||||
msgid "Homing"
|
||||
msgstr "Парковка"
|
||||
|
||||
#: panels/temperature.py:51
|
||||
msgid "Increase"
|
||||
msgstr "Поднять"
|
||||
|
||||
#. self._load_panels()
|
||||
#: screen.py:149
|
||||
msgid "Initializing"
|
||||
msgstr "Запуск"
|
||||
|
||||
#: panels/splash_screen.py:23
|
||||
msgid "Initializing printer..."
|
||||
msgstr "Принтер стартует..."
|
||||
|
||||
#: ks_includes/config.py:36
|
||||
msgid "Invert X"
|
||||
msgstr "Инвертировать X"
|
||||
|
||||
#: ks_includes/config.py:37
|
||||
msgid "Invert Y"
|
||||
msgstr "Инвертировать Y"
|
||||
|
||||
#: ks_includes/config.py:38
|
||||
msgid "Invert Z"
|
||||
msgstr "Инвертировать Z"
|
||||
|
||||
#: panels/system.py:22
|
||||
msgid "Klipper Restart"
|
||||
msgstr ""
|
||||
"Перезагрузка\n"
|
||||
"Klipper"
|
||||
|
||||
#: panels/system.py:42
|
||||
msgid "Klipper Version"
|
||||
msgstr "Версия Klipper"
|
||||
|
||||
#: screen.py:418
|
||||
msgid "Klipper has disconnected"
|
||||
msgstr "Нет связи с Klipper"
|
||||
|
||||
#: screen.py:429
|
||||
msgid ""
|
||||
"Klipper has encountered an error with the micro-controller.\n"
|
||||
"Please recompile and flash."
|
||||
msgstr ""
|
||||
"Klipper определил ошибку в микроконтроллере.\n"
|
||||
"Прошейте заново."
|
||||
|
||||
#: screen.py:433
|
||||
msgid "Klipper has encountered an error."
|
||||
msgstr "Klipper обнаружил ошибку."
|
||||
|
||||
#: screen.py:425
|
||||
msgid ""
|
||||
"Klipper has encountered an error.\n"
|
||||
"Issue a FIRMWARE_RESTART to attempt fixing the issue."
|
||||
msgstr ""
|
||||
"Klipper обнаружил ошибку.\n"
|
||||
"Выполните перезагрузку прошивки, чтобы попытаться исправить проблему."
|
||||
|
||||
#: screen.py:453
|
||||
msgid "Klipper has shutdown"
|
||||
msgstr "Klipper отключился"
|
||||
|
||||
#: screen.py:449
|
||||
msgid "Klipper is attempting to start"
|
||||
msgstr "Klipper готов"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:148
|
||||
msgid "Klipper will reboot"
|
||||
msgstr "Klipper перезагружается"
|
||||
|
||||
#: panels/system.py:46
|
||||
msgid "KlipperScreen Version"
|
||||
msgstr "Версия KlipperScreen"
|
||||
|
||||
#: panels/job_status.py:124
|
||||
msgid "Left:"
|
||||
msgstr "Осталось:"
|
||||
|
||||
#: panels/bed_mesh.py:98
|
||||
msgid "Load"
|
||||
msgstr "Загрузить"
|
||||
|
||||
#: panels/system.py:66
|
||||
msgid "Load Average"
|
||||
msgstr "Средняя нагрузка"
|
||||
|
||||
#: panels/zcalibrate.py:39
|
||||
msgid "Lower Nozzle"
|
||||
msgstr "Опустить сопло"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:96
|
||||
msgid "Macros"
|
||||
msgstr "Макросы"
|
||||
|
||||
#: panels/job_status.py:274 ks_includes/KlipperScreen.conf:14
|
||||
msgid "Main Menu"
|
||||
msgstr "Главное меню"
|
||||
|
||||
#: panels/extrude.py:31
|
||||
msgid "Medium"
|
||||
msgstr "Среднее"
|
||||
|
||||
#: panels/splash_screen.py:59 ks_includes/KlipperScreen.conf:202
|
||||
msgid "Menu"
|
||||
msgstr "Меню"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:69
|
||||
msgid "Move"
|
||||
msgstr "Двигать"
|
||||
|
||||
#: panels/move.py:91
|
||||
msgid "Move Distance (mm)"
|
||||
msgstr "Дистанция перемещения (mm)"
|
||||
|
||||
#: panels/print.py:23
|
||||
msgid "Name"
|
||||
msgstr "Имя"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:131 ks_includes/KlipperScreen.conf:186
|
||||
#: ks_includes/KlipperScreen.conf:211
|
||||
msgid "Network"
|
||||
msgstr "Сеть"
|
||||
|
||||
#: panels/network.py:31
|
||||
msgid "Network Info"
|
||||
msgstr "Информация о сети"
|
||||
|
||||
#: panels/temperature.py:55
|
||||
msgid "Number Pad"
|
||||
msgstr "Номер блока"
|
||||
|
||||
#: ks_includes/config.py:48
|
||||
msgid "Off"
|
||||
msgstr "Выкл"
|
||||
|
||||
#: panels/job_status.py:276
|
||||
msgid "Pause"
|
||||
msgstr "Пауза"
|
||||
|
||||
#: panels/job_status.py:470
|
||||
msgid "Paused"
|
||||
msgstr "Приостановлено"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:102 ks_includes/KlipperScreen.conf:180
|
||||
#: ks_includes/KlipperScreen.conf:205
|
||||
msgid "Power"
|
||||
msgstr "Включено"
|
||||
|
||||
#: panels/splash_screen.py:61
|
||||
msgid "Power On Printer"
|
||||
msgstr "Включить принтер"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:21
|
||||
msgid "Preheat"
|
||||
msgstr "Разогрев"
|
||||
|
||||
#: panels/print.py:242 ks_includes/KlipperScreen.conf:34
|
||||
msgid "Print"
|
||||
msgstr "Печать"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:156
|
||||
msgid "Print Control"
|
||||
msgstr "Управление печатью"
|
||||
|
||||
#: panels/print.py:171
|
||||
msgid "Print Time"
|
||||
msgstr "Время печати"
|
||||
|
||||
#: panels/job_status.py:232
|
||||
msgid "Printing"
|
||||
msgstr "Печатается"
|
||||
|
||||
#: panels/bed_mesh.py:264
|
||||
msgid "Profile Name:"
|
||||
msgstr "Имя профиля:"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:89
|
||||
msgid "Quad Gantry Level"
|
||||
msgstr "Уровень Quad Gantry"
|
||||
|
||||
#: panels/zcalibrate.py:37
|
||||
msgid "Raise Nozzle"
|
||||
msgstr "Поднять сопло"
|
||||
|
||||
#: panels/job_status.py:278 panels/splash_screen.py:62
|
||||
msgid "Restart"
|
||||
msgstr "Перезагрузка"
|
||||
|
||||
#: panels/job_status.py:280
|
||||
msgid "Resume"
|
||||
msgstr "Продолжить"
|
||||
|
||||
#: panels/extrude.py:48
|
||||
msgid "Retract"
|
||||
msgstr "Выгрузить"
|
||||
|
||||
#: panels/bed_mesh.py:116 panels/bed_mesh.py:269
|
||||
msgid "Save"
|
||||
msgstr "Сохранить"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:141
|
||||
msgid "Save Config"
|
||||
msgstr "Сохранить настройки"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:146
|
||||
msgid "Save configuration."
|
||||
msgstr "Настройки сохраняются."
|
||||
|
||||
#: ks_includes/config.py:46
|
||||
msgid "Screen Blanking Time"
|
||||
msgstr "Скрыть экран через"
|
||||
|
||||
#: panels/bed_level.py:114
|
||||
msgid "Screws Adjust"
|
||||
msgstr "Настроить винты"
|
||||
|
||||
#: panels/fan.py:42
|
||||
msgid "Set Speed"
|
||||
msgstr "Скорость"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:151 ks_includes/KlipperScreen.conf:196
|
||||
msgid "Settings"
|
||||
msgstr "Настройки"
|
||||
|
||||
#: panels/print.py:169
|
||||
msgid "Size"
|
||||
msgstr "Размер"
|
||||
|
||||
#: ks_includes/config.py:44
|
||||
msgid "Slicer"
|
||||
msgstr "Slicer"
|
||||
|
||||
#. This line for translations only
|
||||
#: panels/extrude.py:31
|
||||
msgid "Slow"
|
||||
msgstr "Медленно"
|
||||
|
||||
#: panels/print.py:39
|
||||
msgid "Sort by: "
|
||||
msgstr "Сортировать по: "
|
||||
|
||||
#: panels/fine_tune.py:47
|
||||
msgid "Speed +"
|
||||
msgstr "Скорость +"
|
||||
|
||||
#: panels/fine_tune.py:51
|
||||
msgid "Speed -"
|
||||
msgstr "Скорость -"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:136 ks_includes/KlipperScreen.conf:191
|
||||
#: ks_includes/KlipperScreen.conf:216
|
||||
msgid "System"
|
||||
msgstr "Система"
|
||||
|
||||
#: panels/system.py:27
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
"Перегрузить\n"
|
||||
"Систему"
|
||||
|
||||
#: panels/system.py:30
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Shutdown"
|
||||
msgstr "Выключить"
|
||||
|
||||
#: panels/extrude.py:50 ks_includes/KlipperScreen.conf:84
|
||||
#: ks_includes/KlipperScreen.conf:159
|
||||
msgid "Temperature"
|
||||
msgstr "Температура"
|
||||
|
||||
#: panels/extrude.py:38
|
||||
msgid "Tool"
|
||||
msgstr "Инструмент"
|
||||
|
||||
#: panels/print.py:167
|
||||
msgid "Uploaded"
|
||||
msgstr "Загружено"
|
||||
|
||||
#: panels/move.py:25
|
||||
msgid "X+"
|
||||
msgstr "X+"
|
||||
|
||||
#: panels/move.py:27
|
||||
msgid "X-"
|
||||
msgstr "X-"
|
||||
|
||||
#: panels/move.py:30
|
||||
msgid "Y+"
|
||||
msgstr "Y+"
|
||||
|
||||
#: panels/move.py:32
|
||||
msgid "Y-"
|
||||
msgstr "Y-"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:125
|
||||
msgid "Z Calibrate"
|
||||
msgstr "Калибровка Z"
|
||||
|
||||
#: panels/zcalibrate.py:28
|
||||
msgid "Z Offset"
|
||||
msgstr "Офсет Z"
|
||||
|
||||
#: panels/fine_tune.py:36 panels/move.py:35
|
||||
msgid "Z+"
|
||||
msgstr "Z+"
|
||||
|
||||
#: panels/fine_tune.py:40 panels/move.py:37
|
||||
msgid "Z-"
|
||||
msgstr "Z-"
|
||||
|
||||
#: ks_includes/config.py:60
|
||||
msgid "minutes"
|
||||
msgstr "минут"
|
||||
|
||||
#: panels/fine_tune.py:38
|
||||
msgid "mm"
|
||||
msgstr "mm"
|
||||
|
||||
#~ msgid "Klipper"
|
||||
#~ msgstr "Klipper"
|
||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-01-07 05:48+0000\n"
|
||||
"POT-Creation-Date: 2021-02-11 22:13+0100\n"
|
||||
"PO-Revision-Date: 2021-01-06 00:35+0200\n"
|
||||
"Last-Translator: Emanuel Sharvit <manu7irl@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
@@ -18,15 +18,15 @@ msgstr ""
|
||||
"X-Generator: Poedit 2.4.2\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#: panels/print.py:197
|
||||
#: panels/print.py:247
|
||||
msgid "?"
|
||||
msgstr "?"
|
||||
|
||||
#: panels/zcalibrate.py:70
|
||||
#: panels/zcalibrate.py:71
|
||||
msgid "Abort"
|
||||
msgstr "中止"
|
||||
|
||||
#: panels/zcalibrate.py:67
|
||||
#: panels/zcalibrate.py:68
|
||||
msgid "Accept"
|
||||
msgstr "接受"
|
||||
|
||||
@@ -34,23 +34,42 @@ msgstr "接受"
|
||||
msgid "Actions"
|
||||
msgstr "动作"
|
||||
|
||||
#: panels/print.py:197
|
||||
#: panels/bed_mesh.py:33
|
||||
msgid "Add bed mesh profile"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:247
|
||||
msgid "Are you sure you want to print"
|
||||
msgstr "您确定要打印吗"
|
||||
|
||||
#: panels/job_status.py:305
|
||||
#: panels/job_status.py:306
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr "您要取消此打印吗?"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:107
|
||||
#: panels/system.py:29
|
||||
#, fuzzy
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr "您要取消此打印吗?"
|
||||
|
||||
#: panels/system.py:32
|
||||
#, fuzzy
|
||||
msgid "Are you sure you wish to shutdown the system?"
|
||||
msgstr "您要取消此打印吗?"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:114
|
||||
msgid "Bed Level"
|
||||
msgstr "床位"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:112
|
||||
#: ks_includes/KlipperScreen.conf:119
|
||||
msgid "Bed Mesh"
|
||||
msgstr "床网"
|
||||
|
||||
#: screen.py:455 panels/job_status.py:267 panels/print.py:193
|
||||
#: panels/bed_mesh.py:104
|
||||
#, fuzzy
|
||||
msgid "Calibrate"
|
||||
msgstr "Z校准"
|
||||
|
||||
#: screen.py:493 panels/job_status.py:268 panels/print.py:243
|
||||
msgid "Cancel"
|
||||
msgstr "取消"
|
||||
|
||||
@@ -58,11 +77,11 @@ msgstr "取消"
|
||||
msgid "Cancel Change"
|
||||
msgstr "取消变更"
|
||||
|
||||
#: panels/job_status.py:300
|
||||
#: panels/job_status.py:301
|
||||
msgid "Cancel Print"
|
||||
msgstr "取消列印"
|
||||
|
||||
#: screen.py:289
|
||||
#: screen.py:305
|
||||
msgid ""
|
||||
"Check /tmp/KlipperScreen.log for more information.\n"
|
||||
"Please submit an issue on GitHub for help."
|
||||
@@ -70,7 +89,7 @@ msgstr ""
|
||||
"检查/tmp/KlipperScreen.log以获取更多信息。\n"
|
||||
"请在GitHub上提交问题以寻求帮助。"
|
||||
|
||||
#: panels/bed_mesh.py:172 panels/temperature.py:149
|
||||
#: panels/bed_mesh.py:290 panels/temperature.py:150
|
||||
msgid "Close"
|
||||
msgstr "关"
|
||||
|
||||
@@ -78,11 +97,11 @@ msgstr "关"
|
||||
msgid "Configuration"
|
||||
msgstr "组态"
|
||||
|
||||
#: screen.py:454
|
||||
#: screen.py:492
|
||||
msgid "Continue"
|
||||
msgstr "继续"
|
||||
|
||||
#: panels/job_status.py:269
|
||||
#: panels/job_status.py:270
|
||||
msgid "Control"
|
||||
msgstr "控制"
|
||||
|
||||
@@ -90,36 +109,52 @@ msgstr "控制"
|
||||
msgid "Cooldown"
|
||||
msgstr "冷却"
|
||||
|
||||
#: panels/print.py:24
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#: panels/temperature.py:53
|
||||
msgid "Decrease"
|
||||
msgstr "减少"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:101
|
||||
#: panels/bed_mesh.py:122
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:108
|
||||
msgid "Disable Motors"
|
||||
msgstr "禁用马达"
|
||||
|
||||
#: panels/bed_level.py:101
|
||||
#: panels/bed_level.py:107
|
||||
msgid "Disable XY"
|
||||
msgstr "禁用XY"
|
||||
|
||||
#: panels/settings.py:32
|
||||
#: panels/settings.py:28
|
||||
msgid "Displayed Macros"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:63
|
||||
#: panels/zcalibrate.py:64
|
||||
msgid "Distance (mm)"
|
||||
msgstr "距离(毫米)"
|
||||
|
||||
#: panels/job_status.py:135
|
||||
#: ks_includes/config.py:42
|
||||
msgid "Duration Only"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:136
|
||||
msgid "Elapsed:"
|
||||
msgstr "过去"
|
||||
|
||||
#: panels/job_status.py:271
|
||||
#: panels/job_status.py:272
|
||||
msgid "Emergency Stop"
|
||||
msgstr "紧急停止"
|
||||
|
||||
#: panels/extrude.py:45 ks_includes/KlipperScreen.conf:74
|
||||
#: ks_includes/KlipperScreen.conf:167
|
||||
#: ks_includes/config.py:39
|
||||
msgid "Estimated Time Method"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:46 ks_includes/KlipperScreen.conf:74
|
||||
#: ks_includes/KlipperScreen.conf:174
|
||||
msgid "Extrude"
|
||||
msgstr "拉伸"
|
||||
|
||||
@@ -131,7 +166,7 @@ msgstr "挤压+"
|
||||
msgid "Extrusion -"
|
||||
msgstr "挤压-"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:79 ks_includes/KlipperScreen.conf:162
|
||||
#: ks_includes/KlipperScreen.conf:79 ks_includes/KlipperScreen.conf:169
|
||||
msgid "Fan"
|
||||
msgstr "风扇"
|
||||
|
||||
@@ -143,23 +178,31 @@ msgstr "散开"
|
||||
msgid "Fan On"
|
||||
msgstr "扇上"
|
||||
|
||||
#: panels/extrude.py:30
|
||||
#: panels/extrude.py:31
|
||||
msgid "Fast"
|
||||
msgstr "快速"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:157
|
||||
#: ks_includes/config.py:43
|
||||
msgid "Filament Used"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:41
|
||||
msgid "File Estimation (default)"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:164
|
||||
msgid "Fine Tuning"
|
||||
msgstr "微调"
|
||||
|
||||
#: panels/splash_screen.py:62 panels/system.py:24
|
||||
#: panels/splash_screen.py:64 panels/system.py:24
|
||||
msgid "Firmware Restart"
|
||||
msgstr "固件重启"
|
||||
|
||||
#: screen.py:284 panels/job_status.py:301
|
||||
#: screen.py:300 panels/job_status.py:302
|
||||
msgid "Go Back"
|
||||
msgstr "回去"
|
||||
|
||||
#: panels/bed_level.py:98 panels/move.py:40 ks_includes/KlipperScreen.conf:39
|
||||
#: panels/bed_level.py:104 panels/move.py:40 ks_includes/KlipperScreen.conf:39
|
||||
msgid "Home All"
|
||||
msgstr "全部回家"
|
||||
|
||||
@@ -188,7 +231,7 @@ msgid "Increase"
|
||||
msgstr "增加"
|
||||
|
||||
#. self._load_panels()
|
||||
#: screen.py:136
|
||||
#: screen.py:149
|
||||
msgid "Initializing"
|
||||
msgstr "Initializing"
|
||||
|
||||
@@ -196,15 +239,15 @@ msgstr "Initializing"
|
||||
msgid "Initializing printer..."
|
||||
msgstr "初始化打印机..."
|
||||
|
||||
#: ks_includes/config.py:26
|
||||
#: ks_includes/config.py:36
|
||||
msgid "Invert X"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:27
|
||||
#: ks_includes/config.py:37
|
||||
msgid "Invert Y"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:28
|
||||
#: ks_includes/config.py:38
|
||||
msgid "Invert Z"
|
||||
msgstr ""
|
||||
|
||||
@@ -212,15 +255,15 @@ msgstr ""
|
||||
msgid "Klipper Restart"
|
||||
msgstr "快闪重启"
|
||||
|
||||
#: panels/system.py:35
|
||||
#: panels/system.py:42
|
||||
msgid "Klipper Version"
|
||||
msgstr "快艇版本"
|
||||
|
||||
#: screen.py:384
|
||||
#: screen.py:418
|
||||
msgid "Klipper has disconnected"
|
||||
msgstr "Klipper已断开连接"
|
||||
|
||||
#: screen.py:395
|
||||
#: screen.py:429
|
||||
msgid ""
|
||||
"Klipper has encountered an error with the micro-controller.\n"
|
||||
"Please recompile and flash."
|
||||
@@ -228,11 +271,11 @@ msgstr ""
|
||||
"Klipper的微控制器出错。\n"
|
||||
"请重新编译并刷新。"
|
||||
|
||||
#: screen.py:399
|
||||
#: screen.py:433
|
||||
msgid "Klipper has encountered an error."
|
||||
msgstr "Klipper遇到错误。"
|
||||
|
||||
#: screen.py:391
|
||||
#: screen.py:425
|
||||
msgid ""
|
||||
"Klipper has encountered an error.\n"
|
||||
"Issue a FIRMWARE_RESTART to attempt fixing the issue."
|
||||
@@ -240,27 +283,31 @@ msgstr ""
|
||||
"Klipper遇到错误。\n"
|
||||
"发出FIRMWARE_RESTART尝试解决此问题。"
|
||||
|
||||
#: screen.py:417
|
||||
#: screen.py:453
|
||||
msgid "Klipper has shutdown"
|
||||
msgstr "Klipper已关闭"
|
||||
|
||||
#: screen.py:413
|
||||
#: screen.py:449
|
||||
msgid "Klipper is attempting to start"
|
||||
msgstr "Klipper正在尝试启动"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:141
|
||||
#: ks_includes/KlipperScreen.conf:148
|
||||
msgid "Klipper will reboot"
|
||||
msgstr "Klipper将重新启动"
|
||||
|
||||
#: panels/system.py:39
|
||||
#: panels/system.py:46
|
||||
msgid "KlipperScreen Version"
|
||||
msgstr "KlipperScreen版本"
|
||||
|
||||
#: panels/job_status.py:123
|
||||
#: panels/job_status.py:124
|
||||
msgid "Left:"
|
||||
msgstr "剩下的时间"
|
||||
|
||||
#: panels/system.py:57
|
||||
#: panels/bed_mesh.py:98
|
||||
msgid "Load"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:66
|
||||
msgid "Load Average"
|
||||
msgstr "平均负载"
|
||||
|
||||
@@ -268,27 +315,37 @@ msgstr "平均负载"
|
||||
msgid "Lower Nozzle"
|
||||
msgstr "下喷嘴"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:89
|
||||
#: ks_includes/KlipperScreen.conf:96
|
||||
msgid "Macros"
|
||||
msgstr "巨集"
|
||||
|
||||
#: panels/job_status.py:273 ks_includes/KlipperScreen.conf:14
|
||||
#: panels/job_status.py:274 ks_includes/KlipperScreen.conf:14
|
||||
msgid "Main Menu"
|
||||
msgstr "主菜单"
|
||||
|
||||
#: panels/extrude.py:30
|
||||
#: panels/extrude.py:31
|
||||
msgid "Medium"
|
||||
msgstr "中"
|
||||
|
||||
#: panels/splash_screen.py:59 ks_includes/KlipperScreen.conf:202
|
||||
#, fuzzy
|
||||
msgid "Menu"
|
||||
msgstr "主菜单"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:69
|
||||
msgid "Move"
|
||||
msgstr "移动"
|
||||
|
||||
#: panels/move.py:86
|
||||
#: panels/move.py:91
|
||||
msgid "Move Distance (mm)"
|
||||
msgstr "移动距离(mm)"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:124 ks_includes/KlipperScreen.conf:173
|
||||
#: panels/print.py:23
|
||||
msgid "Name"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:131 ks_includes/KlipperScreen.conf:186
|
||||
#: ks_includes/KlipperScreen.conf:211
|
||||
msgid "Network"
|
||||
msgstr "网络"
|
||||
|
||||
@@ -300,19 +357,25 @@ msgstr "网络信息"
|
||||
msgid "Number Pad"
|
||||
msgstr "数字键盘"
|
||||
|
||||
#: panels/job_status.py:275
|
||||
#: ks_includes/config.py:48
|
||||
#, fuzzy
|
||||
msgid "Off"
|
||||
msgstr "散开"
|
||||
|
||||
#: panels/job_status.py:276
|
||||
msgid "Pause"
|
||||
msgstr "暂停"
|
||||
|
||||
#: panels/job_status.py:454
|
||||
#: panels/job_status.py:470
|
||||
msgid "Paused"
|
||||
msgstr "已暂停"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:95
|
||||
#: ks_includes/KlipperScreen.conf:102 ks_includes/KlipperScreen.conf:180
|
||||
#: ks_includes/KlipperScreen.conf:205
|
||||
msgid "Power"
|
||||
msgstr "功率"
|
||||
|
||||
#: panels/splash_screen.py:59
|
||||
#: panels/splash_screen.py:61
|
||||
msgid "Power On Printer"
|
||||
msgstr "开启打印机电源"
|
||||
|
||||
@@ -320,47 +383,63 @@ msgstr "开启打印机电源"
|
||||
msgid "Preheat"
|
||||
msgstr "预热"
|
||||
|
||||
#: panels/print.py:192 ks_includes/KlipperScreen.conf:34
|
||||
#: panels/print.py:242 ks_includes/KlipperScreen.conf:34
|
||||
msgid "Print"
|
||||
msgstr "打印"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:149
|
||||
#: ks_includes/KlipperScreen.conf:156
|
||||
msgid "Print Control"
|
||||
msgstr "打印控制"
|
||||
|
||||
#: panels/print.py:122
|
||||
#: panels/print.py:171
|
||||
msgid "Print Time"
|
||||
msgstr "打印时间"
|
||||
|
||||
#: panels/job_status.py:231
|
||||
#: panels/job_status.py:232
|
||||
msgid "Printing"
|
||||
msgstr "印刷"
|
||||
|
||||
#: panels/bed_mesh.py:264
|
||||
msgid "Profile Name:"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:89
|
||||
msgid "Quad Gantry Level"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:37
|
||||
msgid "Raise Nozzle"
|
||||
msgstr "升高喷嘴"
|
||||
|
||||
#: panels/job_status.py:277 panels/splash_screen.py:60
|
||||
#: panels/job_status.py:278 panels/splash_screen.py:62
|
||||
msgid "Restart"
|
||||
msgstr "重新开始"
|
||||
|
||||
#: panels/job_status.py:279
|
||||
#: panels/job_status.py:280
|
||||
msgid "Resume"
|
||||
msgstr "恢复"
|
||||
|
||||
#: panels/extrude.py:47
|
||||
#: panels/extrude.py:48
|
||||
msgid "Retract"
|
||||
msgstr "缩回"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:134
|
||||
#: panels/bed_mesh.py:116 panels/bed_mesh.py:269
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:141
|
||||
msgid "Save Config"
|
||||
msgstr "保存配置"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:139
|
||||
#: ks_includes/KlipperScreen.conf:146
|
||||
msgid "Save configuration."
|
||||
msgstr "保存配置"
|
||||
|
||||
#: panels/bed_level.py:108
|
||||
#: ks_includes/config.py:46
|
||||
msgid "Screen Blanking Time"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_level.py:114
|
||||
msgid "Screws Adjust"
|
||||
msgstr "螺丝调整"
|
||||
|
||||
@@ -368,19 +447,28 @@ msgstr "螺丝调整"
|
||||
msgid "Set Speed"
|
||||
msgstr "设定速度"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:144
|
||||
#: ks_includes/KlipperScreen.conf:151 ks_includes/KlipperScreen.conf:196
|
||||
#, fuzzy
|
||||
msgid "Settings"
|
||||
msgstr "KS设置"
|
||||
msgstr "设置"
|
||||
|
||||
#: panels/print.py:120
|
||||
#: panels/print.py:169
|
||||
msgid "Size"
|
||||
msgstr "尺寸"
|
||||
|
||||
#: panels/extrude.py:30
|
||||
#: ks_includes/config.py:44
|
||||
msgid "Slicer"
|
||||
msgstr ""
|
||||
|
||||
#. This line for translations only
|
||||
#: panels/extrude.py:31
|
||||
msgid "Slow"
|
||||
msgstr "慢"
|
||||
|
||||
#: panels/print.py:39
|
||||
msgid "Sort by: "
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:47
|
||||
msgid "Speed +"
|
||||
msgstr "速度 +"
|
||||
@@ -389,20 +477,34 @@ msgstr "速度 +"
|
||||
msgid "Speed -"
|
||||
msgstr "速度 -"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:129 ks_includes/KlipperScreen.conf:178
|
||||
#: ks_includes/KlipperScreen.conf:136 ks_includes/KlipperScreen.conf:191
|
||||
#: ks_includes/KlipperScreen.conf:216
|
||||
msgid "System"
|
||||
msgstr "系统"
|
||||
|
||||
#: panels/extrude.py:49 ks_includes/KlipperScreen.conf:84
|
||||
#: ks_includes/KlipperScreen.conf:152
|
||||
#: panels/system.py:27
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Restart"
|
||||
msgstr "重新开始"
|
||||
|
||||
#: panels/system.py:30
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Shutdown"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:50 ks_includes/KlipperScreen.conf:84
|
||||
#: ks_includes/KlipperScreen.conf:159
|
||||
msgid "Temperature"
|
||||
msgstr "温度"
|
||||
|
||||
#: panels/extrude.py:37
|
||||
#: panels/extrude.py:38
|
||||
msgid "Tool"
|
||||
msgstr "工具"
|
||||
|
||||
#: panels/print.py:118
|
||||
#: panels/print.py:167
|
||||
msgid "Uploaded"
|
||||
msgstr "已上传"
|
||||
|
||||
@@ -422,7 +524,7 @@ msgstr "Y ="
|
||||
msgid "Y-"
|
||||
msgstr "Y-"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:118
|
||||
#: ks_includes/KlipperScreen.conf:125
|
||||
msgid "Z Calibrate"
|
||||
msgstr "Z校准"
|
||||
|
||||
@@ -438,10 +540,18 @@ msgstr "Z+"
|
||||
msgid "Z-"
|
||||
msgstr "Z-"
|
||||
|
||||
#: ks_includes/config.py:60
|
||||
msgid "minutes"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:38
|
||||
msgid "mm"
|
||||
msgstr "毫米"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "Klipper"
|
||||
#~ msgstr "快闪重启"
|
||||
|
||||
#~ msgid "Back"
|
||||
#~ msgstr "背部"
|
||||
|
||||
|
||||
@@ -103,18 +103,18 @@ class Printer:
|
||||
self.evaluate_state()
|
||||
|
||||
def evaluate_state(self):
|
||||
wh_state = self.data['webhooks']['state'] # possible values: startup, ready, shutdown, error
|
||||
wh_state = self.data['webhooks']['state'].lower() # possible values: startup, ready, shutdown, error
|
||||
idle_state = self.data['idle_timeout']['state'].lower() # possible values: Idle, printing, ready
|
||||
print_state = self.data['print_stats']['state'] # possible values: complete, paused, printing, standby
|
||||
print_state = self.data['print_stats']['state'].lower() # possible values: complete, paused, printing, standby
|
||||
|
||||
if wh_state == "ready":
|
||||
new_state = "ready"
|
||||
if idle_state == "printing" and print_state != "printing": # Not printing a file, toolhead moving
|
||||
new_state = "busy"
|
||||
elif idle_state == "printing" and print_state == "printing":
|
||||
new_state = "printing"
|
||||
elif print_state == "paused":
|
||||
if print_state == "paused":
|
||||
new_state = "paused"
|
||||
elif idle_state == "printing" and print_state != "printing": # Not printing a file, toolhead moving
|
||||
new_state = "busy"
|
||||
elif idle_state == "printing":
|
||||
new_state = "printing"
|
||||
|
||||
if new_state != "busy":
|
||||
self.change_state(new_state)
|
||||
@@ -140,7 +140,6 @@ class Printer:
|
||||
|
||||
logger.debug("Processing power devices: %s" % data)
|
||||
for x in data['devices']:
|
||||
logger.debug(x)
|
||||
self.power_devices[x['device']] = {
|
||||
"status": "on" if x['status'] == "on" else "off"
|
||||
}
|
||||
@@ -179,7 +178,7 @@ class Printer:
|
||||
}
|
||||
}
|
||||
|
||||
sections = ["bed_mesh","bltouch","probe"]
|
||||
sections = ["bed_mesh","bltouch","probe","quad_gantry_level"]
|
||||
for section in sections:
|
||||
if self.config_section_exists(section):
|
||||
data["printer"][section] = self.get_config_section(section).copy()
|
||||
|
||||
+27
-11
@@ -25,21 +25,34 @@ class ScreenPanel:
|
||||
self.layout = Gtk.Layout()
|
||||
self.layout.set_size(self._screen.width, self._screen.height)
|
||||
|
||||
action_bar_width = self._gtk.get_action_bar_width()
|
||||
|
||||
self.control_grid = self._gtk.HomogeneousGrid()
|
||||
self.control_grid.set_size_request(action_bar_width - 2, self._screen.height)
|
||||
self.control_grid.get_style_context().add_class('action_bar')
|
||||
|
||||
button_scale = self._gtk.get_header_image_scale()
|
||||
logger.debug("Button scale: %s" % button_scale)
|
||||
if back == True:
|
||||
self.control['back'] = self._gtk.ButtonImage('back', None, None, button_scale[0], button_scale[1])
|
||||
self.control['back'].connect("clicked", self._screen._menu_go_back)
|
||||
self.layout.put(self.control['back'], 0, 0)
|
||||
self.control_grid.attach(self.control['back'], 0, 0, 1, 1)
|
||||
|
||||
self.control['home'] = self._gtk.ButtonImage('home', None, None, button_scale[0], button_scale[1])
|
||||
self.control['home'].connect("clicked", self.menu_return, True)
|
||||
self.layout.put(self.control['home'], self._screen.width - round(
|
||||
self._gtk.get_image_width() * button_scale[0] * 1.45), 0)
|
||||
self.control_grid.attach(self.control['home'], 0, 1, 1, 1)
|
||||
|
||||
self.control['printer_select'] = Gtk.Label("")
|
||||
self.control_grid.attach(self.control['printer_select'], 0, 2, 1, 1)
|
||||
else:
|
||||
for i in range(3):
|
||||
self.control['space%s' % i] = Gtk.Label("")
|
||||
self.control_grid.attach(self.control['space%s' % i], 0, i, 1, 1)
|
||||
|
||||
self.control['estop'] = self._gtk.ButtonImage('emergency', None, None, button_scale[0], button_scale[1])
|
||||
self.control['estop'].connect("clicked", self.emergency_stop)
|
||||
self.layout.put(self.control['estop'], int(self._screen.width/4*3 - button_scale[0]/2), 0)
|
||||
self.control_grid.attach(self.control['estop'], 0, 3, 1, 1)
|
||||
#self.layout.put(self.control['estop'], int(self._screen.width/4*3 - button_scale[0]/2), 0)
|
||||
|
||||
try:
|
||||
env = Environment(extensions=["jinja2.ext.i18n"])
|
||||
@@ -50,16 +63,19 @@ class ScreenPanel:
|
||||
logger.debug("Error parsing jinja for title: %s" % title)
|
||||
|
||||
self.title = Gtk.Label()
|
||||
self.title.set_size_request(self._screen.width, self.title_spacing)
|
||||
self.title.set_size_request(self._screen.width - action_bar_width, self.title_spacing)
|
||||
self.title.set_hexpand(True)
|
||||
self.title.set_halign(Gtk.Align.CENTER)
|
||||
self.title.set_valign(Gtk.Align.CENTER)
|
||||
self.set_title(title)
|
||||
self.layout.put(self.title, 0, 0)
|
||||
|
||||
|
||||
self.content = Gtk.Box(spacing=0)
|
||||
self.content.set_size_request(self._screen.width, self._screen.height - self.title_spacing)
|
||||
self.layout.put(self.content, 0, self.title_spacing)
|
||||
self.content.set_size_request(self._screen.width - action_bar_width, self._screen.height - self.title_spacing)
|
||||
|
||||
self.layout.put(self.control_grid, 0, 0)
|
||||
self.layout.put(self.title, action_bar_width, 0)
|
||||
self.layout.put(self.content, action_bar_width, self.title_spacing)
|
||||
|
||||
|
||||
def initialize(self, panel_name):
|
||||
@@ -81,12 +97,12 @@ class ScreenPanel:
|
||||
self._screen._ws.klippy.gcode_script(KlippyGcodes.HOME)
|
||||
|
||||
def menu_item_clicked(self, widget, panel, item):
|
||||
print("### Creating panel "+ item['panel'])
|
||||
print("### Creating panel "+ item['panel'] + " : %s %s" % (panel, item))
|
||||
if "items" in item:
|
||||
self._screen.show_panel(self._screen._cur_panels[-1] + '_' + item['name'], item['panel'], item['name'],
|
||||
self._screen.show_panel(self._screen._cur_panels[-1] + '_' + panel, item['panel'], item['name'],
|
||||
1, False, items=item['items'])
|
||||
return
|
||||
self._screen.show_panel(self._screen._cur_panels[-1] + '_' + item['name'], item['panel'], item['name'],
|
||||
self._screen.show_panel(self._screen._cur_panels[-1] + '_' + panel, item['panel'], item['name'],
|
||||
1, False)
|
||||
|
||||
def menu_return(self, widget, home=False):
|
||||
|
||||
@@ -0,0 +1,178 @@
|
||||
import asyncio
|
||||
import os, signal
|
||||
import json
|
||||
import logging
|
||||
import re
|
||||
import subprocess
|
||||
|
||||
from contextlib import suppress
|
||||
from threading import Thread
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.WifiManager")
|
||||
|
||||
RESCAN_INTERVAL = 120
|
||||
|
||||
class WifiManager(Thread):
|
||||
iw_regexes = [
|
||||
re.compile(r"^ESSID:\"(?P<essid>.*)\"$"),
|
||||
re.compile(r"^Protocol:(?P<protocol>.+)$"),
|
||||
re.compile(r"^Mode:(?P<mode>.+)$"),
|
||||
re.compile(r"^Frequency:(?P<frequency>[\d.]+) (?P<frequency_units>.+) \(Channel (?P<channel>\d+)\)$"),
|
||||
re.compile(r"^Encryption key:(?P<encryption>.+)$"),
|
||||
re.compile(r"^Quality=(?P<signal_quality>\d+)/(?P<signal_total>\d+)\s+Signal level=(?P<signal_level_dBm>.+) d.+$"),
|
||||
re.compile(r"^Signal level=(?P<signal_quality>\d+)/(?P<signal_total>\d+).*$")
|
||||
]
|
||||
networks_in_supplicant = []
|
||||
wpa = {
|
||||
"wpa": re.compile(r"IE:\ WPA\ Version\ 1$"),
|
||||
"wpa2": re.compile(r"IE:\ IEEE\ 802\.11i/WPA2\ Version\ 1$")
|
||||
}
|
||||
connected = False
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super().__init__(*args, **kwargs)
|
||||
self.loop = None
|
||||
self._poll_task = None
|
||||
self._scanning = False
|
||||
self.networks = {}
|
||||
self.read_wpa_supplicant()
|
||||
|
||||
def run(self):
|
||||
logger.debug("Setting up wifi event loop")
|
||||
self.loop = asyncio.new_event_loop()
|
||||
loop = self.loop
|
||||
asyncio.set_event_loop(loop)
|
||||
try:
|
||||
self._poll_task = asyncio.ensure_future(self._poll())
|
||||
loop.run_forever()
|
||||
loop.run_until_complete(loop.shutdown_asyncgens())
|
||||
|
||||
self._poll_task.cancel()
|
||||
with suppress(asyncio.CancelledError):
|
||||
loop.run_until_complete(self._poll_task)
|
||||
finally:
|
||||
loop.close()
|
||||
|
||||
def stop(self):
|
||||
self.loop.call_soon_threadsafe(self.loop.stop)
|
||||
|
||||
def stop_loop(self):
|
||||
loop.stop()
|
||||
|
||||
async def _poll(self):
|
||||
while True:
|
||||
try:
|
||||
await self.scan()
|
||||
await asyncio.sleep(RESCAN_INTERVAL)
|
||||
except:
|
||||
logger.exception("Poll wifi error")
|
||||
|
||||
def get_current_wifi(self, interface="wlan0"):
|
||||
p = subprocess.Popen(["iwconfig",interface], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
content = p.stdout.read().decode('utf-8').split('\n')
|
||||
|
||||
essid = None
|
||||
mac = None
|
||||
for line in content:
|
||||
match = re.match(r'^.*ESSID:"(.*)"$', line.strip())
|
||||
if match:
|
||||
essid = match.group(1)
|
||||
continue
|
||||
match = re.match(r'^.*Access\s+Point:\s+([0-9A-Fa-f:]+)$', line.strip())
|
||||
if match:
|
||||
mac = match.group(1)
|
||||
break
|
||||
|
||||
if essid is None or mac is None:
|
||||
self.connected = False
|
||||
return None
|
||||
self.connected = True
|
||||
return [essid, mac]
|
||||
|
||||
def get_network_info(self, essid=None, mac=None):
|
||||
if essid is not None and essid in self.networks:
|
||||
return self.networks[essid]
|
||||
if mac is not None and essid is None:
|
||||
for net in self.networks:
|
||||
if mac == net['mac']:
|
||||
return net
|
||||
return None
|
||||
|
||||
def get_networks(self):
|
||||
return list(self.networks)
|
||||
|
||||
def is_connected(self):
|
||||
return self.connected
|
||||
|
||||
def parse(self, data):
|
||||
aps = []
|
||||
lines = data.split('\n')
|
||||
|
||||
for line in lines:
|
||||
line = line.strip()
|
||||
match = re.match(r'^Cell\s+([0-9]+)\s+-\s+Address:\s+(?P<mac>[0-9A-Fa-f:]+)$', line)
|
||||
if match:
|
||||
aps.append({"mac":match.group(2)})
|
||||
continue
|
||||
if len(aps) < 1:
|
||||
continue
|
||||
for w, wreg in self.wpa.items():
|
||||
t = wreg.search(line)
|
||||
if t is not None:
|
||||
aps[-1].update({'encryption': w})
|
||||
for exp in self.iw_regexes:
|
||||
result = exp.search(line)
|
||||
if result is not None:
|
||||
if "encryption" in result.groupdict():
|
||||
if result.groupdict()['encryption'] == 'on' :
|
||||
aps[-1].update({'encryption': 'wep'})
|
||||
else:
|
||||
aps[-1].update({'encryption': 'off'})
|
||||
else:
|
||||
aps[-1].update(result.groupdict())
|
||||
return aps
|
||||
|
||||
def read_wpa_supplicant(self):
|
||||
wpaconf = "/etc/wpa_supplicant/wpa_supplicant.conf"
|
||||
if not os.path.exists(wpaconf):
|
||||
return None
|
||||
|
||||
regexes = [
|
||||
re.compile(r'^ssid\s*=\s*"(?P<ssid>.*)"$'),
|
||||
re.compile(r'^psk\s*=\s*"(?P<psk>.*)"$')
|
||||
]
|
||||
networks = []
|
||||
p = subprocess.Popen(["sudo","cat",wpaconf], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
contents = p.stdout.read().decode('utf-8').split('\n')
|
||||
|
||||
for line in contents:
|
||||
if re.match(r'^network\s*=\s*{$', line.strip()):
|
||||
networks.append({})
|
||||
continue
|
||||
if len(networks) < 1:
|
||||
continue
|
||||
for exp in regexes:
|
||||
result = exp.search(line.strip())
|
||||
if result is not None:
|
||||
networks[-1].update(result.groupdict())
|
||||
|
||||
self.networks_in_supplicant = []
|
||||
for network in networks:
|
||||
self.networks_in_supplicant.append(network)
|
||||
|
||||
async def scan(self, interface='wlan0'):
|
||||
logger.debug("Scanning %s" % interface)
|
||||
p = subprocess.Popen(["sudo","iwlist",interface,"scan"], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
aps = self.parse(p.stdout.read().decode('utf-8'))
|
||||
cur_info = self.get_current_wifi()
|
||||
|
||||
|
||||
self.networks = {}
|
||||
for ap in aps:
|
||||
self.networks[ap['essid']] = ap
|
||||
if cur_info is not None and cur_info[0] == ap['essid'] and cur_info[1] == ap['mac']:
|
||||
self.networks[ap['essid']]['connected'] = True
|
||||
for net in self.networks_in_supplicant:
|
||||
if ap['essid'] == net['ssid'] and "psk" in net:
|
||||
ap['psk'] = net['psk']
|
||||
break
|
||||
+11
-5
@@ -90,10 +90,16 @@ class BedLevelPanel(ScreenPanel):
|
||||
self.labels['fr'] = self._gtk.ButtonImage("bed-level-b-r", None, None, 3, 3)
|
||||
self.labels['fr'].connect("clicked", self.go_to_position, self.screws[1])
|
||||
|
||||
grid.attach(self.labels['bl'], 1, 0, 1, 1)
|
||||
grid.attach(self.labels['br'], 2, 0, 1, 1)
|
||||
grid.attach(self.labels['fl'], 1, 1, 1, 1)
|
||||
grid.attach(self.labels['fr'], 2, 1, 1, 1)
|
||||
if self._screen.lang_ltr:
|
||||
grid.attach(self.labels['bl'], 1, 0, 1, 1)
|
||||
grid.attach(self.labels['br'], 2, 0, 1, 1)
|
||||
grid.attach(self.labels['fl'], 1, 1, 1, 1)
|
||||
grid.attach(self.labels['fr'], 2, 1, 1, 1)
|
||||
else:
|
||||
grid.attach(self.labels['bl'], 2, 0, 1, 1)
|
||||
grid.attach(self.labels['br'], 1, 0, 1, 1)
|
||||
grid.attach(self.labels['fl'], 2, 1, 1, 1)
|
||||
grid.attach(self.labels['fr'], 1, 1, 1, 1)
|
||||
|
||||
self.labels['home'] = self._gtk.ButtonImage("home",_("Home All"),"color2")
|
||||
self.labels['home'].connect("clicked", self.home)
|
||||
@@ -146,7 +152,7 @@ class BedLevelPanel(ScreenPanel):
|
||||
data
|
||||
)
|
||||
if result:
|
||||
screw_labels = ['fl','fr','br','bl']
|
||||
screw_labels = ['fl','fr','bl','br']
|
||||
x = int(float(result.group(2)) + self.x_offset)
|
||||
y = int(float(result.group(3)) + self.y_offset)
|
||||
logger.debug(data)
|
||||
|
||||
+126
-8
@@ -19,6 +19,8 @@ class BedMeshPanel(ScreenPanel):
|
||||
def initialize(self, panel_name):
|
||||
_ = self.lang.gettext
|
||||
|
||||
self.show_create = False
|
||||
|
||||
scroll = Gtk.ScrolledWindow()
|
||||
scroll.set_property("overlay-scrolling", False)
|
||||
scroll.set_vexpand(True)
|
||||
@@ -27,17 +29,36 @@ class BedMeshPanel(ScreenPanel):
|
||||
self.labels['profiles'] = Gtk.Grid()
|
||||
scroll.add(self.labels['profiles'])
|
||||
|
||||
|
||||
addprofile = self._gtk.ButtonImage("increase"," %s" % _("Add bed mesh profile"),
|
||||
"color1", .5, .5, Gtk.PositionType.LEFT)
|
||||
addprofile.connect("clicked", self.show_create_profile)
|
||||
addprofile.set_size_request(60,0)
|
||||
addprofile.set_hexpand(False)
|
||||
addprofile.set_halign(Gtk.Align.END)
|
||||
abox = Gtk.Box(spacing=0)
|
||||
abox.set_vexpand(False)
|
||||
abox.add(addprofile)
|
||||
|
||||
# Create a box to contain all of the above
|
||||
box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=0)
|
||||
box.set_vexpand(True)
|
||||
box.pack_start(scroll, True, True, 0)
|
||||
box.pack_start(abox, False, False, 0)
|
||||
box.pack_end(scroll, True, True, 0)
|
||||
|
||||
self.load_meshes()
|
||||
|
||||
self.content.add(box)
|
||||
self.labels['main_box'] = box
|
||||
self.control['back'].disconnect_by_func(self._screen._menu_go_back)
|
||||
self.control['back'].connect("clicked", self.back)
|
||||
self.content.add(self.labels['main_box'])
|
||||
self._screen.add_subscription(panel_name)
|
||||
|
||||
def activate(self):
|
||||
for child in self.content.get_children():
|
||||
self.content.remove(child)
|
||||
self.content.add(self.labels['main_box'])
|
||||
|
||||
am = self._screen.printer.get_stat("bed_mesh","profile_name")
|
||||
self.activate_mesh(am)
|
||||
|
||||
@@ -47,7 +68,9 @@ class BedMeshPanel(ScreenPanel):
|
||||
|
||||
logger.debug("Activating profile: %s %s" % (self.active_mesh, profile))
|
||||
if profile != self.active_mesh:
|
||||
if self.active_mesh != None:
|
||||
if profile not in self.profiles:
|
||||
self.add_profile(profile)
|
||||
if self.active_mesh != None and self.active_mesh in self.profiles:
|
||||
a = self.profiles[self.active_mesh]
|
||||
a['buttons'].remove(a['refresh'])
|
||||
a['buttons'].pack_start(a['load'], False, False, 0)
|
||||
@@ -59,6 +82,8 @@ class BedMeshPanel(ScreenPanel):
|
||||
self._screen.show_all()
|
||||
|
||||
def add_profile(self, profile):
|
||||
_ = self.lang.gettext
|
||||
|
||||
frame = Gtk.Frame()
|
||||
frame.set_property("shadow-type",Gtk.ShadowType.NONE)
|
||||
|
||||
@@ -70,13 +95,13 @@ class BedMeshPanel(ScreenPanel):
|
||||
name.set_line_wrap(True)
|
||||
name.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
|
||||
|
||||
load = self._gtk.ButtonImage("load","Load","color2")
|
||||
load = self._gtk.ButtonImage("load",_("Load"),"color2")
|
||||
load.connect("clicked", self.send_load_mesh, profile)
|
||||
load.set_size_request(60,0)
|
||||
load.set_hexpand(False)
|
||||
load.set_halign(Gtk.Align.END)
|
||||
|
||||
refresh = self._gtk.ButtonImage("refresh","Calibrate","color4")
|
||||
refresh = self._gtk.ButtonImage("refresh",_("Calibrate"),"color4")
|
||||
refresh.connect("clicked", self.calibrate_mesh)
|
||||
refresh.set_size_request(60,0)
|
||||
refresh.set_hexpand(False)
|
||||
@@ -88,12 +113,18 @@ class BedMeshPanel(ScreenPanel):
|
||||
info.set_hexpand(False)
|
||||
info.set_halign(Gtk.Align.END)
|
||||
|
||||
save = self._gtk.ButtonImage("sd","Save","color3")
|
||||
save = self._gtk.ButtonImage("sd",_("Save"),"color3")
|
||||
save.connect("clicked", self.send_save_mesh, profile)
|
||||
save.set_size_request(60,0)
|
||||
save.set_hexpand(False)
|
||||
save.set_halign(Gtk.Align.END)
|
||||
|
||||
delete = self._gtk.ButtonImage("decrease",_("Delete"),"color3")
|
||||
delete.connect("clicked", self.send_remove_mesh, profile)
|
||||
delete.set_size_request(60,0)
|
||||
delete.set_hexpand(False)
|
||||
delete.set_halign(Gtk.Align.END)
|
||||
|
||||
labels = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
|
||||
labels.add(name)
|
||||
|
||||
@@ -116,6 +147,7 @@ class BedMeshPanel(ScreenPanel):
|
||||
|
||||
if profile != "default":
|
||||
buttons.pack_end(save, False, False, 0)
|
||||
buttons.pack_end(delete, False, False, 0)
|
||||
|
||||
dev.add(buttons)
|
||||
frame.add(dev)
|
||||
@@ -129,8 +161,11 @@ class BedMeshPanel(ScreenPanel):
|
||||
"save": save
|
||||
}
|
||||
|
||||
profiles = sorted(self.profiles)
|
||||
pos = profiles.index(profile)
|
||||
l = list(self.profiles)
|
||||
if "default" in l:
|
||||
l.remove('default')
|
||||
profiles = sorted(l)
|
||||
pos = profiles.index(profile)+1 if profile != "default" else 0
|
||||
|
||||
self.labels['profiles'].insert_row(pos)
|
||||
self.labels['profiles'].attach(self.profiles[profile]['row'], 0, pos, 1, 1)
|
||||
@@ -138,6 +173,20 @@ class BedMeshPanel(ScreenPanel):
|
||||
|
||||
#Gdk.threads_add_idle(GLib.PRIORITY_LOW, self.create_graph, profile)
|
||||
|
||||
def back(self, widget):
|
||||
if self.show_create == True:
|
||||
self.remove_create()
|
||||
else:
|
||||
self._screen._menu_go_back()
|
||||
|
||||
def create_profile(self, widget):
|
||||
name = self.labels['profile_name'].get_text()
|
||||
if " " in name:
|
||||
name = '"%s"' % name
|
||||
|
||||
self._screen._ws.klippy.gcode_script("BED_MESH_PROFILE SAVE=%s" % name)
|
||||
self.remove_create()
|
||||
|
||||
def calibrate_mesh(self, widget):
|
||||
self._screen._ws.klippy.gcode_script(
|
||||
"BED_MESH_CALIBRATE"
|
||||
@@ -155,6 +204,30 @@ class BedMeshPanel(ScreenPanel):
|
||||
if data['bed_mesh']['profile_name'] != self.active_mesh:
|
||||
self.activate_mesh(data['bed_mesh']['profile_name'])
|
||||
|
||||
def remove_create(self):
|
||||
if self.show_create == False:
|
||||
return
|
||||
|
||||
self._screen.remove_keyboard()
|
||||
for child in self.content.get_children():
|
||||
self.content.remove(child)
|
||||
|
||||
self.show_create = False
|
||||
self.content.add(self.labels['main_box'])
|
||||
self.content.show()
|
||||
|
||||
def remove_profile(self, profile):
|
||||
if profile not in self.profiles:
|
||||
return
|
||||
|
||||
l = list(self.profiles)
|
||||
if "default" in l:
|
||||
l.remove('default')
|
||||
profiles = sorted(l)
|
||||
pos = profiles.index(profile)+1 if profile != "default" else 0
|
||||
self.labels['profiles'].remove_row(pos)
|
||||
del self.profiles[profile]
|
||||
|
||||
def send_load_mesh(self, widget, profile):
|
||||
self._screen._ws.klippy.gcode_script(
|
||||
KlippyGcodes.bed_mesh_load(profile)
|
||||
@@ -165,6 +238,51 @@ class BedMeshPanel(ScreenPanel):
|
||||
KlippyGcodes.bed_mesh_save(profile)
|
||||
)
|
||||
|
||||
def send_remove_mesh(self, widget, profile):
|
||||
self._screen._ws.klippy.gcode_script(
|
||||
KlippyGcodes.bed_mesh_remove(profile)
|
||||
)
|
||||
self.remove_profile(profile)
|
||||
|
||||
def show_create_profile(self, widget):
|
||||
_ = self.lang.gettext
|
||||
|
||||
for child in self.content.get_children():
|
||||
self.content.remove(child)
|
||||
|
||||
if "create_profile" not in self.labels:
|
||||
self.labels['create_profile'] = Gtk.VBox()
|
||||
self.labels['create_profile'].set_valign(Gtk.Align.START)
|
||||
|
||||
box = Gtk.Box(spacing=5)
|
||||
box.set_size_request(self._gtk.get_content_width(), self._gtk.get_content_height() -
|
||||
self._screen.keyboard_height - 20)
|
||||
box.set_hexpand(True)
|
||||
box.set_vexpand(False)
|
||||
self.labels['create_profile'].add(box)
|
||||
|
||||
l = self._gtk.Label(_("Profile Name:"))
|
||||
l.set_hexpand(False)
|
||||
entry = Gtk.Entry()
|
||||
entry.set_hexpand(True)
|
||||
|
||||
save = self._gtk.ButtonImage("sd",_("Save"),"color3")
|
||||
save.set_hexpand(False)
|
||||
save.connect("clicked", self.create_profile)
|
||||
|
||||
|
||||
self.labels['profile_name'] = entry
|
||||
box.pack_start(l, False, False, 5)
|
||||
box.pack_start(entry, True, True, 5)
|
||||
box.pack_start(save, False, False, 5)
|
||||
|
||||
self.show_create = True
|
||||
self.labels['profile_name'].set_text('')
|
||||
self.content.add(self.labels['create_profile'])
|
||||
self.content.show()
|
||||
self._screen.show_keyboard()
|
||||
self.labels['profile_name'].grab_focus_without_selecting()
|
||||
|
||||
def show_mesh(self, widget, profile):
|
||||
_ = self.lang.gettext
|
||||
|
||||
|
||||
+8
-4
@@ -64,9 +64,11 @@ class ExtrudePanel(ScreenPanel):
|
||||
self.labels["dist"+str(i)] = self._gtk.ToggleButton(i)
|
||||
self.labels["dist"+str(i)].connect("clicked", self.change_distance, i)
|
||||
ctx = self.labels["dist"+str(i)].get_style_context()
|
||||
if j == 0:
|
||||
if ((self._screen.lang_ltr == True and j == 0) or
|
||||
(self._screen.lang_ltr == False and j == len(self.distances)-1)):
|
||||
ctx.add_class("distbutton_top")
|
||||
elif j == len(self.distances)-1:
|
||||
elif ((self._screen.lang_ltr == False and j == 0) or
|
||||
(self._screen.lang_ltr == True and j == len(self.distances)-1)):
|
||||
ctx.add_class("distbutton_bottom")
|
||||
else:
|
||||
ctx.add_class("distbutton")
|
||||
@@ -82,9 +84,11 @@ class ExtrudePanel(ScreenPanel):
|
||||
self.labels["speed"+str(i)] = self._gtk.ToggleButton(_(i))
|
||||
self.labels["speed"+str(i)].connect("clicked", self.change_speed, i)
|
||||
ctx = self.labels["speed"+str(i)].get_style_context()
|
||||
if j == 0:
|
||||
if ((self._screen.lang_ltr == True and j == 0) or
|
||||
(self._screen.lang_ltr == False and j == len(self.speeds)-1)):
|
||||
ctx.add_class("distbutton_top")
|
||||
elif j == len(self.speeds)-1:
|
||||
elif ((self._screen.lang_ltr == False and j == 0) or
|
||||
(self._screen.lang_ltr == True and j == len(self.speeds)-1)):
|
||||
ctx.add_class("distbutton_bottom")
|
||||
else:
|
||||
ctx.add_class("distbutton")
|
||||
|
||||
@@ -84,13 +84,16 @@ class MacroPanel(ScreenPanel):
|
||||
def load_gcode_macros(self):
|
||||
macros = self._screen.printer.get_gcode_macros()
|
||||
for x in macros:
|
||||
macro = x[12:]
|
||||
macro = x[12:].strip()
|
||||
|
||||
if macro in self.loaded_macros:
|
||||
continue
|
||||
|
||||
logger.debug("Evaluating '%s' value '%s'" % (macro.strip().lower(),
|
||||
self._config.get_config().getboolean("displayed_macros", macro.lower(), fallback=True)))
|
||||
|
||||
if ("displayed_macros" not in self._config.get_config().sections() or
|
||||
self._config.get_config().getboolean("displayed_macros", macro, fallback=True)):
|
||||
self._config.get_config().getboolean("displayed_macros", macro.lower(), fallback=True)):
|
||||
self.add_gcode_macro(macro)
|
||||
|
||||
def run_gcode_macro(self, widget, macro):
|
||||
@@ -98,8 +101,10 @@ class MacroPanel(ScreenPanel):
|
||||
|
||||
def unload_gcode_macros(self):
|
||||
for macro in self.loaded_macros:
|
||||
logger.debug("Evaluating '%s' value '%s'" % (macro.strip().lower(),
|
||||
self._config.get_config().getboolean("displayed_macros", macro.lower(), fallback=True)))
|
||||
if ("displayed_macros" in self._config.get_config().sections() and
|
||||
not self._config.get_config().getboolean("displayed_macros", macro, fallback=True)):
|
||||
not self._config.get_config().getboolean("displayed_macros", macro.lower(), fallback=True)):
|
||||
macros = sorted(self.macros)
|
||||
pos = macros.index(macro)
|
||||
self.labels['macros'].remove_row(pos)
|
||||
|
||||
+28
-12
@@ -24,6 +24,7 @@ class JobStatusPanel(ScreenPanel):
|
||||
_ = self.lang.gettext
|
||||
self.layout = Gtk.Layout()
|
||||
self.layout.set_size(self._screen.width, self._screen.height)
|
||||
self.timeleft_type = "file"
|
||||
|
||||
self.create_buttons()
|
||||
|
||||
@@ -322,7 +323,7 @@ class JobStatusPanel(ScreenPanel):
|
||||
self.disable_button("pause","resume","cancel")
|
||||
self._screen._ws.klippy.print_cancel(self._response_callback)
|
||||
|
||||
def _response_callback(self, response, method, params, func, *args):
|
||||
def _response_callback(self, response, method, params, func=None, *args):
|
||||
if func == "enable_button":
|
||||
self.enable_button(*args)
|
||||
|
||||
@@ -416,7 +417,7 @@ class JobStatusPanel(ScreenPanel):
|
||||
if self.filename != ps['filename']:
|
||||
if ps['filename'] != "":
|
||||
self.filename = ps['filename']
|
||||
self.file_metadata = None
|
||||
self.file_metadata = {}
|
||||
self.update_text("file", self.filename.split("/")[-1])
|
||||
else:
|
||||
file = "Unknown"
|
||||
@@ -435,18 +436,33 @@ class JobStatusPanel(ScreenPanel):
|
||||
self.progress = progress
|
||||
self.labels['darea'].queue_draw()
|
||||
|
||||
if ps['print_duration'] == 0:
|
||||
time_left = self.file_metadata['estimated_time'] if "estimated_time" in self.file_metadata else 0
|
||||
else:
|
||||
est_time = self.file_metadata['estimated_time'] if "estimated_time" in self.file_metadata else 0
|
||||
time_left = max(
|
||||
est_time - ps['print_duration'] ,
|
||||
0 #ps['print_duration'] / (vsd['progress'] if vsd['progress'] != 0 else 1)
|
||||
)
|
||||
|
||||
self.update_text("duration", str(self._gtk.formatTimeString(ps['print_duration'])))
|
||||
|
||||
timeleft_type = self._config.get_config()['main'].get('print_estimate_method','file')
|
||||
|
||||
if timeleft_type != self.timeleft_type:
|
||||
if self.timeleft_type == "duration":
|
||||
self.labels['it_box'].add(self.labels['est_time'])
|
||||
elif timeleft_type == "duration":
|
||||
self.labels['it_box'].remove(self.labels['est_time'])
|
||||
self.timeleft_type = timeleft_type
|
||||
|
||||
if timeleft_type in ['filament','file','slicer']:
|
||||
duration = ps['print_duration']
|
||||
if timeleft_type == "filament":
|
||||
estimated_filament = (self.file_metadata['filament_total'] if "filament_total" in self.file_metadata
|
||||
else 1)
|
||||
total_duration = duration / (max(ps['filament_used'],0.0001) / max(estimated_filament, 0.0001))
|
||||
elif timeleft_type == "file":
|
||||
total_duration = duration / max(self.progress, 0.0001)
|
||||
elif timeleft_type == "slicer":
|
||||
total_duration = (self.file_metadata['estimated_time'] if "estimated_time" in self.file_metadata
|
||||
else duration)
|
||||
|
||||
time_left = max(total_duration - duration, 0)
|
||||
self.update_text("time_left", str(self._gtk.formatTimeString(time_left)))
|
||||
self.update_progress()
|
||||
|
||||
self.update_progress()
|
||||
|
||||
if "pause_resume" in data and self.state != "complete":
|
||||
if self.state == "paused" and data['pause_resume']['is_paused'] == False:
|
||||
|
||||
+10
-11
@@ -12,14 +12,15 @@ def create_panel(*args):
|
||||
return MainPanel(*args)
|
||||
|
||||
class MainPanel(MenuPanel):
|
||||
def __init__(self, screen, title, back=False):
|
||||
super().__init__(screen, title, False)
|
||||
|
||||
def initialize(self, panel_name, items, extrudercount):
|
||||
print("### Making MainMenu")
|
||||
|
||||
self.layout = Gtk.Layout()
|
||||
self.layout.set_size(self._screen.width, self._screen.height)
|
||||
grid = self._gtk.HomogeneousGrid()
|
||||
grid.set_size_request(self._screen.width, self._screen.height)
|
||||
grid.set_hexpand(True)
|
||||
grid.set_vexpand(True)
|
||||
|
||||
# Create Extruders and bed icons
|
||||
eq_grid = self._gtk.HomogeneousGrid()
|
||||
@@ -29,7 +30,7 @@ class MainPanel(MenuPanel):
|
||||
if i > 3:
|
||||
break
|
||||
self.labels[x] = self._gtk.ButtonImage("extruder-"+str(i), self._gtk.formatTemperatureString(0, 0))
|
||||
col = 0 if len(self._printer.get_tools()) == 1 else (i%2 if self._screen.lang_ltr else 1 - i%2)
|
||||
col = 0 if len(self._printer.get_tools()) == 1 else i%2
|
||||
row = i/2
|
||||
eq_grid.attach(self.labels[x], col, row, 1, 1)
|
||||
i += 1
|
||||
@@ -47,12 +48,8 @@ class MainPanel(MenuPanel):
|
||||
self.grid.set_row_homogeneous(True)
|
||||
self.grid.set_column_homogeneous(True)
|
||||
|
||||
if self._screen.lang_ltr:
|
||||
grid.attach(eq_grid, 0, 0, 1, 1)
|
||||
grid.attach(self.arrangeMenuItems(items, 2, True), 1, 0, 1, 1)
|
||||
else:
|
||||
grid.attach(eq_grid, 1, 0, 1, 1)
|
||||
grid.attach(self.arrangeMenuItems(items, 2, True), 0, 0, 1, 1)
|
||||
grid.attach(eq_grid, 0, 0, 1, 1)
|
||||
grid.attach(self.arrangeMenuItems(items, 2, True), 1, 0, 1, 1)
|
||||
|
||||
self.grid = grid
|
||||
|
||||
@@ -60,7 +57,9 @@ class MainPanel(MenuPanel):
|
||||
"heater_bed": 0,
|
||||
"extruder": 0
|
||||
}
|
||||
self.layout.put(grid, 0, 0)
|
||||
|
||||
self.content.add(self.grid)
|
||||
self.layout.show_all()
|
||||
|
||||
self._screen.add_subscription(panel_name)
|
||||
|
||||
|
||||
+5
-4
@@ -28,6 +28,9 @@ class MenuPanel(ScreenPanel):
|
||||
|
||||
def activate(self):
|
||||
self.j2_data = self._printer.get_printer_status_data()
|
||||
self.j2_data.update({
|
||||
'moonraker_connected': self._screen._ws.is_connected()
|
||||
})
|
||||
self.arrangeMenuItems(self.items, 4)
|
||||
|
||||
def arrangeMenuItems (self, items, columns, expandLast=False):
|
||||
@@ -42,14 +45,12 @@ class MenuPanel(ScreenPanel):
|
||||
if not self.evaluate_enable(item[key]['enable']):
|
||||
continue
|
||||
|
||||
col = i % columns if self._screen.lang_ltr == True else (columns - (i % columns) - 1)
|
||||
col = i % columns
|
||||
row = int(i/columns)
|
||||
width = 1
|
||||
|
||||
if expandLast == True and i+1 == l and l%2 == 1:
|
||||
width = 2
|
||||
if not self._screen.lang_ltr:
|
||||
col = col - 1
|
||||
|
||||
self.grid.attach(self.labels[key], col, row, width, 1)
|
||||
i += 1
|
||||
@@ -89,7 +90,7 @@ class MenuPanel(ScreenPanel):
|
||||
|
||||
try:
|
||||
logger.debug("Template: '%s'" % enable)
|
||||
logger.debug("Date: %s" % self.j2_data)
|
||||
logger.debug("Data: %s" % self.j2_data)
|
||||
j2_temp = Template(enable)
|
||||
result = j2_temp.render(self.j2_data)
|
||||
if result == 'True':
|
||||
|
||||
+11
-6
@@ -40,9 +40,12 @@ class MovePanel(ScreenPanel):
|
||||
self.labels['home'] = self._gtk.ButtonImage("home", _("Home All"))
|
||||
self.labels['home'].connect("clicked", self.home)
|
||||
|
||||
|
||||
grid.attach(self.labels['x+'], 2, 1, 1, 1)
|
||||
grid.attach(self.labels['x-'], 0, 1, 1, 1)
|
||||
if self._screen.lang_ltr:
|
||||
grid.attach(self.labels['x+'], 2, 1, 1, 1)
|
||||
grid.attach(self.labels['x-'], 0, 1, 1, 1)
|
||||
else:
|
||||
grid.attach(self.labels['x+'], 0, 1, 1, 1)
|
||||
grid.attach(self.labels['x-'], 2, 1, 1, 1)
|
||||
grid.attach(self.labels['y+'], 1, 0, 1, 1)
|
||||
grid.attach(self.labels['y-'], 1, 1, 1, 1)
|
||||
grid.attach(self.labels['z+'], 3, 0, 1, 1)
|
||||
@@ -54,11 +57,12 @@ class MovePanel(ScreenPanel):
|
||||
j = 0;
|
||||
for i in self.distances:
|
||||
self.labels[i] = self._gtk.ToggleButton(i)
|
||||
self.labels[i].set_direction(Gtk.TextDirection.LTR)
|
||||
self.labels[i].connect("clicked", self.change_distance, i)
|
||||
ctx = self.labels[i].get_style_context()
|
||||
if j == 0:
|
||||
if (self._screen.lang_ltr and j == 0) or (not self._screen.lang_ltr and j == len(self.distances)-1):
|
||||
ctx.add_class("distbutton_top")
|
||||
elif j == len(self.distances)-1:
|
||||
elif (not self._screen.lang_ltr and j == 0) or (self._screen.lang_ltr and j == len(self.distances)-1):
|
||||
ctx.add_class("distbutton_bottom")
|
||||
else:
|
||||
ctx.add_class("distbutton")
|
||||
@@ -76,6 +80,7 @@ class MovePanel(ScreenPanel):
|
||||
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")
|
||||
self.labels['pos_y'] = Gtk.Label("Y: 0")
|
||||
self.labels['pos_z'] = Gtk.Label("Z: 0")
|
||||
@@ -118,7 +123,7 @@ class MovePanel(ScreenPanel):
|
||||
self.labels[str(i)].set_active(False)
|
||||
|
||||
def move(self, widget, axis, dir):
|
||||
if self._config.get_config().getboolean("main", "invert_%s" % axis.lower(), False):
|
||||
if self._config.get_config()['main'].getboolean("invert_%s" % axis.lower(), False):
|
||||
dir = "-" if dir == "+" else "+"
|
||||
|
||||
dist = str(self.distance) if dir == "+" else "-" + str(self.distance)
|
||||
|
||||
+142
-7
@@ -1,9 +1,10 @@
|
||||
import gi
|
||||
import logging
|
||||
import os
|
||||
import re
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, Gdk, GLib
|
||||
from gi.repository import Gtk, Gdk, GLib, Pango
|
||||
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
@@ -13,6 +14,10 @@ def create_panel(*args):
|
||||
return NetworkPanel(*args)
|
||||
|
||||
class NetworkPanel(ScreenPanel):
|
||||
networks = {}
|
||||
network_list = []
|
||||
interface = "wlan0"
|
||||
|
||||
def initialize(self, menu):
|
||||
_ = self.lang.gettext
|
||||
grid = self._gtk.HomogeneousGrid()
|
||||
@@ -25,12 +30,142 @@ class NetworkPanel(ScreenPanel):
|
||||
stream = os.popen('hostname -I')
|
||||
ip = stream.read()
|
||||
|
||||
self.labels['networks'] = {}
|
||||
|
||||
self.labels['interface'] = Gtk.Label()
|
||||
self.labels['interface'].set_text(" %s: %s" % (_("Interface"), self.interface))
|
||||
self.labels['disconnect'] = self._gtk.Button(_("Disconnect"), "color2")
|
||||
|
||||
|
||||
self.labels['networkinfo'] = Gtk.Label(
|
||||
_("Network Info") + "\n\n%s%s" % (hostname, ip)
|
||||
)
|
||||
self.labels['networkinfo'].get_style_context().add_class('temperature_entry')
|
||||
grid.attach(self.labels['networkinfo'], 1, 0, 1, 1)
|
||||
sbox = Gtk.Box()
|
||||
sbox.set_hexpand(True)
|
||||
sbox.set_vexpand(False)
|
||||
sbox.add(self.labels['interface'])
|
||||
#sbox.add(self.labels['disconnect'])
|
||||
|
||||
self.content.add(grid)
|
||||
|
||||
scroll = Gtk.ScrolledWindow()
|
||||
scroll.set_property("overlay-scrolling", False)
|
||||
scroll.set_vexpand(True)
|
||||
|
||||
box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=0)
|
||||
box.set_vexpand(True)
|
||||
box.pack_start(sbox, False, False, 0)
|
||||
box.pack_start(scroll, True, True, 0)
|
||||
|
||||
self.labels['networklist'] = Gtk.Grid()
|
||||
self.files = {}
|
||||
|
||||
GLib.idle_add(self.load_networks)
|
||||
|
||||
scroll.add(self.labels['networklist'])
|
||||
|
||||
#self.labels['networkinfo'] = Gtk.Label(
|
||||
# _("Network Info") + "\n\n%s%s" % (hostname, ip)
|
||||
#)
|
||||
#self.labels['networkinfo'].get_style_context().add_class('temperature_entry')
|
||||
#grid.attach(self.labels['networkinfo'], 1, 0, 1, 1)
|
||||
|
||||
self.content.add(box)
|
||||
|
||||
def load_networks(self):
|
||||
networks = self._screen.wifi.get_networks()
|
||||
for net in networks:
|
||||
self.add_network(net, False)
|
||||
|
||||
self.content.show_all()
|
||||
|
||||
def add_network(self, essid, show=True):
|
||||
_ = self.lang.gettext
|
||||
|
||||
netinfo = self._screen.wifi.get_network_info(essid)
|
||||
if netinfo == None:
|
||||
return
|
||||
|
||||
# For now, only add connected network
|
||||
if "connected" not in netinfo:
|
||||
return
|
||||
|
||||
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>" % (essid))
|
||||
name.set_hexpand(True)
|
||||
name.set_halign(Gtk.Align.START)
|
||||
name.set_line_wrap(True)
|
||||
name.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
|
||||
|
||||
stream = os.popen('ip add show dev %s' % self.interface)
|
||||
content = stream.read()
|
||||
ipv4_re = re.compile(r'inet ([0-9\.]+)/[0-9]+', re.MULTILINE)
|
||||
ipv6_re = re.compile(r'inet6 ([a-fA-F0-9:\.]+)/[0-9+]', re.MULTILINE)
|
||||
match = ipv4_re.search(content)
|
||||
ipv4 = ""
|
||||
if match:
|
||||
ipv4 = "<b>%s:</b> %s " % (_("IPv4"), match.group(1))
|
||||
match = ipv6_re.search(content)
|
||||
ipv6 = ""
|
||||
if match:
|
||||
ipv6 = "<b>%s:</b> %s " % (_("IPv6"), match.group(1))
|
||||
|
||||
|
||||
stream = os.popen('hostname -f')
|
||||
hostname = stream.read().strip()
|
||||
|
||||
connected = ""
|
||||
if "connected" in netinfo:
|
||||
connected = "<b>%s</b>\n<b>%s:</b> %s\n%s%s\n" % (_("Connected"),_("Hostname"),hostname, ipv4, ipv6)
|
||||
elif "psk" in netinfo:
|
||||
connected = "Password saved."
|
||||
freq = "2.4 GHz" if netinfo['frequency'][0:1] == "2" else "5 Ghz"
|
||||
info = Gtk.Label()
|
||||
info.set_markup("%s%s <small>%s %s %s %s%s</small>" % ( connected,
|
||||
"" if netinfo['encryption'] == "off" else netinfo['encryption'].upper(),
|
||||
freq, _("Channel"), netinfo['channel'], netinfo['signal_level_dBm'], _("dBm")
|
||||
))
|
||||
info.set_halign(Gtk.Align.START)
|
||||
#info.set_markup(self.get_file_info_str(essid))
|
||||
labels = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
|
||||
labels.add(name)
|
||||
labels.add(info)
|
||||
labels.set_vexpand(True)
|
||||
labels.set_valign(Gtk.Align.CENTER)
|
||||
labels.set_halign(Gtk.Align.START)
|
||||
|
||||
actions = self._gtk.ButtonImage("print",None,"color3")
|
||||
#actions.connect("clicked", self.confirm_print, essid)
|
||||
actions.set_hexpand(False)
|
||||
actions.set_halign(Gtk.Align.END)
|
||||
|
||||
network = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=5)
|
||||
network.set_hexpand(True)
|
||||
network.set_vexpand(False)
|
||||
|
||||
network.add(labels)
|
||||
if not "connected" in netinfo:
|
||||
network.add(actions)
|
||||
|
||||
self.networks[essid] = frame
|
||||
frame.add(network)
|
||||
|
||||
reverse = False
|
||||
nets = sorted(self.networks, reverse=reverse)
|
||||
pos = nets.index(essid)
|
||||
if "connected" in netinfo:
|
||||
pos = 0
|
||||
elif self._screen.wifi.is_connected():
|
||||
pos += 1
|
||||
|
||||
self.labels['networks'][essid] = {
|
||||
"info": info,
|
||||
"name": name,
|
||||
"row": network
|
||||
}
|
||||
|
||||
self.labels['networklist'].insert_row(pos)
|
||||
self.labels['networklist'].attach(self.networks[essid], 0, pos, 1, 1)
|
||||
if show == True:
|
||||
self.labels['networklist'].show_all()
|
||||
+61
-11
@@ -1,3 +1,4 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import gi
|
||||
import humanize
|
||||
import logging
|
||||
@@ -16,36 +17,63 @@ def create_panel(*args):
|
||||
|
||||
class PrintPanel(ScreenPanel):
|
||||
def initialize(self, panel_name):
|
||||
_ = self.lang.gettext
|
||||
self.labels['files'] = {}
|
||||
self.sort_items = {
|
||||
"name": _("Name"),
|
||||
"date": _("Date")
|
||||
}
|
||||
self.sort_char = ["↑","↓"]
|
||||
|
||||
sortdir = self._config.get_main_config_option("print_sort_dir","name_asc")
|
||||
sortdir = sortdir.split('_')
|
||||
if sortdir[0] not in ["name","date"] or sortdir[1] not in ["asc","desc"]:
|
||||
sortdir = ["name","asc"]
|
||||
self.sort_current = [sortdir[0], 0 if sortdir[1] == "asc" else 1] # 0 for asc, 1 for desc
|
||||
|
||||
scroll = Gtk.ScrolledWindow()
|
||||
scroll.set_property("overlay-scrolling", False)
|
||||
scroll.set_vexpand(True)
|
||||
|
||||
sort = Gtk.Label()
|
||||
sort.set_text(_("Sort by: "))
|
||||
sbox = Gtk.Box(spacing=0)
|
||||
sbox.set_vexpand(False)
|
||||
sbox.add(sort)
|
||||
i = 1
|
||||
for name, val in self.sort_items.items():
|
||||
s = self._gtk.Button(val, "color%s" % (i%4))
|
||||
s.set_label(val)
|
||||
if name == sortdir[0]:
|
||||
s.set_label("%s %s" % (s.get_label(), self.sort_char[self.sort_current[1]]))
|
||||
s.connect("clicked", self.change_sort, name)
|
||||
self.labels['sort_%s' % name] = s
|
||||
sbox.add(s)
|
||||
i += 1
|
||||
sbox.set_hexpand(True)
|
||||
sbox.set_vexpand(False)
|
||||
|
||||
box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=0)
|
||||
box.set_vexpand(True)
|
||||
box.pack_start(sbox, False, False, 0)
|
||||
box.pack_start(scroll, True, True, 0)
|
||||
|
||||
self.labels['filelist'] = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
|
||||
self.labels['filelist'].set_vexpand(True)
|
||||
|
||||
#self.labels['filelist'] = Gtk.Grid(orientation=Gtk.Orientation.VERTICAL)
|
||||
#self.labels['filelist'].set_vexpand(True)
|
||||
self.labels['filelist'] = Gtk.Grid()
|
||||
|
||||
self.files = {}
|
||||
self.reload_files()
|
||||
|
||||
GLib.idle_add(self.reload_files)
|
||||
|
||||
scroll.add(self.labels['filelist'])
|
||||
|
||||
self.content.add(box)
|
||||
|
||||
self._screen.files.add_file_callback(self._callback)
|
||||
|
||||
|
||||
return
|
||||
|
||||
def add_file(self, filename):
|
||||
def add_file(self, filename, show=True):
|
||||
fileinfo = self._screen.files.get_file_info(filename)
|
||||
if fileinfo == None:
|
||||
return
|
||||
@@ -94,7 +122,13 @@ class PrintPanel(ScreenPanel):
|
||||
frame.add(file)
|
||||
|
||||
self.files[filename] = frame
|
||||
files = sorted(self.files)
|
||||
|
||||
reverse = False if self.sort_current[1] == 0 else True
|
||||
if self.sort_current[0] == "date":
|
||||
files = sorted(self.files, reverse=reverse,
|
||||
key=lambda item: self._screen.files.get_file_info(item)['modified'])
|
||||
else:
|
||||
files = sorted(self.files, reverse=reverse)
|
||||
pos = files.index(filename)
|
||||
|
||||
self.labels['files'][filename] = {
|
||||
@@ -105,7 +139,22 @@ class PrintPanel(ScreenPanel):
|
||||
|
||||
self.labels['filelist'].insert_row(pos)
|
||||
self.labels['filelist'].attach(self.files[filename], 0, pos, 1, 1)
|
||||
self.labels['filelist'].show_all()
|
||||
if show == True:
|
||||
self.labels['filelist'].show_all()
|
||||
|
||||
def change_sort(self, widget, key):
|
||||
if self.sort_current[0] == key:
|
||||
self.sort_current[1] = (self.sort_current[1] + 1) % 2
|
||||
else:
|
||||
oldkey = self.sort_current[0]
|
||||
logger.info("Changing %s to %s" % ('sort_%s' % oldkey, self.sort_items[self.sort_current[0]]))
|
||||
self.labels['sort_%s' % oldkey].set_label("%s" % self.sort_items[oldkey])
|
||||
self.labels['sort_%s' % oldkey].show_all()
|
||||
self.sort_current = [key, 0]
|
||||
self.labels['sort_%s' % key].set_label("%s %s" % (self.sort_items[key], self.sort_char[self.sort_current[1]]))
|
||||
self.labels['sort_%s' % key].show()
|
||||
|
||||
GLib.idle_add(self.reload_files)
|
||||
|
||||
def get_file_info_str(self, filename):
|
||||
_ = self.lang.gettext
|
||||
@@ -172,8 +221,9 @@ class PrintPanel(ScreenPanel):
|
||||
self.labels['filelist'].show_all()
|
||||
|
||||
for file in self._screen.files.get_file_list():
|
||||
#TODO: Change priority on this
|
||||
GLib.idle_add(self.add_file, file)
|
||||
self.add_file(file, False)
|
||||
|
||||
self.labels['filelist'].show_all()
|
||||
|
||||
def _callback(self, newfiles, deletedfiles, updatedfiles=[]):
|
||||
logger.debug("newfiles: %s", newfiles)
|
||||
|
||||
+36
-7
@@ -23,17 +23,17 @@ class SettingsPanel(ScreenPanel):
|
||||
self.labels['main_box'] = self.create_box('main')
|
||||
self.labels['macros_box'] = self.create_box('macros')
|
||||
|
||||
options = self._config.get_configurable_options()
|
||||
options = self._config.get_configurable_options().copy()
|
||||
options.append({"macros": {
|
||||
"name": _("Displayed Macros"),
|
||||
"type": "menu",
|
||||
"menu": "macros"}
|
||||
})
|
||||
|
||||
for option in options:
|
||||
name = list(option)[0]
|
||||
self.add_option('main', self.settings, name, option[name])
|
||||
|
||||
self.add_option('main', self.settings, "macros", {
|
||||
"name": _("Displayed Macros"),
|
||||
"type": "menu",
|
||||
"menu": "macros"
|
||||
})
|
||||
|
||||
for macro in self._printer.get_config_section_list("gcode_macro "):
|
||||
macro = macro[12:]
|
||||
self.macros[macro] = {
|
||||
@@ -120,6 +120,20 @@ class SettingsPanel(ScreenPanel):
|
||||
switch.set_property("height-request", round(self._gtk.get_image_height()*1.25))
|
||||
box.add(switch)
|
||||
dev.add(box)
|
||||
elif option['type'] == "dropdown":
|
||||
dropdown = Gtk.ComboBoxText()
|
||||
i = 0
|
||||
for opt in option['options']:
|
||||
dropdown.append(opt['value'], opt['name'])
|
||||
if opt['value'] == self._config.get_config()[option['section']].get(opt_name, option['value']):
|
||||
dropdown.set_active(i)
|
||||
i += 1
|
||||
dropdown.connect("changed", self.on_dropdown_change, option['section'], opt_name,
|
||||
option['callback'] if "callback" in option else None)
|
||||
#dropdown.props.relief = Gtk.ReliefStyle.NONE
|
||||
dropdown.set_entry_text_column(0)
|
||||
dev.add(dropdown)
|
||||
logger.debug("Children: %s" % dropdown.get_children())
|
||||
elif option['type'] == "menu":
|
||||
open = self._gtk.ButtonImage("open",None,"color3")
|
||||
open.connect("clicked", self.load_menu, option['menu'])
|
||||
@@ -128,12 +142,15 @@ class SettingsPanel(ScreenPanel):
|
||||
dev.add(open)
|
||||
|
||||
frame.add(dev)
|
||||
frame.show_all()
|
||||
|
||||
opt_array[opt_name] = {
|
||||
"name": option['name'],
|
||||
"row": frame
|
||||
}
|
||||
|
||||
opts = sorted(opt_array)
|
||||
opts = sorted(list(opt_array), key=lambda x: opt_array[x]['name'])
|
||||
pos = opts.index(opt_name)
|
||||
|
||||
self.labels[boxname].insert_row(pos)
|
||||
@@ -162,6 +179,18 @@ class SettingsPanel(ScreenPanel):
|
||||
self.content.add(self.labels[self.menu[-1]])
|
||||
self.content.show_all()
|
||||
|
||||
def on_dropdown_change(self, combo, section, option, callback=None):
|
||||
tree_iter = combo.get_active_iter()
|
||||
if tree_iter is not None:
|
||||
model = combo.get_model()
|
||||
value = model[tree_iter][1]
|
||||
logger.debug("[%s] %s changed to %s" % (section, option, value))
|
||||
self._config.set(section, option, value)
|
||||
self._config.save_user_config_options()
|
||||
if callback is not None:
|
||||
callback(value)
|
||||
|
||||
|
||||
def switch_config_option(self, switch, gparam, section, option):
|
||||
logger.debug("[%s] %s toggled %s" % (section, option, switch.get_active()))
|
||||
if section not in self._config.get_config().sections():
|
||||
|
||||
@@ -56,6 +56,8 @@ class SplashScreenPanel(ScreenPanel):
|
||||
_ = self.lang.gettext
|
||||
|
||||
if "firmware_restart" not in self.labels:
|
||||
self.labels['menu'] = self._gtk.ButtonImage("control",_("Menu"),"color4")
|
||||
self.labels['menu'].connect("clicked", self._screen._go_to_submenu, "")
|
||||
self.labels['power'] = self._gtk.ButtonImage("reboot",_("Power On Printer"),"color3")
|
||||
self.labels['restart'] = self._gtk.ButtonImage("reboot",_("Restart"),"color1")
|
||||
self.labels['restart'].connect("clicked", self.restart)
|
||||
@@ -64,7 +66,8 @@ class SplashScreenPanel(ScreenPanel):
|
||||
|
||||
self.clear_action_bar()
|
||||
|
||||
devices = [i for i in self._screen.printer.get_power_devices() if i.lower().startswith('printer')]
|
||||
devices = [i for i in self._printer.get_power_devices() if i.lower().startswith('printer')] if (
|
||||
self._printer is not None) else []
|
||||
logger.debug("Power devices: %s" % devices)
|
||||
if len(devices) > 0:
|
||||
logger.debug("Adding power button")
|
||||
@@ -73,6 +76,8 @@ class SplashScreenPanel(ScreenPanel):
|
||||
|
||||
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()
|
||||
|
||||
def firmware_restart(self, widget):
|
||||
self._screen._ws.klippy.restart_firmware()
|
||||
|
||||
+12
-3
@@ -19,11 +19,18 @@ class SystemPanel(ScreenPanel):
|
||||
|
||||
grid = self._gtk.HomogeneousGrid()
|
||||
|
||||
restart = self._gtk.ButtonImage('reboot',_('Klipper Restart'),'color1')
|
||||
restart = self._gtk.ButtonImage('reboot',"\n".join(_('Klipper Restart').split(' ')),'color1')
|
||||
restart.connect("clicked", self.restart_klippy)
|
||||
firmrestart = self._gtk.ButtonImage('restart',_('Firmware Restart'),'color2')
|
||||
firmrestart = self._gtk.ButtonImage('restart',"\n".join(_('Firmware Restart').split(' ')),'color2')
|
||||
firmrestart.connect("clicked", self.restart_klippy, "firmware")
|
||||
|
||||
reboot = self._gtk.ButtonImage('reboot',_('System\nRestart'),'color3')
|
||||
reboot.connect("clicked", self._screen._confirm_send_action,
|
||||
_("Are you sure you wish to reboot the system?"), "machine.reboot")
|
||||
shutdown = self._gtk.ButtonImage('shutdown',_('System\nShutdown'),'color4')
|
||||
shutdown.connect("clicked", self._screen._confirm_send_action,
|
||||
_("Are you sure you wish to shutdown the system?"), "machine.shutdown")
|
||||
|
||||
info = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
|
||||
info.set_vexpand(True)
|
||||
|
||||
@@ -44,9 +51,11 @@ class SystemPanel(ScreenPanel):
|
||||
info.add(self.labels['ks_version'])
|
||||
|
||||
|
||||
grid.attach(info, 0, 0, 4, 2)
|
||||
grid.attach(info, 0, 0, 5, 2)
|
||||
grid.attach(restart, 0, 2, 1, 1)
|
||||
grid.attach(firmrestart, 1, 2, 1, 1)
|
||||
grid.attach(reboot, 3, 2, 1, 1)
|
||||
grid.attach(shutdown, 4, 2, 1, 1)
|
||||
|
||||
self.content.add(grid)
|
||||
|
||||
|
||||
@@ -113,6 +113,7 @@ class TemperaturePanel(ScreenPanel):
|
||||
_ = self.lang.gettext
|
||||
|
||||
numpad = self._gtk.HomogeneousGrid()
|
||||
numpad.set_direction(Gtk.TextDirection.LTR)
|
||||
|
||||
keys = [
|
||||
['1','numpad_tleft'],
|
||||
|
||||
@@ -43,11 +43,12 @@ class ZCalibratePanel(ScreenPanel):
|
||||
j = 0;
|
||||
for i in self.distances:
|
||||
self.labels[i] = self._gtk.ToggleButton(i)
|
||||
self.labels[i].set_direction(Gtk.TextDirection.LTR)
|
||||
self.labels[i].connect("clicked", self.change_distance, i)
|
||||
ctx = self.labels[i].get_style_context()
|
||||
if j == 0:
|
||||
if (self._screen.lang_ltr and j == 0) or (not self._screen.lang_ltr and j == len(self.distances)-1):
|
||||
ctx.add_class("distbutton_top")
|
||||
elif j == len(self.distances)-1:
|
||||
elif (not self._screen.lang_ltr and j == 0) or (self._screen.lang_ltr and j == len(self.distances)-1):
|
||||
ctx.add_class("distbutton_bottom")
|
||||
else:
|
||||
ctx.add_class("distbutton")
|
||||
|
||||
@@ -13,7 +13,10 @@ import importlib
|
||||
import logging
|
||||
import os
|
||||
import re
|
||||
import signal
|
||||
import subprocess
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
@@ -25,10 +28,29 @@ from ks_includes.KlippyRest import KlippyRest
|
||||
from ks_includes.files import KlippyFiles
|
||||
from ks_includes.KlippyGtk import KlippyGtk
|
||||
from ks_includes.printer import Printer
|
||||
from ks_includes.wifi import WifiManager
|
||||
|
||||
from ks_includes.config import KlipperScreenConfig
|
||||
|
||||
PRINTER_BASE_STATUS_OBJECTS = [
|
||||
'bed_mesh',
|
||||
'idle_timeout',
|
||||
'configfile',
|
||||
'gcode_move',
|
||||
'fan',
|
||||
'toolhead',
|
||||
'virtual_sdcard',
|
||||
'print_stats',
|
||||
'heater_bed',
|
||||
'extruder',
|
||||
'pause_resume',
|
||||
'webhooks'
|
||||
]
|
||||
|
||||
# Create logging
|
||||
for h in logging.getLogger().handlers:
|
||||
logging.getLogger().removeHandler(h)
|
||||
|
||||
logger = logging.getLogger('KlipperScreen')
|
||||
logger.setLevel(logging.DEBUG)
|
||||
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
|
||||
@@ -37,13 +59,17 @@ fh = logging.FileHandler('/tmp/KlipperScreen.log')
|
||||
fh.setLevel(logging.DEBUG)
|
||||
fh.setFormatter(formatter)
|
||||
|
||||
ch = logging.StreamHandler()
|
||||
ch.setLevel(logging.ERROR)
|
||||
ch = logging.StreamHandler(sys.stdout)
|
||||
ch.setLevel(logging.DEBUG)
|
||||
ch.setFormatter(formatter)
|
||||
|
||||
logger.addHandler(fh)
|
||||
logger.addHandler(ch)
|
||||
|
||||
def logging_exception_handler(type, value, tb):
|
||||
logger.exception("Uncaught exception %s: %s\nTraceback: %s" % (type, value, "\n".join(traceback.format_tb(tb))))
|
||||
sys.excepthook = logging_exception_handler
|
||||
|
||||
klipperscreendir = os.getcwd()
|
||||
config = klipperscreendir + "/KlipperScreen.config"
|
||||
logger.info("Config file: " + config)
|
||||
@@ -52,9 +78,12 @@ class KlipperScreen(Gtk.Window):
|
||||
""" Class for creating a screen for Klipper via HDMI """
|
||||
_cur_panels = []
|
||||
bed_temp_label = None
|
||||
connected_printer = None
|
||||
currentPanel = None
|
||||
files = None
|
||||
filename = ""
|
||||
keyboard = None
|
||||
keyboard_height = 200
|
||||
last_update = {}
|
||||
load_panel = {}
|
||||
number_tools = 1
|
||||
@@ -64,6 +93,7 @@ class KlipperScreen(Gtk.Window):
|
||||
rtl_languages = ['he_il']
|
||||
subscriptions = []
|
||||
shutdown = True
|
||||
_ws = None
|
||||
|
||||
def __init__(self):
|
||||
self.version = get_software_version()
|
||||
@@ -78,7 +108,57 @@ class KlipperScreen(Gtk.Window):
|
||||
configfile = os.path.normpath(os.path.expanduser(args.configfile))
|
||||
|
||||
self.lang = gettext.translation('KlipperScreen', localedir='ks_includes/locales', fallback=True)
|
||||
self._config = KlipperScreenConfig(configfile, self.lang)
|
||||
self._config = KlipperScreenConfig(configfile, self.lang, self)
|
||||
|
||||
self.wifi = WifiManager()
|
||||
self.wifi.start()
|
||||
|
||||
logger.debug("OS Language: %s" % os.getenv('LANG'))
|
||||
|
||||
self.lang_ltr = True
|
||||
for lang in self.rtl_languages:
|
||||
if os.getenv('LANG').lower().startswith(lang):
|
||||
self.lang_ltr = False
|
||||
Gtk.Widget.set_default_direction(Gtk.TextDirection.RTL)
|
||||
logger.debug("Enabling RTL mode")
|
||||
break
|
||||
|
||||
_ = self.lang.gettext
|
||||
|
||||
Gtk.Window.__init__(self)
|
||||
self.width = self._config.get_main_config().getint("width", Gdk.Screen.get_width(Gdk.Screen.get_default()))
|
||||
self.height = self._config.get_main_config().getint("height", Gdk.Screen.get_height(Gdk.Screen.get_default()))
|
||||
self.set_default_size(self.width, self.height)
|
||||
self.set_resizable(False)
|
||||
logger.info("Screen resolution: %sx%s" % (self.width, self.height))
|
||||
|
||||
self.gtk = KlippyGtk(self.width, self.height)
|
||||
self.init_style()
|
||||
|
||||
self.printer_initializing(_("Initializing"))
|
||||
|
||||
# Disable DPMS
|
||||
os.system("/usr/bin/xset -display :0 -dpms")
|
||||
self.set_screenblanking_timeout(self._config.get_main_config_option('screen_blanking'))
|
||||
|
||||
# Change cursor to blank
|
||||
#self.get_window().set_cursor(Gdk.Cursor(Gdk.CursorType.BLANK_CURSOR))
|
||||
pname = list(self._config.get_printers()[0])[0]
|
||||
self.connect_printer(pname, self._config.get_printers()[0][pname])
|
||||
|
||||
def connect_printer(self, name, data):
|
||||
_ = self.lang.gettext
|
||||
|
||||
if self.connected_printer == name:
|
||||
return
|
||||
|
||||
if self.files is not None:
|
||||
self.files.stop()
|
||||
|
||||
self.apiclient = KlippyRest(self._config.get_main_config_option("moonraker_host"),
|
||||
self._config.get_main_config_option("moonraker_port"),
|
||||
self._config.get_main_config_option("moonraker_api_key", False))
|
||||
|
||||
self.printer = Printer({
|
||||
"software_version": "Unknown"
|
||||
}, {
|
||||
@@ -93,6 +173,12 @@ class KlipperScreen(Gtk.Window):
|
||||
}
|
||||
})
|
||||
|
||||
self._remove_all_panels()
|
||||
panels = list(self.panels)
|
||||
for panel in panels:
|
||||
del self.panels[panel]
|
||||
self.printer_initializing(_("Connecting to %s") % name)
|
||||
|
||||
self.printer.set_callbacks({
|
||||
"disconnected": self.state_disconnected,
|
||||
"error": self.state_error,
|
||||
@@ -102,38 +188,14 @@ class KlipperScreen(Gtk.Window):
|
||||
"shutdown": self.state_shutdown
|
||||
})
|
||||
|
||||
logger.debug("OS Language: %s" % os.getenv('LANG'))
|
||||
|
||||
self.lang_ltr = True
|
||||
for lang in self.rtl_languages:
|
||||
if os.getenv('LANG').lower().startswith(lang):
|
||||
self.lang_ltr = False
|
||||
logger.debug("Enabling RTL mode")
|
||||
break
|
||||
|
||||
_ = self.lang.gettext
|
||||
|
||||
self.apiclient = KlippyRest(self._config.get_main_config_option("moonraker_host"),
|
||||
self._config.get_main_config_option("moonraker_port"),
|
||||
self._config.get_main_config_option("moonraker_api_key", False))
|
||||
|
||||
powerdevs = self.apiclient.send_request("machine/device_power/devices")
|
||||
logger.debug("Found power devices: %s" % powerdevs)
|
||||
if powerdevs != False:
|
||||
self.printer.configure_power_devices(powerdevs['result'])
|
||||
self.panels['splash_screen'].show_restart_buttons()
|
||||
|
||||
Gtk.Window.__init__(self)
|
||||
self.width = self._config.get_main_config().getint("width", Gdk.Screen.get_width(Gdk.Screen.get_default()))
|
||||
self.height = self._config.get_main_config().getint("height", Gdk.Screen.get_height(Gdk.Screen.get_default()))
|
||||
self.set_default_size(self.width, self.height)
|
||||
self.set_resizable(False)
|
||||
logger.info("Screen resolution: %sx%s" % (self.width, self.height))
|
||||
|
||||
self.gtk = KlippyGtk(self.width, self.height)
|
||||
self.init_style()
|
||||
|
||||
#self._load_panels()
|
||||
|
||||
self.printer_initializing(_("Initializing"))
|
||||
if self._ws is not None:
|
||||
self._ws.close
|
||||
|
||||
self._ws = KlippyWebsocket(self,
|
||||
{
|
||||
@@ -146,13 +208,11 @@ class KlipperScreen(Gtk.Window):
|
||||
)
|
||||
self._ws.initial_connect()
|
||||
|
||||
# Disable DPMS
|
||||
os.system("/usr/bin/xset -display :0 s off")
|
||||
os.system("/usr/bin/xset -display :0 -dpms")
|
||||
os.system("/usr/bin/xset -display :0 s noblank")
|
||||
|
||||
return
|
||||
self.files = KlippyFiles(self)
|
||||
self.files.start()
|
||||
|
||||
self.connected_printer = name
|
||||
logger.debug("Connected to printer: %s" % name)
|
||||
|
||||
def ws_subscribe(self):
|
||||
requested_updates = {
|
||||
@@ -199,7 +259,6 @@ class KlipperScreen(Gtk.Window):
|
||||
logger.exception(msg)
|
||||
raise Exception(msg)
|
||||
|
||||
|
||||
def show_panel(self, panel_name, type, title, remove=None, pop=True, **kwargs):
|
||||
if panel_name not in self.panels:
|
||||
self.panels[panel_name] = self._load_panel(type, self, title)
|
||||
@@ -211,22 +270,30 @@ class KlipperScreen(Gtk.Window):
|
||||
self.panels[panel_name].initialize(panel_name)
|
||||
except:
|
||||
del self.panels[panel_name]
|
||||
logger.exception("Unable to load panel %s" % type)
|
||||
self.show_error_modal("Unable to load panel %s" % type)
|
||||
return
|
||||
|
||||
if hasattr(self.panels[panel_name],"process_update"):
|
||||
self.panels[panel_name].process_update("notify_status_update", self.printer.get_data())
|
||||
|
||||
if hasattr(self.panels[panel_name],"activate"):
|
||||
self.panels[panel_name].activate()
|
||||
try:
|
||||
if remove == 2:
|
||||
self._remove_all_panels()
|
||||
elif remove == 1:
|
||||
self._remove_current_panel(pop)
|
||||
|
||||
if remove == 2:
|
||||
self._remove_all_panels()
|
||||
elif remove == 1:
|
||||
self._remove_current_panel(pop)
|
||||
logger.debug("Attaching panel %s" % panel_name)
|
||||
|
||||
self.add(self.panels[panel_name].get())
|
||||
self.show_all()
|
||||
|
||||
if hasattr(self.panels[panel_name],"activate"):
|
||||
self.panels[panel_name].activate()
|
||||
self.show_all()
|
||||
except:
|
||||
logger.exception("Error attaching panel")
|
||||
|
||||
self.add(self.panels[panel_name].get())
|
||||
self.show_all()
|
||||
self._cur_panels.append(panel_name)
|
||||
logger.debug("Current panel hierarchy: %s", str(self._cur_panels))
|
||||
|
||||
@@ -297,7 +364,6 @@ class KlipperScreen(Gtk.Window):
|
||||
def error_modal_response(self, widget, response_id):
|
||||
widget.destroy()
|
||||
|
||||
|
||||
def init_style(self):
|
||||
style_provider = Gtk.CssProvider()
|
||||
#style_provider.load_from_path(klipperscreendir + "/style.css")
|
||||
@@ -325,8 +391,10 @@ class KlipperScreen(Gtk.Window):
|
||||
|
||||
# Find current menu item
|
||||
panels = list(self._cur_panels)
|
||||
if "job_status" not in self._cur_panels:
|
||||
if "main_panel" in self._cur_panels:
|
||||
menu = "__main"
|
||||
elif "splash_screen" in self._cur_panels:
|
||||
menu = "__splashscreen"
|
||||
else:
|
||||
menu = "__print"
|
||||
|
||||
@@ -357,10 +425,12 @@ class KlipperScreen(Gtk.Window):
|
||||
|
||||
def _menu_go_back (self, widget=None):
|
||||
logger.info("#### Menu go back")
|
||||
self.remove_keyboard()
|
||||
self._remove_current_panel()
|
||||
|
||||
def _menu_go_home(self):
|
||||
logger.info("#### Menu go home")
|
||||
self.remove_keyboard()
|
||||
while len(self._cur_panels) > 1:
|
||||
self._remove_current_panel()
|
||||
|
||||
@@ -378,6 +448,20 @@ class KlipperScreen(Gtk.Window):
|
||||
self.subscriptions.pop(i)
|
||||
return
|
||||
|
||||
def set_screenblanking_timeout(self, time):
|
||||
logger.debug("Changing screenblanking to: %s" % time)
|
||||
if time == "off":
|
||||
os.system("/usr/bin/xset -display :0 s off")
|
||||
os.system("/usr/bin/xset -display :0 s noblank")
|
||||
return
|
||||
|
||||
time = int(time)
|
||||
if time < 0:
|
||||
return
|
||||
|
||||
os.system("/usr/bin/xset -display :0 s on")
|
||||
os.system("/usr/bin/xset -display :0 s %s" % time)
|
||||
|
||||
def state_disconnected(self):
|
||||
_ = self.lang.gettext
|
||||
logger.debug("### Going to disconnected")
|
||||
@@ -400,6 +484,8 @@ class KlipperScreen(Gtk.Window):
|
||||
)
|
||||
|
||||
def state_printing(self):
|
||||
if "job_status" in self._cur_panels:
|
||||
return
|
||||
self.printer_printing()
|
||||
|
||||
def state_ready(self):
|
||||
@@ -420,6 +506,7 @@ class KlipperScreen(Gtk.Window):
|
||||
_ = self.lang.gettext
|
||||
|
||||
if action == "notify_klippy_disconnected":
|
||||
logger.debug("Received notify_klippy_disconnected")
|
||||
self.printer.change_state("disconnected")
|
||||
return
|
||||
elif action == "notify_klippy_ready":
|
||||
@@ -436,6 +523,7 @@ class KlipperScreen(Gtk.Window):
|
||||
self.printer.process_power_update(data)
|
||||
elif self.printer.get_state() not in ["error","shutdown"] and action == "notify_gcode_response":
|
||||
if "Klipper state: Shutdown" in data:
|
||||
logger.debug("Shutdown in gcode response, changing state to shutdown")
|
||||
self.printer.change_state("shutdown")
|
||||
|
||||
if not (data.startswith("B:") and
|
||||
@@ -447,7 +535,7 @@ class KlipperScreen(Gtk.Window):
|
||||
for sub in self.subscriptions:
|
||||
self.panels[sub].process_update(action, data)
|
||||
|
||||
def _confirm_send_action(self, widget, text, method, params):
|
||||
def _confirm_send_action(self, widget, text, method, params={}):
|
||||
_ = self.lang.gettext
|
||||
|
||||
buttons = [
|
||||
@@ -492,23 +580,8 @@ class KlipperScreen(Gtk.Window):
|
||||
def init_printer(self):
|
||||
_ = self.lang.gettext
|
||||
|
||||
status_objects = [
|
||||
'bed_mesh',
|
||||
'idle_timeout',
|
||||
'configfile',
|
||||
'gcode_move',
|
||||
'fan',
|
||||
'toolhead',
|
||||
'virtual_sdcard',
|
||||
'print_stats',
|
||||
'heater_bed',
|
||||
'extruder',
|
||||
'pause_resume',
|
||||
'webhooks'
|
||||
]
|
||||
printer_info = self.apiclient.get_printer_info()
|
||||
logger.debug("Sendingn request %s" % "printer/objects/query?" + "&".join(status_objects))
|
||||
data = self.apiclient.send_request("printer/objects/query?" + "&".join(status_objects))
|
||||
data = self.apiclient.send_request("printer/objects/query?" + "&".join(PRINTER_BASE_STATUS_OBJECTS))
|
||||
powerdevs = self.apiclient.send_request("machine/device_power/devices")
|
||||
data = data['result']['status']
|
||||
|
||||
@@ -519,25 +592,67 @@ class KlipperScreen(Gtk.Window):
|
||||
if powerdevs != False:
|
||||
self.printer.configure_power_devices(powerdevs['result'])
|
||||
|
||||
if self.files == None:
|
||||
self.files = KlippyFiles(self)
|
||||
else:
|
||||
self.files.add_timeout()
|
||||
|
||||
def printer_ready(self):
|
||||
self.close_popup_message()
|
||||
self.show_panel('main_panel', "main_menu", "Main Menu", 2, items=self._config.get_menu_items("__main"),
|
||||
extrudercount=self.printer.get_extruder_count())
|
||||
# Force update to printer webhooks state in case the update is missed due to websocket subscribe not yet sent
|
||||
self.printer.process_update({"webhooks":{"state":"ready","state_message": "Printer is ready"}})
|
||||
self.show_panel('main_panel', "main_menu", self.connected_printer, 2,
|
||||
items=self._config.get_menu_items("__main"), extrudercount=self.printer.get_extruder_count())
|
||||
self.ws_subscribe()
|
||||
if "job_status" in self.panels:
|
||||
self.remove_subscription("job_status")
|
||||
del self.panels["job_status"]
|
||||
|
||||
def printer_printing(self):
|
||||
self.files.remove_timeout()
|
||||
self.close_popup_message()
|
||||
self.show_panel('job_status',"job_status", "Print Status", 2)
|
||||
|
||||
def show_keyboard(self, widget=None):
|
||||
if self.keyboard is not None:
|
||||
return
|
||||
|
||||
env = os.environ.copy()
|
||||
env["MB_KBD_CONFIG"] = "/home/pi/.matchbox/keyboard.xml"
|
||||
env["MB_KBD_CONFIG"] = "ks_includes/locales/keyboard.xml"
|
||||
p = subprocess.Popen(["matchbox-keyboard", "--xid"], stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE, env=env)
|
||||
#p = subprocess.Popen(["onboard", "--xid"], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
xid = int(p.stdout.readline())
|
||||
logger.debug("XID %s" % xid)
|
||||
logger.debug("PID %s" % p.pid)
|
||||
keyboard = Gtk.Socket()
|
||||
#keyboard.connect("plug-added", self.plug_added)
|
||||
|
||||
action_bar_width = self.gtk.get_action_bar_width()
|
||||
|
||||
box = Gtk.VBox()
|
||||
box.set_size_request(self.width - action_bar_width, self.keyboard_height)
|
||||
box.add(keyboard)
|
||||
|
||||
cur_panel = self.panels[self._cur_panels[-1]]
|
||||
#for i in ['back','estop','home']:
|
||||
# if i in cur_panel.control:
|
||||
# cur_panel.control[i].set_sensitive(False)
|
||||
cur_panel.get().put(box, action_bar_width, self.height - 200)
|
||||
self.show_all()
|
||||
keyboard.add_id(xid)
|
||||
keyboard.show()
|
||||
|
||||
self.keyboard = {
|
||||
"box": box,
|
||||
"panel": cur_panel.get(),
|
||||
"process": p,
|
||||
"socket": keyboard
|
||||
}
|
||||
|
||||
def remove_keyboard(self, widget=None):
|
||||
if self.keyboard is None:
|
||||
return
|
||||
|
||||
self.keyboard['panel'].remove(self.keyboard['box'])
|
||||
os.kill(self.keyboard['process'].pid, signal.SIGTERM)
|
||||
self.keyboard = None
|
||||
|
||||
def get_software_version():
|
||||
prog = ('git', '-C', os.path.dirname(__file__), 'describe', '--always',
|
||||
'--tags', '--long', '--dirty')
|
||||
@@ -558,7 +673,6 @@ def get_software_version():
|
||||
return "?"
|
||||
|
||||
def main():
|
||||
|
||||
win = KlipperScreen()
|
||||
win.connect("destroy", Gtk.main_quit)
|
||||
win.show_all()
|
||||
|
||||
@@ -20,7 +20,8 @@ install_packages()
|
||||
python3-gi-cairo \
|
||||
python3-virtualenv \
|
||||
gir1.2-gtk-3.0 \
|
||||
virtualenv
|
||||
virtualenv \
|
||||
matchbox-keyboard
|
||||
}
|
||||
|
||||
create_virtualenv()
|
||||
@@ -50,10 +51,21 @@ install_systemd_service()
|
||||
sudo systemctl enable KlipperScreen
|
||||
}
|
||||
|
||||
modify_user()
|
||||
{
|
||||
sudo usermod -a -G tty $USER
|
||||
}
|
||||
|
||||
update_x11()
|
||||
{
|
||||
echo "Updating X11 configuration"
|
||||
sudo sed -i 's/allowed_users=console/allowed_users=anybody/g' /etc/X11/Xwrapper.config
|
||||
if [ -e /etc/X11/Xwrapper.conf ]
|
||||
then
|
||||
echo "Updating X11 Xwrapper"
|
||||
sudo sed -i 's/allowed_users=console/allowed_users=anybody/g' /etc/X11/Xwrapper.config
|
||||
else
|
||||
echo "Adding X11 Xwrapper"
|
||||
echo 'allowed_users=anybody' | sudo tee /etc/X11/Xwrapper.config
|
||||
fi
|
||||
}
|
||||
|
||||
start_KlipperScreen() {
|
||||
@@ -62,6 +74,7 @@ start_KlipperScreen() {
|
||||
|
||||
install_packages
|
||||
create_virtualenv
|
||||
modify_user
|
||||
install_systemd_service
|
||||
update_x11
|
||||
start_KlipperScreen
|
||||
@@ -5,7 +5,7 @@ xgettext --keyword=_ --language=Python --add-comments --sort-output \
|
||||
panels/*.py \
|
||||
ks_includes/KlipperScreen.conf
|
||||
|
||||
langs=(en fr_FR he_IL zh_CN)
|
||||
langs=(de_DE en fr_FR he_IL ru_RU zh_CN)
|
||||
for lang in ${langs[@]}; do
|
||||
msgmerge ks_includes/locales/$lang/LC_MESSAGES/KlipperScreen.po \
|
||||
ks_includes/locales/KlipperScreen.pot \
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
* {
|
||||
color: #fff;
|
||||
font-size: KS_FONT_SIZEpx;
|
||||
-GtkComboBox-appears-as-list: 0;
|
||||
}
|
||||
|
||||
window {
|
||||
@@ -50,6 +51,11 @@ button.file-list {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
combobox box button {
|
||||
border: .05em solid #cccccc;
|
||||
padding: .5em 1em;
|
||||
}
|
||||
|
||||
entry {
|
||||
font-size: 1em;
|
||||
background-color: #20292F;
|
||||
@@ -66,6 +72,18 @@ label {
|
||||
color: white;
|
||||
}
|
||||
|
||||
menu {
|
||||
background-color: #13181C;
|
||||
border: .1em solid #cccccc;
|
||||
}
|
||||
|
||||
menuitem {
|
||||
background-color: #13181C;
|
||||
border: .1em solid #cccccc;
|
||||
border-bottom: 0;
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
progress, trough {
|
||||
min-height: 2em;
|
||||
background-color: #404E57;
|
||||
@@ -97,6 +115,14 @@ trough {
|
||||
margin: .5em 1em;
|
||||
}
|
||||
|
||||
.popup {
|
||||
background-color: #0000ff;
|
||||
}
|
||||
|
||||
.action_bar {
|
||||
border-right: 2px solid #444;
|
||||
}
|
||||
|
||||
.dialog {
|
||||
border: .1em solid black;
|
||||
padding: 2.5em;
|
||||
|
||||
@@ -1,99 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
sodipodi:docname="emergency.svg"
|
||||
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
|
||||
version="1.1"
|
||||
id="svg4160"
|
||||
viewBox="0 0 60.137677 60.776516"
|
||||
height="60.776516"
|
||||
width="60.13768">
|
||||
<defs
|
||||
id="defs4162">
|
||||
<rect
|
||||
id="rect35"
|
||||
height="75.089285"
|
||||
width="56.160714"
|
||||
y="3.7185006"
|
||||
x="-24.056441" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
inkscape:document-rotation="0"
|
||||
inkscape:snap-global="false"
|
||||
inkscape:snap-bbox="true"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:window-y="-11"
|
||||
inkscape:window-x="-11"
|
||||
inkscape:window-height="2066"
|
||||
inkscape:window-width="3840"
|
||||
showguides="false"
|
||||
units="in"
|
||||
showgrid="true"
|
||||
inkscape:current-layer="layer1"
|
||||
inkscape:document-units="px"
|
||||
inkscape:cy="30.217279"
|
||||
inkscape:cx="2.3098192"
|
||||
inkscape:zoom="11.313709"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
borderopacity="1.0"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff"
|
||||
id="base">
|
||||
<inkscape:grid
|
||||
originy="-29.820954"
|
||||
originx="-9.9771178"
|
||||
id="grid4712"
|
||||
type="xygrid" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata4165">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
transform="translate(-3.5328446,2.2636422)"
|
||||
style="display:inline"
|
||||
inkscape:label="Move"
|
||||
id="layer2"
|
||||
inkscape:groupmode="layer">
|
||||
<g
|
||||
id="g46"
|
||||
transform="translate(-6.0411758,-15.071814)">
|
||||
<path
|
||||
style="fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 22.795553,16.619161 3.21242,-1.25 3.212421,1.25 v 47.687531 l -3.212421,0.892857 -3.21242,-0.892857 z"
|
||||
id="rect4760-8"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccccc" />
|
||||
<ellipse
|
||||
style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#d40000;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path4508"
|
||||
cx="39.64286"
|
||||
cy="43.19643"
|
||||
rx="29.040764"
|
||||
ry="29.130053" />
|
||||
</g>
|
||||
<text
|
||||
transform="translate(47.1875,-4.8214286)"
|
||||
style="font-style:normal;font-weight:normal;font-size:53px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;white-space:pre;shape-inside:url(#rect35);fill:#d40000;fill-opacity:1;stroke:none;"
|
||||
id="text33"
|
||||
xml:space="preserve"><tspan
|
||||
x="-26"
|
||||
y="52.376338"><tspan
|
||||
style="font-weight:bold;font-size:53px;fill:#d40000">!</tspan></tspan></text>
|
||||
</g>
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-hidden="true" class="v-icon__svg" style="color: #ff0000;">
|
||||
<path style="fill:#ff0000;" d="M11,15H13V17H11V15M11,7H13V13H11V7M12,3A9,9 0 0,0 3,12A9,9 0 0,0 12,21A9,9 0 0,0 21,12A9,9 0 0,0 12,3M12,19C8.14,19 5,15.86 5,12C5,8.14 8.14,5 12,5C15.86,5 19,8.14 19,12C19,15.86 15.86,19 12,19M20.5,20.5C22.66,18.31 24,15.31 24,12C24,8.69 22.66,5.69 20.5,3.5L19.42,4.58C21.32,6.5 22.5,9.11 22.5,12C22.5,14.9 21.32,17.5 19.42,19.42L20.5,20.5M4.58,19.42C2.68,17.5 1.5,14.9 1.5,12C1.5,9.11 2.68,6.5 4.58,4.58L3.5,3.5C1.34,5.69 0,8.69 0,12C0,15.31 1.34,18.31 3.5,20.5L4.58,19.42Z"></path>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 718 B |
Reference in new issue
Block a user