Compare commits

..
188 Commits
Author SHA1 Message Date
alfrix 2a8a2ec2e7 network: fix display name not showing connected 2022-04-01 12:37:12 -03:00
alfrix 9f9e2ed6ad docs: update zcalibrate pos and dpms 2022-04-01 10:29:54 -03:00
alfrix f707ba8cf3 style: change load icon 2022-04-01 08:03:14 -03:00
alfrix 76b7ad54eb splash: do not show power_on if moonraker is not connected 2022-03-31 13:47:42 -03:00
alfrix 51b4d1e1e6 Update dependencies 2022-03-31 11:56:04 -03:00
alfrix 5eac3bef6b Update Translations 2022-03-31 11:26:25 -03:00
alfrix 53c7afd7a5 Use extruder icon without number if there is only 1 2022-03-30 22:58:37 -03:00
alfrix b70524cd28 Screensaver if dpms is off
This should protect against first touch when the screen is blanked
and help in cases where the driver implementation is not up to spec.
2022-03-29 23:37:59 -03:00
alfrix 6f86448405 Fix issues while Moonraker is connected but klipper is disconnected
fixes #548
2022-03-28 16:47:52 -03:00
alfrix 2a7acea86c network: fix issues, reload button, keyboard enter works on psk entry 2022-03-26 22:30:18 -03:00
alfrix e186fa6a3d bed_mesh and keypad: support writing with keyboard 2022-03-26 22:25:06 -03:00
alfrix 6a4eb7ac22 bed_mesh: fix graph out of screen in portrait 2022-03-25 14:30:13 -03:00
alfrix 4c8bb4ff6f splash_screen: change klipper restart and firmware restart if klipper is not connected 2022-03-25 14:07:37 -03:00
alfrix 9dc8335a07 fine_tune: add reset button, do not set babystepping prior to homing, reorganize a bit 2022-03-25 14:06:07 -03:00
alfrix a90ab54e1d print: hide _ and optimize a bit 2022-03-25 13:49:19 -03:00
alfrix 2e16193292 menu: fix portrait issues 2022-03-25 13:41:22 -03:00
alfrix d945ef8b0a printer: fix some issues with the graph 2022-03-25 12:06:08 -03:00
alfrix b73292c8f9 splash: hide ready msg while shutdown 2022-03-25 12:05:24 -03:00
alfrix bc366b708d menu and printer_select: support more than 8 items 2022-03-25 12:02:19 -03:00
alfrix 07bbbe9d51 zcalibrate: add selector for the different modes zcalibrate supports
closes #514
2022-03-25 10:51:08 -03:00
alfrix 3a91ba4604 style: set minimum height for distbuttons and simplify border removal 2022-03-25 09:57:11 -03:00
alfrix 2dc7a716ee move: show ? if not homed and remove home-xy on delta kinematics 2022-03-25 09:51:22 -03:00
alfrix ff087e7a6f system: feature: add Full Update 2022-03-25 09:49:10 -03:00
alfrix b83f12265d Splash_screen: fix return and duplicated power devices
fix forcefully returning the user from menu to splash when there is no connection to moonraker/klipper
fix a case where the power device was added multiple times to the list
2022-03-24 10:34:27 -03:00
alfrix ffaad4daf7 fine_tune and job_status: fix rounding error 2022-03-22 13:37:06 -03:00
alfrix d1e54bab64 docs: add layer progress to quicktips 2022-03-21 20:49:43 -03:00
alfrix abb02d3965 docs: vertical/portrait is available, remove the line that says it isn't 2022-03-21 20:42:59 -03:00
alfrix 62c91bc69b Update changelog 2022-03-21 17:17:30 -03:00
alfrix 0fd4c30ee8 docs: improve the touch rotation section 2022-03-21 17:07:50 -03:00
alfrix e59d43645a docs: remove calibration section, xinput-calibrator doesn't work, the project that is continuing that work is xlibinput-calibrator 2022-03-21 17:05:34 -03:00
alfrix d158090bea base_panel: cleanup logging 2022-03-21 13:20:52 -03:00
alfrix bc34b3c8d6 config: fix menu and preheat merge bugs
it's now possible to define a custom menu without the need to copy all the menu entries from defaults.conf
if you want to define all the entries, disable the default menu with 'use_default_menu: False' under [main]

if a preheat is defined then defaults are dropped in favor of keeping only user defines, this behaviour
has not changed, and it's intended since the user may not want any of the defaults; but it's now possible to
put preheat options in an include file.

fixes #530
fixes #497
fixes #408
2022-03-21 12:57:18 -03:00
Andriy 64ebf861fb Update Ukrainian
close #555
2022-03-21 11:53:33 -03:00
alfrix 50d3671d0f base_panel: simplify sidebar scaling 2022-03-21 07:14:58 -03:00
alfrix 5286e433fe logging: cleanup unnecesary lines 2022-03-21 06:34:02 -03:00
alfrix 50e72b0308 base_panel: fix error from trying to update temps before the printer initializes 2022-03-21 06:32:53 -03:00
alfrix 1dee914564 splash_screen: fix bug that prevented Power On from showing up 2022-03-21 05:46:14 -03:00
AntoszHUN 8108500dc2 Update Hungarian language (#554) 2022-03-20 18:12:16 -03:00
Mikko Gozalo 987cf89351 Add .gitignore (#300) 2022-03-20 18:10:02 -03:00
alfrix 48b2ef513f Fix files and printer memory leaks fixes #479 2022-03-20 12:11:41 -03:00
alfrix 4899701ae3 Update translations 2022-03-20 10:21:34 -03:00
alfrix 330a456ed3 scripts: fix permissions 2022-03-20 09:45:02 -03:00
alfrix 2ffb88e958 network: fix list when there is no netinfo 2022-03-20 09:42:03 -03:00
alfrix 82c8d62876 screen: move the wifi-manager to the network panel
moving the manager should increase startup times
only load it when the user wants to manage networks

network: add ip at the top (fixes #422)
network: always reload the list of networks
wifi: fix network list getting blank
network: make the list more resilient to netinfo errors
2022-03-20 09:19:45 -03:00
alfrix 0d259d6d04 main_menu and temp: reduce load
Drawing the graph has a high load impact, reduce the interval of redraw
if the user needs instantaneous values, then the list provides it,
the graph is there to provide historical data of behaviour not instantaneous values.

-------- | Load | Note
idle     | 0.3  | screensaver
menu     | 0.4  | No process update
extrude  | 0.6  | updates temp
graph 5s | 0.8  |
graph 1s | 1.2  |

the load is the 15 min mean after about half an hour
Tests carried out on a Pi3A
2022-03-19 14:47:59 -03:00
Alfredo Monclus 046e03b883 Improve error messages (#549)
Shows if the issue is with moonraker or klipper
if the issue is with klipper and there is info about it then show it
Reconnect now has a counter and it's visible to the user
2022-03-18 20:18:53 -03:00
alfrix 7dc74f74f4 temp_panel: fix #550 2022-03-18 17:51:37 -03:00
alfrix 22f3a2a37a docs: fix macro 2022-03-15 20:58:10 -03:00
alfrix b2eb7a1764 screen: log only default printer, the list is a couple of lines above 2022-03-15 20:20:59 -03:00
Jesper Hansen 1af42e6f0f Added option to select default printer at startup. (#542) 2022-03-15 20:14:36 -03:00
Zs.Antal aa6ae014d8 Update Hungarian language (#545)
Improved minor spellings.
Exchange of certain words.
Minor fixes.
2022-03-15 12:42:46 -03:00
Alfredo Monclus a893f47604 Show fan speed according to max_power and off_below (#543)
fixes #444
2022-03-15 12:41:47 -03:00
alfrix 2e1fa110de screen: Keep Traceback 2022-03-15 12:41:21 -03:00
alfrix 7ab64c5a85 docs: fix links 2022-03-15 12:41:21 -03:00
alfrix ee0cc9ca10 Remove unused variables 2022-03-15 12:41:21 -03:00
alfrix 5899c8feab Optimize imports 2022-03-15 12:41:21 -03:00
Alfredo Monclus d6672ee41f console: add switch to turn off autoscroll (#540)
also fix keyborard not closing, when the console is touched
and set Send button as translatable
2022-03-13 12:17:14 -03:00
Alfredo Monclus 6ce0ea7253 graph: various fixes (#539)
fix axis sizes for high resolutions (tie to font_size)
fix update interval sometimes being faster (fix printer timer)
fix new device added causing horizontal line (use min not max)
2022-03-13 12:10:42 -03:00
Alfredo Monclus b1dd83d955 job_status: rework time calculation
New 'Auto' setting that selects the best guess
added an slicer time compensation if you find that your slicer always under/over estimates by some amount
Split in days if the time is more than 24h
2022-03-10 11:43:53 -03:00
dependabot[bot] 7a4613bfe4 build(deps): bump pycairo from 1.20.1 to 1.21.0 (#534)
Bumps [pycairo](https://github.com/pygobject/pycairo) from 1.20.1 to 1.21.0.
- [Release notes](https://github.com/pygobject/pycairo/releases)
- [Changelog](https://github.com/pygobject/pycairo/blob/master/NEWS)
- [Commits](https://github.com/pygobject/pycairo/compare/v1.20.1...v1.21.0)

---
updated-dependencies:
- dependency-name: pycairo
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-10 11:37:39 -03:00
alfrix 490dc929bd splash_screen: make power_devices mandatory for the power on button 2022-03-10 11:26:43 -03:00
alfrix 65248bfef7 config: fix malfomed default config fixes #538 2022-03-10 09:32:53 -03:00
alfrix cee3243729 docs: improve troubleshooting close #537 2022-03-10 09:13:03 -03:00
alfrix b379363cf2 job_status: calculate progress with higher precision 2022-03-08 22:01:53 -03:00
Alfredo Monclus 708fec4c45 Fix issues waking up screen from a remote connection (#535)
When connected from vnc the screen did not unlock from the remote session click
This also implements an optional disable DPMS for people with issues where DPMS doesn't work as it should (hw issues, driver issues, etc)
Changes #340 almost entirely
2022-03-07 14:55:24 -03:00
Elektrickser f9f313f076 Update German Translation (#532) 2022-03-05 20:26:31 -03:00
alfrix 0458a19b63 base_panel: fix titlebar_items not configured 2 2022-03-05 18:15:20 -03:00
alfrix 3d009ad72b base_panel: fix titlebar_items not configured 2022-03-05 17:24:37 -03:00
alfrix 3c3db7fa21 base_panel: allow titlebar items to be configured 2022-03-05 11:50:26 -03:00
alfrix 088a6deabd splash_screen: allow power_devices to be configured 2022-03-05 11:33:24 -03:00
alfrix 882a088174 docs: fix changelog link 2022-03-05 08:19:26 -03:00
alfrix 7f03061ce6 graph: fix error when touching the graph area
Contrary to people beliefs, this is not the issue when their touchscreen doesn't work
2022-03-05 08:11:33 -03:00
Zs.Antal 27d00c049b Update Hungarian translation (#526) 2022-03-01 23:15:42 -05:00
alfrix 5c42c53ee8 screen: lint fix 2022-03-01 17:24:27 -03:00
alfrix 9b819f6a45 changelog: note about the Power On button 2022-03-01 17:22:34 -03:00
alfrix 49ab84e8d5 splash_screen: implement Power On Printer but make it more specific 2022-03-01 17:21:17 -03:00
alfrix 1b7f908d6b Websocket: wait at least 3 seconds until reconnect, 1 second was too low even locally 2022-03-01 16:17:27 -03:00
alfrix a1173d7113 power: fix switch aspect ratio 2022-03-01 09:12:27 -03:00
alfrix 244f964126 system and menu: fix not loading when no printer is online but moonraker is connected 2022-03-01 09:12:13 -03:00
alfrix 7e9fc97b4b splash_screen: fix #521 2022-03-01 09:10:05 -03:00
alfrix 5a4addf3ed screen: fix panels not reloading after save_config 2022-03-01 07:17:10 -03:00
alfrix 77aef7cf67 base_panel: Refactor titlebar, add heaters if there is space
close #239
2022-02-28 19:57:56 -03:00
alfrix ebfe0debb8 job_status: Set cancelled state earlier, and fix status label 2022-02-28 19:57:56 -03:00
alfrix 320b7a8836 Update websocket-client to 1.3.1 2022-02-28 19:57:50 -03:00
alfrix c77bdfe617 Translations: Fix plurals 2022-02-26 16:03:08 -03:00
Alfredo Monclus dd027c0583 Vertical mode (#480) 2022-02-24 16:00:51 -03:00
alfrix 3c1110d730 Base_panel: fix #413 2022-02-24 15:57:47 -03:00
alfrix df0f8961e5 Normalize icon sizes and style 2022-02-24 09:20:59 -03:00
alfrix be3c24198d Websocket: fix issue when trying to connect to an offline printer
Fix: #401
2022-02-23 23:24:01 -03:00
alfrix 21be9df72e Main_menu: fix graph colors when switching printers 2022-02-23 23:14:46 -03:00
alfrixandkomandrik c4ac1cb52e Ukranian Translation
Close #520

Co-authored-by: komandrik
2022-02-23 19:35:20 -03:00
alfrix c3b7498eb5 Docs: clarify how to save the calibration 2022-02-23 15:34:09 -03:00
Alfredo Monclus 84fc6e5757 Bed_level: Support 6 and 8 Screws and rotation (#484) 2022-02-23 14:04:54 -03:00
alfrix a01762b279 Screen: fix blanking producing random colors 2022-02-20 13:54:16 -03:00
Frank Tackitt 4674737d0c Show position including offsets in the move panel (#516)
This makes Z stepping make more sense after applying a Z offset and more
consistent with the results of sending manual gcodes.
2022-02-19 17:42:50 -03:00
Zs.Antal ea4b98f3d6 Updated Hungarian Language pack (#513) 2022-02-19 14:45:03 -03:00
alfrix 0625935062 print: remove dependency 2022-02-14 05:37:17 -03:00
alfrix 1753105265 sytem: fix updater when moonraker doesn't return configured_type 2022-02-13 17:28:15 -03:00
Randell Hodges 926773f4f3 Apply slider value on release (#430)
Scale will do the action when released instead of many times for every step while sliding.
2022-02-13 16:15:39 -03:00
alfrix bf67129528 main_menu and temp: Fix extruder colors when there are multiple extruders 2022-02-12 21:26:55 -03:00
alfrixandZs.Antal ef5873d095 Hungarian translation
Co-authored-by: Zs.Antal <45710979+AntoszHUN@users.noreply.github.com>
2022-02-12 20:48:52 -03:00
alfrix 45d195bcd2 base_panel: Increase horizontal margin
The sidebar was too close to the content, this was better shown by adding a border to the sidebar wich showed that the content was clipping over it
2022-02-11 09:36:42 -03:00
alfrix de35769600 Temp_panel: Fix issue with temperature_fan #495
Since temperature_fan has a target, it needs to be in the list to properly work
2022-02-08 13:45:46 -03:00
dependabot[bot] cfe1bb8504 build(deps): bump humanize from 3.13.1 to 3.14.0 (#485)
Bumps [humanize](https://github.com/jmoiron/humanize) from 3.13.1 to 3.14.0.
- [Release notes](https://github.com/jmoiron/humanize/releases)
- [Commits](https://github.com/jmoiron/humanize/compare/3.13.1...3.14.0)

---
updated-dependencies:
- dependency-name: humanize
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-07 13:40:55 -03:00
Code_PhantomPainandsjqlwy 41b3309ff9 improve and finish zh_cn translations (#493)
Co-authored-by: sjqlwy <sjqlwy@yeah.net>
2022-02-07 13:40:25 -03:00
alfrix fce90ebf9d Print: hide extension in the list 2022-02-06 13:41:42 -03:00
alfrix d05ac06ad3 Settings_panel: Prevent long translations from squashing the slider
and improve switch to be more consistent
2022-02-05 14:47:35 -03:00
alfrix 1964f13e26 Update translations 2022-02-05 13:53:00 -03:00
alfrix 8375606771 Make Main_menu and Temp_panel look equal 2022-02-05 12:17:12 -03:00
alfrix d0b651c9dd Temp_panel: fix #490 2022-02-05 10:41:00 -03:00
alfrix 20aa25256f Graph: improve look when there is little space 2022-02-05 10:24:09 -03:00
alfrix c1b9123e9e Printer_select: improve arrangement if printers > 4 2022-02-05 10:18:41 -03:00
alfrix 5c23946283 Job_status: Fix issue with standby state that prevented closing 2022-02-04 14:18:11 -03:00
alfrix ffb62f149c Job_status: revert close_panel changes 2022-02-04 10:49:12 -03:00
alfrix e1877f2c2e Job_status: call state_check just before trying to close the panel
This shouldn't be needed but it's a reasonable safeguard
2022-02-04 09:34:05 -03:00
alfrix d5ab606509 Job_status: Fix not loading without display_status (needed for M117) 2022-02-04 09:28:11 -03:00
alfrix da7667e64e Job_status: Prevent the panel from closing itself when a print is in progress 2022-02-03 15:52:01 -03:00
alfrix 5384c59689 Job_status: Fix issues when the panel is not active
If the print finishes (or the user cancelled) while KS is in another panel, job_status was broken with no buttons, no filename, wrong progress and  wrong status, this fixes all those issues, and removes some redundant checks
2022-02-03 11:47:52 -03:00
Randell Hodges e478c3e8d9 Increase max move speed and separate XY and Z max speed (#411)
* Seperate XY and Z max speed
Increase max range of speed

* Limit the UI maximum for speed to 200, but allow a per printer override.

* Fix linting
2022-02-01 20:07:49 -05:00
alfrix 7db75ec30f Temp_panel: Fix target not updating when using both gcode and ks settings 2022-02-01 12:54:27 -03:00
Adam Polkosnik [fun] 57377a7e8b Bed leveling fix for printers with 4+ bed_screws (#445)
Fixes #443 on my printer with  6 bed screws.
It seemed to work with 3, 4, and 6 bed screws defined in printer.cfg
Also, added if statement to check for "screws_tilt_adjust" to avoid throwing an error when the section is not present.
2022-01-30 21:12:10 -03:00
alfrix aad665e3ca Extrude: visibly change load/unload if they are not found 2022-01-30 21:06:04 -03:00
alfrix f2d642b94d Installer: Workaround pip 22.0 issues 2022-01-30 18:28:27 -03:00
alfrix 588869aa57 Don't upgrade pip in the installer (pip 22.0 is being an issue) 2022-01-30 16:05:14 -03:00
alfrix 0f5752e3f1 Fix long line 2022-01-30 14:35:18 -03:00
alfrix b9b404a356 Tpanel: replace underscore with space close #463 2022-01-30 14:03:51 -03:00
Alfredo Monclus c1372c1839 Start in configurations without fans or extruders or temp devices
A bunch of conditionals that makes KS start and not stay in the splash screen
2022-01-30 10:55:05 -03:00
alfrix dad267d278 Temp_panel: Fix issue with shared_heaters Fix #482 2022-01-29 00:24:50 -03:00
alfrix 4c89eaf3e2 Temp: Start in delta mode when printing 2022-01-28 14:23:22 -03:00
alfrix c8a8f020af Installer: always unmask the service and enable 2022-01-26 09:07:26 -03:00
alfrix 21b0466f95 Create an uninstaller 2022-01-26 08:07:36 -03:00
alfrix 86cdcfafe4 Installer prevent the script from being run as root 2022-01-26 07:20:26 -03:00
alfrix 7bb99ecc7d Installer: clean deprecated command 2022-01-24 08:59:16 -03:00
alfrix d0ccdc0f7c Temp_panel: Show only heaters 2022-01-24 08:41:22 -03:00
dependabot[bot] f9f640ca52 build(deps): bump requests from 2.26.0 to 2.27.1 (#404)
Bumps [requests](https://github.com/psf/requests) from 2.26.0 to 2.27.1.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.26.0...v2.27.1)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-24 07:43:09 -03:00
alfrix 4e594c258f System: Fix long translations breaking the ui at low resolution 2022-01-24 07:17:35 -03:00
Adam Polkosnik [fun] 17b21bd41d Polish translation (#468)
* Added Polish translation

* Updated polish translation, fixed plural forms for "hour" in KlipperScreen.pot

* updated en lang, forgot trailing new line in .pot

* Small updates to .pl language translation
2022-01-24 07:11:38 -03:00
alfrix 213f1c92d6 Temp_panel: Maintain selection of heaters if the user go out of the panel and back 2022-01-23 13:51:18 -03:00
alfrix 02c008de84 Temp_panel: Fix temps not updating after opening another instance
Fix #446
2022-01-23 13:18:36 -03:00
Alfredo Monclus d8bc4747e8 Fix Startup without [virtual_sdcard] (#461)
* Rewrite evaluate_state

* Print: Show an error if trying to print without [virtual_sdcard]
2022-01-22 22:03:57 -03:00
alfrix 0592840ded Change scrolling behaviour in a few more places 2022-01-22 21:08:41 -03:00
Jordan 4b0b937c41 Change scrolling behavior to enable touch scroll. Fix #466 2022-01-22 15:30:02 -05:00
alfrix 1b38dbb36a Finish da-translation #465 2022-01-22 12:08:45 -03:00
srbjessen 5d19652b5b da-translation (#465)
* Update KlipperScreen.po
2022-01-22 12:06:37 -03:00
alfrix 07aa6bb7f7 Job_status: wrap long error messages 2022-01-22 09:36:50 -03:00
alfrix 8e8e23de0f Job_status: Fix not changing state if a print is issued during cancelling 2022-01-22 09:06:33 -03:00
alfrix de0b6ea435 Job_status: Fix thumbnail and metadata not updating after a cancel and re-upload 2022-01-22 09:06:33 -03:00
Alfredo Monclus 1065676018 Temp_panel: Do not set temp if not defined or out of range (#449) 2022-01-22 07:43:03 -03:00
Alfredo Monclus efa6344964 bed_mesh: use default profile (#450)
currently the bed_mesh panel will create a profile called None if no profile is selected, but klipper will use the default profile if that is the case, using the default profile if nothing was selected should be correct.
2022-01-22 07:35:57 -03:00
alfrix a754cdc239 Update docs: re-add the manual method of changing gl driver 2022-01-21 16:45:23 -03:00
Kmarty 0e3027638f Fix issue trying to set temperature from main_menu (#457)
'KlippyGcodes' has no attribute 'MAX_EXT_TEMP" by syncing (duplicit)
function change_target_temp() with 'panels/temperature.py'
2022-01-21 16:24:41 -03:00
Alfredo Monclus ec4213b971 System: fix updater dialog (#462) 2022-01-21 16:22:01 -03:00
alfrix d2419335b4 Fix startup: downgrade matplotlib to 3.5.0 2022-01-21 16:08:29 -03:00
Alfredo Monclus f156bd8529 Add numpy to requirements to prevent unexpected issues (#453) 2022-01-18 19:00:23 -05:00
Alfredo Monclus 5d3bae8ff9 Temp_panel: put devices in a scroll (#436)
* Temp_panel: put devices in a scroll

* Tweak margins

* Tpanel: Fix whitespace in message

* Fix #429 temperature_fan not updating target
2022-01-17 01:13:46 -05:00
Alfredo Monclus 8dd5c64006 Extrude panel: Support 5 extruders (#441) 2022-01-17 01:13:16 -05:00
Alfredo Monclus 86fc0f9988 Menu: Arrange 3 x 2 and 2 x 2 (#442)
* Arrange 3 x 3 and 2 x 2

* typo
2022-01-17 01:12:54 -05:00
Alfredo Monclus 8775221b5f Update Docs: add Thumbnail info, add xorg.log, optimize and organize images (#447)
* Update Docs: add Thumbnail info, add xorg.log, optimize pngs

* Organize images in subfolders
2022-01-17 01:12:19 -05:00
Devil-of-Chaos f796a72057 Add Ability to Use Custom Service (#418)
* Custom Servive

* Custom Service

* Update system.py

* Update Configuration.md
2022-01-13 11:17:45 -05:00
Alfredo Monclus 8c489bc465 Support hiding by name using underscore (#437) 2022-01-13 11:09:06 -05:00
Alfredo Monclus 6b043d63bc Improve config file search (#440) 2022-01-13 11:08:12 -05:00
Alfredo Monclus e1e3437d62 Relax timers for CPU efficiency (#439) 2022-01-13 11:05:34 -05:00
Alfredo Monclus 41aa953cfd Update Translations (#435) 2022-01-13 11:05:04 -05:00
Alfredo Monclus d24f3d6f5c Fix close Websocket (#434) 2022-01-13 11:04:02 -05:00
Alfredo Monclus 2982eb9645 Track the status of calibration and inform the user more (#402) 2022-01-12 20:03:57 -05:00
srbjessen 0aab9ff4c4 Danish translations (#399)
* Danish translations

* Missing "%s" and "%d"
2022-01-12 20:03:26 -05:00
Alfredo Monclus eb80be47db Temp_panel: Fix extruder not setting temps with numpad (#426) 2022-01-11 06:59:07 -05:00
Alfredo Monclus 8a8c6c064c Graph in temp panel, combine preheat and temp (#393)
* Graph in temp panel, combine preheat and temp

* Fix target not working properly

* Fix initial preselect

* Add the ability to change in delta temps

* Make the label translatable

* Add Unit to the label

* Add de/select button to popover

* Warn the user if nothing was selected

* Fix templabel

* Fix to comply with pep8

* Fix colors, thanks Jordan

* Fix popover selection

* Update docs image

* Gain horizontal space

* Gain even more horizontal space (remove target)

* Fix temperature_fan

* Add icon and style to temperature_fan

* List preheat deprecation in breaking changes

* Use the printer maximum temperature

* Cleanup target and fix popover select

* Fix codestyle

* Add extra preheat presets

* Change Class name

* Update docs image

* Improve Maximum temperature handling and Temperature fans
2022-01-11 00:39:42 -05:00
Alfredo Monclus 58e0aa74d0 Word Wrap (#395)
* Word-wrap dialogs

* prevent horizontal scrollbar caused by translators

* Fix weird indentation on print name
2022-01-03 12:45:55 -05:00
Alfredo Monclus 9449f24b5f Splash_screen: show full error message (#389)
* Splash_screen: show full error messge

* Fix splash not changing from connecting to error
2022-01-03 01:29:49 -05:00
Alfredo Monclus 9d3a6c7538 Support Manual Mesh calibration (#388)
* Bed_mesh: Home if not homed

* Bed_mesh: support manual bed mesh leveling

* Indentation Fix

* Change log string to represent current behaviour
2022-01-03 01:29:01 -05:00
Olivier Robardetandjordanruthe ce872a54b1 Update french translation (#385)
* Makes "Confirm Emergency Stop" setting localizable

* Updates french translation

Co-authored-by: jordanruthe <31575189+jordanruthe@users.noreply.github.com>
2022-01-03 01:27:17 -05:00
BrownRhinedandJordan 4bfd0d13fb add Chinese Traditional (#392)
* add Chinese Traditional

add Chinese Traditional

* Update KlipperScreen.po

* Update translation script and run it.

Co-authored-by: Jordan
2022-01-03 01:26:12 -05:00
Frank Tackitt d19e303f0d Support the "enter" key from a physical keyboard (#379)
* Support the "enter" key from a physical keyboard

I often have a usb keyboard dangling from my printer, and got annoyed I couldn't just hit enter from the console.

https://docs.gtk.org/gtk3/signal.Entry.activate.html

* Fix whitespace for linting
2021-12-24 09:32:07 -05:00
Alfredo Monclus 22221c61ac Fix Network Panel (#375)
* Network: Fix Keyboard still showing after connection

* Network: fix dialog setting wrong size

* Fix empty network panel
2021-12-24 09:31:47 -05:00
dependabot[bot] e7bf13b6df build(deps): bump matplotlib from 3.5.0 to 3.5.1 (#372)
Bumps [matplotlib](https://github.com/matplotlib/matplotlib) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/matplotlib/matplotlib/releases)
- [Commits](https://github.com/matplotlib/matplotlib/compare/v3.5.0...v3.5.1)

---
updated-dependencies:
- dependency-name: matplotlib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-24 09:31:23 -05:00
dependabot[bot] 7ac4d3b290 build(deps): bump websocket-client from 1.2.1 to 1.2.3 (#358)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.2.1 to 1.2.3.
- [Release notes](https://github.com/websocket-client/websocket-client/releases)
- [Changelog](https://github.com/websocket-client/websocket-client/blob/master/ChangeLog)
- [Commits](https://github.com/websocket-client/websocket-client/compare/v1.2.1...v1.2.3)

---
updated-dependencies:
- dependency-name: websocket-client
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-24 09:31:13 -05:00
d8ahazard 6c3c579e6e Support multiple power devices. (#350)
Enable multiple devices to power on when turning on printer. Devices starting with "Printer" will turn on
2021-12-24 09:31:01 -05:00
Christian Kvasnyandjordanruthe 0b9d545c6f add speed as parameter to UN/LOAD_FILAMENT macro (#359)
* Configurable xy position for z-calibrate added

* fix coding style

* Z probe calibrate option added

* add speed as parameter for UN/LOAD_FILAMENT macro

* add macros.md to docs

* update description

* change macros-md
fix format

Co-authored-by: jordanruthe <31575189+jordanruthe@users.noreply.github.com>
2021-12-18 09:38:33 -05:00
Alfredo Monclus d9171e0d15 Always show Load/Unload buttons (#363)
But give the user an error if the Macro is missing
2021-12-17 12:43:25 -05:00
Alfredo Monclusandjordanruthe 964ae7986f Docs: Add Bulleye fix (#367)
Also configuration file clarifications, and other minor updates.

Co-authored-by: jordanruthe <31575189+jordanruthe@users.noreply.github.com>
2021-12-17 12:41:29 -05:00
Alfredo Monclus ae47cac064 Improve plot performance (#364) 2021-12-17 12:39:31 -05:00
Alfredo Monclus bfe6321c2f Improve pathing (#368)
* Improve pathing

* Improve Pathing: config.py
2021-12-17 12:39:18 -05:00
Alfredo Monclus 70767c2bb6 Fix UI broken in german at low res. (#369) 2021-12-17 12:37:57 -05:00
Alfredo Monclus 70caf24c35 Add light icon (#370) 2021-12-17 12:37:43 -05:00
Oli Wright bca1ac6ba6 Fix configuration filename (#373)
A rogue underscore (old formatting?) had been appended to the end of the config filename.  Removed.
2021-12-17 12:37:27 -05:00
Jordan 9660172e0b Enable startup with #360 to not error 2021-12-10 21:13:18 -05:00
Jordan 698b86ac1c Update main_panel image and include in main README 2021-12-09 08:52:25 -05:00
183 changed files with 10543 additions and 2840 deletions

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
.idea/
KlipperScreen.conf
__pycache__/
*.py[cod]
*$py.class
dist/
build/
venv/
+7 -4
View File
@@ -1,15 +1,18 @@
# KlipperScreen
KlipperScreen is touchscreen GUI for Klipper based 3D printers. KlipperScreen interfaces with [Klipper](https://github.com/kevinOConnor/klipper) via [Moonraker](https://github.com/arksine/moonraker).
Multiple printers update is here! Please check the configuration information for specifying several printers.
KlipperScreen is a touchscreen GUI that interfaces with [Klipper](https://github.com/kevinOConnor/klipper) via [Moonraker](https://github.com/arksine/moonraker). It can switch between multiple printers to access them from a single location, and it doesn't even need to run on the same host, you can install it on another device and configure the IP address to access the printer.
### Documentation
[Click here to access the documentation.](https://klipperscreen.readthedocs.io/en/latest/)
Screenshots are included in the documentation.
### Inspiration
KlipperScreen was inspired by [OctoScreen](https://github.com/Z-Bolt/OctoScreen/) and the need for a touchscreen GUI that
will natively work with [Klipper](https://github.com/kevinOConnor/klipper) and [Moonraker](https://github.com/arksine/moonraker).
![Main Menu](docs/img/panels/main_panel.png)
[More Screenshots](https://klipperscreen.readthedocs.io/en/latest/Panels/)
+27
View File
@@ -0,0 +1,27 @@
# Changelog
Breaking changes will be listed here.
#### [2022 03 21](https://github.com/jordanruthe/KlipperScreen/commit/bc34b3c8d6761c27a0b0c62fc4dfa11442b417f6)
* Default configuration is now merged again.
Fixing [2021 05 20](https://github.com/jordanruthe/KlipperScreen/commit/eb801486928bf02709033dcbc5f0a45ca43b23c1)
#### [2022 03 10](https://github.com/jordanruthe/KlipperScreen/commit/490dc929bd11e3c4200b999ce7204d84fa0bc184)
* The "Power On Printer" button now requires power_devices under the printer section in KlipperScreen.conf
the power_devices allowed are those defined in the config of moonraker of the printer
The "Power" panel will be in the Menu if there are power devices found
#### [2022 03 01](https://github.com/jordanruthe/KlipperScreen/commit/49ab84e8d51535d3469d97fdee53099cca6abc39)
* The "Power On Printer" button now requires that the printer name in KlipperScreen.conf
and the power device in moonraker.conf to have the same name.
The "Power" panel will be in the Menu if there are power devices found
#### [2022 01 11](https://github.com/jordanruthe/KlipperScreen/commit/8a8c6c064cc6d097b1b34a5c42b4001367e545a6)
* The Preheat panel has been deprecated in favor of an all in one Temperature panel
Remove preheat panel from your Klipperscreen.conf or replace the occurrences of preheat with temperature
#### [2021 05 20](https://github.com/jordanruthe/KlipperScreen/commit/eb801486928bf02709033dcbc5f0a45ca43b23c1)
* Default configuration is not merged if a user configuration is set for a specific option
For instance, if `menu __main` is user defined, the main menu will not have any defaults.
+55 -12
View File
@@ -1,8 +1,9 @@
# Configuration
Create a blank file in `~/klipper_config/KlipperScreen.conf_`, if the file already exist then just edit it.
Usually you don't need to create a configuration file, but if you need to change something that is not changeable in the UI
create a blank file in `~/klipper_config/KlipperScreen.conf`, if the file already exist then just edit it.
Write in the file only the options that need to be changed.
Write in the file only the options that need to be changed, and restart KlipperScreen.
## Include files
```
@@ -32,6 +33,17 @@ language: en
# Allows the cursor to be displayed on the screen
show_cursor: False
# Allows to define custom systemctl command for restart like xrdp
service: KlipperScreen
# If multiple printers are defined, this can be set the name of the one to show at startup.
default_printer: Ender 3 Pro
# To define a full set of custom menues (instead of merging user entries with default entries)
# set this to False. See Menu section below.
use_default_menu: True
```
## Printer Options
@@ -47,16 +59,36 @@ moonraker_api_key: False
# Define the z_babystep intervals in a CSV list. Currently only 2 are supported
z_babystep_values: 0.01, 0.05
```
## Z probe calibrate Option
If for any reason the XYZ home position is not suitable for calibrating the probe Z offset, you can enter the coordinates for the desired position here.
```
[z_calibrate_position]
# The specified positions must be> 0 otherwise this option is ignored.
# the center of the print bed is a good value
# Override the movement speed and set a specific for this printer.
# These setting overrides the settings configured in the UI. If specified,
# the values configured in the UI will not be used.
move_speed_xy: 500
move_speed_z: 300
# Define one or more moonraker power devices that turn on this printer (CSV list)
# Default is the printer name
power_devices: example1, example2
# Define what items should be shown in titlebar besides the extruder and bed
# the name must be the same as defined in the klipper config
# valid options are temperature_sensors or temperature_fans, or heater_generic
titlebar_items: chamber, MCU, Pi
# The style of the user defined items in the titlebar
# Can be 'full' indicating that the full name is shown, 'short' for the first letter, or None (default) for no name
titlebar_name_type: None
# Z probe calibrate position
# By default is the middle of the bed
calibrate_x_position: 100
calibrate_y_position: 100
# Screen DPMS
# By default DPMS is used to turn off the screen, this should prevent burn-in and save power.
# However if you find that your screen doesn't turn off because it doesn't support it
# Setting this to false will just turn the screen black.
use_dpms: True
```
## Preheat Options
@@ -68,10 +100,20 @@ bed: 40
extruder: 195
# Temperature for generic heaters
heater_generic: 40
# Temperature controlled fans (temperature_fan in klipper config)
temperature_fan: 40
# optional GCode to run when the option is selected
gcode: MY_HEATSOAK_MACRO
```
## Bed Screws
```
[bed_screws]
# Rotation is useful if the screen is not directly in front of the machine.
# Valid values are 0 90 180 270
rotation: 0
```
## Menu
This allows a custom configuration for the menu displayed while the printer is idle. You can use sub-menus to group
different items and there are several panel options available. It is possible to have a gcode script run on a menu
@@ -95,7 +137,7 @@ params: {"script":"G28 X"}
# Available variables are listed below.
enable: {{ printer.power_devices.count > 0 }}
```
Available panels are listed here: [docs/panels.md](panels.md)
Available panels are listed here: [docs/panels.md](Panels.md)
Certain variables are available for conditional testing of the enable statement:
```
@@ -142,8 +184,9 @@ KlipperScreen will search for a configuration file in the following order:
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.
If one of those files are found, it will be used over the default configuration. The default configuration will be
merged with the custom configuration, so if you do not define any menus the default menus will be used.
If one of those files are found, it will be merged with the default configuration.
Default Preheat options will be discarded if a custom preheat is found.
If include files are defined then, they will be merged first.
The default config is included here: (do not edit use as reference)
_${KlipperScreen_Directory}/ks_includes/default.conf_
+32 -45
View File
@@ -1,9 +1,6 @@
# Hardware
There are no recommended screens, but here are some guidelines:
* There is no support for vertical/portrait mode, only widescreen
* Minimum resolution of 480x320
There are no recommended screens, but the minimum supported resolution is 480x320
#### Hardware known to work
@@ -24,58 +21,48 @@ There are no recommended screens, but here are some guidelines:
Follow the manufacturer instructions on how to install your screen. In general if you see a white screen, then it's not properly installed, ensure that you at least see a console, Then ![install](Installation.md) KlipperScreen, if you are having troubles refer to the ![troubleshooting page](Troubleshooting.md) for further information.
#### Touchscreen Calibration
Most people don't need to calibrate, but if you do need to calibrate your touchscreen, follow the below steps.
Run this command:
```
DISPLAY=:0 xinput_calibrator --list
```
It will output something such as:
```
Device "wch.cn USB2IIC_CTP_CONTROL" id=6
```
Find the ID of your display and put it in the following command:
```
DISPLAY=:0 xinput_calibrator -v --device <id from last command>
```
#### Touchscreen touch rotation
If your touchscreen isn't registering touches properly after the screen has been rotated, you will need to apply a
transformation matrix. You can have the matrix be one of the following:
transformation matrix.
First you will need your device name.
Run: `DISPLAY=:0 xinput`
Output
```
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ ADS7846 Touchscreen id=6 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
```
In this case the device is the ADS7846 Touchscreen, yours may be different
You can test a change by running:
`DISPLAY=:0 xinput set-prop "<device name>" 'Coordinate Transformation Matrix' <matrix>`
Where the matrix can be one of the following options:
* 0°: `1 0 0 0 1 0 0 0 1`
* 90° Clockwise: `0 -1 1 1 0 0 0 0 1`
* 90° Counter-Clockwise: `0 1 0 -1 0 1 0 0 1`
* 180°: `-1 0 1 0 -1 1 0 0 1`
* 180° (Inverts X and Y): `-1 0 1 0 -1 1 0 0 1`
* invert Y: `-1 0 1 1 1 0 0 0 1`
* invert X: `-1 0 1 0 1 0 0 0 1`
To check the current matrix, you will need your `<screen name>`
(which can be found via the last section, ex: "wch.cn USB2IIC_CTP_CONTROL").
Run the following command: `xinput list-props "wch.cn USB2IIC_CTP_CONTROL"`
For example:
It will output something such as:
```
Device '<screen name>':
Device Enabled (115): 1
Coordinate Transformation Matrix (116): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Calibration Matrix (247): -1.000000, 0.000000, 1.000000, 0.000000, -1.000000, 1.000000, 0.000000, 0.000000, 1.000000
libinput Calibration Matrix Default (248): -1.000000, 0.000000, 1.000000, 0.000000, -1.000000, 1.000000, 0.000000, 0.000000, 1.000000
libinput Send Events Modes Available (249): 1, 0
libinput Send Events Mode Enabled (250): 0, 0
libinput Send Events Mode Enabled Default (251): 0, 0
Device Node (252): "/dev/input/event0"
Device Product ID (253): 6790, 58083
```
You can verify by checking that the 'Coordinate Transformation Matrix' or 'libinput Calibration Matrix'.
You can test a change by running: `xinput set-prop "<screen name>" 'Coordinate Transformation Matrix' <matrix>`
Replace matrix with one of the options above, such as: `1 0 0 0 1 0 0 0 1`
`DISPLAY=:0 xinput set-prop "ADS7846 Touchscreen" 'Coordinate Transformation Matrix' -1 0 1 0 -1 1 0 0 1`
To make this permanent, modify the file `/etc/udev/rules.d/51-touchscreen.rules` and add following line:
```
ACTION=="add", ATTRS{name}=="<screen name>", ENV{LIBINPUT_CALIBRATION_MATRIX}="<matrix>"
ACTION=="add", ATTRS{name}=="<device name>", ENV{LIBINPUT_CALIBRATION_MATRIX}="<matrix>"
```
More info about input transformation can be found in:
* [Ubuntu wiki InputCoordinateTransformation]("https://wiki.ubuntu.com/X/InputCoordinateTransformation")
* [Libinput docs]("https://wayland.freedesktop.org/libinput/doc/1.9.0/absolute_axes.html")
+4 -1
View File
@@ -51,4 +51,7 @@ This script will install packages that are listed under manual install, create a
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.
At this point KlipperScreen should be working, check out the [hardware page](Hardware.md) if you still haven't installed the screen, or head to the [troubleshooting page](Troubleshooting.md) if you are having problems
If your screen needs additional software, proceed with the manufacturer instructions if they are provided
and check out the [hardware page](Hardware.md)
At this point KlipperScreen should be working, if it doesn't start then go to the [troubleshooting page](Troubleshooting.md)
+34 -22
View File
@@ -1,14 +1,15 @@
# Panels
### Main Menu
![Main Menu](img/main_panel.png)
![Main Menu](img/panels/main_panel.png)
### Job Status
![Job Status](img/job_status.png)
![Job Status](img/panels/job_status.png)
### Bed Level
type: bed_level
![Bed Level](img/bed_level.png)
![Bed Level](img/panels/bed_level.png)
The bed level panel has the ability to have preset locations from Klipper. Please see documentation on the following
Klipper Sections:
@@ -24,64 +25,75 @@ panel.
### Bed Mesh
type: bed_mesh theme:material-dark
![Bed Mesh](img/bed_mesh.png)
![Bed Mesh](img/panels/bed_mesh.png)
### Extrude
type: extrude theme:material-dark
![Extrude](img/extrude.png)
![Extrude](img/panels/extrude.png)
### Fan
type: fan
![Fan](img/fan.png)
![Fan](img/panels/fan.png)
### Fine Tune
type: fine_tune theme:custom
![Fine Tune Panel](img/fine_tune.png)
![Fine Tune Panel](img/panels/fine_tune.png)
### Gcode Macros
type: gcode_macros theme: material-darker
![Gcode Macros Panel](img/gcode_macros.png)
![Gcode Macros Panel](img/panels/gcode_macros.png)
### Menu
type: menu
![Menu Panel](img/menu.png)
![Menu Panel](img/panels/menu.png)
### Move
type: move
![Move Panel](img/move.png)
![Move Panel](img/panels/move.png)
### Network
type: network
![Network Panel](img/network.png)
![Network Panel](img/panels/network.png)
### Power
type: power
![Power](img/power.png)
### Preheat
type: preheat
![Preheat Panel](img/preheat.png)
![Power](img/panels/power.png)
### Print
type: print
![Print Panel](img/print.png)
![Print Panel](img/panels/print.png)
### Settings
type: settings theme:colorized
![Settings](img/settings.png)
![Settings](img/panels/settings.png)
### System
type: system
![System Panel](img/system.png)
![System Panel](img/panels/system.png)
### Temperature
type: temperature theme:material-light
![Temperature](img/temperature.png)
type: temperature theme:custom
![Temperature](img/panels/temperature.png)
### Z Calibrate
type: zcalibrate
![Z Calibrate](img/zcalibrate.png)
![Z Calibrate](img/panels/zcalibrate.png)
### Limits
type: limits theme: material-dark
![Limits](img/limits.png)
![Limits](img/panels/limits.png)
+81
View File
@@ -0,0 +1,81 @@
# Quicktips
quick tips, without much explanation
## Hide macros, outputs or fans
As you probably already noticed, you can show and hide the gcode macros in the interface settings,
but you can also hide gcode macros by prefixing the name with an underscore.
```
[gcode_macro MY_AWESOME_GCODE]
gcode:
_MY_HELPER_CODE
[gcode_macro _MY_HELPER_CODE]
gcode:
M300
```
MY_AWESOME_GCODE appears in your interface settings, _MY_HELPER_CODE not.
Another example:
Lets hide a temperature_fan:
```
[temperature_fan fan1]
[temperature_fan _fan2]
```
fan1 will show in the interface, but _fan2 will be hidden.
## Thumbnails
KlipperScreen can display thumbnails in the file browser and as previews in the print status.
![Job Status](img/panels/job_status.png)
* [PrusaSlicer](#prusaslicer)
* [SuperSlicer](#superslicer)
* [Cura](#cura)
* [ideaMaker](#ideamaker)
### PrusaSlicer
In “Expert” mode PrusaSlicer has an option in the “Printer Settings” tab to activate previews.
Under General / Firmware.
![PrusaSlicer](img/quicktips/PrusaSlicer-thumbnails.png)
### SuperSlicer
In “Expert” mode SuperSlicer has some very convenient options in the “Printer Settings” tab to activate and customize the previews.
![SuperSlicer](img/quicktips/SuperSlicer-thumbnails.png)
### Cura
The Cura plugin [“Cura2Moonraker”](https://github.com/emtrax-ltd/Cura2MoonrakerPlugin) is required for this.
![Cura](img/quicktips/Cura-thumbnails.png)
### ideaMaker
To enable thumbnails, open the Advanced tab in the printer settings, enable the GCode Thumbnails for Octoprint and Mainsail option and enter your prefered square format image size in the Resolution fields (e.g. 400 X 400). It’s necessary that the thumbnail width and height resolution is equal.
![ideaMaker](img/quicktips/IdeaMaker-thumbnails.png)
## Layer Progress
PrusaSlicer/SuperSlicer > Printer Settings > Custom Gcode > After layer change Gcode
`M117 Layer {layer_num+1}/[total_layer_count] : {filament_settings_id[0]}`
![Layer_progress](img/quicktips/PS_SS_Layer_progress.png)
## Supported Macros
[Macros](macros.md)
+1 -1
View File
@@ -29,5 +29,5 @@ window { background-image: url("/home/pi/mainsail/img/background.svg");}
button {background-color: rgba(0,0,0,0); border-radius:2em;}
```
![Custom theme example with background](img/theme_example.png)
![Custom theme example with background](img/theming/theme_example.png)
+57 -24
View File
@@ -1,48 +1,81 @@
# Troubleshooting
This page will have common problems and common solutions to those problems.
## First Steps
# First Steps
The first step to troubleshooting any problem is getting the cause of the error. KlipperScreen log output will occur
in two places. Check for the file `/tmp/KlipperScreen.log` and look at the contents by running
`cat /tmp/KlipperScreen.log` or grabbing the file over WinSCP or another scp program.
The first step to troubleshooting any problem is getting the cause of the error.
If that file is non-existent, there is a problem in KlipperScreen starting up. To get the error output in this case,
run `journalctl -xe -u KlipperScreen`.
* Check for the file `/tmp/KlipperScreen.log`
look at the contents by running `cat /tmp/KlipperScreen.log` or grab the file over WinSCP or another sftp program.
This is the most important file, and should be provided if you ask for support.
## Common Errors
If that file is non-existent, run `journalctl -xe -u KlipperScreen`
### Problems occurring before the log file appears
Check the file `/var/log/Xorg.0.log` where you can find issues with the X server.
This section will detail problems that may happen before the log file has been created. Each section will start with a
relevant line from the journalctl output.
#### Cannot open virtual Console
## Cannot open virtual Console
```
xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
```
* Check /etc/X11/Xwrapper.conf
Run `cat /etc/X11/Xwrapper.conf`
This should have the line `allowed_users=anybody` in it
* Check /etc/group
Run the command `cat /etc/group | grep tty`. If your username is not listed under that line, you need to add it with the
following command (if your username is not 'pi' change 'pi' to your username):
`usermod -a -G tty pi`
Run `cat /etc/group | grep tty`
If your username is not listed under that line, you need to add it with the following command:
`usermod -a -G tty pi` (if your username is not 'pi' change 'pi' to your username)
If it's still failing, try: `sudo apt install xserver-xorg-legacy`
### Problems occurring with the log file
## Screen shows console instead of KlipperScreen
#### Screen shows console instead of KlipperScreen
Run the command `ls /dev/fb*`. If you have multiple devices, you may need to fix the X11 configuration.
If you have multiple framebuffers, you may need to fix the X11 configuration.
Run the command `cat /usr/share/X11/xorg.conf.d/99-fbturbo.conf | grep /dev/fb`. Try modifying the file (
`sudo nano /usr/share/X11/xorg.conf.d/99-fbturbo.conf`) and change `/dev/fb0` to a different file listed in the
previous command (i.e. `/dev/fb1`).
`ls /dev/fb*` will list the available framebuffers
`cat /usr/share/X11/xorg.conf.d/99-fbturbo.conf | grep /dev/fb` will show you the current one
If you have another fb, try changing it:
`sudo nano /usr/share/X11/xorg.conf.d/99-fbturbo.conf`
for example: change `/dev/fb0` to `/dev/fb1`
Once you have saved that file, restart KlipperScreen and it should show up on your display.
#### Screen is all white or blank
## Screen is all white or blank or no signal
Improperly installed screen, follow the manufacturer instructions on how to physically connect the screen and install the proper drivers.
If the screen never shows the console even during startup, Then it's tipically an improperly installed screen,
follow the manufacturer instructions on how to physically connect the screen and install the proper drivers.
## Touch not working on debian Bullseye
Some dsi screens have issues where touch doesn't work with debian bullseye, the current fix
(at least until upstream is fixed) consist in changing the driver:
Run `raspi-config` > go to Advanced > GL Driver > select G2 and reboot.
![config](img/troubleshooting/gldriver.png)
Or manually edit `/boot/config.txt` and change:
`dtoverlay=vc4-kms-v3d`
to:
`dtoverlay=vc4-fkms-v3d`
and reboot, that should make the touch work, if your screen is rotated 180 degrees, then you may need to adjust
[the touch rotation](Hardware.md) as described in the Hardware page.
## Other issues
If you found an issue not listed here, or can't make it work, please provide all the log files
a description of your hw, and a description of the issue when asking for support.
-8
View File
@@ -1,8 +0,0 @@
# Changelog
Breaking changes will be listed here.
#### 2021 05 20
* Default configuration is not merged if a user configuration is set for a specific option
For instance, if `menu __main` is user defined, the main menu will not have any defaults.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

File renamed without changes.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

+6 -3
View File
@@ -11,14 +11,17 @@ A physical touchscreen is not strictly required, for example you may install a r
### Sample Panels
Main Menu
![Main Menu](img/main_panel.png)
![Main Menu](img/panels/main_panel.png)
Job Status
![Job Status](img/job_status.png)
![Job Status](img/panels/job_status.png)
[More](Panels.md)
### Inspiration
KlipperScreen was inspired by [OctoScreen](https://github.com/Z-Bolt/OctoScreen/) and the need for a touchscreen GUI that
will natively work with [Klipper](https://github.com/klipper3d/klipper) and [Moonraker](https://github.com/arksine/moonraker).
[Changelog](changelog.md)
[Changelog](Changelog.md)
+57
View File
@@ -0,0 +1,57 @@
# Supported Macros
## Extrude Panel
### LOAD_FILAMENT / UNLOAD_FILAMENT
Load and Unload Filament macros are used in the Extrude-Panel if it is available.
The selected speed is transferred to this macro.
The following example macros show how this can be used in the macro.
```
[gcode_macro LOAD_FILAMENT]
gcode:
{% set speed = params.SPEED|default(500) %}
G91
G1 E50 F{speed}
G1 E50 F{speed}
G92
```
```
[gcode_macro UNLOAD_FILAMENT]
gcode:
{% set speed = params.SPEED|default(500) %}
G91
G1 E-50 F{speed}
G1 E-50 F{speed}
G92
```
this could be interesting to tweak the purge speed, this would be one Example Macro from alfrix:
```
[gcode_macro LOAD_FILAMENT]
gcode:
{% set speed = params.SPEED|default(300) %}
{% set max_velocity = printer.configfile.settings['extruder'].max_extrude_only_velocity %}
M300 # beep
G91
G92 E0
G1 E350 F{max_velocity}
G1 E25 F{speed} #purge
M300
M300
```
```
[gcode_macro UNLOAD_FILAMENT]
gcode:
{% set speed = params.SPEED|default(300) %}
{% set max_velocity = printer.configfile.settings['extruder'].max_extrude_only_velocity %}
G91
M300 # beep
G92 E0
G1 E25 F{speed} # purge
G1 E-420 F{max_velocity}
M300
M300
```
-2
View File
@@ -16,10 +16,8 @@ class KlippyGcodes:
EXTRUDE_REL = "M83"
SET_EXT_TEMP = "M104"
MAX_EXT_TEMP = 450
SET_BED_TEMP = "M140"
MAX_BED_TEMP = 150
SET_EXT_FACTOR = "M221"
SET_FAN_SPEED = "M106"
+42 -28
View File
@@ -2,15 +2,15 @@
import gi
import logging
import os
import pathlib
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Gdk, GdkPixbuf, Gio, GLib, Pango
from gi.repository import Gdk, GdkPixbuf, Gio, Gtk, Pango
klipperscreendir = os.getcwd()
klipperscreendir = pathlib.Path(__file__).parent.resolve().parent
class KlippyGtk:
labels = {}
font_ratio = [43, 29]
keyboard_ratio = .22
width_ratio = 16
height_ratio = 9.375
@@ -20,6 +20,10 @@ class KlippyGtk:
self.width = width
self.height = height
self.theme = theme
if self.screen.vertical_mode:
self.font_ratio = [33, 49]
else:
self.font_ratio = [43, 29]
self.font_size = int(min(
self.width / self.font_ratio[0],
self.height / self.font_ratio[1]
@@ -31,9 +35,12 @@ 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.action_bar_width = int(self.width * .1)
self.header_image_scale_width = 1.2
self.header_image_scale_height = 1.4
if self.screen.vertical_mode:
self.action_bar_width = int(self.width)
self.action_bar_height = int(self.height * .1)
else:
self.action_bar_width = int(self.width * .1)
self.action_bar_height = int(self.height)
self.cursor = cursor
self.color_list = {} # This is set by screen.py init_style()
@@ -48,6 +55,9 @@ class KlippyGtk:
def get_action_bar_width(self):
return self.action_bar_width
def get_action_bar_height(self):
return self.action_bar_height
def get_content_width(self):
return self.width - self.action_bar_width
@@ -60,9 +70,6 @@ class KlippyGtk:
def get_header_size(self):
return self.header_size
def get_header_image_scale(self):
return [self.header_image_scale_width, self.header_image_scale_height]
def get_image_width(self):
return self.img_width
@@ -73,7 +80,7 @@ class KlippyGtk:
return (self.width - self.get_action_bar_width()) * self.keyboard_ratio
def get_temp_color(self, device):
logging.debug("Color list %s" % self.color_list)
# logging.debug("Color list %s" % self.color_list)
if device not in self.color_list:
return False, False
@@ -84,7 +91,7 @@ class KlippyGtk:
self.color_list[device]['state'] += 1
color = '{:02X}{:02X}{:02X}'.format(rgb[0], rgb[1], rgb[2])
rgb = [x/255 for x in rgb]
logging.debug("Assigning color: %s %s %s" % (device, rgb, color))
# logging.debug("Assigning color: %s %s %s" % (device, rgb, color))
else:
colors = self.color_list[device]['colors']
if self.color_list[device]['state'] >= len(colors):
@@ -92,7 +99,7 @@ class KlippyGtk:
color = colors[self.color_list[device]['state'] % len(colors)]
rgb = [int(color[i:i+2], 16)/255 for i in range(0, 6, 2)]
self.color_list[device]['state'] += 1
logging.debug("Assigning color: %s %s %s" % (device, rgb, color))
# logging.debug("Assigning color: %s %s %s" % (device, rgb, color))
return rgb, color
@@ -110,7 +117,7 @@ class KlippyGtk:
def ImageLabel(self, image_name, text, size=20, style=False, width_scale=.32, height_scale=.32):
box1 = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=15)
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(
"%s/styles/%s/images/%s.svg" % (klipperscreendir, self.theme, str(image_name)),
os.path.join(klipperscreendir, "styles", self.theme, "images", str(image_name) + ".svg"),
int(round(self.img_width * width_scale)), int(round(self.img_height * height_scale)), True)
image = Gtk.Image.new_from_pixbuf(pixbuf)
@@ -129,7 +136,7 @@ class KlippyGtk:
def ImageMenuButton(self, image_name, text, size=20, style=False, width_scale=.32, height_scale=.32, popover=False):
box1 = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=15)
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(
"%s/styles/%s/images/%s.svg" % (klipperscreendir, self.theme, str(image_name)),
os.path.join(klipperscreendir, "styles", self.theme, "images", str(image_name) + ".svg"),
int(round(self.img_width * width_scale)), int(round(self.img_height * height_scale)), True)
image = Gtk.Image.new_from_pixbuf(pixbuf)
@@ -147,7 +154,7 @@ class KlippyGtk:
def Image(self, image_name, style=False, width_scale=1, height_scale=1):
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(
"%s/styles/%s/images/%s" % (klipperscreendir, self.theme, str(image_name)),
os.path.join(klipperscreendir, "styles", self.theme, "images", str(image_name)),
int(round(self.img_width * width_scale)), int(round(self.img_height * height_scale)), True)
return Gtk.Image.new_from_pixbuf(pixbuf)
@@ -192,15 +199,15 @@ class KlippyGtk:
if style is not None:
b.get_style_context().add_class(style)
b.connect("clicked", self.screen.reset_screensaver_timeout)
return b
def ButtonImage(self, image_name, label=None, style=None, width_scale=1.38, height_scale=1.38,
position=Gtk.PositionType.TOP, word_wrap=True):
filename = "%s/styles/%s/images/%s.svg" % (klipperscreendir, self.theme, str(image_name))
filename = os.path.join(klipperscreendir, "styles", self.theme, "images", str(image_name) + ".svg")
if not os.path.exists(filename):
logging.error("Unable to find button image (theme, image): (%s, %s)" % (self.theme, str(image_name)))
filename = "%s/styles/%s/images/%s.svg" % (klipperscreendir, self.theme, "warning")
filename = os.path.join(klipperscreendir, "styles", self.theme, "images", "warning.svg")
b = Gtk.Button(label=label)
@@ -232,7 +239,7 @@ class KlippyGtk:
if style is not None:
b.get_style_context().add_class(style)
b.connect("clicked", self.screen.reset_screensaver_timeout)
return b
def Dialog(self, screen, buttons, content, callback=None, *args):
@@ -242,16 +249,16 @@ class KlippyGtk:
dialog.set_transient_for(screen)
dialog.set_modal(True)
for button in buttons:
for i, button in enumerate(buttons):
dialog.add_button(button_text=button['name'], response_id=button['response'])
button = dialog.get_children()[0].get_children()[0].get_children()[0].get_children()[i]
button.get_child().set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
button.get_child().set_line_wrap(True)
button.set_size_request((screen.width-30)/3, screen.height/5)
dialog.connect("response", callback, *args)
dialog.get_style_context().add_class("dialog")
box = Gtk.Box()
box.set_size_request(screen.width - 60, 0)
box.set_vexpand(True)
content_area = dialog.get_content_area()
content_area.set_margin_start(15)
content_area.set_margin_end(15)
@@ -270,7 +277,7 @@ class KlippyGtk:
def ToggleButtonImage(self, image_name, label, style=False, width_scale=1.38, height_scale=1.38):
filename = "%s/styles/%s/images/%s.svg" % (klipperscreendir, self.theme, str(image_name))
filename = os.path.join(klipperscreendir, "styles", self.theme, "images", str(image_name) + ".svg")
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(
filename,
int(round(self.img_width * width_scale)),
@@ -293,6 +300,7 @@ class KlippyGtk:
ctx = b.get_style_context()
ctx.add_class(style)
b.connect("clicked", self.screen.reset_screensaver_timeout)
return b
def HomogeneousGrid(self, width=None, height=None):
@@ -308,6 +316,7 @@ class KlippyGtk:
b.props.relief = Gtk.ReliefStyle.NONE
b.set_hexpand(True)
b.set_vexpand(True)
b.connect("clicked", self.screen.reset_screensaver_timeout)
return b
def formatFileName(self, name):
@@ -321,12 +330,17 @@ class KlippyGtk:
def formatTimeString(self, seconds):
time = int(seconds)
text = ""
if int(time/86400) != 0:
text += str(int(time/86400))+"d "
if int(time/3600) != 0:
text += str(int(time/3600))+"h "
text += str(int(time/60) % 60)+"m "+str(time % 60)+"s"
text += str(int(time/3600) % 24)+"h "
if int(time/60) != 0:
text += str(int(time/60) % 60)+"m "
else:
text = str(time % 60)+"s"
return text
def formatTemperatureString(self, temp, target):
if (target > temp-2 and target < temp+2) or round(target, 0) == 0:
return str(round(temp, 1)) + "°C" # °C →"
return str(round(temp)) + " → " + str(round(target)) + "°C"
return str(round(temp)) + " °C\n(" + str(round(target)) + ")"
+31 -20
View File
@@ -1,17 +1,14 @@
#!/usr/bin/python
import gi
import time
import threading
import json
import requests
import websocket
import asyncio
import logging
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Gdk, GLib
from gi.repository import GLib, Gdk
from ks_includes.KlippyGcodes import KlippyGcodes
api_key = ""
@@ -33,7 +30,8 @@ class KlippyWebsocket(threading.Thread):
_req_id = 0
connected = False
callback_table = {}
timeout = None
reconnect_timeout = None
reconnect_count = 0
def __init__(self, screen, callback, host, port):
threading.Thread.__init__(self)
@@ -41,16 +39,19 @@ class KlippyWebsocket(threading.Thread):
self._callback = callback
self.klippy = MoonrakerApi(self)
self.closing = False
self.ws = None
self._url = "%s:%s" % (host, port)
def initial_connect(self):
# Enable a timeout so that way if moonraker is not running, it will attempt to reconnect
if self.timeout is None:
self.timeout = GLib.timeout_add(500, self.reconnect)
if self.reconnect_timeout is None:
self.reconnect_timeout = GLib.timeout_add_seconds(3, self.reconnect)
self.connect()
def connect(self):
_ = self._screen.lang.gettext
def ws_on_close(ws, a=None, b=None):
self.on_close(ws)
@@ -65,10 +66,12 @@ class KlippyWebsocket(threading.Thread):
try:
state = self._screen.apiclient.get_server_info()
if state is False or state['result']['klippy_connected'] is False:
return False
printer_info = self._screen.apiclient.get_printer_info()
if printer_info is False:
if state is False:
if self.reconnect_count > 3:
self._screen.panels['splash_screen'].update_text(
_("Cannot connect to Moonraker") +
("\n\n%s\n\n") % self._url +
_("Retry #%s") % self.reconnect_count)
return False
token = self._screen.apiclient.get_oneshot_token()
except Exception:
@@ -79,16 +82,17 @@ class KlippyWebsocket(threading.Thread):
self.ws = websocket.WebSocketApp(
self.ws_url, on_close=ws_on_close, on_error=ws_on_error, on_message=ws_on_message, on_open=ws_on_open)
self._wst = threading.Thread(target=self.ws.run_forever)
self._wst.daemon = True
self._wst = threading.Thread(target=self.ws.run_forever, daemon=True)
try:
logging.debug("Starting websocket thread")
self._wst.start()
except Exception:
logging.debug("Error starting web socket")
def close(self):
self.closing = True
self.ws.close()
if self.ws is not None:
self.ws.close()
def is_connected(self):
return self.connected
@@ -138,9 +142,10 @@ class KlippyWebsocket(threading.Thread):
logging.info("Moonraker Websocket Open")
logging.info("Self.connected = %s" % self.is_connected())
self.connected = True
if self.timeout is not None:
GLib.source_remove(self.timeout)
self.timeout = None
self.reconnect_count = 0
if self.reconnect_timeout is not None:
GLib.source_remove(self.reconnect_timeout)
self.reconnect_timeout = None
if "on_connect" in self._callback:
Gdk.threads_add_idle(
GLib.PRIORITY_HIGH_IDLE,
@@ -150,17 +155,22 @@ class KlippyWebsocket(threading.Thread):
def on_close(self, ws):
if self.is_connected() is False:
logging.debug("Connection already closed")
if self.reconnect_timeout is not None:
GLib.source_remove(self.reconnect_timeout)
self.reconnect_timeout = None
return
if self.closing is True:
logging.debug("Closing websocket")
self.ws.stop()
self.ws.keep_running = False
self.close()
self.closing = False
return
logging.info("Moonraker Websocket Closed")
self.connected = False
if self.timeout is None:
self.timeout = GLib.timeout_add(500, self.reconnect)
if self.reconnect_timeout is None:
self.reconnect_timeout = GLib.timeout_add_seconds(3, self.reconnect)
if "on_close" in self._callback:
Gdk.threads_add_idle(
@@ -176,6 +186,7 @@ class KlippyWebsocket(threading.Thread):
return False
logging.debug("Attempting to reconnect")
self.reconnect_count += 1
self.connect()
return True
+57 -26
View File
@@ -5,6 +5,7 @@ import logging
import json
import re
import copy
import pathlib
from io import StringIO
@@ -19,6 +20,8 @@ SCREEN_BLANKING_OPTIONS = [
"14400", # 4 Hours
]
klipperscreendir = pathlib.Path(__file__).parent.resolve().parent
class ConfigError(Exception):
pass
@@ -29,7 +32,7 @@ class KlipperScreenConfig:
do_not_edit_prefix = "#~#"
def __init__(self, configfile, screen=None):
self.default_config_path = "%s/ks_includes/%s" % (os.getcwd(), "defaults.conf")
self.default_config_path = os.path.join(klipperscreendir, "ks_includes", "defaults.conf")
self.config = configparser.ConfigParser()
self.config_path = self.get_config_file_location(configfile)
logging.debug("Config path location: %s" % self.config_path)
@@ -46,19 +49,15 @@ class KlipperScreenConfig:
for include in includes:
self._include_config("/".join(self.config_path.split("/")[:-1]), include)
for i in ['menu __main', 'menu __print', 'menu __splashscreen', 'preheat']:
for j in self.defined_config.sections():
if j.startswith(i):
for k in list(self.config.sections()):
if k.startswith(i):
del self.config[k]
break
self.exclude_from_config(self.defined_config)
self.log_config(self.defined_config)
self.config.read_string(user_def)
if saved_def is not None:
self.config.read_string(saved_def)
logging.info("====== Saved Def ======\n%s\n=======================" % saved_def)
# This is the final config
# self.log_config(self.config)
except KeyError:
raise ConfigError(f"Error reading config: {self.config_path}")
except Exception:
@@ -87,8 +86,8 @@ class KlipperScreenConfig:
for printer in conf_printers_debug:
name = list(printer)[0]
item = conf_printers_debug[conf_printers_debug.index(printer)]
if item[list(printer)[0]]['moonraker_api_key'] != "":
item[list(printer)[0]]['moonraker_api_key'] = "redacted"
if item[name]['moonraker_api_key'] != "":
item[name]['moonraker_api_key'] = "redacted"
logging.debug("Configured printers: %s" % json.dumps(conf_printers_debug, indent=2))
lang = self.get_main_config_option("language", None)
@@ -111,15 +110,18 @@ class KlipperScreenConfig:
"callback": screen.restart_warning, "options": [
{"name": _("System") + " " + _("(default)"), "value": "system_lang"}
]}},
{"move_speed": {
"section": "main", "name": _("Move Speed (mm/s)"), "type": "scale", "value": "20",
"range": [5, 100], "step": 1}},
{"move_speed_xy": {
"section": "main", "name": _("XY Move Speed (mm/s)"), "type": "scale", "value": "20",
"range": [5, 200], "step": 1}},
{"move_speed_z": {
"section": "main", "name": _("Z Move Speed (mm/s)"), "type": "scale", "value": "20",
"range": [5, 200], "step": 1}},
{"print_sort_dir": {"section": "main", "type": None, "value": "name_asc"}},
{"print_estimate_method": {
"section": "main", "name": _("Estimated Time Method"), "type": "dropdown",
"value": "file", "options": [
{"name": _("File") + " " + _("(default)"), "value": "file"},
{"name": _("Duration Only"), "value": "duration"},
{"name": _("Auto") + " " + _("(default)"), "value": "auto"},
{"name": _("File"), "value": "file"},
{"name": _("Filament Used"), "value": "filament"},
{"name": _("Slicer"), "value": "slicer"}]}},
{"screen_blanking": {
@@ -141,12 +143,19 @@ class KlipperScreenConfig:
{"name": _("Small"), "value": "small"},
{"name": _("Medium") + " " + _("(default)"), "value": "medium"},
{"name": _("Large"), "value": "large"}]}},
{"confirm_estop": {"section": "main", "name": "Confirm Emergency Stop", "type": "binary",
{"confirm_estop": {"section": "main", "name": _("Confirm Emergency Stop"), "type": "binary",
"value": "False"}},
{"only_heaters": {"section": "main", "name": _("Hide sensors in Temp."), "type": "binary",
"value": "False", "callback": screen.restart_warning}},
{"use_dpms": {"section": "main", "name": _("Screen DPMS"), "type": "binary",
"value": "True", "callback": screen.set_dpms}},
{"print_estimate_compensation": {
"section": "main", "name": _("Slicer Time correction (%)"), "type": "scale", "value": "100",
"range": [50, 150], "step": 1}},
# {"": {"section": "main", "name": _(""), "type": ""}}
]
lang_path = os.path.join(os.getcwd(), 'ks_includes/locales')
lang_path = os.path.join(klipperscreendir, "ks_includes", "locales")
langs = [d for d in os.listdir(lang_path) if not os.path.isfile(os.path.join(lang_path, d))]
langs.sort()
lang_opt = self.configurable_options[3]['language']['options']
@@ -154,10 +163,10 @@ class KlipperScreenConfig:
for lang in langs:
lang_opt.append({"name": lang, "value": lang})
t_path = os.path.join(os.getcwd(), 'styles')
t_path = os.path.join(klipperscreendir, 'styles')
themes = [d for d in os.listdir(t_path) if (not os.path.isfile(os.path.join(t_path, d)) and d != "z-bolt")]
themes.sort()
theme_opt = self.configurable_options[8]['theme']['options']
theme_opt = self.configurable_options[9]['theme']['options']
for theme in themes:
theme_opt.append({"name": theme, "value": theme})
@@ -183,6 +192,20 @@ class KlipperScreenConfig:
if name not in list(self.config[vals['section']]):
self.config.set(vals['section'], name, vals['value'])
def exclude_from_config(self, config):
exclude_list = ['preheat']
if not self.defined_config.getboolean('main', "use_default_menu", fallback=True):
logging.info("Using custom menu, removing default menu entries.")
exclude_list.append('menu __main')
exclude_list.append('menu __print')
exclude_list.append('menu __splashscreen')
for i in exclude_list:
for j in config.sections():
if j.startswith(i):
for k in list(self.config.sections()):
if k.startswith(i):
del self.config[k]
def _include_config(self, dir, path):
full_path = path if path[0] == "/" else "%s/%s" % (dir, path)
parse_files = []
@@ -211,8 +234,9 @@ class KlipperScreenConfig:
includes = [i[8:] for i in config.sections() if i.startswith("include ")]
for include in includes:
self._include_config("/".join(full_path.split("/")[:-1]), include)
self.exclude_from_config(config)
self.log_config(config)
self.config.read(file)
self.defined_config.read(file)
def separate_saved_config(self, config_path):
user_def = []
@@ -237,11 +261,16 @@ class KlipperScreenConfig:
def get_config_file_location(self, file):
logging.info("Passed config file: %s" % file)
if not path.exists(file):
file = "%s/%s" % (os.getcwd(), self.configfile_name)
file = os.path.join(klipperscreendir, self.configfile_name)
if not path.exists(file):
file = os.path.expanduser("~/") + "klipper_config/%s" % (self.configfile_name)
file = self.configfile_name.lower()
if not path.exists(file):
file = self.default_config_path
klipper_config = os.path.join(os.path.expanduser("~/"), "klipper_config")
file = os.path.join(klipper_config, self.configfile_name)
if not path.exists(file):
file = os.path.join(klipper_config, self.configfile_name.lower())
if not path.exists(file):
file = self.default_config_path
logging.info("Found configuration file at: %s" % file)
return file
@@ -353,10 +382,11 @@ class KlipperScreenConfig:
path = self.config_path
else:
path = os.path.expanduser("~/")
if os.path.exists(path+"klipper_config/"):
path = path + "klipper_config/KlipperScreen.conf"
klipper_config = os.path.join(path, "klipper_config")
if os.path.exists(klipper_config):
path = os.path.join(klipper_config, "KlipperScreen.conf")
else:
path = path + "KlipperScreen.conf"
path = os.path.join(path, "KlipperScreen.conf")
try:
file = open(path, 'w')
@@ -416,6 +446,7 @@ class KlipperScreenConfig:
"extruder": cfg.getint("extruder", 0),
"bed": cfg.getint("bed", 0),
"heater_generic": cfg.getint("heater_generic", 0),
"temperature_fan": cfg.getint("temperature_fan", 0),
"gcode": cfg.get("gcode", None)
}
return item
+19 -12
View File
@@ -1,6 +1,5 @@
[main]
moonraker_host: 127.0.0.1
moonraker_port: 7125
service: KlipperScreen
[preheat PLA]
bed = 40
@@ -10,6 +9,14 @@ extruder = 195
bed = 90
extruder = 220
[preheat PETG]
bed = 80
extruder = 240
[preheat FLEX]
bed = 0
extruder = 210
[menu __main]
name: {{ gettext('Main Menu') }}
@@ -17,10 +24,11 @@ name: {{ gettext('Main Menu') }}
name: {{ gettext('Homing') }}
icon: home
[menu __main preheat]
name: {{ gettext('Preheat') }}
[menu __main temperature]
name: {{ gettext('Temperature') }}
icon: heat-up
panel: preheat
panel: temperature
enable: {{ printer.temperature_devices.count > 0 }}
[menu __main actions]
name: {{ gettext('Actions') }}
@@ -89,16 +97,13 @@ panel: move
name: {{ gettext('Extrude') }}
icon: filament
panel: extrude
enable: {{ printer.extruders.count > 0 }}
[menu __main actions fan]
name: {{ gettext('Fan') }}
icon: fan
panel: fan
[menu __main actions temperature]
name: {{ gettext('Temperature') }}
icon: heat-up
panel: temperature
enable: {{ printer.fans.count > 0 }}
[menu __main actions macros]
name: {{ gettext('Macros') }}
@@ -160,7 +165,7 @@ icon: complete
method: printer.gcode.script
params: {"script":"SAVE_CONFIG"}
confirm:
{{ gettext('Save configuration.') }}
{{ gettext('Save configuration') }}
{{ gettext('Klipper will reboot') }}
@@ -176,17 +181,19 @@ name: {{ gettext('Print Control') }}
name: {{ gettext('Temperature') }}
icon: heat-up
panel: temperature
enable: {{ printer.temperature_devices.count > 0 }}
[menu __print fan]
name: {{ gettext('Fan') }}
icon: fan
panel: fan
enable: {{ printer.fans.count > 0 }}
[menu __print extrude]
name: {{ gettext('Extrude') }}
icon: filament
panel: extrude
enable: {{ printer.pause_resume.is_paused == True }}
enable: {{ (printer.pause_resume.is_paused == True) and (printer.extruders.count > 0) }}
[menu __print power]
name: {{ gettext('Power') }}
+13 -13
View File
@@ -1,23 +1,17 @@
import logging
import json
import os
import base64
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Gdk, GLib
from gi.repository import GLib
class KlippyFiles():
thumbnail_dir = "/tmp/.KS-thumbnails"
def __init__(self, screen):
self.loop = None
self._poll_task = None
self._screen = screen
self.callbacks = []
self.files = {}
self.filelist = []
self.metadata_timeout = {}
self.thumbnail_dir = "/tmp/.KS-thumbnails"
if not os.path.exists(self.thumbnail_dir):
os.makedirs(self.thumbnail_dir)
@@ -32,6 +26,15 @@ class KlippyFiles():
self.gcodes_path = vsd['path']
logging.info("Gcodes path: %s" % self.gcodes_path)
def reset(self):
self.run_callbacks()
self.callbacks = None
self.files = None
self.filelist = None
self.thumbnail_dir = None
self.gcodes_path = None
self._screen = None
def _callback(self, result, method, params):
if method == "server.files.list":
if "result" in result and isinstance(result['result'], list):
@@ -98,7 +101,7 @@ class KlippyFiles():
if filename in self.filelist:
logging.info("File already exists: %s" % filename)
self.request_metadata(filename)
GLib.timeout_add(1000, self.run_callbacks, mods=[filename])
GLib.timeout_add_seconds(1, self.run_callbacks, mods=[filename])
return
self.filelist.append(filename)
@@ -185,11 +188,9 @@ class KlippyFiles():
def run_callbacks(self, newfiles=[], deletedfiles=[], mods=[]):
if len(self.callbacks) <= 0:
return
return False
for cb in self.callbacks:
GLib.idle_add(cb, newfiles, deletedfiles, mods)
return False
def get_file_list(self):
@@ -198,5 +199,4 @@ class KlippyFiles():
def get_file_info(self, filename):
if filename not in self.files:
return {"path": None, "modified": 0, "size": 0}
return self.files[filename]
+141 -50
View File
@@ -8,18 +8,15 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-11-18 11:29-0300\n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#, python-format
msgid "%d Packages will be updated"
msgstr ""
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
#, python-format
msgid "%s will be updated to version"
@@ -31,6 +28,9 @@ msgstr ""
msgid "24 Hour Time"
msgstr ""
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr ""
msgid "Abort"
msgstr ""
@@ -46,24 +46,45 @@ msgstr ""
msgid "Add bed mesh profile"
msgstr ""
msgid "Are you sure you want to run Emergency Stop?"
msgstr ""
msgid "Are you sure you wish to cancel this print?"
msgstr ""
msgid "Are you sure you wish to disable motors?"
msgstr ""
msgid "Are you sure you wish to reboot the system?"
msgstr ""
msgid "Are you sure you wish to shutdown the system?"
msgstr ""
msgid "Auto"
msgstr ""
msgid "Auto-scroll"
msgstr ""
msgid "Bed Level"
msgstr ""
msgid "Bed Mesh"
msgstr ""
msgid "Bltouch found applied offset"
msgstr ""
msgid "Calibrate"
msgstr ""
msgid "Calibrated, save configuration to make it permanent"
msgstr ""
msgid "Can't set above the maximum:"
msgstr ""
msgid "Cancel"
msgstr ""
@@ -76,6 +97,9 @@ msgstr ""
msgid "Cancelling"
msgstr ""
msgid "Cannot connect to Moonraker"
msgstr ""
msgid "Channel"
msgstr ""
@@ -93,6 +117,9 @@ msgstr ""
msgid "Configuration"
msgstr ""
msgid "Confirm Emergency Stop"
msgstr ""
msgid "Connected"
msgstr ""
@@ -118,15 +145,15 @@ msgstr ""
msgid "Delete"
msgstr ""
msgid "Deselect"
msgstr ""
msgid "Disable Motors"
msgstr ""
msgid "Disable XY"
msgstr ""
msgid "Disconnect"
msgstr ""
msgid "Displayed Macros"
msgstr ""
@@ -137,9 +164,6 @@ msgstr ""
msgid "Do you want to recover %s?"
msgstr ""
msgid "Duration Only"
msgstr ""
msgid "Elapsed:"
msgstr ""
@@ -158,6 +182,9 @@ msgstr ""
msgid "Extrusion -"
msgstr ""
msgid "Failed, adjust position first"
msgstr ""
msgid "Fan"
msgstr ""
@@ -173,15 +200,31 @@ msgstr ""
msgid "Finish"
msgstr ""
msgid "Firmware Restart"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
msgid "Font Size"
msgstr ""
msgid ""
"Full\n"
"Update"
msgstr ""
msgid "Go Back"
msgstr ""
msgid "Hidden"
msgstr ""
msgid "Hide"
msgstr ""
msgid "Hide sensors in Temp."
msgstr ""
msgid "Home"
msgstr ""
@@ -206,12 +249,6 @@ msgstr ""
msgid "Hostname"
msgstr ""
msgid "IPv4"
msgstr ""
msgid "IPv6"
msgstr ""
msgid "Icon Theme"
msgstr ""
@@ -239,28 +276,17 @@ msgstr ""
msgid "Invert Z"
msgstr ""
msgid "Klipper Restart"
msgstr ""
msgid "Klipper Version"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
msgid "Klipper has disconnected"
msgstr ""
msgid ""
"Klipper has encountered an error with the micro-controller.\n"
"Please recompile and flash."
msgstr ""
msgid "Klipper has encountered an error."
msgstr ""
msgid ""
"Klipper has encountered an error.\n"
"Issue a FIRMWARE_RESTART to attempt fixing the issue."
msgstr ""
msgid "Klipper has shutdown"
msgstr ""
@@ -270,9 +296,6 @@ msgstr ""
msgid "Klipper will reboot"
msgstr ""
msgid "KlipperScreen Version"
msgstr ""
msgid "Language"
msgstr ""
@@ -318,49 +341,60 @@ msgstr ""
msgid "Modified"
msgstr ""
msgid "Moonraker: connected"
msgstr ""
msgid "Move"
msgstr ""
msgid "Move Distance (mm)"
msgstr ""
msgid "Move Speed (mm/s)"
msgstr ""
msgid "Name"
msgstr ""
msgid "Network"
msgstr ""
msgid "Number Pad"
msgid "Nothing selected"
msgstr ""
msgid "Off"
msgstr ""
#, python-format
msgid "Outdated by %d commits:"
msgid "Outdated by %d"
msgstr ""
msgid "PSK for"
msgstr ""
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] ""
msgstr[1] ""
msgid "Password saved"
msgstr ""
msgid "Pause"
msgstr ""
msgid "Paused"
msgstr ""
msgid "Perform a full upgrade?"
msgstr ""
msgid "Please recompile and flash the micro-controller."
msgstr ""
msgid "Power"
msgstr ""
msgid "Power On Printer"
msgstr ""
msgid "Preheat"
msgstr ""
msgid "Print"
msgstr ""
@@ -376,6 +410,9 @@ msgstr ""
msgid "Printing"
msgstr ""
msgid "Probe found applied offset"
msgstr ""
msgid "Profile Name:"
msgstr ""
@@ -391,6 +428,9 @@ msgstr ""
msgid "Recover Soft"
msgstr ""
msgid "Reference"
msgstr ""
msgid "Restart"
msgstr ""
@@ -400,33 +440,56 @@ msgstr ""
msgid "Retract"
msgstr ""
#, python-format
msgid "Retry #%s"
msgstr ""
msgid "Save"
msgstr ""
msgid "Save Config"
msgstr ""
msgid "Save configuration."
msgid "Save configuration"
msgstr ""
msgid "Screen DPMS"
msgstr ""
msgid "Screen Power Off Time"
msgstr ""
msgid "Screen will show in less than one second"
msgstr ""
msgid "Screws Adjust"
msgstr ""
msgid "Select"
msgstr ""
msgid "Send"
msgstr ""
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr ""
msgid "Set Temp"
msgstr ""
msgid "Settings"
msgstr ""
msgid "Show"
msgstr ""
msgid "Size"
msgstr ""
msgid "Slicer"
msgstr ""
msgid "Slicer Time correction (%)"
msgstr ""
msgid "Small"
msgstr ""
@@ -448,7 +511,7 @@ msgstr ""
msgid "Start"
msgstr ""
msgid "Starting WiFi Re-association"
msgid "Starting WiFi Association"
msgstr ""
msgid "Starting recovery for"
@@ -470,6 +533,9 @@ msgid ""
"Shutdown"
msgstr ""
msgid "Temp (°C)"
msgstr ""
msgid "Temperature"
msgstr ""
@@ -480,6 +546,12 @@ msgstr ""
msgid "Tool"
msgstr ""
msgid "Total:"
msgstr ""
msgid "Unknown Heater"
msgstr ""
msgid "Unload"
msgstr ""
@@ -489,6 +561,9 @@ msgstr ""
msgid "Update"
msgstr ""
msgid "Updating"
msgstr ""
msgid "Uploaded"
msgstr ""
@@ -501,6 +576,9 @@ msgstr ""
msgid "X-"
msgstr ""
msgid "XY Move Speed (mm/s)"
msgstr ""
msgid "Y+"
msgstr ""
@@ -510,7 +588,10 @@ msgstr ""
msgid "Z Calibrate"
msgstr ""
msgid "Z Offset"
msgid "Z Move Speed (mm/s)"
msgstr ""
msgid "Z Position"
msgstr ""
msgid "Z Tilt"
@@ -522,9 +603,19 @@ msgstr ""
msgid "Z-"
msgstr ""
msgid "commit"
msgid_plural "commits"
msgstr[0] ""
msgstr[1] ""
msgid "dBm"
msgstr ""
msgid "hour"
msgid_plural "hours"
msgstr[0] ""
msgstr[1] ""
msgid "minutes"
msgstr ""
Binary file not shown.
@@ -0,0 +1,683 @@
msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: \n"
"Last-Translator: SRBJ\n"
"Language-Team: \n"
"Language: da\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.0.1\n"
#, python-format
msgid "%s will be updated to version"
msgstr "%s vil blive opdateret til version"
msgid "(default)"
msgstr "(standard)"
msgid "24 Hour Time"
msgstr "24-timers visning"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "En FIRMWARE_RESTART kan løse problemet."
msgid "Abort"
msgstr "Annuller"
msgid "Accept"
msgstr "OK"
msgid "Actions"
msgstr "Muligheder"
msgid "Add Printer"
msgstr "Tilføj printer"
msgid "Add bed mesh profile"
msgstr "Tilføj \"bed-mesh\" profil"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "Er du sikker på, at du vil køre nødstop?"
msgid "Are you sure you wish to cancel this print?"
msgstr "Er du sikker på du vil annullere det igangværende print?"
msgid "Are you sure you wish to disable motors?"
msgstr "Er du sikker på, at du vil deaktivere motorer?"
msgid "Are you sure you wish to reboot the system?"
msgstr "Er du sikker på du vil genstarte systemet?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "Er du sikker på du vil lukke systemet?"
msgid "Auto"
msgstr "Auto"
msgid "Auto-scroll"
msgstr "Auto-scroll"
msgid "Bed Level"
msgstr "Bed-Level"
msgid "Bed Mesh"
msgstr "Bed-mesh"
msgid "Bltouch found applied offset"
msgstr "Bltouch fundet anvendt offset"
msgid "Calibrate"
msgstr "Kalibrér"
msgid "Calibrated, save configuration to make it permanent"
msgstr "Kalibreret, gem konfiguration for at gøre den permanent"
msgid "Can't set above the maximum:"
msgstr "Kan ikke indstilles over maksimum:"
msgid "Cancel"
msgstr "Annuller"
msgid "Cancel Print"
msgstr "Annuller print"
msgid "Cancelled"
msgstr "Annulleret"
msgid "Cancelling"
msgstr "Annullerer"
msgid "Cannot connect to Moonraker"
msgstr "Kan ikke oprette forbindelse til Moonraker"
msgid "Channel"
msgstr "Kanal"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgstr ""
"Tjek /tmp/KlipperScreen.log for mere information.\n"
"Indsend venligst et \"Issue\" på GitHub for hjælp."
msgid "Close"
msgstr "Luk"
msgid "Complete"
msgstr "Færdig"
msgid "Configuration"
msgstr "Konfiguration"
msgid "Confirm Emergency Stop"
msgstr "Bekræft Nødstop"
msgid "Connected"
msgstr "Forbundet"
#, python-format
msgid "Connecting to %s"
msgstr "Forbinder til %s"
msgid "Console"
msgstr "Terminal"
msgid "Continue"
msgstr "Fortsæt"
msgid "Cooldown"
msgstr "Afkøling"
msgid "Date"
msgstr "Dato"
msgid "Decrease"
msgstr "Formindsk"
msgid "Delete"
msgstr "Slet"
msgid "Deselect"
msgstr "Fravælg"
msgid "Disable Motors"
msgstr "Deaktivér motorer"
msgid "Disable XY"
msgstr "Deaktivér XY"
msgid "Displayed Macros"
msgstr "Viste makroer"
msgid "Distance (mm)"
msgstr "Længde (mm)"
#, python-format
msgid "Do you want to recover %s?"
msgstr "Vil du gendanne %s?"
msgid "Elapsed:"
msgstr "Tid:"
msgid "Error"
msgstr "Fejl"
msgid "Estimated Time Method"
msgstr "Metode til beregning af tid"
msgid "Extrude"
msgstr "Ekstrudér"
msgid "Extrusion +"
msgstr "Ekstrudering +"
msgid "Extrusion -"
msgstr "Ekstrudering -"
msgid "Failed, adjust position first"
msgstr "Mislykkedes, juster først positionen"
msgid "Fan"
msgstr "Blæser"
msgid "Filament Used"
msgstr "Filament forbrug"
msgid "File"
msgstr "Fil"
msgid "Fine Tuning"
msgstr "Finjustering"
msgid "Finish"
msgstr "Færdig"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
"Firmware\n"
"Genstart"
msgid "Font Size"
msgstr "Skriftstørrelse"
msgid ""
"Full\n"
"Update"
msgstr ""
"Fuld\n"
"Opdatering"
msgid "Go Back"
msgstr "Gå tilbage"
msgid "Hidden"
msgstr "Skjult"
msgid "Hide"
msgstr "Skjule"
msgid "Hide sensors in Temp."
msgstr "Skjul sensorer i Temp."
msgid "Home"
msgstr "Home"
msgid "Home All"
msgstr "Home alle"
msgid "Home X"
msgstr "Home X"
msgid "Home XY"
msgstr "Home XY"
msgid "Home Y"
msgstr "Home Y"
msgid "Home Z"
msgstr "Home Z"
msgid "Homing"
msgstr "Homing"
msgid "Hostname"
msgstr "Værtsnavn"
msgid "Icon Theme"
msgstr "Ikon-tema"
msgid "Increase"
msgstr "Forøg"
msgid "Initializing"
msgstr "Initialiserer"
msgid "Initializing printer..."
msgstr "Initialiserer printer..."
msgid "Interface"
msgstr "Interface"
msgid "Invalid"
msgstr "Ugyldig"
msgid "Invert X"
msgstr "Invertér X"
msgid "Invert Y"
msgstr "Invertér Y"
msgid "Invert Z"
msgstr "Invertér Z"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"Klipper\n"
"Genstart"
msgid "Klipper has disconnected"
msgstr "Klipper er frokoblet"
msgid "Klipper has encountered an error."
msgstr "Klipper har fundet en fejl."
msgid "Klipper has shutdown"
msgstr "Klipper er lukket ned"
msgid "Klipper is attempting to start"
msgstr "Klipper forsøger at starte"
msgid "Klipper will reboot"
msgstr "Klipper vil genstarte"
msgid "Language"
msgstr "Sprog"
msgid "Large"
msgstr "Stor"
msgid "Left:"
msgstr "Resterende:"
msgid "Limits"
msgstr "Grænser"
msgid "Load"
msgstr "Indlæs"
msgid "Lower Nozzle"
msgstr "Sænk Nozzle"
msgid "Macro shortcut on sidebar"
msgstr "Makrogenvej på sidelinjen"
msgid "Macros"
msgstr "Makroer"
msgid "Main Menu"
msgstr "Hovedmenu"
msgid "Max Accelation"
msgstr "Maks. acceleration"
msgid "Max Acceleration to Deceleration"
msgstr "Maks. acceleration til decceleration"
msgid "Max Velocity"
msgstr "Maks. hastighed"
msgid "Medium"
msgstr "Mellem"
msgid "Menu"
msgstr "Menu"
msgid "Modified"
msgstr "Ændret"
msgid "Moonraker: connected"
msgstr "Moonraker: tilsluttet"
msgid "Move"
msgstr "Flytning"
msgid "Move Distance (mm)"
msgstr "Flyt længde (mm)"
msgid "Name"
msgstr "Navn"
msgid "Network"
msgstr "Netværk"
msgid "Nothing selected"
msgstr "Intet valgt"
msgid "Off"
msgstr "Sluk"
#, python-format
msgid "Outdated by %d"
msgstr "Forældet med %d"
msgid "PSK for"
msgstr "PSK for"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "Pakken vil blive opdateret"
msgstr[1] "Pakker vil blive opdateret"
msgid "Password saved"
msgstr "Adgangskode gemt"
msgid "Pause"
msgstr "Pause"
msgid "Paused"
msgstr "På pause"
msgid "Perform a full upgrade?"
msgstr "Vil du udføre en fuld opgradering?"
msgid "Please recompile and flash the micro-controller."
msgstr "Genkompilér og flash mikrocontrolleren."
msgid "Power"
msgstr "Strømstyring"
msgid "Power On Printer"
msgstr "Tænd printer"
msgid "Print"
msgstr "Print"
msgid "Print Control"
msgstr "Print styring"
msgid "Print Time"
msgstr "Printtid"
msgid "Printer Connections"
msgstr "Printer forbindelser"
msgid "Printing"
msgstr "Printer"
msgid "Probe found applied offset"
msgstr "Probe fundet anvendt offset"
msgid "Profile Name:"
msgstr "Profilnavn:"
msgid "Quad Gantry Level"
msgstr "Justering af 4-søjlers konstruktion"
msgid "Raise Nozzle"
msgstr "Hæv Nozzle"
msgid "Recover Hard"
msgstr "Nulstil alt"
msgid "Recover Soft"
msgstr "Nulstil"
msgid "Reference"
msgstr "Reference"
msgid "Restart"
msgstr "Genstart"
msgid "Resume"
msgstr "Genoptag"
msgid "Retract"
msgstr "Retract"
#, python-format
msgid "Retry #%s"
msgstr "Prøv igen #%s"
msgid "Save"
msgstr "Gem"
msgid "Save Config"
msgstr "Gem Konfiguration"
msgid "Save configuration"
msgstr "Gem Konfiguration"
msgid "Screen DPMS"
msgstr "Skærm DPMS"
msgid "Screen Power Off Time"
msgstr "Skærm timeout"
msgid "Screws Adjust"
msgstr "Skruejustering"
msgid "Select"
msgstr "Vælg"
msgid "Send"
msgstr "Sende"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "Sender Power ON-signal til: %s"
msgid "Set Temp"
msgstr "Indstil Temp"
msgid "Settings"
msgstr "Indstillinger"
msgid "Show"
msgstr "At vise"
msgid "Size"
msgstr "Størrelse"
msgid "Slicer"
msgstr "Slicer"
msgid "Slicer Time correction (%)"
msgstr "Slicer Tidskorrektion (%)"
msgid "Small"
msgstr "Lille"
msgid "Sort by: "
msgstr "Sortér efter: "
msgid "Speed (mm/s)"
msgstr "Hastighed (mm/s)"
msgid "Speed +"
msgstr "Hastighed +"
msgid "Speed -"
msgstr "Hastighed -"
msgid "Square Corner Velocity"
msgstr "Hastighed for 90° hjørne"
msgid "Start"
msgstr "Start"
msgid "Starting WiFi Association"
msgstr "Starter WiFi Association"
msgid "Starting recovery for"
msgstr "Gendanner"
msgid "Starting update for"
msgstr "Opdaterer"
msgid "System"
msgstr "System"
msgid ""
"System\n"
"Restart"
msgstr ""
"Genstart\n"
"system"
msgid ""
"System\n"
"Shutdown"
msgstr ""
"Luk\n"
"system ned"
msgid "Temp (°C)"
msgstr "Temp (°C)"
msgid "Temperature"
msgstr "Temperatur"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "KlipperScreen skal genstartes for at anvende %s"
msgid "Tool"
msgstr "Ekstruder"
msgid "Total:"
msgstr "Total:"
msgid "Unknown Heater"
msgstr "Ukendt varmelegeme"
msgid "Unload"
msgstr "Tilbagetræk"
msgid "Up To Date"
msgstr "Up-to-Date"
msgid "Update"
msgstr "Opdater"
msgid "Updating"
msgstr "Opdatering"
msgid "Uploaded"
msgstr "Uploadet"
msgid "View Mesh"
msgstr "Vis mesh"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "XY Flyt hastighed (mm/s)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate"
msgstr "Kalibrér Z"
msgid "Z Move Speed (mm/s)"
msgstr "Z Flyt hastighed (mm/s)"
msgid "Z Position"
msgstr "Z-position"
msgid "Z Tilt"
msgstr "Z-tilt"
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit"
msgid_plural "commits"
msgstr[0] "ændring"
msgstr[1] "ændringer"
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "time"
msgstr[1] "timer"
msgid "minutes"
msgstr "minutter"
msgid "mm"
msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
#~ msgid "IPv4"
#~ msgstr "IPv4"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "Z-offset"
#~ msgid "Unknown Heater "
#~ msgstr "Ukendt varmelegeme "
#~ msgid "Disconnect"
#~ msgstr "Afbryd forbindelse"
#~ msgid "Duration Only"
#~ msgstr "Kun varighed"
#~ msgid "Klipper Version"
#~ msgstr "Klipper version"
#~ msgid ""
#~ "Klipper has encountered an error with the micro-controller.\n"
#~ "Please recompile and flash."
#~ msgstr ""
#~ "Klipper har fundet en fejl med mcu.\n"
#~ "Kompilér og flash venligst firmware på ny."
#~ msgid ""
#~ "Klipper has encountered an error.\n"
#~ "Issue a FIRMWARE_RESTART to attempt fixing the issue."
#~ msgstr ""
#~ "Klipper har fundet en fejl.\n"
#~ "Tryk på \"Genstart alt\" for at forsøge at udbedre fejlen."
#~ msgid "KlipperScreen Version"
#~ msgstr "KlipperScreen version"
#~ msgid "Show Only Heaters in Temp."
#~ msgstr "Vis kun varmelegemer i Temp."
#~ msgid "Target"
#~ msgstr "Mål"
#~ msgid "Temp"
#~ msgstr "Temp"
@@ -5,26 +5,22 @@
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-11-18 11:29-0300\n"
"PO-Revision-Date: 2021-11-18 11:32-0300\n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: 2022-03-31 10:43-0300\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: de_DE\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 3.0\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#, python-format
msgid "%d Packages will be updated"
msgstr "%d Pakete werden aktualisiert"
"X-Generator: Poedit 3.0.1\n"
#, python-format
msgid "%s will be updated to version"
msgstr "%s wird aktualisiert auf Version"
msgstr "%s wird auf Version aktualisiert"
msgid "(default)"
msgstr "(Standard)"
@@ -32,6 +28,9 @@ msgstr "(Standard)"
msgid "24 Hour Time"
msgstr "24h-Zeit"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "Ein FIRMWARE_RESTART kann das Problem beheben."
msgid "Abort"
msgstr "Abbrechen"
@@ -47,24 +46,45 @@ msgstr "Drucker hinzufügen"
msgid "Add bed mesh profile"
msgstr "Mesh-Level Profil hinzufügen"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "Sind Sie sicher, dass Sie Not-Aus ausführen möchten?"
msgid "Are you sure you wish to cancel this print?"
msgstr "Möchten Sie diesen Druck wirklich abbrechen?"
msgid "Are you sure you wish to disable motors?"
msgstr "Möchten Sie die Motoren wirklich deaktivieren?"
msgid "Are you sure you wish to reboot the system?"
msgstr "Möchten Sie das System wirklich neu starten?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "Möchten Sie das System wirklich herunterfahren?"
msgid "Auto"
msgstr "Auto"
msgid "Auto-scroll"
msgstr "Auto-scroll"
msgid "Bed Level"
msgstr "Druckbett leveln"
msgid "Bed Mesh"
msgstr "Druckbett Mesh-Level"
msgid "Bltouch found applied offset"
msgstr "Bltouch hat angewendeten Offset gefunden"
msgid "Calibrate"
msgstr "Höheneinstellung"
msgid "Calibrated, save configuration to make it permanent"
msgstr "Kalibriert, Konfiguration speichern, um sie dauerhaft zu machen"
msgid "Can't set above the maximum:"
msgstr "Kann nicht über dem Maximum eingestellt werden:"
msgid "Cancel"
msgstr "Abbruch"
@@ -74,10 +94,11 @@ msgstr "Druck abbrechen"
msgid "Cancelled"
msgstr "Abgebrochen"
#, fuzzy
#| msgid "Cancel"
msgid "Cancelling"
msgstr "Abbruch"
msgstr "Wird unterbrochen"
msgid "Cannot connect to Moonraker"
msgstr "Es kann keine Verbindung zu Moonraker hergestellt werden"
msgid "Channel"
msgstr "Kanal"
@@ -92,15 +113,15 @@ msgstr ""
msgid "Close"
msgstr "Schließen"
msgid "Colorized"
msgstr "Colorized"
msgid "Complete"
msgstr "Fertiggestellt"
msgid "Configuration"
msgstr "Einstellungen"
msgid "Confirm Emergency Stop"
msgstr "Not-Aus bestätigen"
msgid "Connected"
msgstr "Verbunden"
@@ -126,15 +147,15 @@ msgstr "Verringern"
msgid "Delete"
msgstr "Löschen"
msgid "Deselect"
msgstr "Abwählen"
msgid "Disable Motors"
msgstr "Motoren deaktivieren"
msgid "Disable XY"
msgstr "Achse XY deaktivieren"
msgid "Disconnect"
msgstr "Nicht verbunden"
msgid "Displayed Macros"
msgstr "Aktive Macros"
@@ -145,9 +166,6 @@ msgstr "Entfernung (mm)"
msgid "Do you want to recover %s?"
msgstr "Möchtest du zurück zu %s?"
msgid "Duration Only"
msgstr "Reine Druckzeit"
msgid "Elapsed:"
msgstr "Druckzeit:"
@@ -166,6 +184,9 @@ msgstr "Extrusion +"
msgid "Extrusion -"
msgstr "Extrusion -"
msgid "Failed, adjust position first"
msgstr "Fehlgeschlagen, Position zuerst anpassen"
msgid "Fan"
msgstr "Lüfter"
@@ -181,15 +202,35 @@ msgstr "Feintuning"
msgid "Finish"
msgstr "Ziel"
msgid "Firmware Restart"
msgstr "Firmware neustarten"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
"Firmware\n"
"Neu starten"
msgid "Font Size"
msgstr "Schriftgröße"
msgid ""
"Full\n"
"Update"
msgstr ""
"Voll\n"
"Aktualisieren"
msgid "Go Back"
msgstr "Zurück"
msgid "Hidden"
msgstr "Versteckt"
msgid "Hide"
msgstr "Verstecken"
msgid "Hide sensors in Temp."
msgstr "Sensoren in Temp ausblenden."
msgid "Home"
msgstr "Grundposition"
@@ -224,12 +265,6 @@ msgstr "Grundposition"
msgid "Hostname"
msgstr "Hostname"
msgid "IPv4"
msgstr "IPv4"
msgid "IPv6"
msgstr "IPv6"
msgid "Icon Theme"
msgstr "Icon Theme"
@@ -246,7 +281,7 @@ msgid "Interface"
msgstr "Interface"
msgid "Invalid"
msgstr "ungültig"
msgstr "Ungültig"
msgid "Invert X"
msgstr "Achse X invertieren"
@@ -257,32 +292,19 @@ msgstr "Achse Y invertieren"
msgid "Invert Z"
msgstr "Achse Z invertieren"
msgid "Klipper Restart"
msgstr "Klipper neustarten"
msgid "Klipper Version"
msgstr "Klipper Version"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"Klipper\n"
"Neu starten"
msgid "Klipper has disconnected"
msgstr "Klipper nicht verbunden"
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."
msgid "Klipper has encountered an error."
msgstr "Klipper hat einen Fehler festgestellt."
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."
msgid "Klipper has shutdown"
msgstr "Klipper abgeschaltet"
@@ -292,9 +314,6 @@ msgstr "Klipper ist startbereit"
msgid "Klipper will reboot"
msgstr "Klipper startet neu"
msgid "KlipperScreen Version"
msgstr "KlipperScreen Version"
msgid "Language"
msgstr "Sprache"
@@ -305,7 +324,7 @@ msgid "Left:"
msgstr "Restzeit:"
msgid "Limits"
msgstr "Grenzwerte:"
msgstr "Grenzwerte"
msgid "Load"
msgstr "Laden"
@@ -340,49 +359,60 @@ msgstr "Menü"
msgid "Modified"
msgstr "Modifiziert"
msgid "Moonraker: connected"
msgstr "Moonraker: Verbunden"
msgid "Move"
msgstr "Bewegen"
msgid "Move Distance (mm)"
msgstr "Bewegungsdistanz (mm)"
msgid "Move Speed (mm/s)"
msgstr "Bewegungsgeschwindigkeit (mm/s)"
msgid "Name"
msgstr "Name"
msgid "Network"
msgstr "Netzwerk"
msgid "Number Pad"
msgstr "Nummernblock"
msgid "Nothing selected"
msgstr "Nichts ausgewählt"
msgid "Off"
msgstr "Aus"
#, python-format
msgid "Outdated by %d commits:"
msgstr "Veraltet bis %d Commits:"
msgid "Outdated by %d"
msgstr "Veraltet von %d"
msgid "PSK for"
msgstr "PSK für"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "Paket wird aktualisiert"
msgstr[1] "Pakete werden aktualisiert"
msgid "Password saved"
msgstr "Passwort gespeichert"
msgid "Pause"
msgstr "Pause"
msgid "Paused"
msgstr "Pausiert"
msgid "Perform a full upgrade?"
msgstr "Vollständiges Upgrade durchführen?"
msgid "Please recompile and flash the micro-controller."
msgstr "Please recompile and flash the micro-controller."
msgid "Power"
msgstr "Ein"
msgid "Power On Printer"
msgstr "Drucker einschalten"
msgid "Preheat"
msgstr "Vorheizen"
msgid "Print"
msgstr "Druck"
@@ -398,6 +428,9 @@ msgstr "Drucker Verbindungen"
msgid "Printing"
msgstr "Drucken"
msgid "Probe found applied offset"
msgstr "Probe hat angewendeten Offset gefunden"
msgid "Profile Name:"
msgstr "Profilname:"
@@ -407,11 +440,18 @@ msgstr "Quad Gantry Level"
msgid "Raise Nozzle"
msgstr "Düse anheben"
# Respect the number of characters!
# english text barely fits in small screens
msgid "Recover Hard"
msgstr "Wiederherstellung Hart"
msgstr "Rücksetzen Hard"
# Respect the number of characters!
# english text barely fits in small screens
msgid "Recover Soft"
msgstr "Wiederherstellung Soft"
msgstr "Rücksetzen Soft"
msgid "Reference"
msgstr "Referenz"
msgid "Restart"
msgstr "Neustart"
@@ -422,38 +462,61 @@ msgstr "Fortsetzen"
msgid "Retract"
msgstr "Zurückziehen"
#, python-format
msgid "Retry #%s"
msgstr "Wiederholen #%s"
msgid "Save"
msgstr "Speichern"
msgid "Save Config"
msgstr "Einstellungen speichern"
msgid "Save configuration."
msgstr "Speichere Einstellungen."
msgid "Save configuration"
msgstr "Speichere Einstellungen"
msgid "Screen DPMS"
msgstr "Bildschirm-DPMS"
msgid "Screen Power Off Time"
msgstr "Bildschirm abschalten in"
msgid "Screen will show in less than one second"
msgstr "Der Bildschirm wird in weniger als einer Sekunde angezeigt"
msgid "Screws Adjust"
msgstr "Schrauben Einstellen"
msgid "Select"
msgstr "Wählen"
msgid "Send"
msgstr "Schicken"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "Senden des Einschaltsignals an: %s"
msgid "Set Temp"
msgstr "Temp. einstellen"
msgid "Settings"
msgstr "Einstellungen"
msgid "Show"
msgstr "Zeigen"
msgid "Size"
msgstr "Größe"
msgid "Slicer"
msgstr "Slicer"
msgid "Slicer Time correction (%)"
msgstr "Slicer-Zeitkorrektur (%)"
msgid "Small"
msgstr "Klein"
msgid "Sort by: "
msgstr "Sortierung:"
msgstr "Sortierung: "
msgid "Speed (mm/s)"
msgstr "Geschwindigkeit (mm/s)"
@@ -470,11 +533,11 @@ msgstr "Eckgeschwindigkeit"
msgid "Start"
msgstr "Starten"
msgid "Starting WiFi Re-association"
msgstr "Starte WiFi Verbindung"
msgid "Starting WiFi Association"
msgstr "Wi-Fi Association starten"
msgid "Starting recovery for"
msgstr "Starte Wiederherstellung für "
msgstr "Starte Wiederherstellung für"
msgid "Starting update for"
msgstr "Starte Update für"
@@ -496,6 +559,9 @@ msgstr ""
"Drucker\n"
"Ausschalten"
msgid "Temp (°C)"
msgstr "Temp (°C)"
msgid "Temperature"
msgstr "Temperatur"
@@ -506,15 +572,26 @@ msgstr "Zum Übernehmen von %s benötigt Klipperscreen einen Neustart"
msgid "Tool"
msgstr "Druckkopf"
msgid "Total:"
msgstr "Gesamt:"
msgid "Unknown Heater"
msgstr "Unbekannte Heizung"
msgid "Unload"
msgstr "Entladen"
# Respect the number of characters
# english text barely fits in small screens
msgid "Up To Date"
msgstr "Kein Update verfügbar"
msgstr "Aktuell"
msgid "Update"
msgstr "Update"
msgid "Updating"
msgstr "Aktualisierung"
msgid "Uploaded"
msgstr "Hochgeladen"
@@ -527,6 +604,9 @@ msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "XY Bewegungsgeschwindigkeit (mm/s)"
msgid "Y+"
msgstr "Y+"
@@ -536,8 +616,11 @@ msgstr "Y-"
msgid "Z Calibrate"
msgstr "Höhe Kalibrieren"
msgid "Z Offset"
msgstr "Z Offset"
msgid "Z Move Speed (mm/s)"
msgstr "Z Bewegungsgeschwindigkeit (mm/s)"
msgid "Z Position"
msgstr "Z-Position"
msgid "Z Tilt"
msgstr "Z-Achse ausrichten"
@@ -548,9 +631,19 @@ msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit"
msgid_plural "commits"
msgstr[0] "Änderung"
msgstr[1] "Änderungen"
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "Stunde"
msgstr[1] "Stunden"
msgid "minutes"
msgstr "Minuten"
@@ -563,12 +656,69 @@ msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
#~ msgid "IPv4"
#~ msgstr "IPv4"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "Z Offset"
#~ msgid "Unknown Heater "
#~ msgstr "Unbekannte Heizung "
#~ msgid "Disconnect"
#~ msgstr "Nicht verbunden"
#~ msgid "Duration Only"
#~ msgstr "Reine Druckzeit"
#~ msgid "Klipper Version"
#~ msgstr "Klipper Version"
#~ 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."
#~ 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."
#~ msgid "KlipperScreen Version"
#~ msgstr "KlipperScreen Version"
#~ msgid "Show Only Heaters in Temp."
#~ msgstr "Nur Heizungen in Temp anzeigen."
#~ msgid "Target"
#~ msgstr "Ziel"
#~ msgid "Temp"
#~ msgstr "Temp"
# Nummernblock is 2 character too long and currently doesn't fit
#~ msgid "Number Pad"
#~ msgstr "Tastenfeld"
#~ msgid "Preheat"
#~ msgstr "Vorheizen"
#~ msgid "Screen will show in less than one second"
#~ msgstr "Der Bildschirm wird in weniger als einer Sekunde angezeigt"
#~ msgid "Colorized"
#~ msgstr "Colorized"
#~ msgid "?"
#~ msgstr "?"
#~ msgid "Are you sure you want to print"
#~ msgstr "Möchten Sie wirklich drucken"
#~ msgid "Cancel Change"
#~ msgstr "Änderung abbrechen"
Binary file not shown.
@@ -1,9 +1,17 @@
msgid ""
msgstr ""
#, python-format
msgid "%d Packages will be updated"
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.0\n"
#, python-format
msgid "%s will be updated to version"
@@ -15,6 +23,9 @@ msgstr ""
msgid "24 Hour Time"
msgstr ""
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr ""
msgid "Abort"
msgstr ""
@@ -30,24 +41,45 @@ msgstr ""
msgid "Add bed mesh profile"
msgstr ""
msgid "Are you sure you want to run Emergency Stop?"
msgstr ""
msgid "Are you sure you wish to cancel this print?"
msgstr ""
msgid "Are you sure you wish to disable motors?"
msgstr ""
msgid "Are you sure you wish to reboot the system?"
msgstr ""
msgid "Are you sure you wish to shutdown the system?"
msgstr ""
msgid "Auto"
msgstr ""
msgid "Auto-scroll"
msgstr ""
msgid "Bed Level"
msgstr ""
msgid "Bed Mesh"
msgstr ""
msgid "Bltouch found applied offset"
msgstr ""
msgid "Calibrate"
msgstr ""
msgid "Calibrated, save configuration to make it permanent"
msgstr ""
msgid "Can't set above the maximum:"
msgstr ""
msgid "Cancel"
msgstr ""
@@ -60,6 +92,9 @@ msgstr ""
msgid "Cancelling"
msgstr ""
msgid "Cannot connect to Moonraker"
msgstr ""
msgid "Channel"
msgstr ""
@@ -77,6 +112,9 @@ msgstr ""
msgid "Configuration"
msgstr ""
msgid "Confirm Emergency Stop"
msgstr ""
msgid "Connected"
msgstr ""
@@ -102,15 +140,15 @@ msgstr ""
msgid "Delete"
msgstr ""
msgid "Deselect"
msgstr ""
msgid "Disable Motors"
msgstr ""
msgid "Disable XY"
msgstr ""
msgid "Disconnect"
msgstr ""
msgid "Displayed Macros"
msgstr ""
@@ -121,9 +159,6 @@ msgstr ""
msgid "Do you want to recover %s?"
msgstr ""
msgid "Duration Only"
msgstr ""
msgid "Elapsed:"
msgstr ""
@@ -142,6 +177,9 @@ msgstr ""
msgid "Extrusion -"
msgstr ""
msgid "Failed, adjust position first"
msgstr ""
msgid "Fan"
msgstr ""
@@ -157,15 +195,31 @@ msgstr ""
msgid "Finish"
msgstr ""
msgid "Firmware Restart"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
msgid "Font Size"
msgstr ""
msgid ""
"Full\n"
"Update"
msgstr ""
msgid "Go Back"
msgstr ""
msgid "Hidden"
msgstr ""
msgid "Hide"
msgstr ""
msgid "Hide sensors in Temp."
msgstr ""
msgid "Home"
msgstr ""
@@ -190,12 +244,6 @@ msgstr ""
msgid "Hostname"
msgstr ""
msgid "IPv4"
msgstr ""
msgid "IPv6"
msgstr ""
msgid "Icon Theme"
msgstr ""
@@ -223,28 +271,17 @@ msgstr ""
msgid "Invert Z"
msgstr ""
msgid "Klipper Restart"
msgstr ""
msgid "Klipper Version"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
msgid "Klipper has disconnected"
msgstr ""
msgid ""
"Klipper has encountered an error with the micro-controller.\n"
"Please recompile and flash."
msgstr ""
msgid "Klipper has encountered an error."
msgstr ""
msgid ""
"Klipper has encountered an error.\n"
"Issue a FIRMWARE_RESTART to attempt fixing the issue."
msgstr ""
msgid "Klipper has shutdown"
msgstr ""
@@ -254,9 +291,6 @@ msgstr ""
msgid "Klipper will reboot"
msgstr ""
msgid "KlipperScreen Version"
msgstr ""
msgid "Language"
msgstr ""
@@ -302,49 +336,60 @@ msgstr ""
msgid "Modified"
msgstr ""
msgid "Moonraker: connected"
msgstr ""
msgid "Move"
msgstr ""
msgid "Move Distance (mm)"
msgstr ""
msgid "Move Speed (mm/s)"
msgstr ""
msgid "Name"
msgstr ""
msgid "Network"
msgstr ""
msgid "Number Pad"
msgid "Nothing selected"
msgstr ""
msgid "Off"
msgstr ""
#, python-format
msgid "Outdated by %d commits:"
msgid "Outdated by %d"
msgstr ""
msgid "PSK for"
msgstr ""
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] ""
msgstr[1] ""
msgid "Password saved"
msgstr ""
msgid "Pause"
msgstr ""
msgid "Paused"
msgstr ""
msgid "Perform a full upgrade?"
msgstr ""
msgid "Please recompile and flash the micro-controller."
msgstr ""
msgid "Power"
msgstr ""
msgid "Power On Printer"
msgstr ""
msgid "Preheat"
msgstr ""
msgid "Print"
msgstr ""
@@ -360,6 +405,9 @@ msgstr ""
msgid "Printing"
msgstr ""
msgid "Probe found applied offset"
msgstr ""
msgid "Profile Name:"
msgstr ""
@@ -375,6 +423,9 @@ msgstr ""
msgid "Recover Soft"
msgstr ""
msgid "Reference"
msgstr ""
msgid "Restart"
msgstr ""
@@ -384,33 +435,56 @@ msgstr ""
msgid "Retract"
msgstr ""
#, python-format
msgid "Retry #%s"
msgstr ""
msgid "Save"
msgstr ""
msgid "Save Config"
msgstr ""
msgid "Save configuration."
msgid "Save configuration"
msgstr ""
msgid "Screen DPMS"
msgstr ""
msgid "Screen Power Off Time"
msgstr ""
msgid "Screen will show in less than one second"
msgstr ""
msgid "Screws Adjust"
msgstr ""
msgid "Select"
msgstr ""
msgid "Send"
msgstr ""
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr ""
msgid "Set Temp"
msgstr ""
msgid "Settings"
msgstr ""
msgid "Show"
msgstr ""
msgid "Size"
msgstr ""
msgid "Slicer"
msgstr ""
msgid "Slicer Time correction (%)"
msgstr ""
msgid "Small"
msgstr ""
@@ -432,7 +506,7 @@ msgstr ""
msgid "Start"
msgstr ""
msgid "Starting WiFi Re-association"
msgid "Starting WiFi Association"
msgstr ""
msgid "Starting recovery for"
@@ -454,6 +528,9 @@ msgid ""
"Shutdown"
msgstr ""
msgid "Temp (°C)"
msgstr ""
msgid "Temperature"
msgstr ""
@@ -464,6 +541,12 @@ msgstr ""
msgid "Tool"
msgstr ""
msgid "Total:"
msgstr ""
msgid "Unknown Heater"
msgstr ""
msgid "Unload"
msgstr ""
@@ -473,6 +556,9 @@ msgstr ""
msgid "Update"
msgstr ""
msgid "Updating"
msgstr ""
msgid "Uploaded"
msgstr ""
@@ -485,6 +571,9 @@ msgstr ""
msgid "X-"
msgstr ""
msgid "XY Move Speed (mm/s)"
msgstr ""
msgid "Y+"
msgstr ""
@@ -494,7 +583,10 @@ msgstr ""
msgid "Z Calibrate"
msgstr ""
msgid "Z Offset"
msgid "Z Move Speed (mm/s)"
msgstr ""
msgid "Z Position"
msgstr ""
msgid "Z Tilt"
@@ -506,9 +598,19 @@ msgstr ""
msgid "Z-"
msgstr ""
msgid "commit"
msgid_plural "commits"
msgstr[0] ""
msgstr[1] ""
msgid "dBm"
msgstr ""
msgid "hour"
msgid_plural "hours"
msgstr[0] ""
msgstr[1] ""
msgid "minutes"
msgstr ""
Binary file not shown.
@@ -5,21 +5,18 @@
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-11-18 11:29-0300\n"
"PO-Revision-Date: 2021-11-18 11:33-0300\n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: 2022-03-31 10:46-0300\n"
"Last-Translator: alfrix\n"
"Language-Team: \n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 3.0\n"
#, python-format
msgid "%d Packages will be updated"
msgstr "%d Paquetes serán actualizados"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.0.1\n"
#, python-format
msgid "%s will be updated to version"
@@ -31,6 +28,9 @@ msgstr "(por defecto)"
msgid "24 Hour Time"
msgstr "Formato 24 Horas"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "Un FIRMWARE_RESTART puede solucionar el problema."
msgid "Abort"
msgstr "Cancelar"
@@ -46,24 +46,45 @@ msgstr "Agregar impresora"
msgid "Add bed mesh profile"
msgstr "Agregar pefil de malla de cama"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "¿Parada de emergencia?"
msgid "Are you sure you wish to cancel this print?"
msgstr "Está seguro que desea cancelar esta impresión?"
msgid "Are you sure you wish to disable motors?"
msgstr "¿Está seguro que desea desactivar los motores?"
msgid "Are you sure you wish to reboot the system?"
msgstr "Está seguro que desea reiniciar el sistema?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "Está seguro que desea apagar el sistema?"
msgid "Auto"
msgstr "Auto"
msgid "Auto-scroll"
msgstr "Auto-scroll"
msgid "Bed Level"
msgstr "Nivelar cama"
msgid "Bed Mesh"
msgstr "Malla de cama"
msgid "Bltouch found applied offset"
msgstr "Encontrado Bltouch aplicado desfase"
msgid "Calibrate"
msgstr "Calibrar"
msgid "Calibrated, save configuration to make it permanent"
msgstr "Calibrado, guarde su configuración para hacerlo permanente"
msgid "Can't set above the maximum:"
msgstr "Error: Valor sobre el máximo:"
msgid "Cancel"
msgstr "Cancelar"
@@ -76,6 +97,9 @@ msgstr "Cancelado"
msgid "Cancelling"
msgstr "Cancelando"
msgid "Cannot connect to Moonraker"
msgstr "No se puede conectar a Moonraker"
msgid "Channel"
msgstr "Canal"
@@ -95,6 +119,9 @@ msgstr "Completado"
msgid "Configuration"
msgstr "Ajustes"
msgid "Confirm Emergency Stop"
msgstr "Confirmar Emergencia"
msgid "Connected"
msgstr "Conectado"
@@ -120,15 +147,15 @@ msgstr "Disminuir"
msgid "Delete"
msgstr "Borrar"
msgid "Deselect"
msgstr "Deseleccionar"
msgid "Disable Motors"
msgstr "Desactivar Motores"
msgid "Disable XY"
msgstr "Desactivar XY"
msgid "Disconnect"
msgstr "Desconectar"
msgid "Displayed Macros"
msgstr "Macros mostrados"
@@ -139,9 +166,6 @@ msgstr "Distancia (mm)"
msgid "Do you want to recover %s?"
msgstr "Desea recuperar %s?"
msgid "Duration Only"
msgstr "Duración"
msgid "Elapsed:"
msgstr "Tiempo:"
@@ -160,6 +184,9 @@ msgstr "Extrusor +"
msgid "Extrusion -"
msgstr "Extrusor -"
msgid "Failed, adjust position first"
msgstr "Falló, ajuste la posición primero"
msgid "Fan"
msgstr "Ventilador"
@@ -175,15 +202,35 @@ msgstr "Ajuste Fino"
msgid "Finish"
msgstr "Cerrar"
msgid "Firmware Restart"
msgstr "Reiniciar Firmware"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
"Reiniciar\n"
"Firmware"
msgid "Font Size"
msgstr "Tamaño del texto"
msgid ""
"Full\n"
"Update"
msgstr ""
"Actualizar\n"
"Todo"
msgid "Go Back"
msgstr "Volver"
msgid "Hidden"
msgstr "Oculto"
msgid "Hide"
msgstr "Ocultar"
msgid "Hide sensors in Temp."
msgstr "Ocultar sensores en Temp."
msgid "Home"
msgstr "Inicio"
@@ -208,12 +255,6 @@ msgstr "Origen"
msgid "Hostname"
msgstr "Hostname"
msgid "IPv4"
msgstr "IPv4"
msgid "IPv6"
msgstr "IPv6"
msgid "Icon Theme"
msgstr "Tema de Iconos"
@@ -241,34 +282,19 @@ msgstr "Invertir Y"
msgid "Invert Z"
msgstr "Invertir Z"
msgid "Klipper Restart"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"Reiniciar\n"
"Klipper"
msgid "Klipper Version"
msgstr "Versión de Klipper"
msgid "Klipper has disconnected"
msgstr "Klipper se desconectó"
msgid ""
"Klipper has encountered an error with the micro-controller.\n"
"Please recompile and flash."
msgstr ""
"Klipper encontró un error en el microcontrolador.\n"
"Por favor recompile y flasheelo."
msgid "Klipper has encountered an error."
msgstr "Klipper encontró un error."
msgid ""
"Klipper has encountered an error.\n"
"Issue a FIRMWARE_RESTART to attempt fixing the issue."
msgstr ""
"Klipper encontró un error.\n"
"Ejecute FIRMWARE_RESTART para tratar de arreglarlo."
msgid "Klipper has shutdown"
msgstr "Klipper se apagó"
@@ -278,9 +304,6 @@ msgstr "Klipper está intentando iniciar"
msgid "Klipper will reboot"
msgstr "Klipper se reiniciará"
msgid "KlipperScreen Version"
msgstr "Versión de KlipperScreen"
msgid "Language"
msgstr "Idioma"
@@ -326,49 +349,60 @@ msgstr "Menú"
msgid "Modified"
msgstr "Modificado"
msgid "Moonraker: connected"
msgstr "Moonraker: conectado"
msgid "Move"
msgstr "Mover"
msgid "Move Distance (mm)"
msgstr "Mover Distancia (mm)"
msgid "Move Speed (mm/s)"
msgstr "Velocidad (mm/s)"
msgid "Name"
msgstr "Nombre"
msgid "Network"
msgstr "Red"
msgid "Number Pad"
msgstr "Teclado"
msgid "Nothing selected"
msgstr "Nada seleccionado"
msgid "Off"
msgstr "Apagar"
#, python-format
msgid "Outdated by %d commits:"
msgstr "Desactualizado por %d commits:"
msgid "Outdated by %d"
msgstr "Desactualizado por %d"
msgid "PSK for"
msgstr "PSK para"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "Paquete será actualizado"
msgstr[1] "Paquetes serán actualizados"
msgid "Password saved"
msgstr "Contraseña guardada"
msgid "Pause"
msgstr "Pausar"
msgid "Paused"
msgstr "Pausado"
msgid "Perform a full upgrade?"
msgstr " ¿Actualizar Todo?"
msgid "Please recompile and flash the micro-controller."
msgstr "Por favor recompile y flashee el micro-controlador."
msgid "Power"
msgstr "Energía"
msgid "Power On Printer"
msgstr "Encender Impresora"
msgid "Preheat"
msgstr "Precalentar"
msgid "Print"
msgstr "Imprimir"
@@ -384,6 +418,9 @@ msgstr "Conexiones a impresoras"
msgid "Printing"
msgstr "Imprimiendo"
msgid "Probe found applied offset"
msgstr "Encontrado Probe aplicado desfase"
msgid "Profile Name:"
msgstr "Nombre del perfil:"
@@ -399,6 +436,9 @@ msgstr "Recuperar Hard"
msgid "Recover Soft"
msgstr "Recuperar Soft"
msgid "Reference"
msgstr "Referencia"
msgid "Restart"
msgstr "Reiniciar"
@@ -408,33 +448,56 @@ msgstr "Continuar"
msgid "Retract"
msgstr "Retraer"
#, python-format
msgid "Retry #%s"
msgstr "Intento #%s"
msgid "Save"
msgstr "Guardar"
msgid "Save Config"
msgstr "Guardar Config"
msgid "Save configuration."
msgstr "Guardar Configuración."
msgid "Save configuration"
msgstr "Guardar Configuración"
msgid "Screen DPMS"
msgstr "Pantalla DPMS"
msgid "Screen Power Off Time"
msgstr "Apagar pantalla tras"
msgid "Screen will show in less than one second"
msgstr "La pantalla se mostrará en menos de un segundo"
msgid "Screws Adjust"
msgstr "Ajustar Tornillos"
msgid "Select"
msgstr "Seleccionar"
msgid "Send"
msgstr "Enviar"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "Enviando señal de encendido a: %s"
msgid "Set Temp"
msgstr "Establecer Temp"
msgid "Settings"
msgstr "Opciones"
msgid "Show"
msgstr "Mostrar"
msgid "Size"
msgstr "Tamaño"
msgid "Slicer"
msgstr "Slicer"
msgid "Slicer Time correction (%)"
msgstr "Corrección del tiempo del Slicer (%)"
msgid "Small"
msgstr "Pequeño"
@@ -456,8 +519,8 @@ msgstr "Velocidad de esquina"
msgid "Start"
msgstr "Iniciar"
msgid "Starting WiFi Re-association"
msgstr "Comenzando re-asociación"
msgid "Starting WiFi Association"
msgstr "Iniciando asociación WiFi"
msgid "Starting recovery for"
msgstr "Iniciando recuperación de"
@@ -482,6 +545,9 @@ msgstr ""
"Apagar\n"
"Sistema"
msgid "Temp (°C)"
msgstr "Temp (°C)"
msgid "Temperature"
msgstr "Temperatura"
@@ -492,6 +558,12 @@ msgstr "Para aplicar %s KlipperScreen necesita reiniciarse"
msgid "Tool"
msgstr "Herrmienta"
msgid "Total:"
msgstr "Total:"
msgid "Unknown Heater"
msgstr "Calentador Desconocido"
msgid "Unload"
msgstr "Descargar"
@@ -501,6 +573,9 @@ msgstr "Actualizado"
msgid "Update"
msgstr "Actualizar"
msgid "Updating"
msgstr "Actualizando"
msgid "Uploaded"
msgstr "Subido"
@@ -513,6 +588,9 @@ msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "Velocidad XY (mm/s)"
msgid "Y+"
msgstr "Y+"
@@ -522,8 +600,11 @@ msgstr "Y-"
msgid "Z Calibrate"
msgstr "Calibrar Z"
msgid "Z Offset"
msgstr "Desfase Z"
msgid "Z Move Speed (mm/s)"
msgstr "Velocidad Z (mm/s)"
msgid "Z Position"
msgstr "Posición Z"
msgid "Z Tilt"
msgstr "Inclinación Z"
@@ -534,9 +615,19 @@ msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit"
msgid_plural "commits"
msgstr[0] "cambio"
msgstr[1] "cambios"
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "hora"
msgstr[1] "horas"
msgid "minutes"
msgstr "minutos"
@@ -549,6 +640,62 @@ msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
#~ msgid "IPv4"
#~ msgstr "IPv4"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "Desfase Z"
#~ msgid "Unknown Heater "
#~ msgstr "Calentador Desconocido "
#~ msgid "Disconnect"
#~ msgstr "Desconectar"
#~ msgid "Duration Only"
#~ msgstr "Duración"
#~ msgid "Klipper Version"
#~ msgstr "Versión de Klipper"
#~ msgid ""
#~ "Klipper has encountered an error with the micro-controller.\n"
#~ "Please recompile and flash."
#~ msgstr ""
#~ "Klipper encontró un error en el microcontrolador.\n"
#~ "Por favor recompile y flasheelo."
#~ msgid ""
#~ "Klipper has encountered an error.\n"
#~ "Issue a FIRMWARE_RESTART to attempt fixing the issue."
#~ msgstr ""
#~ "Klipper encontró un error.\n"
#~ "Ejecute FIRMWARE_RESTART para tratar de arreglarlo."
#~ msgid "KlipperScreen Version"
#~ msgstr "Versión de KlipperScreen"
#~ msgid "Show Only Heaters in Temp."
#~ msgstr "Solo mostrar calentadores en Temp."
#~ msgid "Target"
#~ msgstr "Obejtivo"
#~ msgid "Temp"
#~ msgstr "Temp"
#~ msgid "Number Pad"
#~ msgstr "Teclado"
#~ msgid "Preheat"
#~ msgstr "Precalentar"
#~ msgid "Screen will show in less than one second"
#~ msgstr "La pantalla se mostrará en menos de un segundo"
#~ msgid "Medium (default)"
#~ msgstr "Medio (por defecto)"
@@ -561,9 +708,6 @@ msgstr "mm/s^2"
#~ msgid "Change Printer"
#~ msgstr "Cambiar impresora"
#~ msgid "Commited"
#~ msgstr "Commited"
#~ msgid "Fan Off"
#~ msgstr "Apagar"
@@ -582,17 +726,11 @@ msgstr "mm/s^2"
#~ msgid "?"
#~ msgstr "?"
#~ msgid "Are you sure you want to print"
#~ msgstr "Está seguro que desea imprimir"
#~ msgid "Cancel Change"
#~ msgstr "Cancelar"
#~ msgid "Control"
#~ msgstr "Control"
#~ msgid "Emergency Stop"
#~ msgstr "Parada de Emergencia"
#~ msgid "Load Average"
#~ msgstr "Carga media"
@@ -5,22 +5,18 @@
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-11-18 11:29-0300\n"
"PO-Revision-Date: 2021-11-18 11:33-0300\n"
"Last-Translator: Bahoue & alfrix\n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: 2022-03-31 10:50-0300\n"
"Last-Translator: O. Robardet\n"
"Language-Team: \n"
"Language: fr_FR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 3.0\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#, python-format
msgid "%d Packages will be updated"
msgstr "%d packages seront mis à jour"
"X-Generator: Poedit 3.0.1\n"
#, python-format
msgid "%s will be updated to version"
@@ -32,6 +28,9 @@ msgstr "(défaut)"
msgid "24 Hour Time"
msgstr "Format 24 heures"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "Un FIRMWARE_RESTART peut résoudre le problème."
msgid "Abort"
msgstr "Annuler"
@@ -47,24 +46,45 @@ msgstr "Ajouter une imprimante"
msgid "Add bed mesh profile"
msgstr "Ajouter un profil de maillage"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "Êtes-vous sûr de vouloir exécuter l'arrêt d'urgence?"
msgid "Are you sure you wish to cancel this print?"
msgstr "Êtes-vous sûr de vouloir annuler cette impression?"
msgid "Are you sure you wish to disable motors?"
msgstr "Voulez-vous vraiment désactiver les moteurs ?"
msgid "Are you sure you wish to reboot the system?"
msgstr "Êtes-vous sûr de vouloir redémarrer le système?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "Êtes-vous sûr de vouloir arrêter le système?"
msgid "Auto"
msgstr "Auto"
msgid "Auto-scroll"
msgstr "Auto-scroll"
msgid "Bed Level"
msgstr "Nivelage du plateau"
msgid "Bed Mesh"
msgstr "Maillage du plateau"
msgid "Bltouch found applied offset"
msgstr "Bltouch a trouvé le décalage appliqué"
msgid "Calibrate"
msgstr "Étalonner"
msgid "Calibrated, save configuration to make it permanent"
msgstr "Calibré, enregistrez la configuration pour la rendre permanente"
msgid "Can't set above the maximum:"
msgstr "Impossible de définir au-dessus du maximum:"
msgid "Cancel"
msgstr "Annuler"
@@ -77,6 +97,9 @@ msgstr "Annulé"
msgid "Cancelling"
msgstr "Annulation"
msgid "Cannot connect to Moonraker"
msgstr "Impossible de se connecter à Moonraker"
msgid "Channel"
msgstr "Canal"
@@ -84,8 +107,8 @@ msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgstr ""
"Vérifier /tmp/KlipperScreen.log pour plus d'informations.\n"
"SVP envoyez une requête sur GITHUB pour obtenir de l'aide."
"Vérifiez /tmp/KlipperScreen.log pour plus d'informations.\n"
"SVP envoyez une requête sur GitHub pour obtenir de l'aide."
msgid "Close"
msgstr "Fermer"
@@ -96,6 +119,9 @@ msgstr "Finalisé"
msgid "Configuration"
msgstr "Configuration"
msgid "Confirm Emergency Stop"
msgstr "Confirmer l'arrêt d'urgence"
msgid "Connected"
msgstr "Connecté"
@@ -121,15 +147,15 @@ msgstr "Diminuer"
msgid "Delete"
msgstr "Effacer"
msgid "Deselect"
msgstr "Désélectionner"
msgid "Disable Motors"
msgstr "Désactiver les moteurs"
msgid "Disable XY"
msgstr "Désactiver XY"
msgid "Disconnect"
msgstr "Déconnecter"
msgid "Displayed Macros"
msgstr "Macros affichées"
@@ -140,9 +166,6 @@ msgstr "Distance (mm)"
msgid "Do you want to recover %s?"
msgstr "Voulez-vous récupérer %s ?"
msgid "Duration Only"
msgstr "Durée seulement"
msgid "Elapsed:"
msgstr "Écoulé:"
@@ -161,6 +184,9 @@ msgstr "Extrusion +"
msgid "Extrusion -"
msgstr "Extrusion -"
msgid "Failed, adjust position first"
msgstr "Échec, ajustez d'abord la position"
msgid "Fan"
msgstr "Ventilateur"
@@ -176,32 +202,52 @@ msgstr "Réglages fins"
msgid "Finish"
msgstr "Fin"
msgid "Firmware Restart"
msgstr "Redémarrer Firmware"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
"Micrologiciel\n"
"Redémarrage"
msgid "Font Size"
msgstr "Taille de police"
msgid ""
"Full\n"
"Update"
msgstr ""
"Plein\n"
"Mettre à jour"
msgid "Go Back"
msgstr "Retourner"
msgid "Hidden"
msgstr "Caché"
msgid "Hide"
msgstr "Cacher"
msgid "Hide sensors in Temp."
msgstr "Masquer les capteurs dans Temp."
msgid "Home"
msgstr "Réinitialiser"
msgstr "Accueil"
msgid "Home All"
msgstr "Réinitialiser XYZ"
msgstr "Origine XYZ"
msgid "Home X"
msgstr "Réinitialiser X"
msgstr "Origine X"
msgid "Home XY"
msgstr "Réinitialiser XY"
msgstr "Origine XY"
msgid "Home Y"
msgstr "Réinitialiser Y"
msgstr "Origine Y"
msgid "Home Z"
msgstr "Réinitialiser Z"
msgstr "Origine Z"
msgid "Homing"
msgstr "Origine"
@@ -209,12 +255,6 @@ msgstr "Origine"
msgid "Hostname"
msgstr "Hostname"
msgid "IPv4"
msgstr "IPv4"
msgid "IPv6"
msgstr "IPv6"
msgid "Icon Theme"
msgstr "Thème icônes"
@@ -242,34 +282,19 @@ msgstr "Inverser Y"
msgid "Invert Z"
msgstr "Inverser Z"
msgid "Klipper Restart"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"Redémarrer\n"
"Klipper"
msgid "Klipper Version"
msgstr "Version de Klipper"
"Klipper\n"
"Redémarrage"
msgid "Klipper has disconnected"
msgstr "Klipper s'est déconnecté"
msgid ""
"Klipper has encountered an error with the micro-controller.\n"
"Please recompile and flash."
msgstr ""
"Klipper a rencontré une erreur avec le micro-contrôleur.\n"
"Veuillez recompiler et reflasher."
msgid "Klipper has encountered an error."
msgstr "Klipper a rencontré une erreur."
msgid ""
"Klipper has encountered an error.\n"
"Issue a FIRMWARE_RESTART to attempt fixing the issue."
msgstr ""
"Klipper a rencontré une erreur. \n"
"Taper FIRMWARE_RESTART pour fixer l'erreur."
msgid "Klipper has shutdown"
msgstr "Klipper s'est arrêté"
@@ -279,9 +304,6 @@ msgstr "Klipper tente de démarrer"
msgid "Klipper will reboot"
msgstr "Klipper va redémarrer"
msgid "KlipperScreen Version"
msgstr "Version de KlipperScreen"
msgid "Language"
msgstr "Langue"
@@ -327,49 +349,60 @@ msgstr "Menu"
msgid "Modified"
msgstr "Modifié"
msgid "Moonraker: connected"
msgstr "Moonraker : connecté"
msgid "Move"
msgstr "Mouvement"
msgid "Move Distance (mm)"
msgstr "Distance de mouvement (mm)"
msgid "Move Speed (mm/s)"
msgstr "Vitesse de déplacement (mm/s)"
msgid "Name"
msgstr "Nom"
msgid "Network"
msgstr "Réseau"
msgid "Number Pad"
msgstr "Clavier"
msgid "Nothing selected"
msgstr "Rien de sélectionné"
msgid "Off"
msgstr "Éteindre"
#, python-format
msgid "Outdated by %d commits:"
msgstr "Obsolète par %d commits :"
msgid "Outdated by %d"
msgstr "Obsolète de %d"
msgid "PSK for"
msgstr "PSK pour"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "Le paquet sera mis à jour"
msgstr[1] "Forfaits seront mis à jour"
msgid "Password saved"
msgstr "Mot de passe enregistré"
msgid "Pause"
msgstr "Pause"
msgid "Paused"
msgstr "En pause"
msgid "Perform a full upgrade?"
msgstr "Effectuer une mise à jour complète ?"
msgid "Please recompile and flash the micro-controller."
msgstr "Veuillez recompiler et flasher le microcontrôleur."
msgid "Power"
msgstr "Energie"
msgstr "Alimentation"
msgid "Power On Printer"
msgstr "Allumer l'imprimante"
msgid "Preheat"
msgstr "Préchauffer"
msgid "Print"
msgstr "Imprimer"
@@ -380,11 +413,14 @@ msgid "Print Time"
msgstr "Temps d'impression"
msgid "Printer Connections"
msgstr "Connexions de l'imprimante"
msgstr "Connexions aux imprimantes"
msgid "Printing"
msgstr "Impression"
msgid "Probe found applied offset"
msgstr "Probe a trouvé le décalage appliqué"
msgid "Profile Name:"
msgstr "Nom de profil:"
@@ -395,47 +431,73 @@ msgid "Raise Nozzle"
msgstr "Éloigner la buse"
msgid "Recover Hard"
msgstr "Récupérer Hard"
msgstr "Récupération \"--hard\""
msgid "Recover Soft"
msgstr "Récupérer Soft"
msgstr "Récupérer \"--soft\""
msgid "Reference"
msgstr "Référence"
msgid "Restart"
msgstr "Redémarrage"
msgstr "Redémarrer"
msgid "Resume"
msgstr "Resumer"
msgstr "Reprendre"
msgid "Retract"
msgstr "Rétracter"
#, python-format
msgid "Retry #%s"
msgstr "Réessayez #%s"
msgid "Save"
msgstr "Enregistrer"
msgid "Save Config"
msgstr "Enregistrer la config"
msgid "Save configuration."
msgstr "Enregistrer la configuration."
msgid "Save configuration"
msgstr "Enregistrer la configuration"
msgid "Screen DPMS"
msgstr "Écran DPMS"
msgid "Screen Power Off Time"
msgstr "Extinction de l'écran"
msgid "Screen will show in less than one second"
msgstr "L'écran s'affichera en moins d'une seconde"
msgstr "Délai d'extinction de l'écran"
msgid "Screws Adjust"
msgstr "Ajuster les vis"
msgid "Select"
msgstr "Sélectionner"
msgid "Send"
msgstr "Envoyer"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "Envoi du signal de mise sous tension à : %s"
msgid "Set Temp"
msgstr "Régler la temp"
msgid "Settings"
msgstr "Paramètres"
msgid "Show"
msgstr "Montrer"
msgid "Size"
msgstr "Dimension"
msgid "Slicer"
msgstr "Trancheur"
msgid "Slicer Time correction (%)"
msgstr "Correction du temps de trancheuse (%)"
msgid "Small"
msgstr "Petit"
@@ -457,8 +519,8 @@ msgstr "Vélocité des angles droits"
msgid "Start"
msgstr "Démarrer"
msgid "Starting WiFi Re-association"
msgstr "Démarrage de la re-association WiFi"
msgid "Starting WiFi Association"
msgstr "Démarrage de l'association Wi-Fi"
msgid "Starting recovery for"
msgstr "Démarrage de la récupération pour"
@@ -474,13 +536,16 @@ msgid ""
"Restart"
msgstr ""
"Redémarrer\n"
"Système"
"le système"
msgid ""
"System\n"
"Shutdown"
msgstr "Arrêt du Système"
msgid "Temp (°C)"
msgstr "Temp (°C)"
msgid "Temperature"
msgstr "Température"
@@ -491,6 +556,12 @@ msgstr "Pour appliquer %s KlipperScreen doit être redémarré"
msgid "Tool"
msgstr "Outil"
msgid "Total:"
msgstr "Total:"
msgid "Unknown Heater"
msgstr "Chauffage inconnu"
msgid "Unload"
msgstr "Décharger"
@@ -500,6 +571,10 @@ msgstr "À jour"
msgid "Update"
msgstr "Mise à jour"
#, fuzzy
msgid "Updating"
msgstr "Mise à jour"
msgid "Uploaded"
msgstr "Téléchargé"
@@ -512,6 +587,9 @@ msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "Vitesse de déplacement XY (mm/s)"
msgid "Y+"
msgstr "Y+"
@@ -521,8 +599,11 @@ msgstr "Y-"
msgid "Z Calibrate"
msgstr "Calibration Z"
msgid "Z Offset"
msgstr "Décalage Z"
msgid "Z Move Speed (mm/s)"
msgstr "Vitesse de déplacement Z (mm/s)"
msgid "Z Position"
msgstr "Position Z"
msgid "Z Tilt"
msgstr "Z Tilt"
@@ -533,9 +614,19 @@ msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit"
msgid_plural "commits"
msgstr[0] "changement"
msgstr[1] "changements"
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "heur"
msgstr[1] "heures"
msgid "minutes"
msgstr "minutes"
@@ -548,6 +639,62 @@ msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
#~ msgid "IPv4"
#~ msgstr "IPv4"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "Décalage Z"
#~ msgid "Unknown Heater "
#~ msgstr "Chauffage inconnu "
#~ msgid "Disconnect"
#~ msgstr "Déconnecter"
#~ msgid "Duration Only"
#~ msgstr "Durée seulement"
#~ msgid "Klipper Version"
#~ msgstr "Version de Klipper"
#~ msgid ""
#~ "Klipper has encountered an error with the micro-controller.\n"
#~ "Please recompile and flash."
#~ msgstr ""
#~ "Klipper a rencontré une erreur avec le micro-contrôleur.\n"
#~ "Veuillez recompiler et reflasher."
#~ msgid ""
#~ "Klipper has encountered an error.\n"
#~ "Issue a FIRMWARE_RESTART to attempt fixing the issue."
#~ msgstr ""
#~ "Klipper a rencontré une erreur. \n"
#~ "Taper FIRMWARE_RESTART pour fixer l'erreur."
#~ msgid "KlipperScreen Version"
#~ msgstr "Version de KlipperScreen"
#~ msgid "Show Only Heaters in Temp."
#~ msgstr "Afficher uniquement les éléments chauffants en temp."
#~ msgid "Target"
#~ msgstr "Cibler"
#~ msgid "Temp"
#~ msgstr "Temp"
#~ msgid "Number Pad"
#~ msgstr "Clavier"
#~ msgid "Preheat"
#~ msgstr "Préchauffer"
#~ msgid "Screen will show in less than one second"
#~ msgstr "L'écran s'affichera en moins d'une seconde"
#~ msgid "Medium (default)"
#~ msgstr "Moyen (défaut)"
@@ -578,18 +725,12 @@ msgstr "mm/s^2"
#~ msgid "?"
#~ msgstr "?"
#~ msgid "Are you sure you want to print"
#~ msgstr "Es tu sure de vouloir imprimer"
#~ msgid "Cancel Change"
#~ msgstr "Annuler le changement"
#~ msgid "Control"
#~ msgstr "Controle"
#~ msgid "Emergency Stop"
#~ msgstr "Arret d'urgence"
#~ msgid "Load Average"
#~ msgstr "Charge moyenne"
@@ -7,23 +7,19 @@ msgid ""
msgstr ""
"Project-Id-Version: Klipperscreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-11-18 11:29-0300\n"
"PO-Revision-Date: 2021-11-18 11:34-0300\n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: 2022-03-31 10:54-0300\n"
"Last-Translator: Emanuel Sharvit <manu7irl@gmail.com>\n"
"Language-Team: \n"
"Language: he_IL\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 3.0\n"
"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : n==2 ? 1 : n>10 && n%10==0 ? "
"2 : 3);\n"
"X-Generator: Poedit 3.0.1\n"
"X-Poedit-SourceCharset: UTF-8\n"
#, python-format
msgid "%d Packages will be updated"
msgstr "%d חבילות יעודכנו"
#, python-format
msgid "%s will be updated to version"
msgstr "%s יעודכן לגרסה"
@@ -34,6 +30,9 @@ msgstr "(בְּרִירַת מֶחדָל)"
msgid "24 Hour Time"
msgstr "זמן 24 שעות"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "FIRMWARE_RESTART עשוי לפתור את הבעיה."
msgid "Abort"
msgstr "בטל"
@@ -49,24 +48,46 @@ msgstr "הוסף מדפסת"
msgid "Add bed mesh profile"
msgstr "הוסף פרופיל רשת למיטה"
msgid "Are you sure you want to run Emergency Stop?"
msgstr ""
"האם אתה בטוח שברצונך להדפיסהאם אתה בטוח שברצונך להפעיל את עצירת החירום?"
msgid "Are you sure you wish to cancel this print?"
msgstr "האם אתה בטוח שברצונך לבטל את ההדפסה?"
msgid "Are you sure you wish to disable motors?"
msgstr "האם אתה בטוח שברצונך להשבית מנועים?"
msgid "Are you sure you wish to reboot the system?"
msgstr "האם אתה בטוח שברצונך לאתחל את המערכת?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "האם אתה בטוח שברצונך לסגור את המערכת?"
msgid "Auto"
msgstr "אוטומטי"
msgid "Auto-scroll"
msgstr "גלילה אוטומטית"
msgid "Bed Level"
msgstr "פילוס מיטה"
msgid "Bed Mesh"
msgstr "מיפוי מיטה"
msgid "Bltouch found applied offset"
msgstr "Bltouch נמצא היסט מוחל"
msgid "Calibrate"
msgstr "לְדַרֵג"
msgid "Calibrated, save configuration to make it permanent"
msgstr "מכויל, שמור את התצורה כדי שהיא תהיה קבועה"
msgid "Can't set above the maximum:"
msgstr "לא ניתן להגדיר מעל המקסימום:"
msgid "Cancel"
msgstr "ביטול"
@@ -79,6 +100,9 @@ msgstr "מבוטל"
msgid "Cancelling"
msgstr "מבטל"
msgid "Cannot connect to Moonraker"
msgstr "לא ניתן להתחבר ל-Moonraker"
msgid "Channel"
msgstr "עָרוּץ"
@@ -98,6 +122,9 @@ msgstr "לְהַשְׁלִים"
msgid "Configuration"
msgstr "קונפיגורציה"
msgid "Confirm Emergency Stop"
msgstr "אשר עצירת חירום"
msgid "Connected"
msgstr "מְחוּבָּר"
@@ -123,15 +150,15 @@ msgstr "לְהַקְטִין"
msgid "Delete"
msgstr "לִמְחוֹק"
msgid "Deselect"
msgstr "בטל את הבחירה"
msgid "Disable Motors"
msgstr "השבת מנועים"
msgid "Disable XY"
msgstr "השבת את XY"
msgid "Disconnect"
msgstr "לְנַתֵק"
msgid "Displayed Macros"
msgstr "מוצגים מאקרו"
@@ -142,9 +169,6 @@ msgstr "מרחק (מ\"מ)"
msgid "Do you want to recover %s?"
msgstr "האם ברצונך לשחזר %s?"
msgid "Duration Only"
msgstr "משך הזמן בלבד"
msgid "Elapsed:"
msgstr "זמן שעבר:"
@@ -163,6 +187,9 @@ msgstr "שיחול +"
msgid "Extrusion -"
msgstr "שיחול -"
msgid "Failed, adjust position first"
msgstr "נכשל, תחילה התאם את המיקום"
msgid "Fan"
msgstr "מאוורר"
@@ -178,15 +205,35 @@ msgstr "כוונון עדין"
msgid "Finish"
msgstr "סיים"
msgid "Firmware Restart"
msgstr "הפעלה מחדש של הקושחה"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
"קושחה\n"
"איתחול"
msgid "Font Size"
msgstr "גודל טקסט"
msgid ""
"Full\n"
"Update"
msgstr ""
"מלא\n"
"עדכון"
msgid "Go Back"
msgstr "חזרה"
msgid "Hidden"
msgstr "מוּסתָר"
msgid "Hide"
msgstr "להתחבא"
msgid "Hide sensors in Temp."
msgstr "הסתר חיישנים בטמפ'."
msgid "Home"
msgstr "איפוס"
@@ -211,12 +258,6 @@ msgstr "איפוס צירים"
msgid "Hostname"
msgstr "Hostname"
msgid "IPv4"
msgstr "IPv4"
msgid "IPv6"
msgstr "IPv6"
msgid "Icon Theme"
msgstr "נושא אייקון"
@@ -244,32 +285,19 @@ msgstr "הפוך את Y"
msgid "Invert Z"
msgstr "הפוך את Z"
msgid "Klipper Restart"
msgstr "אתחול קליפר"
msgid "Klipper Version"
msgstr "גרסא של קליפר"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"קליפר\n"
"איתחול"
msgid "Klipper has disconnected"
msgstr "קליפר התנתק"
msgid ""
"Klipper has encountered an error with the micro-controller.\n"
"Please recompile and flash."
msgstr ""
"קליפר נתקל בשגיאה בבקר המיקרו.\n"
"אנא הידור מחדש והבהב."
msgid "Klipper has encountered an error."
msgstr "קילפר נתקל בבעיה."
msgid ""
"Klipper has encountered an error.\n"
"Issue a FIRMWARE_RESTART to attempt fixing the issue."
msgstr ""
"קליפר נתקל בבעיה. \n"
"נסה להריץ firmware_restart, כדי לפתור את הבעיה."
msgid "Klipper has shutdown"
msgstr "קליפר נכבה"
@@ -279,9 +307,6 @@ msgstr "קליפר מנסה לרוץ"
msgid "Klipper will reboot"
msgstr "קליפר יבצע אתחול"
msgid "KlipperScreen Version"
msgstr "גרסא של KlipperScreen"
msgid "Language"
msgstr "שפה"
@@ -327,49 +352,62 @@ msgstr "תַפרִיט"
msgid "Modified"
msgstr "שונה"
msgid "Moonraker: connected"
msgstr "Moonraker: מחובר"
msgid "Move"
msgstr "הזזת צירים"
msgid "Move Distance (mm)"
msgstr "מרחק הזזה (מ''מ)"
msgid "Move Speed (mm/s)"
msgstr "מהירות הזזה (מ\"מ/שניות)"
msgid "Name"
msgstr "שֵׁם"
msgid "Network"
msgstr "רשת"
msgid "Number Pad"
msgstr "פד נומרי"
msgid "Nothing selected"
msgstr "שום דבר לא נבחר"
msgid "Off"
msgstr "כבוי"
#, python-format
msgid "Outdated by %d commits:"
msgstr "מיושן ב- %d מתחייב:"
msgid "Outdated by %d"
msgstr "מיושן על ידי %d"
msgid "PSK for"
msgstr "PSK עבור"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "חבילה אחת תעודכן"
msgstr[1] "חבילות יעודכנו"
msgstr[2] "חבילות יעודכנו"
msgstr[3] "חבילות יעודכנו"
msgid "Password saved"
msgstr "הסיסמה נשמרה"
msgid "Pause"
msgstr "השהיה"
msgid "Paused"
msgstr "מושהה"
msgid "Perform a full upgrade?"
msgstr "לבצע שדרוג מלא?"
msgid "Please recompile and flash the micro-controller."
msgstr "אנא הידור מחדש והבזק את המיקרו-בקר."
msgid "Power"
msgstr "הפעלה"
msgid "Power On Printer"
msgstr "הפעל מדפסת"
msgid "Preheat"
msgstr "חימום מראש"
msgid "Print"
msgstr "הדפס"
@@ -385,6 +423,9 @@ msgstr "חיבורי מדפסת"
msgid "Printing"
msgstr "מדפיס"
msgid "Probe found applied offset"
msgstr "Probe נמצא היסט מוחל"
msgid "Profile Name:"
msgstr "שם פרופיל:"
@@ -400,6 +441,9 @@ msgstr "לְהַחלִים Hard"
msgid "Recover Soft"
msgstr "לְהַחלִים Soft"
msgid "Reference"
msgstr "התייחסות"
msgid "Restart"
msgstr "אתחל"
@@ -409,33 +453,56 @@ msgstr "המשך"
msgid "Retract"
msgstr "שיחול לאחור"
#, python-format
msgid "Retry #%s"
msgstr "נסה שוב #%s"
msgid "Save"
msgstr "להציל"
msgid "Save Config"
msgstr "שמור קונפיג"
msgid "Save configuration."
msgstr "שמור תצורה."
msgid "Save configuration"
msgstr "שמור תצורה"
msgid "Screen DPMS"
msgstr "DPMS מסך"
msgid "Screen Power Off Time"
msgstr "זמן כיבוי מסך"
msgid "Screen will show in less than one second"
msgstr "המסך יופיע תוך פחות משנייה אחת"
msgid "Screws Adjust"
msgstr "סידור ברגים"
msgid "Select"
msgstr "בחר"
msgid "Send"
msgstr "לִשְׁלוֹחַ"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "שולח אות הפעלה אל: %s"
msgid "Set Temp"
msgstr "הגדר טמפ'"
msgid "Settings"
msgstr "הגדרות"
msgid "Show"
msgstr "הופעה"
msgid "Size"
msgstr "גודל"
msgid "Slicer"
msgstr "Slicer"
msgid "Slicer Time correction (%)"
msgstr "תיקון זמן פריסה (%)"
msgid "Small"
msgstr "קָטָן"
@@ -457,8 +524,8 @@ msgstr "מהירות פינה מרובעת"
msgid "Start"
msgstr "הַתחָלָה"
msgid "Starting WiFi Re-association"
msgstr "התחלת שיוך מחדש ל- WiFi"
msgid "Starting WiFi Association"
msgstr "מתחיל איגוד WiFi"
msgid "Starting recovery for"
msgstr "החל התאוששות עבור"
@@ -483,6 +550,9 @@ msgstr ""
"מערכת\n"
"לכבות"
msgid "Temp (°C)"
msgstr "טמפ' (°C)"
msgid "Temperature"
msgstr "טמפרטורה"
@@ -493,6 +563,12 @@ msgstr "כדי ליישם %s צריך להפעיל מחדש את KlipperScreen"
msgid "Tool"
msgstr "כלי"
msgid "Total:"
msgstr "סך הכל:"
msgid "Unknown Heater"
msgstr "מחמם לא ידוע"
msgid "Unload"
msgstr "לִפְרוֹק"
@@ -502,6 +578,9 @@ msgstr "עדכני"
msgid "Update"
msgstr "עדכון"
msgid "Updating"
msgstr "עִדכּוּן"
msgid "Uploaded"
msgstr "הועלה"
@@ -514,6 +593,9 @@ msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "מהירות תנועה XY (מ\"מ/שנייה)"
msgid "Y+"
msgstr "Y+"
@@ -523,8 +605,11 @@ msgstr "Y-"
msgid "Z Calibrate"
msgstr "כיול Z"
msgid "Z Offset"
msgstr "הפרז גובה Z"
msgid "Z Move Speed (mm/s)"
msgstr "מהירות תנועה Z (מ\"מ/שניות)"
msgid "Z Position"
msgstr "מיקום Z"
msgid "Z Tilt"
msgstr "הטיה Z"
@@ -535,9 +620,23 @@ msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit"
msgid_plural "commits"
msgstr[0] "שינוי"
msgstr[1] "שינויים"
msgstr[2] "שינויים"
msgstr[3] "שינויים"
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "שעה"
msgstr[1] "שעות"
msgstr[2] "שעות"
msgstr[3] "שעות"
msgid "minutes"
msgstr "דקות"
@@ -550,6 +649,62 @@ msgstr "מ\"מ/ש"
msgid "mm/s^2"
msgstr "mm/s^2"
#~ msgid "IPv4"
#~ msgstr "IPv4"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "הפרז גובה Z"
#~ msgid "Unknown Heater "
#~ msgstr "מחמם לא ידוע "
#~ msgid "Disconnect"
#~ msgstr "לְנַתֵק"
#~ msgid "Duration Only"
#~ msgstr "משך הזמן בלבד"
#~ msgid "Klipper Version"
#~ msgstr "גרסא של קליפר"
#~ msgid ""
#~ "Klipper has encountered an error with the micro-controller.\n"
#~ "Please recompile and flash."
#~ msgstr ""
#~ "קליפר נתקל בשגיאה בבקר המיקרו.\n"
#~ "אנא הידור מחדש והבהב."
#~ msgid ""
#~ "Klipper has encountered an error.\n"
#~ "Issue a FIRMWARE_RESTART to attempt fixing the issue."
#~ msgstr ""
#~ "קליפר נתקל בבעיה. \n"
#~ "נסה להריץ firmware_restart, כדי לפתור את הבעיה."
#~ msgid "KlipperScreen Version"
#~ msgstr "גרסא של KlipperScreen"
#~ msgid "Show Only Heaters in Temp."
#~ msgstr "הצג רק מחממים בטמפ'."
#~ msgid "Target"
#~ msgstr "יַעַד"
#~ msgid "Temp"
#~ msgstr "טמפ'"
#~ msgid "Number Pad"
#~ msgstr "פד נומרי"
#~ msgid "Preheat"
#~ msgstr "חימום מראש"
#~ msgid "Screen will show in less than one second"
#~ msgstr "המסך יופיע תוך פחות משנייה אחת"
#~ msgid "Medium (default)"
#~ msgstr "בינוני (ברירת מחדל)"
@@ -574,18 +729,12 @@ msgstr "mm/s^2"
#~ msgid "?"
#~ msgstr "?"
#~ msgid "Are you sure you want to print"
#~ msgstr "האם אתה בטוח שברצונך להדפיס"
#~ msgid "Cancel Change"
#~ msgstr "בטל שינוי"
#~ msgid "Control"
#~ msgstr "שליטה"
#~ msgid "Emergency Stop"
#~ msgstr "עצירת חירום"
#~ msgid "Load Average"
#~ msgstr "עומס ממוצע"
@@ -0,0 +1,675 @@
msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: \n"
"Last-Translator: AntoszHUN\n"
"Language-Team: \n"
"Language: hu_HU\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.0.1\n"
#, python-format
msgid "%s will be updated to version"
msgstr "%s verzió frissítése"
msgid "(default)"
msgstr "(alapértelmezett)"
msgid "24 Hour Time"
msgstr "24 Órás Idő"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "A FIRMWARE_RESTART javíthatja a problémát."
msgid "Abort"
msgstr "Megszakít"
msgid "Accept"
msgstr "Elfogad"
msgid "Actions"
msgstr "Műveletek"
msgid "Add Printer"
msgstr "Nyomtató hozzáadása"
msgid "Add bed mesh profile"
msgstr "Ágyháló profil hozzáadása"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "Biztosan Vészleállítást végez?"
msgid "Are you sure you wish to cancel this print?"
msgstr "Biztosan megszakítja ezt a nyomtatást?"
msgid "Are you sure you wish to disable motors?"
msgstr "Biztos benne, hogy le szeretné tiltani a motorokat?"
msgid "Are you sure you wish to reboot the system?"
msgstr "Biztos benne, hogy újra akarja indítani a rendszert?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "Biztos, hogy le szeretné állítani a rendszert?"
msgid "Auto"
msgstr "Auto"
msgid "Auto-scroll"
msgstr "Automatikus görgetés"
msgid "Bed Level"
msgstr "Ágyszint"
msgid "Bed Mesh"
msgstr "Ágyháló"
msgid "Bltouch found applied offset"
msgstr "A Bltouch alkalmazott eltolást talált"
msgid "Calibrate"
msgstr "Kalibrálás"
msgid "Calibrated, save configuration to make it permanent"
msgstr "Kalibrálva! Mentse el a konfigurációt, hogy az állandó legyen"
msgid "Can't set above the maximum:"
msgstr "Nem állítható a maximum fölé:"
msgid "Cancel"
msgstr "Mégse"
msgid "Cancel Print"
msgstr "Nyomtatás megszakítása"
msgid "Cancelled"
msgstr "Törölve"
msgid "Cancelling"
msgstr "Törlés"
msgid "Cannot connect to Moonraker"
msgstr "Nem lehet csatlakozni a Moonrakerhez"
msgid "Channel"
msgstr "Csatorna"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgstr ""
"Nézd a /tmp/KlipperScreen.log további információért.\n"
"Segítségért küldj be egy hibajegyet a GitHubon."
msgid "Close"
msgstr "Bezárás"
msgid "Complete"
msgstr "Befejezve"
msgid "Configuration"
msgstr "Konfiguráció"
msgid "Confirm Emergency Stop"
msgstr "Erősítse meg a vészleállítást"
msgid "Connected"
msgstr "Csatlakoztatva"
#, python-format
msgid "Connecting to %s"
msgstr "Csatlakozás %s"
msgid "Console"
msgstr "Konzol"
msgid "Continue"
msgstr "Folytat"
msgid "Cooldown"
msgstr "Lehűtés"
msgid "Date"
msgstr "Dátum"
msgid "Decrease"
msgstr "Csökkent"
msgid "Delete"
msgstr "Töröl"
msgid "Deselect"
msgstr "Kijelölés törlése"
msgid "Disable Motors"
msgstr "Motorok letiltása"
msgid "Disable XY"
msgstr "XY Letiltása"
msgid "Displayed Macros"
msgstr "Megjelenített makrók"
msgid "Distance (mm)"
msgstr "Távolság (mm)"
#, python-format
msgid "Do you want to recover %s?"
msgstr "Vissza akarja állítani %s-t?"
msgid "Elapsed:"
msgstr "Eltelt:"
msgid "Error"
msgstr "Hiba"
msgid "Estimated Time Method"
msgstr "Becsült idő módszer"
msgid "Extrude"
msgstr "Száladagolás"
msgid "Extrusion +"
msgstr "Extrudálás +"
msgid "Extrusion -"
msgstr "Extrudálás -"
msgid "Failed, adjust position first"
msgstr "Sikertelen! Előbb állítsd be a pozíciót"
msgid "Fan"
msgstr "Hűtés"
msgid "Filament Used"
msgstr "Használt nyomtatószál"
msgid "File"
msgstr "Fájl"
msgid "Fine Tuning"
msgstr "Finomhangolás"
msgid "Finish"
msgstr "Befejezve"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
"Firmware\n"
"Újrakezd"
msgid "Font Size"
msgstr "Betűméret"
msgid ""
"Full\n"
"Update"
msgstr ""
"Teljes\n"
"Frissítés"
msgid "Go Back"
msgstr "Menj vissza"
msgid "Hidden"
msgstr "Rejtett"
msgid "Hide"
msgstr "Elrejt"
msgid "Hide sensors in Temp."
msgstr "Szenzorok elrejtése Hőfok."
msgid "Home"
msgstr "Kezdőpontok"
msgid "Home All"
msgstr "X-Y-Z kezdőpont"
msgid "Home X"
msgstr "X kezdőpont"
msgid "Home XY"
msgstr "XY kezdőpont"
msgid "Home Y"
msgstr "Y kezdőpont"
msgid "Home Z"
msgstr "Z kezdőpont"
msgid "Homing"
msgstr "Kezdőpont"
msgid "Hostname"
msgstr "Gazdanév"
msgid "Icon Theme"
msgstr "Ikon téma"
msgid "Increase"
msgstr "Növel"
msgid "Initializing"
msgstr "Inicializálás"
msgid "Initializing printer..."
msgstr "Nyomtató inicializálása..."
msgid "Interface"
msgstr "Felület"
msgid "Invalid"
msgstr "Érvénytelen"
msgid "Invert X"
msgstr "Fordított X"
msgid "Invert Y"
msgstr "Fordított Y"
msgid "Invert Z"
msgstr "Fordított Z"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"Klipper\n"
"Újrakezd"
msgid "Klipper has disconnected"
msgstr "Klipper szétkapcsolt"
msgid "Klipper has encountered an error."
msgstr "A Klipper hibát észlelt."
msgid "Klipper has shutdown"
msgstr "A Klipper leállt"
msgid "Klipper is attempting to start"
msgstr "Klipper megpróbálja elindítani"
msgid "Klipper will reboot"
msgstr "A Klipper újraindul"
msgid "Language"
msgstr "Nyelv"
msgid "Large"
msgstr "Nagy"
msgid "Left:"
msgstr "Bal:"
msgid "Limits"
msgstr "Korlátok"
msgid "Load"
msgstr "Betöltés"
msgid "Lower Nozzle"
msgstr "Fúvóka le"
msgid "Macro shortcut on sidebar"
msgstr "Makró parancsikon az oldalsávon"
msgid "Macros"
msgstr "Makrók"
msgid "Main Menu"
msgstr "Főmenü"
msgid "Max Accelation"
msgstr "Max gyorsulás"
msgid "Max Acceleration to Deceleration"
msgstr "Lassulás max gyorsulása"
msgid "Max Velocity"
msgstr "Max sebesség"
msgid "Medium"
msgstr "Közepes"
msgid "Menu"
msgstr "Menü"
msgid "Modified"
msgstr "Módosított"
msgid "Moonraker: connected"
msgstr "Moonraker: csatlakoztatva"
msgid "Move"
msgstr "Mozgatás"
msgid "Move Distance (mm)"
msgstr "Mozgási távolság (mm)"
msgid "Name"
msgstr "Név"
msgid "Network"
msgstr "Hálózat"
msgid "Nothing selected"
msgstr "Nincs kiválasztva"
msgid "Off"
msgstr "Ki"
#, python-format
msgid "Outdated by %d"
msgstr "%d által elavult"
msgid "PSK for"
msgstr "PSK-nak"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "A csomag frissítésre kerül"
msgstr[1] "Csomag frissül"
msgid "Password saved"
msgstr "Jelszó mentve"
msgid "Pause"
msgstr "Szünet"
msgid "Paused"
msgstr "Szüneteltetve"
msgid "Perform a full upgrade?"
msgstr "Teljes frissítést hajt végre?"
msgid "Please recompile and flash the micro-controller."
msgstr "Fordítsa újra és frissítse a mikrovezérlőt."
msgid "Power"
msgstr "Bekapcsolás"
msgid "Power On Printer"
msgstr "Nyomtató bekapcsolása"
msgid "Print"
msgstr "Nyomtatás"
msgid "Print Control"
msgstr "Nyomtatásvezérlés"
msgid "Print Time"
msgstr "Nyomtatási idő"
msgid "Printer Connections"
msgstr "Nyomtató csatlakozások"
msgid "Printing"
msgstr "Nyomtatás"
msgid "Probe found applied offset"
msgstr "A szonda alkalmazott eltolást talált"
msgid "Profile Name:"
msgstr "Profil név:"
msgid "Quad Gantry Level"
msgstr "Négy állású szint"
msgid "Raise Nozzle"
msgstr "Fúvóka fel"
msgid "Recover Hard"
msgstr "Hárdver visszaállítása"
msgid "Recover Soft"
msgstr "Program visszaállítása"
msgid "Reference"
msgstr "Referencia"
msgid "Restart"
msgstr "Újraindítás"
msgid "Resume"
msgstr "Folytat"
msgid "Retract"
msgstr "Visszahúz"
#, python-format
msgid "Retry #%s"
msgstr "Újra #%s"
msgid "Save"
msgstr "Mentés"
msgid "Save Config"
msgstr "Konfiguráció mentése"
msgid "Save configuration"
msgstr "Konfiguráció mentése"
msgid "Screen DPMS"
msgstr "Képernyő DPMS"
msgid "Screen Power Off Time"
msgstr "Kijelző kikapcsolási ideje"
msgid "Screws Adjust"
msgstr "Csavarok beállítása"
msgid "Select"
msgstr "Kijelölés"
msgid "Send"
msgstr "Küldés"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "Bekapcsolási jel küldése ide: %s"
msgid "Set Temp"
msgstr "Hőfok megadás"
msgid "Settings"
msgstr "Beállítások"
msgid "Show"
msgstr "Mutat"
msgid "Size"
msgstr "Méret"
msgid "Slicer"
msgstr "Szeletelő"
msgid "Slicer Time correction (%)"
msgstr "Szeletelő idő korrekciója (%)"
msgid "Small"
msgstr "Kicsi"
msgid "Sort by: "
msgstr "Sorrend: "
msgid "Speed (mm/s)"
msgstr "Sebesség (mm/s)"
msgid "Speed +"
msgstr "Sebesség +"
msgid "Speed -"
msgstr "Sebesség -"
msgid "Square Corner Velocity"
msgstr "Sebesség a sarkokban"
msgid "Start"
msgstr "Indítás"
msgid "Starting WiFi Association"
msgstr "A WiFi Egyesület elindítása"
msgid "Starting recovery for"
msgstr "Helyreállítás megkezdése"
msgid "Starting update for"
msgstr "Frissítés indítása"
msgid "System"
msgstr "Rendszer"
msgid ""
"System\n"
"Restart"
msgstr ""
"Rendszer\n"
"Újraindítása"
msgid ""
"System\n"
"Shutdown"
msgstr ""
"Rendszer\n"
"Leállitás"
msgid "Temp (°C)"
msgstr "Hőmérséklet (°C)"
msgid "Temperature"
msgstr "Hőfok"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "A %s KlipperScreen alkalmazásához újra kell indítani"
msgid "Tool"
msgstr "Eszköz"
msgid "Total:"
msgstr "Teljes:"
msgid "Unknown Heater"
msgstr "Ismeretlen melegítő"
msgid "Unload"
msgstr "Kiadás"
msgid "Up To Date"
msgstr "Naprakész"
msgid "Update"
msgstr "Frissítés"
#, fuzzy
msgid "Updating"
msgstr "Frissítés"
msgid "Uploaded"
msgstr "Feltöltve"
msgid "View Mesh"
msgstr "Háló nézet"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "XY Mozgási seb. (mm/s)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate"
msgstr "Z Kalibrálás"
msgid "Z Move Speed (mm/s)"
msgstr "Z Mozgási seb. (mm/s)"
msgid "Z Position"
msgstr "Z Pozíció"
msgid "Z Tilt"
msgstr "Z Dönt"
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit"
msgid_plural "commits"
msgstr[0] "változás"
msgstr[1] "változás"
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "óra"
msgstr[1] "óra"
msgid "minutes"
msgstr "perc"
msgid "mm"
msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
#~ msgid "IPv4"
#~ msgstr "IPv4"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "Z Eltolás"
#~ msgid "Unknown Heater "
#~ msgstr "Ismeretlen melegítő "
#~ msgid "Disconnect"
#~ msgstr "Leválasztás"
#~ msgid "Duration Only"
#~ msgstr "Csak időtartam"
#~ msgid "Klipper Version"
#~ msgstr "Klipper verzió"
#~ msgid ""
#~ "Klipper has encountered an error with the micro-controller.\n"
#~ "Please recompile and flash."
#~ msgstr ""
#~ "A Klipper hibát észlelt a mikrovezérlővel kapcsolatban.\n"
#~ "Fordítsa újra és töltse fel."
#~ msgid ""
#~ "Klipper has encountered an error.\n"
#~ "Issue a FIRMWARE_RESTART to attempt fixing the issue."
#~ msgstr ""
#~ "A Klipper hibát észlelt.\n"
#~ "A probléma megoldásához küldjön ki egy FIRMWARE_RESTART-ot."
#~ msgid "KlipperScreen Version"
#~ msgstr "KlipperScreen verzió"
Binary file not shown.
@@ -1,8 +1,8 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-11-18 11:29-0300\n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: \n"
"Last-Translator: pappicio\n"
"Language-Team: \n"
@@ -10,12 +10,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 3.0\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#, python-format
msgid "%d Packages will be updated"
msgstr "%d pacchetti verranno aggiornati"
"X-Generator: Poedit 3.0.1\n"
#, python-format
msgid "%s will be updated to version"
@@ -27,6 +23,9 @@ msgstr "(predef.)"
msgid "24 Hour Time"
msgstr "24H"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "Un FIRMWARE_RESTART potrebbe risolvere il problema."
msgid "Abort"
msgstr "Annulla"
@@ -42,24 +41,45 @@ msgstr "Aggiungi Stampante"
msgid "Add bed mesh profile"
msgstr "Aggiungi Profilo Mesh"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "Sei sicuro di voler eseguire l'arresto di emergenza?"
msgid "Are you sure you wish to cancel this print?"
msgstr "Cancellare la Stampa?"
msgid "Are you sure you wish to disable motors?"
msgstr "Sei sicuro di voler disabilitare i motori?"
msgid "Are you sure you wish to reboot the system?"
msgstr "Riavviare il Sistema?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "Spegnere il Sistema?"
msgid "Auto"
msgstr "Auto"
msgid "Auto-scroll"
msgstr "Auto-scroll"
msgid "Bed Level"
msgstr "Livello del letto"
msgid "Bed Mesh"
msgstr "Rete letto"
msgid "Bltouch found applied offset"
msgstr "Bltouch ha trovato l'offset applicato"
msgid "Calibrate"
msgstr "Calibra"
msgid "Calibrated, save configuration to make it permanent"
msgstr "Calibrato, salva la configurazione per renderla permanente"
msgid "Can't set above the maximum:"
msgstr "Impossibile impostare al di sopra del massimo:"
msgid "Cancel"
msgstr "Annulla"
@@ -72,6 +92,9 @@ msgstr "Annullato"
msgid "Cancelling"
msgstr "Annullamento"
msgid "Cannot connect to Moonraker"
msgstr "Impossibile connettersi a Moonraker"
msgid "Channel"
msgstr "Canale"
@@ -91,6 +114,9 @@ msgstr "Completo"
msgid "Configuration"
msgstr "Impostazioni"
msgid "Confirm Emergency Stop"
msgstr "Conferma arresto di emergenza"
msgid "Connected"
msgstr "Connesso"
@@ -116,15 +142,15 @@ msgstr "Diminuisci"
msgid "Delete"
msgstr "Elimina"
msgid "Deselect"
msgstr "Deseleziona"
msgid "Disable Motors"
msgstr "Disab. Motori"
msgid "Disable XY"
msgstr "Disab. XY"
msgid "Disconnect"
msgstr "Sconnetti"
msgid "Displayed Macros"
msgstr "Mostra/Nascondi Macros"
@@ -135,9 +161,6 @@ msgstr "Distanza (mm)"
msgid "Do you want to recover %s?"
msgstr "Vuoi recuperare %s?"
msgid "Duration Only"
msgstr "Solo Durata"
msgid "Elapsed:"
msgstr "Trascorso:"
@@ -156,6 +179,9 @@ msgstr "Estrudi +"
msgid "Extrusion -"
msgstr "Estrudi -"
msgid "Failed, adjust position first"
msgstr "Fallito, regolare prima la posizione"
msgid "Fan"
msgstr "Ventola"
@@ -171,15 +197,35 @@ msgstr "Messa a Punto"
msgid "Finish"
msgstr "Finito"
msgid "Firmware Restart"
msgstr "Riavvia Firmware"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
"Firmware\n"
"Riavvio"
msgid "Font Size"
msgstr "Dimensione del testo"
msgid ""
"Full\n"
"Update"
msgstr ""
"Completo\n"
"Aggiornare"
msgid "Go Back"
msgstr "Indietro"
msgid "Hidden"
msgstr "Nascosto"
msgid "Hide"
msgstr "Nascondere"
msgid "Hide sensors in Temp."
msgstr "Nascondi sensori in Temp."
msgid "Home"
msgstr "Inizio"
@@ -204,12 +250,6 @@ msgstr "Homing"
msgid "Hostname"
msgstr "Hostname"
msgid "IPv4"
msgstr "IPv4"
msgid "IPv6"
msgstr "IPv6"
msgid "Icon Theme"
msgstr "Tema Icone"
@@ -237,34 +277,19 @@ msgstr "Inverti Y"
msgid "Invert Z"
msgstr "Inverti Z"
msgid "Klipper Restart"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"Riavvia\n"
"Klipper"
msgid "Klipper Version"
msgstr "Versione Klipper"
"Klipper\n"
"Riavvio"
msgid "Klipper has disconnected"
msgstr "Klipper è disconnesso"
msgid ""
"Klipper has encountered an error with the micro-controller.\n"
"Please recompile and flash."
msgstr ""
"Klipper ha riscontrato un errore con il microcontrollore.\n"
"Si prega di ricompilare e flashare."
msgid "Klipper has encountered an error."
msgstr "Klipper ha riscontrato un errore."
msgid ""
"Klipper has encountered an error.\n"
"Issue a FIRMWARE_RESTART to attempt fixing the issue."
msgstr ""
"Klipper ha riscontrato un errore.\n"
"esegui un FIRMWARE_RESTART per tentare di risolvere il problema."
msgid "Klipper has shutdown"
msgstr "Klipper è spento"
@@ -274,9 +299,6 @@ msgstr "Klipper si sta avviando"
msgid "Klipper will reboot"
msgstr "Klipper sarà riavviato"
msgid "KlipperScreen Version"
msgstr "Versione KlipperScreen"
msgid "Language"
msgstr "Lingua"
@@ -314,7 +336,7 @@ msgid "Max Velocity"
msgstr "Velocità Massima"
msgid "Medium"
msgstr ""
msgstr "Medio"
msgid "Menu"
msgstr "Menù"
@@ -322,49 +344,60 @@ msgstr "Menù"
msgid "Modified"
msgstr "Modificato"
msgid "Moonraker: connected"
msgstr "Moonraker: connesso"
msgid "Move"
msgstr "Muovi"
msgid "Move Distance (mm)"
msgstr "Distanza Movimento (mm)"
msgid "Move Speed (mm/s)"
msgstr "Velocità Movimento (mm/s)"
msgid "Name"
msgstr "Nome"
msgid "Network"
msgstr "Rete"
msgid "Number Pad"
msgstr "Tastierino"
msgid "Nothing selected"
msgstr "Niente selezionato"
msgid "Off"
msgstr "Off"
#, python-format
msgid "Outdated by %d commits:"
msgstr "Obsoleto da %d commit:"
msgid "Outdated by %d"
msgstr "Obsoleto di %d"
msgid "PSK for"
msgstr "PSK per"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "Pacchetto verrà aggiornato"
msgstr[1] "I pacchetti verranno aggiornati"
msgid "Password saved"
msgstr "Password salvata"
msgid "Pause"
msgstr "Pausa"
msgid "Paused"
msgstr "In Pausa"
msgid "Perform a full upgrade?"
msgstr "Eseguire un aggiornamento completo?"
msgid "Please recompile and flash the micro-controller."
msgstr "Si prega di ricompilare e flashare il microcontrollore."
msgid "Power"
msgstr "Power"
msgid "Power On Printer"
msgstr "Accendi Stampante"
msgid "Preheat"
msgstr "Preriscalda"
msgid "Print"
msgstr "Stampa"
@@ -380,6 +413,9 @@ msgstr "Connessioni Stampante"
msgid "Printing"
msgstr "In Stampa"
msgid "Probe found applied offset"
msgstr "Probe ha trovato l'offset applicato"
msgid "Profile Name:"
msgstr "Nome Profilo:"
@@ -395,6 +431,9 @@ msgstr "Recuperare Hard"
msgid "Recover Soft"
msgstr "Recuperare Soft"
msgid "Reference"
msgstr "Riferimento"
msgid "Restart"
msgstr "Riavvia"
@@ -404,33 +443,56 @@ msgstr "Riprendi"
msgid "Retract"
msgstr "Ritrai"
#, python-format
msgid "Retry #%s"
msgstr "Riprova #%s"
msgid "Save"
msgstr "Salva"
msgid "Save Config"
msgstr "Salva Config"
msgid "Save configuration."
msgstr "Salva configurazione."
msgid "Save configuration"
msgstr "Salva configurazione"
msgid "Screen DPMS"
msgstr "Schermo DPMS"
msgid "Screen Power Off Time"
msgstr "Tempo Spegnim. Schermo"
msgid "Screen will show in less than one second"
msgstr "Lo schermo verrà visualizzato a breve"
msgid "Screws Adjust"
msgstr "Calibra Screws"
msgid "Select"
msgstr "Selezionare"
msgid "Send"
msgstr "Spedire"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "Invio del segnale di accensione a: %s"
msgid "Set Temp"
msgstr "Imposta temp"
msgid "Settings"
msgstr "Impostazioni"
msgid "Show"
msgstr "Mostrare"
msgid "Size"
msgstr "Grandezza"
msgid "Slicer"
msgstr "Slicer"
msgid "Slicer Time correction (%)"
msgstr "Affettatrice Correzione del tempo (%)"
msgid "Small"
msgstr "Piccola"
@@ -452,8 +514,8 @@ msgstr "Velocità Square Corner"
msgid "Start"
msgstr "Iniziare"
msgid "Starting WiFi Re-association"
msgstr "Riassocia WiFi"
msgid "Starting WiFi Association"
msgstr "Avvio dell'Associazione WiFi"
msgid "Starting recovery for"
msgstr "Inizio del recupero per"
@@ -478,6 +540,9 @@ msgstr ""
"Spegni\n"
"Sistema"
msgid "Temp (°C)"
msgstr "Temp (°C)"
msgid "Temperature"
msgstr "Temperatura"
@@ -488,6 +553,12 @@ msgstr "Riavvia KlipperScreen per applicare %s"
msgid "Tool"
msgstr "Strumenti"
msgid "Total:"
msgstr "Totale:"
msgid "Unknown Heater"
msgstr "Riscaldatore sconosciuto"
msgid "Unload"
msgstr "Scaricare"
@@ -497,6 +568,9 @@ msgstr "Aggiornato"
msgid "Update"
msgstr "Aggiorna"
msgid "Updating"
msgstr "In aggiornamento"
msgid "Uploaded"
msgstr "Caricato"
@@ -509,6 +583,9 @@ msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "Velocità di spostamento XY (mm/s)"
msgid "Y+"
msgstr "Y+"
@@ -518,8 +595,11 @@ msgstr "Y-"
msgid "Z Calibrate"
msgstr "Calibra Z"
msgid "Z Offset"
msgstr "Offset Z"
msgid "Z Move Speed (mm/s)"
msgstr "Velocità di spostamento Z (mm/s)"
msgid "Z Position"
msgstr "Posizione Z"
msgid "Z Tilt"
msgstr "Z Tilt"
@@ -530,9 +610,19 @@ msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit"
msgid_plural "commits"
msgstr[0] "cambio"
msgstr[1] "modifiche"
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "ora"
msgstr[1] "ore"
msgid "minutes"
msgstr "minuti"
@@ -545,6 +635,62 @@ msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
#~ msgid "IPv4"
#~ msgstr "IPv4"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "Offset Z"
#~ msgid "Unknown Heater "
#~ msgstr "Riscaldatore sconosciuto "
#~ msgid "Disconnect"
#~ msgstr "Sconnetti"
#~ msgid "Duration Only"
#~ msgstr "Solo Durata"
#~ msgid "Klipper Version"
#~ msgstr "Versione Klipper"
#~ msgid ""
#~ "Klipper has encountered an error with the micro-controller.\n"
#~ "Please recompile and flash."
#~ msgstr ""
#~ "Klipper ha riscontrato un errore con il microcontrollore.\n"
#~ "Si prega di ricompilare e flashare."
#~ msgid ""
#~ "Klipper has encountered an error.\n"
#~ "Issue a FIRMWARE_RESTART to attempt fixing the issue."
#~ msgstr ""
#~ "Klipper ha riscontrato un errore.\n"
#~ "esegui un FIRMWARE_RESTART per tentare di risolvere il problema."
#~ msgid "KlipperScreen Version"
#~ msgstr "Versione KlipperScreen"
#~ msgid "Show Only Heaters in Temp."
#~ msgstr "Mostra solo riscaldatori in temp."
#~ msgid "Target"
#~ msgstr "Obbiettivo"
#~ msgid "Temp"
#~ msgstr "Temp"
#~ msgid "Number Pad"
#~ msgstr "Tastierino"
#~ msgid "Preheat"
#~ msgstr "Preriscalda"
#~ msgid "Screen will show in less than one second"
#~ msgstr "Lo schermo verrà visualizzato a breve"
#~ msgid "Medium (default)"
#~ msgstr "Media (predef.)"
@@ -556,6 +702,3 @@ msgstr "mm/s^2"
#~ msgid "Change Printer"
#~ msgstr "Cambia Stampante"
#~ msgid "Commited"
#~ msgstr "Impegnato"
@@ -0,0 +1,690 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: 2022-03-31 11:06-0300\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: pl_PL\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 "
"|| n%100>14) ? 1 : 2);\n"
"X-Generator: Poedit 3.0.1\n"
#, python-format
msgid "%s will be updated to version"
msgstr "%s będzie uaktualnionych do wersji"
msgid "(default)"
msgstr "(domyślny)"
msgid "24 Hour Time"
msgstr "Zegar 24-godzinny"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "FIRMWARE_RESTART może rozwiązać problem."
msgid "Abort"
msgstr "Odwołaj"
msgid "Accept"
msgstr "Akceptuj"
msgid "Actions"
msgstr "Akcje"
msgid "Add Printer"
msgstr "Dodaj drukarkę"
msgid "Add bed mesh profile"
msgstr "Dodaj profil siatki stołu"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "Czy na pewno chcesz Awaryjnie Zatrzymać?"
msgid "Are you sure you wish to cancel this print?"
msgstr "Czy na pewno chcesz odwołać drukowanie?"
msgid "Are you sure you wish to disable motors?"
msgstr "Czy na pewno chcesz wyłączyć silniki?"
msgid "Are you sure you wish to reboot the system?"
msgstr "Czy na pewno chcesz ponownie uruchomić system?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "Czy na pewno chcesz wyłączyć system?"
msgid "Auto"
msgstr "Automatyczny"
msgid "Auto-scroll"
msgstr "Auto-scroll"
msgid "Bed Level"
msgstr "Poziom stołu"
msgid "Bed Mesh"
msgstr "Poziom siatki stołu"
msgid "Bltouch found applied offset"
msgstr "Bltouch znalazł zastosowane przesunięcie"
msgid "Calibrate"
msgstr "Kalibracja"
msgid "Calibrated, save configuration to make it permanent"
msgstr "Skalibrowano, zapisz konfigurację aby została na stałe"
msgid "Can't set above the maximum:"
msgstr "Nie można ustawić powyżej maksymum:"
msgid "Cancel"
msgstr "Odwołaj"
msgid "Cancel Print"
msgstr "Odwołaj drukowanie"
msgid "Cancelled"
msgstr "Odwołano"
msgid "Cancelling"
msgstr "Odwoływanie trwa"
msgid "Cannot connect to Moonraker"
msgstr "Nie można połączyć się z Moonrakerem"
msgid "Channel"
msgstr "Kanał"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgstr ""
"Sprawdź /tmp/KlipperScreen.log aby uzyskać więcej informacji.\n"
"Proszę zgłosić usterkę na GitHub by uzyskać pomoc."
msgid "Close"
msgstr "Zamknij"
msgid "Complete"
msgstr "Kompletna"
msgid "Configuration"
msgstr "Konfiguracja"
msgid "Confirm Emergency Stop"
msgstr "Potwierdź Awaryjny Stop"
msgid "Connected"
msgstr "Połączono"
#, python-format
msgid "Connecting to %s"
msgstr "Łączenie do %s"
msgid "Console"
msgstr "Konsola"
msgid "Continue"
msgstr "Kontynuacja"
msgid "Cooldown"
msgstr "Studzenie"
msgid "Date"
msgstr "Data"
msgid "Decrease"
msgstr "Obniż"
msgid "Delete"
msgstr "Skasuj"
msgid "Deselect"
msgstr "Odznacz"
msgid "Disable Motors"
msgstr "Wyłącz Silniki"
msgid "Disable XY"
msgstr "Odłącz XY"
msgid "Displayed Macros"
msgstr "Wyświetlone Makra"
msgid "Distance (mm)"
msgstr "Dystans (mm)"
#, python-format
msgid "Do you want to recover %s?"
msgstr "Czy chcesz dokończyć %s?"
msgid "Elapsed:"
msgstr "Czas Trwania:"
msgid "Error"
msgstr "Błąd"
msgid "Estimated Time Method"
msgstr "Sposób Oszacowania Czasu"
msgid "Extrude"
msgstr "Extruduj"
msgid "Extrusion +"
msgstr "Ekstruzja +"
msgid "Extrusion -"
msgstr "Ekstruzja -"
msgid "Failed, adjust position first"
msgstr "Nie udało się, najpierw ustaw pozycję"
msgid "Fan"
msgstr "Wentylator"
msgid "Filament Used"
msgstr "Filament w Użytku"
msgid "File"
msgstr "Plik"
msgid "Fine Tuning"
msgstr "Regulacja Precyzyjna"
msgid "Finish"
msgstr "Zakończ"
#, fuzzy
msgid ""
"Firmware\n"
"Restart"
msgstr "Firmware Restart"
msgid "Font Size"
msgstr "Rozmiar trzcionki"
msgid ""
"Full\n"
"Update"
msgstr ""
"Pełny\n"
"Aktualizacja"
msgid "Go Back"
msgstr "Powróć"
msgid "Hidden"
msgstr "Ukryty"
msgid "Hide"
msgstr "Schowaj"
msgid "Hide sensors in Temp."
msgstr "Ukryj czujniki w Temp."
msgid "Home"
msgstr "Baza"
msgid "Home All"
msgstr "Baza Wszystkich"
msgid "Home X"
msgstr "Baza X"
msgid "Home XY"
msgstr "Baza XY"
msgid "Home Y"
msgstr "Baza Y"
msgid "Home Z"
msgstr "Baza Z"
msgid "Homing"
msgstr "Bazowanie"
msgid "Hostname"
msgstr "Nazwa hosta"
msgid "Icon Theme"
msgstr "Motyw Ikon"
msgid "Increase"
msgstr "Zwiększ"
msgid "Initializing"
msgstr "Startowanie"
msgid "Initializing printer..."
msgstr "Drukarka Startuje..."
msgid "Interface"
msgstr "Interfejs"
msgid "Invalid"
msgstr "Nieprawidłowy"
msgid "Invert X"
msgstr "Odwróć X"
msgid "Invert Y"
msgstr "Odwróć Y"
msgid "Invert Z"
msgstr "Odwróć Z"
#, fuzzy
msgid ""
"Klipper\n"
"Restart"
msgstr "Restart Klippera"
msgid "Klipper has disconnected"
msgstr "Klipper się rozłączył"
msgid "Klipper has encountered an error."
msgstr "Klipper napotkał błąd."
msgid "Klipper has shutdown"
msgstr "Klipper się wyłączył"
msgid "Klipper is attempting to start"
msgstr "Klipper próbuje wystartować"
msgid "Klipper will reboot"
msgstr "Klipper będzie się restartował"
msgid "Language"
msgstr "Język"
msgid "Large"
msgstr "Duży"
msgid "Left:"
msgstr "Lewo:"
msgid "Limits"
msgstr "Limity"
msgid "Load"
msgstr "Ładuj"
msgid "Lower Nozzle"
msgstr "Obniż dyszę"
msgid "Macro shortcut on sidebar"
msgstr "Skrót do makr na pasku bocznym"
msgid "Macros"
msgstr "Makro"
msgid "Main Menu"
msgstr "Główne Menu"
msgid "Max Accelation"
msgstr "Maks akceleracja"
msgid "Max Acceleration to Deceleration"
msgstr "Maks Przyśpieszenie i Opóźnienie"
msgid "Max Velocity"
msgstr "Maks Prędkość"
msgid "Medium"
msgstr "Średni"
msgid "Menu"
msgstr "Menu"
msgid "Modified"
msgstr "Zmodyfikowane"
msgid "Moonraker: connected"
msgstr "Moonraker: podłączony"
msgid "Move"
msgstr "Ruch"
msgid "Move Distance (mm)"
msgstr "Odległość Ruchu (mm)"
msgid "Name"
msgstr "Nazwa"
msgid "Network"
msgstr "Sieć"
msgid "Nothing selected"
msgstr "Nic nie wybrano"
msgid "Off"
msgstr "Wyłącz"
#, python-format
msgid "Outdated by %d"
msgstr "Nieaktualne przez %d"
msgid "PSK for"
msgstr "PSK dla"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "Pakiet zostanie zaktualizowany"
msgstr[1] "Pakiety zostaną zaktualizowane"
msgstr[2] "Pakiety zostaną zaktualizowane"
msgid "Password saved"
msgstr "Hasło zostało zapisane"
msgid "Pause"
msgstr "Pauza"
msgid "Paused"
msgstr "Zapauzowane"
msgid "Perform a full upgrade?"
msgstr "Przeprowadzić pełną aktualizację?"
msgid "Please recompile and flash the micro-controller."
msgstr "Proszę przekompilować i sflashować mikrokontroler."
msgid "Power"
msgstr "Zasilanie"
msgid "Power On Printer"
msgstr "Zasilanie włączone"
msgid "Print"
msgstr "Drukuj"
msgid "Print Control"
msgstr "Kontrola Druku"
msgid "Print Time"
msgstr "Czas Druku"
msgid "Printer Connections"
msgstr "Połączenia Drukarki"
msgid "Printing"
msgstr "Drukujemy"
msgid "Probe found applied offset"
msgstr "Probe znalazł zastosowane przesunięcie"
msgid "Profile Name:"
msgstr "Nazwa Profilu:"
msgid "Quad Gantry Level"
msgstr "Poziom Bramy"
msgid "Raise Nozzle"
msgstr "Podnieś dyszę"
msgid "Recover Hard"
msgstr "Odzyskaj Twardo"
msgid "Recover Soft"
msgstr "Odzyskaj Miękko"
msgid "Reference"
msgstr "Sprawdzenie"
msgid "Restart"
msgstr "Restartuj"
msgid "Resume"
msgstr "Dokończ"
msgid "Retract"
msgstr "Cofnij"
#, python-format
msgid "Retry #%s"
msgstr "Spróbuj ponownie #%s"
msgid "Save"
msgstr "Zapisz"
msgid "Save Config"
msgstr "Zapisz Konfigurację"
msgid "Save configuration"
msgstr "Zapisz konfigurację"
msgid "Screen DPMS"
msgstr "Ekran DPMS"
msgid "Screen Power Off Time"
msgstr "Czas wygaszania ekranu"
msgid "Screws Adjust"
msgstr "Popraw śruby"
msgid "Select"
msgstr "Zaznacz"
msgid "Send"
msgstr "Wysłać"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "Wysyłam sygnał włączenia do: %s"
msgid "Set Temp"
msgstr "Ustaw Temperaturę"
msgid "Settings"
msgstr "Ustawienia"
msgid "Show"
msgstr "Pokaż"
msgid "Size"
msgstr "Rozmiar"
msgid "Slicer"
msgstr "Slicer"
msgid "Slicer Time correction (%)"
msgstr "Korekta czasu krajalnicy (%)"
msgid "Small"
msgstr "Mały"
msgid "Sort by: "
msgstr "Sortuj wg: "
msgid "Speed (mm/s)"
msgstr "Prędkość (mm/s)"
msgid "Speed +"
msgstr "Prędkość +"
msgid "Speed -"
msgstr "Prędkość -"
msgid "Square Corner Velocity"
msgstr "Prędkość w narożniku kwadratowym"
msgid "Start"
msgstr "Start"
msgid "Starting WiFi Association"
msgstr "Rozpoczęcie stowarzyszenia WiFi"
msgid "Starting recovery for"
msgstr "Rozpoczęcie odzyskiwania dla"
msgid "Starting update for"
msgstr "Zacznij uaktualnienie dla"
msgid "System"
msgstr "System"
msgid ""
"System\n"
"Restart"
msgstr ""
"Restart\n"
"Systemu"
msgid ""
"System\n"
"Shutdown"
msgstr ""
"Wyłączanie\n"
" systemu"
msgid "Temp (°C)"
msgstr "Temp (°C)"
msgid "Temperature"
msgstr "Temperatura"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "Aby zastosować %s KlipperScreen musi zostać ponownie uruchomiony"
msgid "Tool"
msgstr "Narzędzie"
msgid "Total:"
msgstr "Całkowity:"
msgid "Unknown Heater"
msgstr "Nieznany Podgrzewacz"
msgid "Unload"
msgstr "Wyładuj"
msgid "Up To Date"
msgstr "Aktualne"
msgid "Update"
msgstr "Uaktualnienie"
msgid "Updating"
msgstr "Aktualizacja"
msgid "Uploaded"
msgstr "Przesłane"
msgid "View Mesh"
msgstr "Wyświetl siatkę"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "Prędkość ruchu XY (mm/s)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y0"
msgid "Z Calibrate"
msgstr "Kalibracja Z"
msgid "Z Move Speed (mm/s)"
msgstr "Prędkość ruchu Z (mm/s)"
msgid "Z Position"
msgstr "Pozycja Z"
msgid "Z Tilt"
msgstr "Przechył Z"
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit"
msgid_plural "commits"
msgstr[0] "zmiana"
msgstr[1] "zmiany"
msgstr[2] "zmiany"
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "godzina"
msgstr[1] "godziny"
msgstr[2] "godzin"
msgid "minutes"
msgstr "minut"
msgid "mm"
msgstr "mm"
msgid "mm/s"
msgstr "mm/s^2"
msgid "mm/s^2"
msgstr "mm/s^2"
#~ msgid "IPv4"
#~ msgstr "IPv4"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "Przesunięcie Z"
#~ msgid "Unknown Heater "
#~ msgstr "Nieznany Podgrzewacz "
#~ msgid "Disconnect"
#~ msgstr "Rozłącz"
#~ msgid "Duration Only"
#~ msgstr "Tylko Przebieg"
#~ msgid "Klipper Version"
#~ msgstr "Wersja Klippera"
#~ msgid ""
#~ "Klipper has encountered an error with the micro-controller.\n"
#~ "Please recompile and flash."
#~ msgstr ""
#~ "Klipper napotkał błąd z mikrokontrolerem.\n"
#~ "Prosimy o ponowną kompilację i flashowanie."
#~ msgid ""
#~ "Klipper has encountered an error.\n"
#~ "Issue a FIRMWARE_RESTART to attempt fixing the issue."
#~ msgstr ""
#~ "Klipper napotkał błąd.\n"
#~ "Wykonaj FIRMWARE_RESTART, aby spróbować naprawić problem."
#~ msgid "KlipperScreen Version"
#~ msgstr "Wersja KlipperScreen"
#~ msgid "Show Only Heaters in Temp."
#~ msgstr "Pokaż tylko grzejniki w temp."
#~ msgid "Target"
#~ msgstr "Cel"
#~ msgid "Temp"
#~ msgstr "Temp"
@@ -4,25 +4,21 @@
# Jakob Kais <schpuntik@freenet.de>, 2021.
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-11-18 11:29-0300\n"
"PO-Revision-Date: 2021-11-18 11:36-0300\n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: 2022-03-31 11:10-0300\n"
"Last-Translator: Jakob Kais <schpuntik@freenet.de>\n"
"Language-Team: Russian <kde-i18n-de@kde.org>\n"
"Language: ru\n"
"Language-Team: \n"
"Language: ru_RU\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 3.0\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
"X-Generator: Poedit 3.0.1\n"
"X-Poedit-Flags-xgettext: --add-comments\n"
#, python-format
msgid "%d Packages will be updated"
msgstr "% d пакеты будут обновлены"
#, python-format
msgid "%s will be updated to version"
msgstr "% s будет обновлен до версии"
@@ -33,6 +29,9 @@ msgstr "(дефолт)"
msgid "24 Hour Time"
msgstr "24-часовой формат"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "FIRMWARE_RESTART может решить проблему."
msgid "Abort"
msgstr "Отменить"
@@ -48,24 +47,45 @@ msgstr "Добавить принтер"
msgid "Add bed mesh profile"
msgstr "Добавить профиль сетки стола"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "Вы уверены, что хотите запустить аварийную остановку?"
msgid "Are you sure you wish to cancel this print?"
msgstr "Вы хотите отменить эту печать?"
msgid "Are you sure you wish to disable motors?"
msgstr "Вы уверены, что хотите отключить двигатели?"
msgid "Are you sure you wish to reboot the system?"
msgstr "Вы уверены что хотите перезагрузить систему?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "Вы хотите выключить принтер?"
msgid "Auto"
msgstr "Авто"
msgid "Auto-scroll"
msgstr "Автопрокрутка"
msgid "Bed Level"
msgstr "Уровень стола"
msgid "Bed Mesh"
msgstr "Сетка стола"
msgid "Bltouch found applied offset"
msgstr "Bltouch обнаружил примененное смещение"
msgid "Calibrate"
msgstr "Калибровка"
msgid "Calibrated, save configuration to make it permanent"
msgstr "Откалибровано, сохраните конфигурацию, чтобы сделать ее постоянной"
msgid "Can't set above the maximum:"
msgstr "Невозможно установить выше максимума:"
msgid "Cancel"
msgstr "Отменить"
@@ -78,6 +98,9 @@ msgstr "Отменено"
msgid "Cancelling"
msgstr "Отменить"
msgid "Cannot connect to Moonraker"
msgstr "Не могу подключиться к Moonraker"
msgid "Channel"
msgstr "Канал"
@@ -97,6 +120,9 @@ msgstr "Готово"
msgid "Configuration"
msgstr "Параметр"
msgid "Confirm Emergency Stop"
msgstr "Подтвердить аварийную остановку"
msgid "Connected"
msgstr "Соединенный"
@@ -122,15 +148,15 @@ msgstr "Уменьшить"
msgid "Delete"
msgstr "Удалить"
msgid "Deselect"
msgstr "Отменить выбор"
msgid "Disable Motors"
msgstr "Откл. моторы"
msgid "Disable XY"
msgstr "Отключить XY"
msgid "Disconnect"
msgstr "Отключить"
msgid "Displayed Macros"
msgstr "Показать макросы"
@@ -141,9 +167,6 @@ msgstr "Расстояние (mm)"
msgid "Do you want to recover %s?"
msgstr "Вы хотите восстановить% s?"
msgid "Duration Only"
msgstr "Продолжительность печати"
msgid "Elapsed:"
msgstr "Прошло:"
@@ -162,6 +185,9 @@ msgstr "Экструзия +"
msgid "Extrusion -"
msgstr "Экструзия -"
msgid "Failed, adjust position first"
msgstr "Ошибка. Сначала измените положение"
msgid "Fan"
msgstr "Обдув"
@@ -177,15 +203,35 @@ msgstr "Точная настройка"
msgid "Finish"
msgstr "Конец"
msgid "Firmware Restart"
msgstr "Рестарт прошивки"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
"Прошивка\n"
"Рестарт"
msgid "Font Size"
msgstr "Размер шрифта"
msgid ""
"Full\n"
"Update"
msgstr ""
"Полный\n"
"Обновлять"
msgid "Go Back"
msgstr "Назад"
msgid "Hidden"
msgstr "Скрытый"
msgid "Hide"
msgstr "Скрывать"
msgid "Hide sensors in Temp."
msgstr "Скрыть датчики в Temp."
msgid "Home"
msgstr "Парковка"
@@ -210,12 +256,6 @@ msgstr "Парковка"
msgid "Hostname"
msgstr "Имя хоста"
msgid "IPv4"
msgstr "IPv4"
msgid "IPv6"
msgstr "IPv6"
msgid "Icon Theme"
msgstr "Темы"
@@ -243,34 +283,19 @@ msgstr "Инверсия Y"
msgid "Invert Z"
msgstr "Инверсия Z"
msgid "Klipper Restart"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"Рестарт\n"
"Klipper"
msgid "Klipper Version"
msgstr "Версия Klipper"
"Klipper\n"
"Рестарт"
msgid "Klipper has disconnected"
msgstr "Нет связи с Klipper"
msgid ""
"Klipper has encountered an error with the micro-controller.\n"
"Please recompile and flash."
msgstr ""
"Klipper определил ошибку в микроконтроллере.\n"
"Прошейте заново."
msgid "Klipper has encountered an error."
msgstr "Klipper обнаружил ошибку."
msgid ""
"Klipper has encountered an error.\n"
"Issue a FIRMWARE_RESTART to attempt fixing the issue."
msgstr ""
"Klipper обнаружил ошибку.\n"
"Выполните перезагрузку прошивки, чтобы попытаться исправить проблему."
msgid "Klipper has shutdown"
msgstr "Klipper отключился"
@@ -280,9 +305,6 @@ msgstr "Klipper готов"
msgid "Klipper will reboot"
msgstr "Klipper перезагружается"
msgid "KlipperScreen Version"
msgstr "Версия KlipperScreen"
msgid "Language"
msgstr "Язык"
@@ -328,49 +350,61 @@ msgstr "Меню"
msgid "Modified"
msgstr "Изменено"
msgid "Moonraker: connected"
msgstr "Мунрейкер: подключен"
msgid "Move"
msgstr "Двигать"
msgid "Move Distance (mm)"
msgstr "Дистанция перемещения (мм)"
msgid "Move Speed (mm/s)"
msgstr "Скорость перемещения (мм/с)"
msgid "Name"
msgstr "Имя"
msgid "Network"
msgstr "Сеть"
msgid "Number Pad"
msgstr "Клавиатура"
msgid "Nothing selected"
msgstr "Ничего не выбрано"
msgid "Off"
msgstr "Выкл"
#, python-format
msgid "Outdated by %d commits:"
msgstr "Устарело на% d коммитов:"
msgid "Outdated by %d"
msgstr "Устарело на %d"
msgid "PSK for"
msgstr "PSK для"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "Пакет будет обновлен"
msgstr[1] "Пакеты будут обновляться"
msgstr[2] "Пакеты будут обновляться"
msgid "Password saved"
msgstr "Пароль сохранен"
msgid "Pause"
msgstr "Пауза"
msgid "Paused"
msgstr "Приостановлено"
msgid "Perform a full upgrade?"
msgstr "Выполнить полное обновление?"
msgid "Please recompile and flash the micro-controller."
msgstr "Пожалуйста, перекомпилируйте и прошейте микроконтроллер."
msgid "Power"
msgstr "Включено"
msgid "Power On Printer"
msgstr "Включить принтер"
msgid "Preheat"
msgstr "Разогрев"
msgid "Print"
msgstr "Печать"
@@ -386,6 +420,9 @@ msgstr "Подключение принтера"
msgid "Printing"
msgstr "Печатается"
msgid "Probe found applied offset"
msgstr "Probe обнаружил примененное смещение"
msgid "Profile Name:"
msgstr "Имя профиля:"
@@ -401,6 +438,9 @@ msgstr "Восстановить Hard"
msgid "Recover Soft"
msgstr "Восстановить Soft"
msgid "Reference"
msgstr "Ссылка"
msgid "Restart"
msgstr "Перезагрузка"
@@ -410,33 +450,56 @@ msgstr "Продолжить"
msgid "Retract"
msgstr "Втянуть"
#, python-format
msgid "Retry #%s"
msgstr "Повторить #%s"
msgid "Save"
msgstr "Сохранить"
msgid "Save Config"
msgstr "Сохр. Конфиг"
msgid "Save configuration."
msgstr "Настройки сохраняются."
msgid "Save configuration"
msgstr "Настройки сохраняются"
msgid "Screen DPMS"
msgstr "Экран DPMS"
msgid "Screen Power Off Time"
msgstr "Время выключения экрана"
msgid "Screen will show in less than one second"
msgstr "Экран отобразится через одну секунду"
msgid "Screws Adjust"
msgstr "Настроить винты"
msgid "Select"
msgstr "Выбирать"
msgid "Send"
msgstr "Отправлять"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "Отправка сигнала включения питания на: %s"
msgid "Set Temp"
msgstr "Заданная температура"
msgid "Settings"
msgstr "Настройки"
msgid "Show"
msgstr "Показывать"
msgid "Size"
msgstr "Размер"
msgid "Slicer"
msgstr "Слайсер"
msgid "Slicer Time correction (%)"
msgstr "Коррекция времени слайсера (%)"
msgid "Small"
msgstr "Маленький"
@@ -458,8 +521,8 @@ msgstr "Квадратная угловая скорость"
msgid "Start"
msgstr "Hачать"
msgid "Starting WiFi Re-association"
msgstr "WiFi реконенект"
msgid "Starting WiFi Association"
msgstr "Запуск ассоциации WiFi"
msgid "Starting recovery for"
msgstr "Запуск восстановления для"
@@ -482,6 +545,9 @@ msgid ""
"Shutdown"
msgstr "Выключить"
msgid "Temp (°C)"
msgstr "Темп (°С)"
msgid "Temperature"
msgstr "Tемпература"
@@ -492,6 +558,12 @@ msgstr "Чтобы применить %s необходимо перезапус
msgid "Tool"
msgstr "Инструмент"
msgid "Total:"
msgstr "Всего:"
msgid "Unknown Heater"
msgstr "Неизвестный обогреватель"
msgid "Unload"
msgstr "Загружено"
@@ -501,6 +573,9 @@ msgstr "Обновлено"
msgid "Update"
msgstr "Обновить"
msgid "Updating"
msgstr "Обновление"
msgid "Uploaded"
msgstr "Дата"
@@ -513,6 +588,9 @@ msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "Скорость перемещения по осям XY (мм/с)"
msgid "Y+"
msgstr "Y+"
@@ -522,8 +600,11 @@ msgstr "Y-"
msgid "Z Calibrate"
msgstr "Калибр. Z"
msgid "Z Offset"
msgstr "Офсет Z"
msgid "Z Move Speed (mm/s)"
msgstr "Скорость перемещения по оси Z (мм/с)"
msgid "Z Position"
msgstr "Позиция Z"
msgid "Z Tilt"
msgstr "Z Наклон"
@@ -534,9 +615,21 @@ msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit"
msgid_plural "commits"
msgstr[0] "изменение"
msgstr[1] "изменение"
msgstr[2] "изменение"
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "час"
msgstr[1] "часа"
msgstr[2] "часа"
msgid "minutes"
msgstr "минут"
@@ -549,6 +642,62 @@ msgstr "мм/с"
msgid "mm/s^2"
msgstr "мм/с^2"
#~ msgid "IPv4"
#~ msgstr "IPv4"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "Офсет Z"
#~ msgid "Unknown Heater "
#~ msgstr "Неизвестный обогреватель "
#~ msgid "Disconnect"
#~ msgstr "Отключить"
#~ msgid "Duration Only"
#~ msgstr "Продолжительность печати"
#~ msgid "Klipper Version"
#~ msgstr "Версия Klipper"
#~ msgid ""
#~ "Klipper has encountered an error with the micro-controller.\n"
#~ "Please recompile and flash."
#~ msgstr ""
#~ "Klipper определил ошибку в микроконтроллере.\n"
#~ "Прошейте заново."
#~ msgid ""
#~ "Klipper has encountered an error.\n"
#~ "Issue a FIRMWARE_RESTART to attempt fixing the issue."
#~ msgstr ""
#~ "Klipper обнаружил ошибку.\n"
#~ "Выполните перезагрузку прошивки, чтобы попытаться исправить проблему."
#~ msgid "KlipperScreen Version"
#~ msgstr "Версия KlipperScreen"
#~ msgid "Show Only Heaters in Temp."
#~ msgstr "Показать только нагреватели в темп."
#~ msgid "Target"
#~ msgstr "Цель"
#~ msgid "Temp"
#~ msgstr "Темп"
#~ msgid "Number Pad"
#~ msgstr "Клавиатура"
#~ msgid "Preheat"
#~ msgstr "Разогрев"
#~ msgid "Screen will show in less than one second"
#~ msgstr "Экран отобразится через одну секунду"
#~ msgid "Medium (default)"
#~ msgstr "Средний (по умолчанию)"
@@ -561,9 +710,6 @@ msgstr "мм/с^2"
#~ msgid "Change Printer"
#~ msgstr "Сменить принтер"
#~ msgid "Commited"
#~ msgstr "Зафиксировано"
#~ msgid "Fan Off"
#~ msgstr "Bыключить"
@@ -582,9 +728,6 @@ msgstr "мм/с^2"
#~ msgid "?"
#~ msgstr "?"
#~ msgid "Are you sure you want to print"
#~ msgstr "Вы хотите это распечатать"
#~ msgid "Cancel Change"
#~ msgstr "Отменить изменения"
@@ -0,0 +1,655 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: 2022-03-31 11:18-0300\n"
"Last-Translator: \n"
"Language-Team: Andrii Komarovskiy\n"
"Language: uk_UA\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
"X-Generator: Poedit 3.0.1\n"
#, python-format
msgid "%s will be updated to version"
msgstr "%s буде оновлено до версії"
msgid "(default)"
msgstr "(за замовчуванням)"
msgid "24 Hour Time"
msgstr "24-годинний час"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "РЕСТАРТ ПРОШИВКИ може вирішити проблему."
msgid "Abort"
msgstr "Перервати"
msgid "Accept"
msgstr "Прийняти"
msgid "Actions"
msgstr "Керування"
msgid "Add Printer"
msgstr "Додати принтер"
msgid "Add bed mesh profile"
msgstr "Додати сітку столу"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "Ви впевнені, що хочете запустити аварійну зупинку?"
msgid "Are you sure you wish to cancel this print?"
msgstr "Ви впевнені, що хочете скасувати цей друк?"
msgid "Are you sure you wish to disable motors?"
msgstr "Ви впевнені, що хочете відключити двигуни?"
msgid "Are you sure you wish to reboot the system?"
msgstr "Ви впевнені, що хочете перезавантажити систему?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "Ви впевнені, що хочете вимкнути систему?"
msgid "Auto"
msgstr "Автоматично"
msgid "Auto-scroll"
msgstr "Автоматична прокрутка"
msgid "Bed Level"
msgstr "Вирівнювання столу"
msgid "Bed Mesh"
msgstr "Сітка столу"
msgid "Bltouch found applied offset"
msgstr "Зонд знайшов застосоване зміщення"
msgid "Calibrate"
msgstr "Калібрування"
msgid "Calibrated, save configuration to make it permanent"
msgstr "Відкалібровано, збережіть конфігурацію, щоб зробити її постійною"
msgid "Can't set above the maximum:"
msgstr "Не встановити вище макс.:"
msgid "Cancel"
msgstr "Скасувати"
msgid "Cancel Print"
msgstr "Скасувати друк"
msgid "Cancelled"
msgstr "Скасовано"
msgid "Cancelling"
msgstr "Скасування"
msgid "Cannot connect to Moonraker"
msgstr "Не можливо підключитися до Moonraker"
msgid "Channel"
msgstr "Канал"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgstr ""
"Перевірте /tmp/KlipperScreen.log для отримання додаткової інформації.\n"
"Будь ласка, надішліть проблему на GitHub, щоб отримати допомогу."
msgid "Close"
msgstr "Закрити"
msgid "Complete"
msgstr "Завершено"
msgid "Configuration"
msgstr "Конфігурація"
msgid "Confirm Emergency Stop"
msgstr "Підтверджувати АВАРІЙНУ ЗУПИНКУ"
msgid "Connected"
msgstr "Підключено"
#, python-format
msgid "Connecting to %s"
msgstr "Підключення до %s"
msgid "Console"
msgstr "Консоль"
msgid "Continue"
msgstr "Продовжити"
msgid "Cooldown"
msgstr "Охолодження"
msgid "Date"
msgstr "Дата"
msgid "Decrease"
msgstr "Зменшити"
msgid "Delete"
msgstr "Видалити"
msgid "Deselect"
msgstr "Відміна"
msgid "Disable Motors"
msgstr "Вимкнути мотори"
msgid "Disable XY"
msgstr "Вимкнути XY"
msgid "Displayed Macros"
msgstr "Відображення Макросів"
msgid "Distance (mm)"
msgstr "Відстань (мм)"
#, python-format
msgid "Do you want to recover %s?"
msgstr "Ви хочете відновити %s?"
msgid "Elapsed:"
msgstr "Минуло:"
msgid "Error"
msgstr "Помилка"
msgid "Estimated Time Method"
msgstr "Метод розрахунку часу"
msgid "Extrude"
msgstr "Видавити"
msgid "Extrusion +"
msgstr "Екструзія+"
msgid "Extrusion -"
msgstr "Екструзія -"
msgid "Failed, adjust position first"
msgstr "Помилка, спочатку хоумінг"
msgid "Fan"
msgstr "Вентилятор"
msgid "Filament Used"
msgstr "Філамент"
msgid "File"
msgstr "Файл"
msgid "Fine Tuning"
msgstr "Підправити"
msgid "Finish"
msgstr "Фініш"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
"Firmware\n"
"Перезавантажте"
msgid "Font Size"
msgstr "Розмір шрифту"
msgid ""
"Full\n"
"Update"
msgstr ""
"Повний\n"
"Оновлення"
msgid "Go Back"
msgstr "Назад"
msgid "Hidden"
msgstr "Оновлення"
msgid "Hide"
msgstr "Сховати"
msgid "Hide sensors in Temp."
msgstr "Сховати датчик темп."
msgid "Home"
msgstr "Домашня сторінка"
msgid "Home All"
msgstr "Дім Всі"
msgid "Home X"
msgstr "Дім Х"
msgid "Home XY"
msgstr "Дім XY"
msgid "Home Y"
msgstr "Дім Y"
msgid "Home Z"
msgstr "Дім Z"
msgid "Homing"
msgstr "До дому"
msgid "Hostname"
msgstr "Назва хоста"
msgid "Icon Theme"
msgstr "Тема оформлення"
msgid "Increase"
msgstr "Збільшити"
msgid "Initializing"
msgstr "Ініціалізація"
msgid "Initializing printer..."
msgstr "Ініціалізація принтера..."
msgid "Interface"
msgstr "Інтерфейс"
msgid "Invalid"
msgstr "Недійсний"
msgid "Invert X"
msgstr "Інвертувати X"
msgid "Invert Y"
msgstr "Інвертувати Y"
msgid "Invert Z"
msgstr "Інвертувати Z"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"Klipper\n"
"Перезавантажте"
msgid "Klipper has disconnected"
msgstr "Klipper відключився"
msgid "Klipper has encountered an error."
msgstr "У Klipper сталася помилка."
msgid "Klipper has shutdown"
msgstr "Klipper вимкнувся"
msgid "Klipper is attempting to start"
msgstr "Кліппер намагається стартувати"
msgid "Klipper will reboot"
msgstr "Klipper перезавантажиться"
msgid "Language"
msgstr "Мова"
msgid "Large"
msgstr "Великий"
msgid "Left:"
msgstr "Залишилось:"
msgid "Limits"
msgstr "Ліміти"
msgid "Load"
msgstr "Завантажити"
msgid "Lower Nozzle"
msgstr "Низ сопла"
msgid "Macro shortcut on sidebar"
msgstr "Ярлик макросу на бічній панелі"
msgid "Macros"
msgstr "Макрос"
msgid "Main Menu"
msgstr "Main Menu"
msgid "Max Accelation"
msgstr "Макс. прискорення"
msgid "Max Acceleration to Deceleration"
msgstr "Макс. прискорення до гальмування"
msgid "Max Velocity"
msgstr "Макс. швидкість"
msgid "Medium"
msgstr "Середній"
msgid "Menu"
msgstr "Меню"
msgid "Modified"
msgstr "Змінено"
msgid "Moonraker: connected"
msgstr "Підключено до Moonraker"
msgid "Move"
msgstr "Рухатися"
msgid "Move Distance (mm)"
msgstr "Переміщення (мм)"
msgid "Name"
msgstr "Ім'я"
msgid "Network"
msgstr "Сітка"
msgid "Nothing selected"
msgstr "Не вибрано"
msgid "Off"
msgstr "Вимк"
#, python-format
msgid "Outdated by %d"
msgstr "Застаріло на %d"
msgid "PSK for"
msgstr "PSK для"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "Пакет буде оновлено"
msgstr[1] "Пакет буде оновлено"
msgstr[2] "Пакет буде оновлено"
msgid "Password saved"
msgstr "Пароль збережено"
msgid "Pause"
msgstr "Пауза"
msgid "Paused"
msgstr "Пауза"
msgid "Perform a full upgrade?"
msgstr "Виконати повне оновлення?"
msgid "Please recompile and flash the micro-controller."
msgstr "Будь ласка, перекомпілюйте та перепрошійте мікроконтролер."
msgid "Power"
msgstr "Живлення"
msgid "Power On Printer"
msgstr "Увімкнути принтер"
msgid "Print"
msgstr "Друк"
msgid "Print Control"
msgstr "Контроль друку"
msgid "Print Time"
msgstr "Час друку"
msgid "Printer Connections"
msgstr "Підключення принтера"
msgid "Printing"
msgstr "Друк"
msgid "Probe found applied offset"
msgstr "Зонд знайшов застосоване зміщення"
msgid "Profile Name:"
msgstr "Ім'я профілю:"
msgid "Quad Gantry Level"
msgstr "Портальне вирівнювання"
msgid "Raise Nozzle"
msgstr "Підняти сопло"
msgid "Recover Hard"
msgstr "Відновити все"
msgid "Recover Soft"
msgstr "Відновити легко"
msgid "Reference"
msgstr "Довідка"
msgid "Restart"
msgstr "Перезапуск"
msgid "Resume"
msgstr "Відновити"
msgid "Retract"
msgstr "Ретракт"
#, python-format
msgid "Retry #%s"
msgstr "Повторіть #%s"
msgid "Save"
msgstr "Зберегти"
msgid "Save Config"
msgstr "Зберегти конфіг"
msgid "Save configuration"
msgstr "Зберегти конфігурацію"
msgid "Screen DPMS"
msgstr "Екран DPMS"
msgid "Screen Power Off Time"
msgstr "Вимкнути екран через"
msgid "Screws Adjust"
msgstr "Регулювання гвинтів"
msgid "Select"
msgstr "Вибрати"
msgid "Send"
msgstr "Надіслати"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "Надсилання сигналу увімкнення живлення на: %s"
msgid "Set Temp"
msgstr "Встановити t°"
msgid "Settings"
msgstr "Налаштування"
msgid "Show"
msgstr "Показати"
msgid "Size"
msgstr "Розмір"
msgid "Slicer"
msgstr "Слайсер"
msgid "Slicer Time correction (%)"
msgstr "Виправлення часу слайсера (%)"
msgid "Small"
msgstr "Малий"
msgid "Sort by: "
msgstr "Сортувати за: "
msgid "Speed (mm/s)"
msgstr "Швидкість (мм/с)"
msgid "Speed +"
msgstr "Швидкість +"
msgid "Speed -"
msgstr "Швидкість -"
msgid "Square Corner Velocity"
msgstr "Квадратна кутова швидкість"
msgid "Start"
msgstr "Старт"
msgid "Starting WiFi Association"
msgstr "Запуск асоціації WiFi"
msgid "Starting recovery for"
msgstr "Початок відновлення для"
msgid "Starting update for"
msgstr "Початок оновлення для"
msgid "System"
msgstr "Системна"
msgid ""
"System\n"
"Restart"
msgstr ""
"Рестарт\n"
"Малини"
msgid ""
"System\n"
"Shutdown"
msgstr ""
"Вимкнути\n"
"Малину"
msgid "Temp (°C)"
msgstr "Teмп (°C)"
msgid "Temperature"
msgstr "Температура"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "Щоб застосувати %s, потрібно перезапустити KlipperScreen"
msgid "Tool"
msgstr "Інструмент"
msgid "Total:"
msgstr "Всього:"
msgid "Unknown Heater"
msgstr "Невідомий нагрівач"
msgid "Unload"
msgstr "Вийняти"
msgid "Up To Date"
msgstr "Оновити"
msgid "Update"
msgstr "Оновлення"
#, fuzzy
msgid "Updating"
msgstr "Оновлення"
msgid "Uploaded"
msgstr "Завантажено"
msgid "View Mesh"
msgstr "Показати сітку"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "Швидкість XY (мм/с)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate"
msgstr "Калібровка Z"
msgid "Z Move Speed (mm/s)"
msgstr "Швидкість Z (мм/с)"
msgid "Z Position"
msgstr "Позиція Z"
msgid "Z Tilt"
msgstr "Z Нахил"
msgid "Z+"
msgstr "Бебістеп Z+"
msgid "Z-"
msgstr "Бебістеп Z-"
msgid "commit"
msgid_plural "commits"
msgstr[0] "коментар"
msgstr[1] "коментар"
msgstr[2] "коментар"
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "година"
msgstr[1] "години"
msgstr[2] "годин"
msgid "minutes"
msgstr "хвилин"
msgid "mm"
msgstr "мм"
msgid "mm/s"
msgstr "мм/с"
msgid "mm/s^2"
msgstr "мм/с²"
#~ msgid "IPv4"
#~ msgstr "IPv4"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "Зміщення Z"
@@ -5,32 +5,31 @@
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-11-18 11:29-0300\n"
"PO-Revision-Date: 2021-11-18 11:36-0300\n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: 2022-03-31 11:21-0300\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 3.0\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#, python-format
msgid "%d Packages will be updated"
msgstr "%d 个软件包将被更新"
"X-Generator: Poedit 3.0.1\n"
#, python-format
msgid "%s will be updated to version"
msgstr "%s 将更新到版本"
msgstr "更新 %s 到版本"
msgid "(default)"
msgstr "(默认"
msgstr "(默认)"
msgid "24 Hour Time"
msgstr "24 小时制"
msgstr "使用 24 小时制"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "FIRMWARE_RESTART 可能会解决此问题。"
msgid "Abort"
msgstr "终止"
@@ -39,32 +38,53 @@ msgid "Accept"
msgstr "接受"
msgid "Actions"
msgstr "动作"
msgstr "工具"
msgid "Add Printer"
msgstr "添加打印机"
msgid "Add bed mesh profile"
msgstr "添加网格床"
msgstr "添加热床网格"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "您确定要紧急停止吗?"
msgid "Are you sure you wish to cancel this print?"
msgstr "您确定要取消打印吗?"
msgid "Are you sure you wish to disable motors?"
msgstr "您确定要禁用电机吗?"
msgid "Are you sure you wish to reboot the system?"
msgstr "您确定要重启系统吗?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "您确定要关闭系统吗?"
msgid "Auto"
msgstr "汽车"
msgid "Auto-scroll"
msgstr "自动滚屏"
msgid "Bed Level"
msgstr "热床调平"
msgid "Bed Mesh"
msgstr "网格床"
msgstr "热床网格"
msgid "Bltouch found applied offset"
msgstr "Bltouch 发现应用的偏移量"
msgid "Calibrate"
msgstr "校准"
msgid "Calibrated, save configuration to make it permanent"
msgstr "已校准,保存配置后生效"
msgid "Can't set above the maximum:"
msgstr "设置值超出最大值:"
msgid "Cancel"
msgstr "取消"
@@ -72,13 +92,16 @@ msgid "Cancel Print"
msgstr "取消打印"
msgid "Cancelled"
msgstr "取消"
msgstr "已取消"
msgid "Cancelling"
msgstr "取消"
msgstr "正在取消"
msgid "Cannot connect to Moonraker"
msgstr "无法连接到 Moonraker"
msgid "Channel"
msgstr "通道"
msgstr "更新通道"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
@@ -96,24 +119,27 @@ msgstr "完成"
msgid "Configuration"
msgstr "配置"
msgid "Confirm Emergency Stop"
msgstr "确认紧急停止"
msgid "Connected"
msgstr "连接"
msgstr "已连接"
#, python-format
msgid "Connecting to %s"
msgstr "连接到 %s"
msgid "Console"
msgstr "安慰"
msgstr "控制台"
msgid "Continue"
msgstr "继续"
msgid "Cooldown"
msgstr "冷却"
msgstr "降温"
msgid "Date"
msgstr "日期"
msgstr "上传日期"
msgid "Decrease"
msgstr "减少"
@@ -121,51 +147,51 @@ msgstr "减少"
msgid "Delete"
msgstr "删除"
msgid "Deselect"
msgstr "取消选择"
msgid "Disable Motors"
msgstr "禁用步进电机"
msgid "Disable XY"
msgstr "禁用 XY"
msgid "Disconnect"
msgstr "断开"
msgstr "关闭 XY 电机"
msgid "Displayed Macros"
msgstr "显示宏命令"
msgstr "宏命令显示开关"
msgid "Distance (mm)"
msgstr "距离(mm)"
msgstr "挤出距离(mm)"
#, python-format
msgid "Do you want to recover %s?"
msgstr "您想恢复 %s 吗?"
msgid "Duration Only"
msgstr "仅持续时间"
msgid "Elapsed:"
msgstr "过去:"
msgstr "已用时间:"
msgid "Error"
msgstr "错误"
msgid "Estimated Time Method"
msgstr "预估时间方法"
msgstr "估算剩余时间方式"
msgid "Extrude"
msgstr "挤出机"
msgstr "挤出"
msgid "Extrusion +"
msgstr "挤出 +"
msgstr "挤出流量 +"
msgid "Extrusion -"
msgstr "挤出 -"
msgstr "挤出流量 -"
msgid "Failed, adjust position first"
msgstr "失败,请先调整位置"
msgid "Fan"
msgstr "风扇"
msgid "Filament Used"
msgstr "已经消耗的耗材"
msgstr "已用耗材"
msgid "File"
msgstr "文件"
@@ -176,20 +202,40 @@ msgstr "微调"
msgid "Finish"
msgstr "结束"
msgid "Firmware Restart"
msgstr "框架重启"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
"重启\n"
"Firmware"
msgid "Font Size"
msgstr "字体大小"
msgid ""
"Full\n"
"Update"
msgstr ""
"满的\n"
"更新"
msgid "Go Back"
msgstr "返回"
msgid "Hidden"
msgstr "隐"
msgid "Hide"
msgstr "隐藏"
msgid "Hide sensors in Temp."
msgstr "在温度中隐藏传感器。"
msgid "Home"
msgstr "归零"
msgid "Home All"
msgstr "归零全部"
msgstr "全部归零"
msgid "Home X"
msgstr "归零 X"
@@ -207,16 +253,10 @@ msgid "Homing"
msgstr "归零"
msgid "Hostname"
msgstr "主机名称"
msgid "IPv4"
msgstr "IPv4"
msgid "IPv6"
msgstr "IPv6"
msgstr "主机名"
msgid "Icon Theme"
msgstr "图标 主题"
msgstr "主题风格"
msgid "Increase"
msgstr "增加"
@@ -225,81 +265,65 @@ msgid "Initializing"
msgstr "初始化中"
msgid "Initializing printer..."
msgstr "初始化打印机中.."
msgstr "初始化打印机中..."
msgid "Interface"
msgstr "接口"
msgid "Invalid"
msgstr "无效的"
msgstr "无效"
msgid "Invert X"
msgstr "翻转 X"
msgstr "反转 X"
msgid "Invert Y"
msgstr "翻转 Y"
msgstr "反转 Y"
msgid "Invert Z"
msgstr "翻转 Z"
msgstr "反转 Z"
msgid "Klipper Restart"
msgstr "Klipper 重启"
msgid "Klipper Version"
msgstr "Klipper 版本"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"重启\n"
"Klipper"
msgid "Klipper has disconnected"
msgstr "Klipper 已断开连接"
msgid ""
"Klipper has encountered an error with the micro-controller.\n"
"Please recompile and flash."
msgstr ""
"Klipper的微控制器发生错误。\n"
"请重新编译并刷新。"
msgid "Klipper has encountered an error."
msgstr "Klipper遇到一个错误。"
msgid ""
"Klipper has encountered an error.\n"
"Issue a FIRMWARE_RESTART to attempt fixing the issue."
msgstr ""
"Klipper遇到错误。\n"
"发出 FIRMWARE_RESTART 尝试解决此问题。"
msgid "Klipper has shutdown"
msgstr "Klipper 已经关闭"
msgstr "Klipper 已关闭"
msgid "Klipper is attempting to start"
msgstr "Klipper 正在尝试启动"
msgid "Klipper will reboot"
msgstr "Klipper 将重新启动"
msgid "KlipperScreen Version"
msgstr "KlipperScreen 版本"
msgstr "并重新启动Klipper"
msgid "Language"
msgstr "语"
msgstr "界面语言"
msgid "Large"
msgstr "大的"
msgstr "大"
msgid "Left:"
msgstr "左:"
msgstr "剩余时间:"
msgid "Limits"
msgstr "限制"
msgstr "打印机限制"
msgid "Load"
msgstr "加载"
msgstr "载入耗材"
msgid "Lower Nozzle"
msgstr "降低喷嘴"
msgid "Macro shortcut on sidebar"
msgstr "侧边栏上的宏快捷方式"
msgstr "显示侧边栏宏快捷方式"
msgid "Macros"
msgstr "宏"
@@ -308,13 +332,13 @@ msgid "Main Menu"
msgstr "主菜单"
msgid "Max Accelation"
msgstr "最大加速度"
msgstr "加速度"
msgid "Max Acceleration to Deceleration"
msgstr "最大加速到减速"
msgstr "加速到减速度"
msgid "Max Velocity"
msgstr "最大速度"
msgstr "速度"
msgid "Medium"
msgstr "中"
@@ -325,33 +349,40 @@ msgstr "菜单"
msgid "Modified"
msgstr "修改"
msgid "Moonraker: connected"
msgstr "Moonraker:已连接"
msgid "Move"
msgstr "移动"
msgid "Move Distance (mm)"
msgstr "移动距离(mm)"
msgid "Move Speed (mm/s)"
msgstr "移动速度 (mm/s)"
msgid "Name"
msgstr "名称"
msgstr "文件名称"
msgid "Network"
msgstr "网络"
msgid "Number Pad"
msgstr "数字键盘"
msgid "Nothing selected"
msgstr "未选择任何内容"
msgid "Off"
msgstr "关闭"
#, python-format
msgid "Outdated by %d commits:"
msgstr "已过时 %d 次提交:"
msgid "Outdated by %d"
msgstr "已过时 %d"
msgid "PSK for"
msgstr "PSK 用于"
msgstr "网络密码PSK"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "包将被更新"
msgid "Password saved"
msgstr "密码已保存"
msgid "Pause"
msgstr "暂停"
@@ -359,14 +390,17 @@ msgstr "暂停"
msgid "Paused"
msgstr "已暂停"
msgid "Perform a full upgrade?"
msgstr "执行全面升级?"
msgid "Please recompile and flash the micro-controller."
msgstr "请重新编译并刷写微控制器。"
msgid "Power"
msgstr "电源"
msgstr "电源开关"
msgid "Power On Printer"
msgstr "开启打印机"
msgid "Preheat"
msgstr "预热"
msgstr "启动打印机"
msgid "Print"
msgstr "打印"
@@ -375,31 +409,37 @@ msgid "Print Control"
msgstr "打印控制"
msgid "Print Time"
msgstr "打印时间"
msgstr "打印用时"
msgid "Printer Connections"
msgstr "连接打印机"
msgstr "打印机列表"
msgid "Printing"
msgstr "打印中"
msgstr "印刷"
msgid "Probe found applied offset"
msgstr "Probe 发现应用的偏移量"
msgid "Profile Name:"
msgstr "配置文件名称:"
msgid "Quad Gantry Level"
msgstr "龙门调平"
msgstr "龙门架调平"
msgid "Raise Nozzle"
msgstr "升高喷嘴"
msgid "Recover Hard"
msgstr "恢复 Hard"
msgstr "重置(Hard)"
msgid "Recover Soft"
msgstr "恢复 Soft"
msgstr "重置(Soft)"
msgid "Reference"
msgstr "参考"
msgid "Restart"
msgstr "重启"
msgstr "重启Klipper"
msgid "Resume"
msgstr "恢复"
@@ -407,35 +447,58 @@ msgstr "恢复"
msgid "Retract"
msgstr "回抽"
#, python-format
msgid "Retry #%s"
msgstr "重试 #%s"
msgid "Save"
msgstr "保存"
msgid "Save Config"
msgstr "保存配置"
msgid "Save configuration."
msgstr "保存配置文件."
msgid "Save configuration"
msgstr "即将保存配置文件"
msgid "Screen DPMS"
msgstr "屏幕DPMS"
msgid "Screen Power Off Time"
msgstr "屏幕关闭时间"
msgid "Screen will show in less than one second"
msgstr "屏幕将在1秒内显示"
msgstr "关闭屏幕"
msgid "Screws Adjust"
msgstr "Screws 调整"
msgstr "平台螺丝调整"
msgid "Select"
msgstr "选择"
msgid "Send"
msgstr "发送"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "正在发送通电信号到:%s"
msgid "Set Temp"
msgstr "设定温度"
msgid "Settings"
msgstr "设置"
msgid "Show"
msgstr "显示"
msgid "Size"
msgstr "大小"
msgstr "文件大小"
msgid "Slicer"
msgstr "切片机"
msgstr "切片软件"
msgid "Slicer Time correction (%)"
msgstr "切片器时间校正 (%)"
msgid "Small"
msgstr "小的"
msgstr "小"
msgid "Sort by: "
msgstr "排序: "
@@ -450,13 +513,13 @@ msgid "Speed -"
msgstr "速度 -"
msgid "Square Corner Velocity"
msgstr "方角速度"
msgstr "转角速度"
msgid "Start"
msgstr "開始"
msgstr "开始"
msgid "Starting WiFi Re-association"
msgstr "启动 WiFi 重新关联"
msgid "Starting WiFi Association"
msgstr "启动 WiFi 关联"
msgid "Starting recovery for"
msgstr "开始恢复"
@@ -470,25 +533,34 @@ msgstr "系统"
msgid ""
"System\n"
"Restart"
msgstr "系统重启"
msgstr "重启系统"
msgid ""
"System\n"
"Shutdown"
msgstr "关闭系统"
msgid "Temp (°C)"
msgstr "温度 (°C)"
msgid "Temperature"
msgstr "温度"
msgstr "设置温度"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "要应用 %s,需要重新启动 KlipperScreen"
msgstr "要应用 %s 主题,需要重新启动 KlipperScreen"
msgid "Tool"
msgstr "工具"
msgid "Total:"
msgstr "全部的:"
msgid "Unknown Heater"
msgstr "未知加热器"
msgid "Unload"
msgstr "卸下"
msgstr "退出耗材"
msgid "Up To Date"
msgstr "最新"
@@ -496,11 +568,15 @@ msgstr "最新"
msgid "Update"
msgstr "更新"
#, fuzzy
msgid "Updating"
msgstr "更新"
msgid "Uploaded"
msgstr "已上传"
msgstr "上传时间"
msgid "View Mesh"
msgstr "查看网格"
msgstr "查看热床网格"
msgid "X+"
msgstr "X+"
@@ -508,6 +584,9 @@ msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "XY 移动速度 (mm/s)"
msgid "Y+"
msgstr "Y+"
@@ -517,11 +596,14 @@ msgstr "Y-"
msgid "Z Calibrate"
msgstr "Z 校准"
msgid "Z Offset"
msgstr "Z 间隙"
msgid "Z Move Speed (mm/s)"
msgstr "Z 移动速度 (mm/s)"
msgid "Z Position"
msgstr "Z 位置"
msgid "Z Tilt"
msgstr "Z Tilt"
msgstr "Z 倾斜校准"
msgid "Z+"
msgstr "Z+"
@@ -529,9 +611,17 @@ msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit"
msgid_plural "commits"
msgstr[0] "改变"
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "小时"
msgid "minutes"
msgstr "分钟"
@@ -544,11 +634,67 @@ msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
#~ msgid "IPv4"
#~ msgstr "IPv4 地址"
#~ msgid "IPv6"
#~ msgstr "IPv6 地址"
#~ msgid "Z Offset"
#~ msgstr "Z 偏移"
#~ msgid "Unknown Heater "
#~ msgstr "未知加热器 "
#~ msgid "Disconnect"
#~ msgstr "断开"
#~ msgid "Duration Only"
#~ msgstr "持续时间"
#~ msgid "Klipper Version"
#~ msgstr "Klipper 版本"
#~ msgid ""
#~ "Klipper has encountered an error with the micro-controller.\n"
#~ "Please recompile and flash."
#~ msgstr ""
#~ "Klipper与MCU通讯错误。\n"
#~ "请为主板重新烧录固件。"
#~ msgid ""
#~ "Klipper has encountered an error.\n"
#~ "Issue a FIRMWARE_RESTART to attempt fixing the issue."
#~ msgstr ""
#~ "Klipper 遇到错误。\n"
#~ "使用 重启Firmware 命令尝试解决此问题。"
#~ msgid "KlipperScreen Version"
#~ msgstr "KlipperScreen 版本"
#~ msgid "Show Only Heaters in Temp."
#~ msgstr "仅显示使用中的加热器"
#~ msgid "Target"
#~ msgstr "目标"
#~ msgid "Temp"
#~ msgstr "温度"
#~ msgid "Number Pad"
#~ msgstr "数字键盘"
#~ msgid "Preheat"
#~ msgstr "预热"
#~ msgid "Screen will show in less than one second"
#~ msgstr "屏幕将在1秒内显示"
#~ msgid "Medium (default)"
#~ msgstr "中(默认"
#~ msgstr "中 (默认)"
#~ msgid "File Estimation (default)"
#~ msgstr "文件估计(默认)"
#~ msgstr "文件 (默认)"
#~ msgid "Fan Off"
#~ msgstr "关闭风扇"
@@ -557,29 +703,23 @@ msgstr "mm/s^2"
#~ msgstr "打开风扇"
#~ msgid "Fast"
#~ msgstr "快速"
#~ msgstr "加速"
#~ msgid "Set Speed"
#~ msgstr "设置速度"
#~ msgid "Slow"
#~ msgstr "慢"
#~ msgstr "减速"
#~ msgid "?"
#~ msgstr "?"
#~ msgid "Are you sure you want to print"
#~ msgstr "您确定要开始打印吗"
#~ msgid "Cancel Change"
#~ msgstr "取消变更"
#~ msgstr "取消改动"
#~ msgid "Control"
#~ msgstr "控制"
#~ msgid "Emergency Stop"
#~ msgstr "紧急停止"
#~ msgid "Load Average"
#~ msgstr "平均负载"
@@ -587,4 +727,4 @@ msgstr "mm/s^2"
#~ msgstr "网络信息"
#~ msgid "Screen Blanking Time"
#~ msgstr "屏幕关闭时间"
#~ msgstr "关闭屏幕"
@@ -0,0 +1,690 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: 2022-03-31 11:25-0300\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 3.0.1\n"
#, python-format
msgid "%s will be updated to version"
msgstr "%s 將更新到版本"
msgid "(default)"
msgstr "(預設)"
msgid "24 Hour Time"
msgstr "24 小時制"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr ""
msgid "Abort"
msgstr "中止"
msgid "Accept"
msgstr "接受"
msgid "Actions"
msgstr "動作"
msgid "Add Printer"
msgstr "新增列印機"
msgid "Add bed mesh profile"
msgstr "新增網床輪廓"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "您確定要運行緊急停止嗎?"
msgid "Are you sure you wish to cancel this print?"
msgstr "您確定要取消列印嗎?"
msgid "Are you sure you wish to disable motors?"
msgstr "您確定要禁用電機嗎?"
msgid "Are you sure you wish to reboot the system?"
msgstr "您確定要重新啟動系統嗎?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "您確定要關閉系統嗎?"
msgid "Auto"
msgstr "汽車"
msgid "Auto-scroll"
msgstr "自動滾屏"
msgid "Bed Level"
msgstr "熱床調平"
msgid "Bed Mesh"
msgstr "網格床"
msgid "Bltouch found applied offset"
msgstr "Bltouch 發現應用的偏移量"
msgid "Calibrate"
msgstr "校正"
msgid "Calibrated, save configuration to make it permanent"
msgstr "校準,保存配置以使其永久化"
msgid "Can't set above the maximum:"
msgstr "不能設置超過最大值:"
msgid "Cancel"
msgstr "取消"
msgid "Cancel Print"
msgstr "取消列印"
msgid "Cancelled"
msgstr "已取消"
msgid "Cancelling"
msgstr "取消"
msgid "Cannot connect to Moonraker"
msgstr "無法連接到 Moonraker"
msgid "Channel"
msgstr "通道"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgstr ""
"檢查/tmp/KlipperScreen.log 日誌檔以了解更多訊息。\n"
"請在GitHub上提交問題以尋求幫助。"
msgid "Close"
msgstr "關閉"
msgid "Complete"
msgstr "完成"
msgid "Configuration"
msgstr "配置"
msgid "Confirm Emergency Stop"
msgstr "確認緊急停止"
msgid "Connected"
msgstr "連接"
#, python-format
msgid "Connecting to %s"
msgstr "連接到 %s"
msgid "Console"
msgstr "控制台"
msgid "Continue"
msgstr "繼續"
msgid "Cooldown"
msgstr "冷卻"
msgid "Date"
msgstr "日期"
msgid "Decrease"
msgstr "減少"
msgid "Delete"
msgstr "刪除"
msgid "Deselect"
msgstr "取消選擇"
msgid "Disable Motors"
msgstr "禁用步進電機"
msgid "Disable XY"
msgstr "禁用 XY"
msgid "Displayed Macros"
msgstr "顯示巨集"
msgid "Distance (mm)"
msgstr "距離(mm)"
#, python-format
msgid "Do you want to recover %s?"
msgstr "您想恢復 %s 嗎?"
msgid "Elapsed:"
msgstr "已耗時間:"
msgid "Error"
msgstr "錯誤"
msgid "Estimated Time Method"
msgstr "預估時間方法"
msgid "Extrude"
msgstr "擠出機"
msgid "Extrusion +"
msgstr "擠出 +"
msgid "Extrusion -"
msgstr "擠出 -"
msgid "Failed, adjust position first"
msgstr "失敗,先調整位置"
msgid "Fan"
msgstr "風扇"
msgid "Filament Used"
msgstr "已消耗的耗材"
msgid "File"
msgstr "檔案"
msgid "Fine Tuning"
msgstr "微調"
msgid "Finish"
msgstr "完成"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
"Firmware\n"
"重新啟動"
msgid "Font Size"
msgstr "字體大小"
msgid ""
"Full\n"
"Update"
msgstr ""
"滿的\n"
"更新"
msgid "Go Back"
msgstr "返回"
msgid "Hidden"
msgstr "隱"
msgid "Hide"
msgstr "隱藏"
msgid "Hide sensors in Temp."
msgstr "在溫度中隱藏傳感器。"
msgid "Home"
msgstr "首頁"
msgid "Home All"
msgstr "歸零全部"
msgid "Home X"
msgstr "歸零 X"
msgid "Home XY"
msgstr "歸零 XY"
msgid "Home Y"
msgstr "歸零 Y"
msgid "Home Z"
msgstr "歸零 Z"
msgid "Homing"
msgstr "歸零"
msgid "Hostname"
msgstr "主機名稱"
msgid "Icon Theme"
msgstr "圖標主題"
msgid "Increase"
msgstr "增加"
msgid "Initializing"
msgstr "初始化中"
msgid "Initializing printer..."
msgstr "初始化列印機中.."
msgid "Interface"
msgstr "介面"
msgid "Invalid"
msgstr "無效的"
msgid "Invert X"
msgstr "反轉 X"
msgid "Invert Y"
msgstr "反轉 Y"
msgid "Invert Z"
msgstr "反轉 Z"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"Klipper\n"
"重新啟動"
msgid "Klipper has disconnected"
msgstr "Klipper 已斷開連結"
msgid "Klipper has encountered an error."
msgstr "Klipper遇到一個錯誤。"
msgid "Klipper has shutdown"
msgstr "Klipper 已經關閉"
msgid "Klipper is attempting to start"
msgstr "Klipper 正在嘗試重新啟動"
msgid "Klipper will reboot"
msgstr "Klipper 將重新啟動"
msgid "Language"
msgstr "語言"
msgid "Large"
msgstr "大的"
msgid "Left:"
msgstr "剩下時間:"
msgid "Limits"
msgstr "限制"
msgid "Load"
msgstr "載入"
msgid "Lower Nozzle"
msgstr "降低噴嘴"
msgid "Macro shortcut on sidebar"
msgstr "在側邊欄上顯示巨集快捷鍵"
msgid "Macros"
msgstr "巨集"
msgid "Main Menu"
msgstr "主選單"
msgid "Max Accelation"
msgstr "最大加速度"
msgid "Max Acceleration to Deceleration"
msgstr "最大加速到減速"
msgid "Max Velocity"
msgstr "最大速度"
msgid "Medium"
msgstr "中"
msgid "Menu"
msgstr "選單"
msgid "Modified"
msgstr "修改"
msgid "Moonraker: connected"
msgstr "Moonraker:已連接"
msgid "Move"
msgstr "移動"
msgid "Move Distance (mm)"
msgstr "移動距離(mm)"
msgid "Name"
msgstr "名稱"
msgid "Network"
msgstr "網路"
msgid "Nothing selected"
msgstr "未選擇任何內容"
msgid "Off"
msgstr "關閉"
#, python-format
msgid "Outdated by %d"
msgstr "已過時 %d"
msgid "PSK for"
msgstr "PSK 用於"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "包將被更新"
msgid "Password saved"
msgstr "密碼已保存"
msgid "Pause"
msgstr "暫停"
msgid "Paused"
msgstr "已暫停"
msgid "Perform a full upgrade?"
msgstr "執行全面升級?"
msgid "Please recompile and flash the micro-controller."
msgstr "請重新編譯並刷寫微控制器。"
msgid "Power"
msgstr "電源"
msgid "Power On Printer"
msgstr "啟動列印機"
msgid "Print"
msgstr "列印"
msgid "Print Control"
msgstr "列印控制"
msgid "Print Time"
msgstr "列印時間"
msgid "Printer Connections"
msgstr "連接列印機"
msgid "Printing"
msgstr "列印中"
msgid "Probe found applied offset"
msgstr "Probe 發現應用的偏移量"
msgid "Profile Name:"
msgstr "配置檔案名稱:"
msgid "Quad Gantry Level"
msgstr "龍門調平"
msgid "Raise Nozzle"
msgstr "上升噴嘴"
msgid "Recover Hard"
msgstr "恢復 Hard"
msgid "Recover Soft"
msgstr "恢復 Soft"
msgid "Reference"
msgstr "參考"
msgid "Restart"
msgstr "重新啟動"
msgid "Resume"
msgstr "恢復"
msgid "Retract"
msgstr "回抽"
#, python-format
msgid "Retry #%s"
msgstr "重試 #%s"
msgid "Save"
msgstr "儲存"
msgid "Save Config"
msgstr "儲存設定"
msgid "Save configuration"
msgstr "儲存設定檔案"
msgid "Screen DPMS"
msgstr "屏幕DPMS"
msgid "Screen Power Off Time"
msgstr "螢幕關閉時間"
msgid "Screws Adjust"
msgstr "Screws 調整"
msgid "Select"
msgstr "選擇"
msgid "Send"
msgstr "發送"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "正在發送通電信號到:%s"
msgid "Set Temp"
msgstr "設定溫度"
msgid "Settings"
msgstr "設定"
msgid "Show"
msgstr "展示"
msgid "Size"
msgstr "大小"
msgid "Slicer"
msgstr "切片"
msgid "Slicer Time correction (%)"
msgstr "切片器時間校正 (%)"
msgid "Small"
msgstr "小的"
msgid "Sort by: "
msgstr "排序: "
msgid "Speed (mm/s)"
msgstr "速度(mm/s)"
msgid "Speed +"
msgstr "速度 +"
msgid "Speed -"
msgstr "速度 -"
msgid "Square Corner Velocity"
msgstr "方角速度"
msgid "Start"
msgstr "開始"
msgid "Starting WiFi Association"
msgstr "啟動 WiFi 關聯"
msgid "Starting recovery for"
msgstr "開始恢復"
msgid "Starting update for"
msgstr "開始更新"
msgid "System"
msgstr "系統"
msgid ""
"System\n"
"Restart"
msgstr "系統重新啟動"
msgid ""
"System\n"
"Shutdown"
msgstr "關閉系統"
msgid "Temp (°C)"
msgstr "溫度(°C)"
msgid "Temperature"
msgstr "溫度"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "要應用 %s,需要重新啟動 KlipperScreen"
msgid "Tool"
msgstr "工具"
msgid "Total:"
msgstr "全部的:"
msgid "Unknown Heater"
msgstr "未知加熱器"
msgid "Unload"
msgstr "卸載"
msgid "Up To Date"
msgstr "最新"
msgid "Update"
msgstr "更新"
msgid "Updating"
msgstr "更新"
msgid "Uploaded"
msgstr "上傳時間"
msgid "View Mesh"
msgstr "檢視網格"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "XY 移動速度 (mm/s)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate"
msgstr "Z 校準"
msgid "Z Move Speed (mm/s)"
msgstr "Z 移動速度 (mm/s)"
msgid "Z Position"
msgstr "Z 位置"
msgid "Z Tilt"
msgstr "Z 傾斜"
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit"
msgid_plural "commits"
msgstr[0] "改變"
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "小時"
msgid "minutes"
msgstr "分鐘"
msgid "mm"
msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
#~ msgid "IPv4"
#~ msgstr "IPv4"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "Z 間隙"
#~ msgid "Unknown Heater "
#~ msgstr "未知加熱器 "
#~ msgid "Disconnect"
#~ msgstr "斷開"
#~ msgid "Duration Only"
#~ msgstr "僅持續時間"
#~ msgid "Klipper Version"
#~ msgstr "Klipper 版本"
#~ msgid ""
#~ "Klipper has encountered an error with the micro-controller.\n"
#~ "Please recompile and flash."
#~ msgstr ""
#~ "Klipper遇到微控制器錯誤。\n"
#~ "請重新編譯並刷新。"
#~ msgid ""
#~ "Klipper has encountered an error.\n"
#~ "Issue a FIRMWARE_RESTART to attempt fixing the issue."
#~ msgstr ""
#~ "Klipper遇到錯誤。\n"
#~ "發出 FIRMWARE_RESTART 嘗試解決這個問題。"
#~ msgid "KlipperScreen Version"
#~ msgstr "KlipperScreen 版本"
#~ msgid "Show Only Heaters in Temp."
#~ msgstr "僅顯示溫度下的加熱器"
#~ msgid "Target"
#~ msgstr "目標溫度"
#~ msgid "Temp"
#~ msgstr "目前溫度"
#~ msgid "Number Pad"
#~ msgstr "數字鍵盤"
#~ msgid "Preheat"
#~ msgstr "預熱"
#~ msgid "Screen will show in less than one second"
#~ msgstr "螢幕將在1秒內顯示"
+81 -23
View File
@@ -3,7 +3,6 @@ import logging
gi.require_version("Gtk", "3.0")
from gi.repository import Gdk, GLib
from ks_includes.KlippyGcodes import KlippyGcodes
class Printer:
@@ -20,6 +19,10 @@ class Printer:
"shutdown": None
}
tools = []
toolcount = 0
extrudercount = 0
tempdevcount = 0
fancount = 0
def __init__(self, printer_info, data, state_execute_cb):
self.state = "disconnected"
@@ -27,18 +30,38 @@ class Printer:
self.power_devices = {}
self.store_timeout = False
def reset(self):
self.state = None
self.state_cb = None
self.data = None
self.devices = None
self.power_devices = None
self.state_callbacks = None
self.tools = None
self.toolcount = None
self.extrudercount = None
self.tempdevcount = None
self.fancount = None
GLib.source_remove(self.store_timeout)
self.store_timeout = None
self.config = None
self.klipper = None
self.tempstore = None
def reinit(self, printer_info, data):
logging.debug("Moonraker object status: %s" % data)
self.config = data['configfile']['config']
self.toolcount = 0
self.extrudercount = 0
self.tempdevcount = 0
self.fancount = 0
self.tools = []
self.devices = {}
self.data = data
self.klipper = {}
self.tempstore = {}
if self.store_timeout is False:
GLib.timeout_add_seconds(1, self._update_temp_store)
self.store_timeout = GLib.timeout_add_seconds(1, self._update_temp_store)
self.klipper = {
"version": printer_info['software_version']
@@ -65,6 +88,10 @@ class Printer:
"temperature": 0,
"target": 0
}
self.tempdevcount += 1
if x == 'fan' or x.startswith('controller_fan ') or x.startswith('heater_fan ') \
or x.startswith('fan_generic '):
self.fancount += 1
if x.startswith('bed_mesh '):
r = self.config[x]
r['x_count'] = int(r['x_count'])
@@ -77,7 +104,10 @@ class Printer:
self.process_update(data)
logging.info("Klipper version: %s", self.klipper['version'])
logging.info("### Toolcount: " + str(self.toolcount) + " Heaters: " + str(self.extrudercount))
logging.info("# Toolcount: %s", str(self.toolcount))
logging.info("# Extruders: %s", str(self.extrudercount))
logging.info("# Temperature devices: %s", str(self.tempdevcount))
logging.info("# Fans: %s", str(self.fancount))
def process_update(self, data):
keys = [
@@ -115,20 +145,22 @@ class Printer:
def evaluate_state(self):
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'].lower() # possible values: complete, paused, printing, standby
if wh_state == "ready":
new_state = "ready"
if print_state == "paused":
new_state = "paused"
elif idle_state == "printing":
if print_state == "complete":
new_state = "ready"
elif print_state != "printing": # Not printing a file, toolhead moving
new_state = "busy"
else:
new_state = "printing"
if self.data['print_stats']:
print_state = self.data['print_stats']['state'].lower() # complete, error, paused, printing, standby
if print_state == "paused":
new_state = "paused"
if self.data['idle_timeout']:
idle_state = self.data['idle_timeout']['state'].lower() # idle, printing, ready
if idle_state == "printing":
if print_state == "complete":
new_state = "ready"
elif print_state != "printing": # Not printing a file, toolhead moving
new_state = "busy"
else:
new_state = "printing"
if new_state != "busy":
self.change_state(new_state)
@@ -165,9 +197,6 @@ class Printer:
}
logging.debug("Power devices: %s" % self.power_devices)
def config_section_exists(self, section):
return section in list(self.config)
def get_config_section_list(self, search=""):
if not hasattr(self, "config"):
return []
@@ -188,7 +217,7 @@ class Printer:
def get_fans(self):
fans = ["fan"] if len(self.get_config_section_list("fan")) > 0 else []
fan_types = ["controller_fan", "fan_generic", "heater_fan", "temperature_fan"]
fan_types = ["controller_fan", "fan_generic", "heater_fan"]
for type in fan_types:
for f in self.get_config_section_list("%s " % type):
fans.append(f)
@@ -212,7 +241,16 @@ class Printer:
def get_printer_status_data(self):
data = {
"printer": {
"bltouch": self.section_exists("bltouch"),
"extruders": {
"count": self.extrudercount
},
"temperature_devices": {
"count": self.tempdevcount
},
"fans": {
"count": self.fancount
},
"bltouch": self.config_section_exists("bltouch"),
"gcode_macros": {
"count": len(self.get_gcode_macros())
},
@@ -221,7 +259,7 @@ class Printer:
"power_devices": {
"count": len(self.get_power_devices())
},
"probe": self.section_exists("probe")
"probe": self.config_section_exists("probe")
}
}
@@ -271,11 +309,28 @@ class Printer:
return self.devices[dev][stat]
return None
def get_fan_speed(self, fan="fan", speed=None):
if fan not in self.config:
logging.debug("Error getting %s config", fan)
return speed if speed is not None else 0
if speed is None and "speed" in self.data[fan]:
speed = self.data[fan]["speed"]
if 'max_power' in self.config[fan]:
max_power = float(self.config[fan]['max_power'])
if max_power > 0:
speed = speed / max_power
if 'off_below' in self.config[fan]:
off_below = float(self.config[fan]['off_below'])
if speed < off_below:
speed = 0
return speed
def get_extruder_count(self):
return self.extrudercount
def get_temp_store_devices(self):
return list(self.tempstore)
if self.tempstore is not None:
return list(self.tempstore)
def get_temp_store_device_has_target(self, device):
if device in self.tempstore:
@@ -320,7 +375,7 @@ class Printer:
self.tempstore[dev]["temperatures"] = result[dev]["temperatures"]
logging.info("Temp store: %s" % list(self.tempstore))
def section_exists(self, section):
def config_section_exists(self, section):
if section in self.get_config_section_list():
return True
return False
@@ -341,5 +396,8 @@ class Printer:
for x in self.tempstore[device]:
if len(self.tempstore[device][x]) >= 1200:
self.tempstore[device][x].pop(0)
self.tempstore[device][x].append(round(self.get_dev_stat(device, x[:-1]), 2))
temp = self.get_dev_stat(device, x[:-1])
if temp is None:
temp = 0
self.tempstore[device][x].append(round(temp, 2))
return True
+4 -6
View File
@@ -1,11 +1,8 @@
import gi
import logging
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Gdk, GLib
from jinja2 import Environment, Template
from gi.repository import Gtk
from ks_includes.KlippyGtk import KlippyGtk
from ks_includes.KlippyGcodes import KlippyGcodes
class ScreenPanel:
@@ -20,11 +17,12 @@ class ScreenPanel:
self._gtk = screen.gtk
self.control = {}
self.title = title
self.devices = {}
self.active_heaters = []
self.layout = Gtk.Layout()
self.layout.set_size(self._screen.width, self._screen.height)
action_bar_width = self._gtk.get_action_bar_width() if action_bar is True else 0
self.content = Gtk.Box(spacing=0)
def initialize(self, panel_name):
@@ -44,7 +42,7 @@ class ScreenPanel:
if temp <= 0:
return ""
else:
return self.format_temp(temp, 0)
return ("(%s)" % str(int(temp)))
def format_temp(self, temp, places=1):
if places == 0:
+25 -35
View File
@@ -4,11 +4,11 @@ import logging
import math
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Gdk, GLib, Pango
from gi.repository import Gdk, Gtk
class HeaterGraph(Gtk.DrawingArea):
def __init__(self, printer):
def __init__(self, printer, font_size):
super().__init__()
self.set_hexpand(True)
self.set_vexpand(True)
@@ -21,6 +21,7 @@ class HeaterGraph(Gtk.DrawingArea):
self.add_events(Gdk.EventMask.BUTTON_PRESS_MASK)
self.connect('touch-event', self.event_cb)
self.connect('button_press_event', self.event_cb)
self.font_size = round(font_size * 0.75)
def add_object(self, name, type, rgb=[0, 0, 0], dashed=False, fill=False):
if name not in self.store:
@@ -33,18 +34,10 @@ class HeaterGraph(Gtk.DrawingArea):
self.max_length = max(self.max_length, len(self.printer.get_temp_store(name, type)))
def event_cb(self, da, ev):
if ev.get_source_device().get_source() == Gdk.InputSource.MOUSE:
if ev.type == Gdk.EventType.BUTTON_PRESS:
x = ev.x
y = ev.y
# logging.info("Drawing area clicked: %s %s" % (x, y))
if ev.get_source_device().get_source() == Gdk.InputSource.TOUCHSCREEN:
if ev.touch.type == Gdk.EventType.TOUCH_BEGIN:
x = ev.touch.x
y = ev.touch.y
# logging.info("Drawing area clicked: %s %s" % (x, y))
if ev.type == Gdk.EventType.BUTTON_PRESS:
x = ev.x
y = ev.y
logging.info("Graph area: %s %s" % (x, y))
def get_max_length(self):
n = []
@@ -52,7 +45,7 @@ class HeaterGraph(Gtk.DrawingArea):
if "temperatures" not in self.store[name]:
continue
n.append(len(self.printer.get_temp_store(name, "temperatures")))
return max(n)
return min(n)
def get_max_num(self, data_points=0):
mnum = []
@@ -67,10 +60,10 @@ class HeaterGraph(Gtk.DrawingArea):
width = da.get_allocated_width()
height = da.get_allocated_height()
g_width_start = 30
g_width_start = round(self.font_size * 2.75)
g_width = width - 15
g_height_start = 15
g_height = height - 30
g_height_start = 10
g_height = height - self.font_size * 2
ctx.set_source_rgb(.5, .5, .5)
ctx.set_line_width(1)
@@ -94,8 +87,6 @@ class HeaterGraph(Gtk.DrawingArea):
self.max_length = self.get_max_length()
graph_width = gsize[1][0] - gsize[0][0]
points_per_pixel = self.max_length / graph_width
if points_per_pixel > 3:
points_per_pixel = 3
data_points = int(round(graph_width * points_per_pixel, 0))
max_num = math.ceil(self.get_max_num(data_points) * 1.1 / 10) * 10
d_width = 1 / points_per_pixel
@@ -144,14 +135,9 @@ class HeaterGraph(Gtk.DrawingArea):
ctx.fill()
def graph_lines(self, ctx, gsize, max_num):
if max_num <= 30:
nscale = 5
elif max_num <= 60:
nscale = 10
elif max_num <= 130:
nscale = 25
else:
nscale = 50
nscale = 10
while (max_num / nscale) > 5:
nscale += 10
# nscale = math.floor((max_num / 10) / 4) * 10
r = int(max_num/nscale) + 1
hscale = (gsize[1][1] - gsize[0][1]) / (r * nscale)
@@ -160,6 +146,7 @@ class HeaterGraph(Gtk.DrawingArea):
ctx.set_source_rgb(.5, .5, .5)
lheight = gsize[1][1] - nscale*i*hscale
ctx.move_to(6, lheight + 3)
ctx.set_font_size(self.font_size)
ctx.show_text(str(nscale*i).rjust(3, " "))
ctx.stroke()
ctx.set_source_rgba(.5, .5, .5, .2)
@@ -169,14 +156,14 @@ class HeaterGraph(Gtk.DrawingArea):
return hscale
def graph_time(self, ctx, gsize, points_per_pixel):
glen = gsize[1][0] - gsize[0][0]
now = datetime.datetime.now()
first = gsize[1][0] - ((now.second + ((now.minute % 2) * 60)) / points_per_pixel)
first = gsize[1][0] - (now.second + ((now.minute % 2) * 60)) / points_per_pixel
steplen = 120 / points_per_pixel # For 120s
i = 0
while True:
x = first - i*steplen
x = first - i * steplen
if x < gsize[0][0]:
break
ctx.set_source_rgba(.5, .5, .5, .2)
@@ -185,19 +172,22 @@ class HeaterGraph(Gtk.DrawingArea):
ctx.stroke()
ctx.set_source_rgb(.5, .5, .5)
ctx.move_to(x - 15, gsize[1][1] + 15)
ctx.move_to(x - round(self.font_size * 1.5), gsize[1][1] + round(self.font_size * 1.5))
hour = now.hour
min = now.minute - (now.minute % 2) - i*2
min = now.minute - (now.minute % 2) - i * 2
if min < 0:
hour -= 1
min = 60 + min
if hour < 0:
hour += 24
ctx.set_font_size(self.font_size)
ctx.show_text("%02d:%02d" % (hour, min))
ctx.stroke()
i += 1
if self.max_length < 600:
i += 1
else:
i += 2
def is_showing(self, device):
if device not in self.store:
+6 -6
View File
@@ -1,10 +1,7 @@
import datetime
import gi
import logging
import math
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Gdk, GLib, Pango
from gi.repository import Gtk
class Keypad(Gtk.Box):
@@ -49,7 +46,7 @@ class Keypad(Gtk.Box):
self.labels["keypad"] = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
self.labels['entry'] = Gtk.Entry()
self.labels['entry'].props.xalign = 0.5
ctx = self.labels['entry'].get_style_context()
self.labels['entry'].connect("activate", self.update_entry, "E")
b = self._gtk.ButtonImage('cancel', _('Close'), None, 1, 1)
b.connect("clicked", close_function)
@@ -70,7 +67,10 @@ class Keypad(Gtk.Box):
return
self.labels['entry'].set_text(text[0:-1])
elif digit == 'E':
temp = int(text)
try:
temp = int(text)
except ValueError:
temp = 0
self.change_temp(temp)
self.labels['entry'].set_text("")
else:
+23 -14
View File
@@ -1,25 +1,16 @@
import os
import signal
import json
import logging
import re
import socket
import subprocess
import threading
import time
from contextlib import suppress
from threading import Thread
from subprocess import PIPE, Popen, STDOUT
from queue import Queue, Empty
from queue import Queue
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Gdk, GLib
RESCAN_INTERVAL = 180
KS_SOCKET_FILE = "/tmp/.KS_wpa_supplicant"
from gi.repository import GLib, Gdk
class WifiManager():
networks_in_supplicant = []
@@ -51,6 +42,7 @@ class WifiManager():
self.timeout = None
self.scan_time = 0
KS_SOCKET_FILE = "/tmp/.KS_wpa_supplicant"
if os.path.exists(KS_SOCKET_FILE):
os.remove(KS_SOCKET_FILE)
@@ -69,7 +61,7 @@ class WifiManager():
self.wpa_cli("ATTACH", False)
self.wpa_cli("SCAN", False)
GLib.idle_add(self.read_wpa_supplicant)
self.timeout = GLib.timeout_add_seconds(RESCAN_INTERVAL, self.rescan)
self.timeout = GLib.timeout_add_seconds(180, self.rescan)
def add_callback(self, name, callback):
if name in self._callbacks and callback not in self._callbacks[name]:
@@ -151,14 +143,31 @@ class WifiManager():
return self.connected_ssid
def get_current_wifi(self, interface="wlan0"):
con_ssid = os.popen("sudo iwgetid -r").read().strip()
con_bssid = os.popen("sudo iwgetid -r -a").read().strip()
# wpa_cli status output is unstable use it as backup only
status = self.wpa_cli("STATUS").split('\n')
vars = {}
for line in status:
arr = line.split('=')
vars[arr[0]] = "=".join(arr[1:])
prev_ssid = self.connected_ssid
if "ssid" in vars and "bssid" in vars:
if con_ssid != "":
self.connected = True
self.connected_ssid = con_ssid
for ssid, val in self.networks.items():
if ssid == con_ssid:
self.networks[ssid]['connected'] = True
else:
self.networks[ssid]['connected'] = False
if prev_ssid != self.connected_ssid:
for cb in self._callbacks['connected']:
Gdk.threads_add_idle(
GLib.PRIORITY_DEFAULT_IDLE,
cb, self.connected_ssid, prev_ssid)
return [con_ssid, con_bssid]
elif "ssid" in vars and "bssid" in vars:
self.connected = True
self.connected_ssid = vars['ssid']
for ssid, val in self.networks.items():
+4 -2
View File
@@ -3,10 +3,12 @@ nav:
- Hardware.md
- Installation.md
- Configuration.md
- Quicktips.md
- Theming.md
- Troubleshooting.md
- changelog.md
- panels.md
- Translations.md
- Changelog.md
- Panels.md
- Contact.md
theme: readthedocs
repo_url: https://github.com/jordanruthe/KlipperScreen/
+198 -85
View File
@@ -4,11 +4,9 @@ import gi
import logging
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Gdk, GLib
from jinja2 import Environment, Template
from gi.repository import GLib, Gtk, Pango
from jinja2 import Environment
from ks_includes.KlippyGtk import KlippyGtk
from ks_includes.KlippyGcodes import KlippyGcodes
from ks_includes.screen_panel import ScreenPanel
class BasePanel(ScreenPanel):
@@ -18,7 +16,8 @@ class BasePanel(ScreenPanel):
self.time_min = -1
self.time_format = self._config.get_main_config_option("24htime")
self.title_spacing = self._gtk.font_size * 2
self.time_update = None
self.titlebar_name_type = None
self.buttons_showing = {
'back': False if back else True,
'macros_shortcut': False,
@@ -29,32 +28,30 @@ class BasePanel(ScreenPanel):
self.layout.set_size(self._screen.width, self._screen.height)
action_bar_width = self._gtk.get_action_bar_width() if action_bar is True else 0
action_bar_height = self._gtk.get_action_bar_height() if action_bar is True else 0
self.control_grid = self._gtk.HomogeneousGrid()
self.control_grid.set_size_request(action_bar_width - 2, self._screen.height)
self.control_grid.set_size_request(action_bar_width, action_bar_height)
self.control_grid.get_style_context().add_class('action_bar')
button_scale = self._gtk.get_header_image_scale()
logging.debug("Button scale: %s" % button_scale)
self.control['back'] = self._gtk.ButtonImage('back', None, None, button_scale[0], button_scale[1])
self.control['back'] = self._gtk.ButtonImage('back', None, None, 1, 1)
self.control['back'].connect("clicked", self.back)
self.control['home'] = self._gtk.ButtonImage('main', None, None, button_scale[0], button_scale[1])
self.control['home'] = self._gtk.ButtonImage('main', None, None, 1, 1)
self.control['home'].connect("clicked", self.menu_return, True)
if len(self._config.get_printers()) > 1:
self.control['printer_select'] = self._gtk.ButtonImage(
'shuffle', None, None, button_scale[0], button_scale[1])
'shuffle', None, None, 1, 1)
self.control['printer_select'].connect("clicked", self._screen.show_printer_select)
self.control['macro_shortcut'] = self._gtk.ButtonImage(
'custom-script', None, None, button_scale[0], button_scale[1])
'custom-script', None, None, 1, 1)
self.control['macro_shortcut'].connect("clicked", self.menu_item_clicked, "gcode_macros", {
"name": "Macros",
"panel": "gcode_macros"
})
self.control['estop'] = self._gtk.ButtonImage('emergency', None, None, button_scale[0], button_scale[1])
self.control['estop'] = self._gtk.ButtonImage('emergency', None, None, 1, 1)
self.control['estop'].connect("clicked", self.emergency_stop)
self.locations = {
@@ -69,9 +66,14 @@ class BasePanel(ScreenPanel):
for i in range(button_range):
self.control['space%s' % i] = Gtk.Label("")
self.control_grid.attach(self.control['space%s' % i], 0, i, 1, 1)
self.control_grid.attach(self.control['estop'], 0, 4, 1, 1)
if self._screen.vertical_mode:
self.control_grid.attach(self.control['space%s' % i], i, 0, 1, 1)
else:
self.control_grid.attach(self.control['space%s' % i], 0, i, 1, 1)
if self._screen.vertical_mode:
self.control_grid.attach(self.control['estop'], 4, 0, 1, 1)
else:
self.control_grid.attach(self.control['estop'], 0, 4, 1, 1)
try:
env = Environment(extensions=["jinja2.ext.i18n"])
@@ -82,78 +84,141 @@ class BasePanel(ScreenPanel):
logging.debug("Error parsing jinja for title: %s" % title)
self.titlelbl = Gtk.Label()
self.titlelbl.set_size_request(self._screen.width - action_bar_width, self.title_spacing)
self.titlelbl.set_hexpand(True)
self.titlelbl.set_vexpand(True)
self.titlelbl.set_halign(Gtk.Align.CENTER)
self.titlelbl.set_valign(Gtk.Align.CENTER)
self.titlelbl.set_ellipsize(True)
self.titlelbl.set_ellipsize(Pango.EllipsizeMode.END)
self.set_title(title)
self.hmargin = 5
self.content = Gtk.VBox(spacing=0)
self.content.set_size_request(self._screen.width - action_bar_width, self._screen.height - self.title_spacing)
if self._screen.vertical_mode:
self.content.set_size_request(self._screen.width - self.hmargin * 2,
self._screen.height - self.title_spacing - action_bar_height)
else:
self.content.set_size_request(self._screen.width - action_bar_width - self.hmargin,
self._screen.height - self.title_spacing)
if action_bar is True:
self.layout.put(self.control_grid, 0, 0)
if self._screen.vertical_mode:
self.layout.put(self.control_grid, 0, self._screen.height - action_bar_height)
else:
self.layout.put(self.control_grid, 0, 0)
self.control['time_box'] = Gtk.Box()
self.control['time_box'].set_halign(Gtk.Align.END)
self.control['time_box'].set_size_request(0, self.title_spacing)
self.control['time'] = Gtk.Label("00:00 AM")
self.control['time'].set_size_request(0, self.title_spacing)
self.control['time'].set_halign(Gtk.Align.END)
self.control['time'].set_valign(Gtk.Align.CENTER)
self.control['time_box'].pack_end(self.control['time'], True, 0, 0)
self.control['time_box'].pack_end(self.control['time'], True, True, self.hmargin)
self.control['temp_box'] = Gtk.Box()
self.control['temp_box'].set_vexpand(True)
self.control['temp_box'].set_size_request(0, self.title_spacing)
self.layout.put(self.control['temp_box'], action_bar_width, 0)
self.layout.put(self.titlelbl, action_bar_width, 0)
self.layout.put(self.control['time_box'], action_bar_width, 0)
self.layout.put(self.content, action_bar_width, self.title_spacing)
self.titlebar = Gtk.Grid()
self.titlebar.set_valign(Gtk.Align.CENTER)
self.titlebar.set_property("column-spacing", 5)
if self._screen.vertical_mode:
self.titlebar.set_size_request(self._screen.width, self.title_spacing)
else:
self.titlebar.set_size_request(self._screen.width - action_bar_width, self.title_spacing)
self.titlebar.attach(self.control['temp_box'], 0, 0, 1, 1)
self.titlebar.attach(self.titlelbl, 1, 0, 1, 1)
self.titlebar.attach(self.control['time_box'], 2, 0, 1, 1)
if self._screen.vertical_mode:
self.layout.put(self.titlebar, 0, 0)
self.layout.put(self.content, self.hmargin, self.title_spacing)
else:
self.layout.put(self.titlebar, action_bar_width, 0)
self.layout.put(self.content, action_bar_width + self.hmargin, self.title_spacing)
def initialize(self, panel_name):
# Create gtk items here
self.update_time()
return
def show_heaters(self, show=True):
for child in self.control['temp_box'].get_children():
self.control['temp_box'].remove(child)
if show is False:
if show is False or self._printer.get_temp_store_devices() is None:
return
i = 0
for extruder in self._printer.get_tools():
self.labels[extruder + '_box'] = Gtk.Box(spacing=0)
self.labels[extruder] = Gtk.Label(label="")
# self.labels[extruder].get_style_context().add_class("printing-info")
if i <= 4:
ext_img = self._gtk.Image("extruder-%s.svg" % i, None, .4, .4)
self.labels[extruder + '_box'].pack_start(ext_img, True, 3, 3)
self.labels[extruder + '_box'].pack_start(self.labels[extruder], True, 3, 3)
i += 1
self.current_extruder = self._printer.get_stat("toolhead", "extruder")
self.control['temp_box'].pack_start(self.labels["%s_box" % self.current_extruder], True, 5, 5)
for device in self._printer.get_temp_store_devices():
self.labels[device + '_box'] = Gtk.Box(spacing=0)
self.labels[device] = Gtk.Label(label="100º")
self.labels[device].set_ellipsize(True)
self.labels[device].set_ellipsize(Pango.EllipsizeMode.START)
if device.startswith("extruder"):
if self._printer.extrudercount > 1:
if device == "extruder":
ext_img = self._gtk.Image("extruder-0.svg", None, .5, .5)
else:
ext_img = self._gtk.Image("extruder-%s.svg" % device[8:], None, .5, .5)
else:
ext_img = self._gtk.Image("extruder.svg", None, .5, .5)
self.labels[device + '_box'].pack_start(ext_img, True, True, 3)
elif device.startswith("heater_bed"):
bed_img = self._gtk.Image("bed.svg", None, .5, .5)
self.labels[device + '_box'].pack_start(bed_img, True, True, 3)
elif device.startswith("temperature_fan"):
fan_img = self._gtk.Image("fan.svg", None, .5, .5)
self.labels[device + '_box'].pack_start(fan_img, True, True, 3)
else:
temp_img = self._gtk.Image("heat-up.svg", None, .5, .5)
self.labels[device + '_box'].pack_start(temp_img, True, True, 3)
self.labels[device + '_box'].pack_start(self.labels[device], True, True, 0)
if self._screen.width <= 480:
nlimit = 3
elif self._screen.width <= 800:
nlimit = 4
else:
nlimit = 5
n = 0
if self._printer.get_tools():
self.current_extruder = self._printer.get_stat("toolhead", "extruder")
self.control['temp_box'].pack_start(self.labels["%s_box" % self.current_extruder], True, True, 3)
n += 1
if self._printer.has_heated_bed():
heater_bed = self._gtk.Image("bed.svg", None, .4, .4)
self.labels['heater_bed'] = Gtk.Label(label="20 C")
# self.labels['heater_bed'].get_style_context().add_class("printing-info")
heater_bed_box = Gtk.Box(spacing=0)
heater_bed_box.pack_start(heater_bed, True, 5, 5)
heater_bed_box.pack_start(self.labels['heater_bed'], True, 3, 3)
self.control['temp_box'].pack_end(heater_bed_box, True, 3, 3)
self.control['temp_box'].pack_start(self.labels['heater_bed_box'], True, True, 3)
n += 1
# Options in the config have priority
printer_cfg = self._config.get_printer_config(self._screen.connected_printer)
if printer_cfg is not None:
titlebar_items = printer_cfg.get("titlebar_items", "")
if titlebar_items is not None:
titlebar_items = [str(i.strip()) for i in titlebar_items.split(',')]
logging.info("Titlebar items: %s", titlebar_items)
self.titlebar_name_type = printer_cfg.get("titlebar_name_type", None)
logging.info("Titlebar name type: %s", self.titlebar_name_type)
for device in self._printer.get_temp_store_devices():
# Users can fill the bar if they want
if n >= nlimit + 1:
break
if not (device.startswith("extruder") or device.startswith("heater_bed")):
name = device.split(" ")[1:][0]
else:
name = device
for item in titlebar_items:
if name == item:
self.control['temp_box'].pack_start(self.labels["%s_box" % device], True, True, 3)
n += 1
break
# If there is enough space fill with heater_generic
for device in self._printer.get_temp_store_devices():
if n >= nlimit:
break
if device.startswith("heater_generic"):
self.control['temp_box'].pack_start(self.labels["%s_box" % device], True, True, 3)
n += 1
def activate(self):
size = self.control['time_box'].get_allocation().width
self.layout.remove(self.control['time_box'])
self.control['time_box'].set_size_request(size, self.title_spacing)
self.layout.put(self.control['time_box'], self._screen.width - size - 5, 0)
GLib.timeout_add_seconds(1, self.update_time)
self.update_time()
if self.time_update is None:
self.time_update = GLib.timeout_add_seconds(1, self.update_time)
def add_content(self, panel):
self.current_panel = panel
@@ -180,17 +245,24 @@ class BasePanel(ScreenPanel):
if action != "notify_status_update" or self._printer is None:
return
if self._printer.has_heated_bed():
self.labels["heater_bed"].set_label(
"%02d°" % round(self._printer.get_dev_stat("heater_bed", "temperature")))
for x in self._printer.get_tools():
self.labels[x].set_label("%02d°" % round(self._printer.get_dev_stat(x, "temperature")))
devices = self._printer.get_temp_store_devices()
if devices is not None:
for device in devices:
name = ""
if not (device.startswith("extruder") or device.startswith("heater_bed")):
if self.titlebar_name_type == "full":
name = device.split(" ")[1:][0].capitalize().replace("_", " ") + ": "
elif self.titlebar_name_type == "short":
name = device.split(" ")[1:][0][:1].upper() + ": "
self.labels[device].set_label("%s%d°" % (name,
round(self._printer.get_dev_stat(device, "temperature"))))
if "toolhead" in data and "extruder" in data["toolhead"]:
if data["toolhead"]["extruder"] != self.current_extruder:
self.control['temp_box'].remove(self.labels["%s_box" % self.current_extruder])
self.current_extruder = data["toolhead"]["extruder"]
self.control['temp_box'].pack_start(self.labels["%s_box" % self.current_extruder], True, 3, 3)
self.control['temp_box'].pack_start(self.labels["%s_box" % self.current_extruder], True, True, 3)
self.control['temp_box'].reorder_child(self.labels["%s_box" % self.current_extruder], 0)
self.control['temp_box'].show_all()
@@ -201,13 +273,21 @@ class BasePanel(ScreenPanel):
if show is True and self.buttons_showing['back'] is False:
self.control_grid.remove(self.control_grid.get_child_at(0, 0))
self.control_grid.attach(self.control['back'], 0, 0, 1, 1)
self.control_grid.remove(self.control_grid.get_child_at(0, 1))
self.control_grid.attach(self.control['home'], 0, 1, 1, 1)
if self._screen.vertical_mode:
self.control_grid.remove(self.control_grid.get_child_at(1, 0))
self.control_grid.attach(self.control['home'], 1, 0, 1, 1)
else:
self.control_grid.remove(self.control_grid.get_child_at(0, 1))
self.control_grid.attach(self.control['home'], 0, 1, 1, 1)
self.buttons_showing['back'] = True
elif show is False and self.buttons_showing['back'] is True:
for i in range(0, 2):
self.control_grid.remove(self.control_grid.get_child_at(0, i))
self.control_grid.attach(self.control['space%s' % i], 0, i, 1, 1)
if self._screen.vertical_mode:
self.control_grid.remove(self.control_grid.get_child_at(i, 0))
self.control_grid.attach(self.control['space%s' % i], i, 0, 1, 1)
else:
self.control_grid.remove(self.control_grid.get_child_at(0, i))
self.control_grid.attach(self.control['space%s' % i], 0, i, 1, 1)
self.buttons_showing['back'] = False
self.control_grid.show()
@@ -217,26 +297,46 @@ class BasePanel(ScreenPanel):
if show is True and self.buttons_showing['macros_shortcut'] is False:
if len(self._config.get_printers()) > 1 and mod_row is True:
self.control_grid.insert_row(self.locations['macro_shortcut'])
if self._screen.vertical_mode:
self.control_grid.insert_column(self.locations['macro_shortcut'])
else:
self.control_grid.insert_row(self.locations['macro_shortcut'])
else:
self.control_grid.remove(self.control_grid.get_child_at(0, self.locations['macro_shortcut']))
if self._screen.vertical_mode:
self.control_grid.remove(self.control_grid.get_child_at(self.locations['macro_shortcut'], 0))
else:
self.control_grid.remove(self.control_grid.get_child_at(0, self.locations['macro_shortcut']))
if 'space%s' % self.locations['macro_shortcut'] in self.control:
self.control_grid.remove(self.control['space%s' % self.locations['macro_shortcut']])
self.control_grid.attach(self.control['macro_shortcut'], 0, self.locations['macro_shortcut'], 1, 1)
if self._screen.vertical_mode:
self.control_grid.attach(self.control['macro_shortcut'], self.locations['macro_shortcut'], 0, 1, 1)
else:
self.control_grid.attach(self.control['macro_shortcut'], 0, self.locations['macro_shortcut'], 1, 1)
self.buttons_showing['macros_shortcut'] = True
elif show is not True and self.buttons_showing['macros_shortcut'] is True:
if ('space%s' % self.locations['macro_shortcut']) not in self.control:
self.control['space%s' % self.locations['macro_shortcut']] = Gtk.Label("")
if len(self._config.get_printers()) > 1 and mod_row is True:
self.control_grid.remove(self.control_grid.get_child_at(0, self.locations['macro_shortcut']))
if self._screen.vertical_mode:
self.control_grid.remove(self.control_grid.get_child_at(self.locations['macro_shortcut'], 0))
self.control_grid.remove_column(self.locations['macro_shortcut'])
else:
self.control_grid.remove(self.control_grid.get_child_at(0, self.locations['macro_shortcut']))
self.control_grid.remove_row(self.locations['macro_shortcut'])
self.control_grid.remove(self.control['macro_shortcut'])
self.control_grid.remove_row(self.locations['macro_shortcut'])
else:
self.control_grid.remove(self.control_grid.get_child_at(0, self.locations['macro_shortcut']))
if self._screen.vertical_mode:
self.control_grid.remove(self.control_grid.get_child_at(self.locations['macro_shortcut'], 0))
else:
self.control_grid.remove(self.control_grid.get_child_at(0, self.locations['macro_shortcut']))
if ('space%s' % self.locations['macro_shortcut']) not in self.control:
self.control['space%s' % self.locations['macro_shortcut']] = Gtk.Label("")
self.control_grid.attach(self.control['space%s' % self.locations['macro_shortcut']],
0, self.locations['macro_shortcut'], 1, 1)
if self._screen.vertical_mode:
self.control_grid.attach(self.control['space%s' % self.locations['macro_shortcut']],
self.locations['macro_shortcut'], 0, 1, 1)
else:
self.control_grid.attach(self.control['space%s' % self.locations['macro_shortcut']],
0, self.locations['macro_shortcut'], 1, 1)
self.buttons_showing['macros_shortcut'] = False
self._screen.show_all()
@@ -246,14 +346,24 @@ class BasePanel(ScreenPanel):
if show and self.buttons_showing['printer_select'] is False:
logging.info("Turning on printer_select button")
self.control_grid.remove(self.control_grid.get_child_at(0, self.locations['printer_select']))
self.control_grid.attach(self.control['printer_select'], 0, self.locations['printer_select'], 1, 1)
if self._screen.vertical_mode:
self.control_grid.remove(self.control_grid.get_child_at(self.locations['printer_select'], 0))
self.control_grid.attach(self.control['printer_select'], self.locations['printer_select'], 0, 1, 1)
else:
self.control_grid.remove(self.control_grid.get_child_at(0, self.locations['printer_select']))
self.control_grid.attach(self.control['printer_select'], 0, self.locations['printer_select'], 1, 1)
self.buttons_showing['printer_select'] = True
elif show is False and self.buttons_showing['printer_select']:
logging.info("Turning off printer_select button")
self.control_grid.remove(self.control_grid.get_child_at(0, self.locations['printer_select']))
self.control_grid.attach(self.control['space%s' % self.locations['printer_select']],
0, self.locations['printer_select'], 1, 1)
if self._screen.vertical_mode:
self.control_grid.remove(self.control_grid.get_child_at(self.locations['printer_select'], 0))
self.control_grid.attach(self.control['space%s' % self.locations['printer_select']],
self.locations['printer_select'], 0, 1, 1)
else:
self.control_grid.remove(self.control_grid.get_child_at(0, self.locations['printer_select']))
self.control_grid.attach(self.control['space%s' % self.locations['printer_select']],
0, self.locations['printer_select'], 1, 1)
self.buttons_showing['printer_select'] = False
self._screen.show_all()
@@ -266,11 +376,14 @@ class BasePanel(ScreenPanel):
except Exception:
logging.debug("Error parsing jinja for title: %s" % title)
self.titlelbl.set_label("%s | %s" % (self._screen.connected_printer, title))
self.titlelbl.set_label("%s | %s" % (self._screen.connecting_to_printer, title))
def show_back_buttons(self):
self.control_grid.attach(self.control['back'], 0, 0, 1, 1)
self.control_grid.attach(self.control['home'], 0, 1, 1, 1)
if self._screen.vertical_mode:
self.control_grid.attach(self.control['home'], 1, 0, 1, 1)
else:
self.control_grid.attach(self.control['home'], 0, 1, 1, 1)
def update_time(self):
now = datetime.datetime.now()
+227 -66
View File
@@ -3,7 +3,7 @@ import logging
import re
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Gdk, GLib
from gi.repository import Gtk
from ks_includes.KlippyGcodes import KlippyGcodes
from ks_includes.screen_panel import ScreenPanel
@@ -20,7 +20,6 @@ class BedLevelPanel(ScreenPanel):
self.panel_name = panel_name
self.screws = None
grid = self._gtk.HomogeneousGrid()
self.disabled_motors = False
screws = []
config_section_name = None
@@ -41,29 +40,11 @@ class BedLevelPanel(ScreenPanel):
])
screws = sorted(screws, key=lambda x: (float(x[1]), float(x[0])))
logging.debug("Bed screw locations [x,y]: %s", screws)
if ("bltouch" in self._screen.printer.get_config_section_list() and
config_section_name == "screws_tilt_adjust"):
x_offset = 0
y_offset = 0
bltouch = self._screen.printer.get_config_section("bltouch")
if "x_offset" in bltouch:
self.x_offset = float(bltouch['x_offset'])
if "y_offset" in bltouch:
self.y_offset = float(bltouch['y_offset'])
new_screws = []
for screw in screws:
new_screws.append([
round(float(screw[0]) + self.x_offset, 2),
round(float(screw[1]) + self.y_offset, 2)
])
screws = new_screws
self.screws = screws
logging.debug("Screws: %s" % screws)
if len(screws) < 4:
logging.debug("bed_screws not configured, calculating locations")
supported = [4, 6, 8]
nscrews = len(screws)
if nscrews not in supported:
logging.debug("%d bed_screws not supported: calculating 4 locations", nscrews)
xconf = self._screen.printer.get_config_section("stepper_x")
yconf = self._screen.printer.get_config_section("stepper_y")
x = int(int(xconf['position_max'])/4)
@@ -74,55 +55,220 @@ class BedLevelPanel(ScreenPanel):
[x, y*3],
[x*3, y*3],
]
logging.debug("Calculated screw locations [x,y]: %s", screws)
else:
logging.debug("Configured screw locations [x,y]: %s", screws)
self.screws = screws
if (("bltouch" in self._screen.printer.get_config_section_list() or
"probe" in self._screen.printer.get_config_section_list()) and
config_section_name == "screws_tilt_adjust"):
if "bltouch" in self._screen.printer.get_config_section_list():
bltouch = self._screen.printer.get_config_section("bltouch")
if "x_offset" in bltouch:
self.x_offset = float(bltouch['x_offset'])
if "y_offset" in bltouch:
self.y_offset = float(bltouch['y_offset'])
logging.debug("Bltouch found substracted offset X: %.0f Y: %.0f", self.x_offset, self.y_offset)
self._screen.show_popup_message(_("Bltouch found applied offset"), level=1)
elif "probe" in self._screen.printer.get_config_section_list():
probe = self._screen.printer.get_config_section("probe")
if "x_offset" in probe:
self.x_offset = float(probe['x_offset'])
if "y_offset" in probe:
self.y_offset = float(probe['y_offset'])
logging.debug("Probe found substracting offset X: %.0f Y: %.0f", self.x_offset, self.y_offset)
self._screen.show_popup_message(_("Probe found applied offset"), level=1)
new_screws = []
for screw in self.screws:
new_screws.append([
self.apply_offset(screw[0], self.x_offset),
self.apply_offset(screw[1], self.y_offset)
])
self.screws = new_screws
self.labels['bl'] = self._gtk.ButtonImage("bed-level-t-l", None, None, 3, 3)
self.labels['bl'].connect("clicked", self.go_to_position, self.screws[2])
self.labels['br'] = self._gtk.ButtonImage("bed-level-t-r", None, None, 3, 3)
self.labels['br'].connect("clicked", self.go_to_position, self.screws[3])
self.labels['fl'] = self._gtk.ButtonImage("bed-level-b-l", None, None, 3, 3)
self.labels['fl'].connect("clicked", self.go_to_position, self.screws[0])
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])
# get dimensions
self.x_cnt = len(list(dict.fromkeys([int(x[0]) for x in self.screws])))
self.y_cnt = len(list(dict.fromkeys([int(x[1]) for x in self.screws])))
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)
min_x = min(dict(self.screws).keys())
max_x = max(dict(self.screws).keys())
min_y = min(dict(self.screws[::-1]).values())
max_y = max(dict(self.screws).values())
fl = [min_x, min_y]
bl = [min_x, max_y]
br = [max_x, max_y]
fr = [max_x, min_y]
if self.x_cnt == 3:
mid_x = [x for x in list(zip(*self.screws))[0] if x not in (min_x, max_x)][0]
fm = [mid_x, min_y]
bm = [mid_x, max_y]
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)
fm = bm = None
if self.y_cnt == 3:
mid_y = [y for y in list(zip(*self.screws))[1] if y not in (min_y, max_y)][0]
lm = [min_x, mid_y]
rm = [max_x, mid_y]
else:
lm = rm = None
self.labels['home'] = self._gtk.ButtonImage("home", _("Home All"), "color2")
self.labels['home'].connect("clicked", self.home)
logging.debug("Using %d-screw locations [x,y] [%dx%d]", len(self.screws), self.x_cnt, self.y_cnt)
self.labels['bl'] = self._gtk.ButtonImage("bed-level-t-l", None, None, 2.5, 2.5)
self.labels['br'] = self._gtk.ButtonImage("bed-level-t-r", None, None, 2.5, 2.5)
self.labels['fl'] = self._gtk.ButtonImage("bed-level-b-l", None, None, 2.5, 2.5)
self.labels['fr'] = self._gtk.ButtonImage("bed-level-b-r", None, None, 2.5, 2.5)
self.labels['lm'] = self._gtk.ButtonImage("bed-level-l-m", None, None, 2.5, 2.5)
self.labels['rm'] = self._gtk.ButtonImage("bed-level-r-m", None, None, 2.5, 2.5)
self.labels['fm'] = self._gtk.ButtonImage("bed-level-b-m", None, None, 2.5, 2.5)
self.labels['bm'] = self._gtk.ButtonImage("bed-level-t-m", None, None, 2.5, 2.5)
bedgrid = Gtk.Grid()
bedgrid.attach(self.labels['bl'], 1, 0, 1, 1)
bedgrid.attach(self.labels['fl'], 1, 2, 1, 1)
bedgrid.attach(self.labels['fr'], 3, 2, 1, 1)
bedgrid.attach(self.labels['br'], 3, 0, 1, 1)
rotation = 0
if 'bed_screws' in self._config.get_config():
rotation = self._config.get_config()['bed_screws'].getint("rotation", 0)
logging.debug("Rotation: %d", rotation)
if rotation == 90:
# fl lm bl
# fm bm
# fr rm br
if self.y_cnt == 3:
bedgrid.attach(self.labels['bm'], 2, 0, 1, 1)
bedgrid.attach(self.labels['fm'], 2, 2, 1, 1)
if self.x_cnt == 3:
bedgrid.attach(self.labels['lm'], 1, 1, 1, 1)
bedgrid.attach(self.labels['rm'], 3, 1, 1, 1)
self.labels['bl'].connect("clicked", self.go_to_position, fl)
self.labels['bm'].connect("clicked", self.go_to_position, lm)
self.labels['br'].connect("clicked", self.go_to_position, bl)
self.labels['rm'].connect("clicked", self.go_to_position, bm)
self.labels['fr'].connect("clicked", self.go_to_position, br)
self.labels['fm'].connect("clicked", self.go_to_position, rm)
self.labels['fl'].connect("clicked", self.go_to_position, fr)
self.labels['lm'].connect("clicked", self.go_to_position, fm)
self.screw_dict = {
'bl': fl,
'bm': lm,
'br': bl,
'rm': bm,
'fr': br,
'fm': rm,
'fl': fr,
'lm': fm
}
elif rotation == 180:
# fr fm fl
# rm lm
# br bm bl
if self.x_cnt == 3:
bedgrid.attach(self.labels['bm'], 2, 0, 1, 1)
bedgrid.attach(self.labels['fm'], 2, 2, 1, 1)
if self.y_cnt == 3:
bedgrid.attach(self.labels['lm'], 1, 1, 1, 1)
bedgrid.attach(self.labels['rm'], 3, 1, 1, 1)
self.labels['bl'].connect("clicked", self.go_to_position, fr)
self.labels['bm'].connect("clicked", self.go_to_position, fm)
self.labels['br'].connect("clicked", self.go_to_position, fl)
self.labels['rm'].connect("clicked", self.go_to_position, lm)
self.labels['fr'].connect("clicked", self.go_to_position, bl)
self.labels['fm'].connect("clicked", self.go_to_position, bm)
self.labels['fl'].connect("clicked", self.go_to_position, br)
self.labels['lm'].connect("clicked", self.go_to_position, rm)
self.screw_dict = {
'bl': fr,
'bm': fm,
'br': fl,
'rm': lm,
'fr': bl,
'fm': bm,
'fl': br,
'lm': rm
}
elif rotation == 270:
# br rm fr
# bm fm
# bl lm fl
if self.y_cnt == 3:
bedgrid.attach(self.labels['bm'], 2, 0, 1, 1)
bedgrid.attach(self.labels['fm'], 2, 2, 1, 1)
if self.x_cnt == 3:
bedgrid.attach(self.labels['lm'], 1, 1, 1, 1)
bedgrid.attach(self.labels['rm'], 3, 1, 1, 1)
self.labels['bl'].connect("clicked", self.go_to_position, br)
self.labels['bm'].connect("clicked", self.go_to_position, rm)
self.labels['br'].connect("clicked", self.go_to_position, fr)
self.labels['rm'].connect("clicked", self.go_to_position, fm)
self.labels['fr'].connect("clicked", self.go_to_position, fl)
self.labels['fm'].connect("clicked", self.go_to_position, lm)
self.labels['fl'].connect("clicked", self.go_to_position, bl)
self.labels['lm'].connect("clicked", self.go_to_position, bm)
self.screw_dict = {
'bl': br,
'bm': rm,
'br': fr,
'rm': fm,
'fr': fl,
'fm': lm,
'fl': bl,
'lm': bm
}
else:
# bl bm br
# lm rm
# fl fm fr
self.labels['bl'].connect("clicked", self.go_to_position, bl)
self.labels['bm'].connect("clicked", self.go_to_position, bm)
self.labels['br'].connect("clicked", self.go_to_position, br)
self.labels['rm'].connect("clicked", self.go_to_position, rm)
self.labels['fr'].connect("clicked", self.go_to_position, fr)
self.labels['fm'].connect("clicked", self.go_to_position, fm)
self.labels['fl'].connect("clicked", self.go_to_position, fl)
self.labels['lm'].connect("clicked", self.go_to_position, lm)
self.screw_dict = {
'bl': bl,
'bm': bm,
'br': br,
'rm': rm,
'fr': fr,
'fm': fm,
'fl': fl,
'lm': lm
}
if self.x_cnt == 3:
bedgrid.attach(self.labels['bm'], 2, 0, 1, 1)
bedgrid.attach(self.labels['fm'], 2, 2, 1, 1)
if self.y_cnt == 3:
bedgrid.attach(self.labels['lm'], 1, 1, 1, 1)
bedgrid.attach(self.labels['rm'], 3, 1, 1, 1)
grid.attach(bedgrid, 1, 0, 3, 2)
self.labels['dm'] = self._gtk.ButtonImage("motor-off", _("Disable XY"), "color3")
self.labels['dm'].connect("clicked", self.disable_motors)
grid.attach(self.labels['home'], 0, 0, 1, 1)
grid.attach(self.labels['dm'], 0, 1, 1, 1)
grid.attach(self.labels['dm'], 0, 0, 1, 1)
if self._printer.config_section_exists("screws_tilt_adjust"):
self.labels['screws'] = self._gtk.ButtonImage("refresh", _("Screws Adjust"), "color4")
self.labels['screws'].connect("clicked", self.screws_tilt_calculate)
grid.attach(self.labels['screws'], 3, 0, 1, 1)
grid.attach(self.labels['screws'], 0, 1, 1, 1)
self.content.add(grid)
def activate(self):
self.labels['bl'].set_label("")
self.labels['br'].set_label("")
self.labels['fl'].set_label("")
self.labels['fr'].set_label("")
self.labels['screws'].set_sensitive(True)
for key, value in self.screw_dict.items():
self.labels[key].set_label(str(value))
if self._printer.config_section_exists("screws_tilt_adjust"):
self.labels['screws'].set_sensitive(True)
def go_to_position(self, widget, position):
if self._screen.printer.get_stat("toolhead", "homed_axes") != "xyz":
self._screen._ws.klippy.gcode_script(KlippyGcodes.HOME)
logging.debug("Going to position: %s", position)
script = [
"%s" % KlippyGcodes.MOVE_ABSOLUTE,
@@ -131,10 +277,6 @@ class BedLevelPanel(ScreenPanel):
"G1 Z.1 F300\n"
]
if self.disabled_motors:
self.disabled_motors = False
script.insert(0, "G28")
self._screen._ws.klippy.gcode_script(
"\n".join(script)
)
@@ -145,29 +287,48 @@ class BedLevelPanel(ScreenPanel):
)
def process_update(self, action, data):
_ = self.lang.gettext
if action == "notify_gcode_response":
if data.startswith('!!'):
self.response_count = 0
self.labels['screws'].set_sensitive(True)
return
result = re.match(
"^// (.*) : [xX= ]+([\\-0-9\\.]+), [yY= ]+([\\-0-9\\.]+), [zZ= ]+[\\-0-9\\.]+ :" +
" (Adjust ->|adjust) ([CW]+ [0-9:]+)",
data
)
if result:
screw_labels = ['fl', 'fr', 'bl', 'br']
x = int(float(result.group(2)) + self.x_offset)
y = int(float(result.group(3)) + self.y_offset)
logging.debug(data)
logging.debug("X: %s Y: %s" % (x, y))
for i in range(len(self.screws)):
logging.debug(self.screws[i])
if x == int(float(self.screws[i][0])) and y == int(float(self.screws[i][1])):
x = self.apply_offset(result.group(2), self.x_offset)
y = self.apply_offset(result.group(3), self.y_offset)
for key, value in self.screw_dict.items():
if value and x == value[0] and y == value[1]:
logging.debug("X: %s Y: %s Adjust: %s Pos: %s" % (x, y, result.group(5), key))
self.labels[key].set_label(result.group(5))
break
self.labels[screw_labels[i]].set_label(result.group(5))
self.response_count += 1
if self.response_count >= len(self.screws)-1:
self.labels['screws'].set_sensitive(True)
else:
result = re.match(
"^// (.*) : [xX= ]+([\\-0-9\\.]+), [yY= ]+([\\-0-9\\.]+), [zZ= ]+[\\-0-9\\.]",
data
)
if result and re.search('base', result.group(1)):
x = self.apply_offset(result.group(2), self.x_offset)
y = self.apply_offset(result.group(3), self.y_offset)
logging.debug("X: %s Y: %s is the reference" % (x, y))
for key, value in self.screw_dict.items():
if value and x == value[0] and y == value[1]:
logging.debug("X: %s Y: %s Pos: %s" % (x, y, key))
self.labels[key].set_label(_("Reference"))
def apply_offset(self, pos, offset):
return max(0, int(float(pos) - offset))
def screws_tilt_calculate(self, widget):
if self._screen.printer.get_stat("toolhead", "homed_axes") != "xyz":
self._screen._ws.klippy.gcode_script(KlippyGcodes.HOME)
self.response_count = 0
self.labels['screws'].set_sensitive(False)
self._screen._ws.klippy.gcode_script("SCREWS_TILT_CALCULATE")
+14 -6
View File
@@ -3,13 +3,13 @@ import logging
import numpy as np
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Gdk, GLib, Pango
from gi.repository import Gdk, Gtk, Pango
import matplotlib.pyplot as plt
from matplotlib import cm
from matplotlib import rc
from mpl_toolkits.mplot3d import Axes3D
from matplotlib.backends.backend_gtk3cairo import FigureCanvasGTK3Cairo as FigureCanvas
from matplotlib.backends.backend_gtk3agg import FigureCanvasGTK3Agg as FigureCanvas
from matplotlib.ticker import LinearLocator
from ks_includes.KlippyGcodes import KlippyGcodes
@@ -30,6 +30,8 @@ class BedMeshPanel(ScreenPanel):
scroll = Gtk.ScrolledWindow()
scroll.set_property("overlay-scrolling", False)
scroll.set_vexpand(True)
scroll.add_events(Gdk.EventMask.TOUCH_MASK)
scroll.add_events(Gdk.EventMask.BUTTON_PRESS_MASK)
# Create a grid for all profiles
self.labels['profiles'] = Gtk.Grid()
@@ -67,7 +69,7 @@ class BedMeshPanel(ScreenPanel):
def activate_mesh(self, profile):
if profile == "":
profile = None
profile = "default"
logging.debug("Activating profile: %s %s" % (self.active_mesh, profile))
if profile != self.active_mesh:
@@ -88,7 +90,6 @@ class BedMeshPanel(ScreenPanel):
_ = self.lang.gettext
frame = Gtk.Frame()
frame.set_property("shadow-type", Gtk.ShadowType.NONE)
name = Gtk.Label()
name.set_markup("<big><b>%s</b></big>" % (profile))
@@ -197,10 +198,16 @@ class BedMeshPanel(ScreenPanel):
self.remove_create()
def calibrate_mesh(self, widget):
if self._screen.printer.get_stat("toolhead", "homed_axes") != "xyz":
self._screen._ws.klippy.gcode_script(KlippyGcodes.HOME)
self._screen._ws.klippy.gcode_script(
"BED_MESH_CALIBRATE"
)
if not (self._printer.config_section_exists("probe") or self._printer.config_section_exists("bltouch")):
self.menu_item_clicked(widget, "refresh", {"name": "Mesh calibrate", "panel": "zcalibrate"})
def load_meshes(self):
bm_profiles = self._screen.printer.get_config_section_list("bed_mesh ")
self.profiles = {}
@@ -274,6 +281,7 @@ class BedMeshPanel(ScreenPanel):
pl.set_hexpand(False)
entry = Gtk.Entry()
entry.set_hexpand(True)
entry.connect("activate", self.create_profile)
save = self._gtk.ButtonImage("sd", _("Save"), "color3")
save.set_hexpand(False)
@@ -342,7 +350,7 @@ class BedMeshPanel(ScreenPanel):
surf = ax.plot_surface(x, y, z, cmap=cm.coolwarm, vmin=-0.1, vmax=0.1)
chartBox = ax.get_position()
ax.set_position([chartBox.x0, chartBox.y0+0.1, chartBox.width, chartBox.height])
ax.set_position([chartBox.x0, chartBox.y0+0.1, chartBox.width*.92, chartBox.height])
ax.set_zlim(z_range[0], z_range[1])
ax.zaxis.set_major_locator(LinearLocator(5))
@@ -369,7 +377,7 @@ class BedMeshPanel(ScreenPanel):
buttons = [
{"name": _("Close"), "response": Gtk.ResponseType.CANCEL}
]
dialog = self._gtk.Dialog(self._screen, buttons, box, self._close_dialog)
self._gtk.Dialog(self._screen, buttons, box, self._close_dialog)
alloc = canvas_box.get_allocation()
canvas = FigureCanvas(fig)
+38 -14
View File
@@ -3,10 +3,9 @@ import logging
import time
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Gdk, GLib
from gi.repository import Gtk
from datetime import datetime
from ks_includes.KlippyGcodes import KlippyGcodes
from ks_includes.screen_panel import ScreenPanel
def create_panel(*args):
@@ -24,12 +23,23 @@ COLORS = {
class ConsolePanel(ScreenPanel):
def initialize(self, panel_name):
_ = self.lang.gettext
self.autoscroll = True
gcodes = self._screen._ws.send_method("server.gcode_store", {"count": 100}, self.gcode_response)
vbox = Gtk.VBox()
vbox.set_hexpand(True)
vbox.set_vexpand(True)
o1_lbl = Gtk.Label(_("Auto-scroll"))
o1_lbl.set_halign(Gtk.Align.END)
o1_switch = Gtk.Switch()
o1_switch.set_property("width-request", round(self._gtk.get_font_size()*6))
o1_switch.set_property("height-request", round(self._gtk.get_font_size()*3))
o1_switch.set_active(self.autoscroll)
o1_switch.connect("notify::active", self.set_autoscroll)
options = Gtk.HBox()
options.set_hexpand(True)
options.set_vexpand(False)
options.add(o1_lbl)
options.pack_start(o1_switch, False, 0, 5)
sw = Gtk.ScrolledWindow()
sw.set_hexpand(True)
@@ -38,7 +48,8 @@ class ConsolePanel(ScreenPanel):
tb = Gtk.TextBuffer()
tv = Gtk.TextView()
tv.set_buffer(tb)
tv.set_sensitive(False)
tv.set_editable(False)
tv.set_cursor_visible(False)
tv.connect("size-allocate", self._autoscroll)
sw.add(tv)
@@ -51,13 +62,16 @@ class ConsolePanel(ScreenPanel):
entry.set_hexpand(True)
entry.set_vexpand(False)
entry.connect("focus-in-event", self._show_keyboard)
entry.connect("focus-out-event", self._remove_keyboard)
entry.connect("activate", self._send_command)
enter = self._gtk.Button("Send")
enter = self._gtk.Button(_("Send"))
enter.set_hexpand(False)
enter.connect("clicked", self._send_command)
ebox.add(entry) # , True, 0, 0)
ebox.add(enter) # , True, 0, 0)
ebox.add(entry)
ebox.add(enter)
self.labels.update({
"entry": entry,
@@ -66,9 +80,11 @@ class ConsolePanel(ScreenPanel):
"tv": tv
})
vbox.add(sw)
vbox.pack_end(ebox, False, 0, 0)
self.content.add(vbox)
content_box = Gtk.VBox()
content_box.pack_start(options, False, 0, 0)
content_box.add(sw)
content_box.pack_end(ebox, False, 0, 0)
self.content.add(content_box)
def add_gcode(self, type, time, message):
if type == "command":
@@ -102,13 +118,21 @@ class ConsolePanel(ScreenPanel):
if action == "notify_gcode_response":
self.add_gcode("response", time.time(), data)
def set_autoscroll(self, *args):
self.autoscroll ^= True
logging.debug(self.autoscroll)
def _autoscroll(self, *args):
adj = self.labels['sw'].get_vadjustment()
adj.set_value(adj.get_upper() - adj.get_page_size())
if self.autoscroll:
adj = self.labels['sw'].get_vadjustment()
adj.set_value(adj.get_upper() - adj.get_page_size())
def _show_keyboard(self, *args):
self._screen.show_keyboard()
def _remove_keyboard(self, *args):
self._screen.remove_keyboard()
def _send_command(self, *args):
cmd = self.labels['entry'].get_text()
self.labels['entry'].set_text('')
+1 -3
View File
@@ -1,10 +1,8 @@
import gi
import logging
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Gdk, GLib
from gi.repository import Gtk
from ks_includes.KlippyGcodes import KlippyGcodes
from ks_includes.screen_panel import ScreenPanel
def create_panel(*args):
+51 -27
View File
@@ -2,7 +2,7 @@ import gi
import logging
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Gdk, GLib
from gi.repository import Gtk
from ks_includes.KlippyGcodes import KlippyGcodes
from ks_includes.screen_panel import ScreenPanel
@@ -24,23 +24,18 @@ class ExtrudePanel(ScreenPanel):
grid = Gtk.Grid()
i = 0
self.current_extruder = self._printer.get_stat("toolhead", "extruder")
for extruder in self._printer.get_tools():
self.labels[extruder] = self._gtk.ButtonImage("extruder-%s" % i, _("Tool") + " %s" % str(i))
self.labels[extruder].connect("clicked", self.change_extruder, extruder)
if extruder == self.current_extruder:
self.labels[extruder].get_style_context().add_class("button_active")
if i <= 3:
grid.attach(self.labels[extruder], i, 0, 1, 1)
i += 1
self.labels['extrude'] = self._gtk.ButtonImage("extrude", _("Extrude"), "color4")
self.labels['extrude'].connect("clicked", self.extrude, "+")
self.labels['load'] = self._gtk.ButtonImage("arrow-down", _("Load"), "color3")
self.labels['load'].connect("clicked", self.load_unload, "+")
self.labels['unload'] = self._gtk.ButtonImage("arrow-up", _("Unload"), "color2")
self.labels['unload'].connect("clicked", self.load_unload, "-")
if not self.load_filament:
self.labels['load'] = self._gtk.ButtonImage("arrow-down", _("Load"))
else:
self.labels['load'] = self._gtk.ButtonImage("arrow-down", _("Load"), "color3")
self.labels['load'].connect("clicked", self.load_unload, "+", self.load_filament)
if not self.unload_filament:
self.labels['unload'] = self._gtk.ButtonImage("arrow-up", _("Unload"))
else:
self.labels['unload'] = self._gtk.ButtonImage("arrow-up", _("Unload"), "color2")
self.labels['unload'].connect("clicked", self.load_unload, "-", self.unload_filament)
self.labels['retract'] = self._gtk.ButtonImage("retract", _("Retract"), "color1")
self.labels['retract'].connect("clicked", self.extrude, "-")
self.labels['temperature'] = self._gtk.ButtonImage("heat-up", _("Temperature"), "color4")
@@ -49,14 +44,33 @@ class ExtrudePanel(ScreenPanel):
"panel": "temperature"
})
if i < 4:
grid.attach(self.labels['temperature'], 3, 0, 1, 1)
grid.attach(self.labels['extrude'], 0, 1, 1, 1)
if self.load_filament:
extgrid = self._gtk.HomogeneousGrid()
self.current_extruder = self._printer.get_stat("toolhead", "extruder")
for i, extruder in enumerate(self._printer.get_tools()):
if self._printer.extrudercount > 1:
self.labels[extruder] = self._gtk.ButtonImage("extruder-%s" % i, _("Tool") + " %s" % str(i))
else:
self.labels[extruder] = self._gtk.ButtonImage("extruder", _("Tool"))
self.labels[extruder].connect("clicked", self.change_extruder, extruder)
if extruder == self.current_extruder:
self.labels[extruder].get_style_context().add_class("button_active")
if i < 5:
extgrid.attach(self.labels[extruder], i, 0, 1, 1)
if i < 3:
extgrid.attach(self.labels['temperature'], i+1, 0, 1, 1)
grid.attach(extgrid, 0, 0, 4, 1)
if self._screen.vertical_mode:
grid.attach(self.labels['extrude'], 0, 1, 2, 1)
grid.attach(self.labels['retract'], 2, 1, 2, 1)
grid.attach(self.labels['load'], 0, 2, 2, 1)
grid.attach(self.labels['unload'], 2, 2, 2, 1)
else:
grid.attach(self.labels['extrude'], 0, 1, 1, 1)
grid.attach(self.labels['load'], 1, 1, 1, 1)
if self.unload_filament:
grid.attach(self.labels['unload'], 2, 1, 1, 1)
grid.attach(self.labels['retract'], 3, 1, 1, 1)
grid.attach(self.labels['retract'], 3, 1, 1, 1)
distgrid = Gtk.Grid()
j = 0
@@ -108,8 +122,12 @@ class ExtrudePanel(ScreenPanel):
speedbox.add(speedgrid)
grid.set_column_homogeneous(True)
grid.attach(distbox, 0, 2, 2, 1)
grid.attach(speedbox, 2, 2, 2, 1)
if self._screen.vertical_mode:
grid.attach(distbox, 0, 3, 4, 1)
grid.attach(speedbox, 0, 4, 4, 1)
else:
grid.attach(distbox, 0, 2, 2, 1)
grid.attach(speedbox, 2, 2, 2, 1)
self.content.add(grid)
@@ -175,11 +193,17 @@ class ExtrudePanel(ScreenPanel):
self._screen._ws.klippy.gcode_script(KlippyGcodes.EXTRUDE_REL)
self._screen._ws.klippy.gcode_script(KlippyGcodes.extrude(dist, speed))
def load_unload(self, widget, dir):
def load_unload(self, widget, dir, found):
if dir == "-":
self._screen._ws.klippy.gcode_script("UNLOAD_FILAMENT")
if not found:
self._screen.show_popup_message("Macro UNLOAD_FILAMENT not found")
else:
self._screen._ws.klippy.gcode_script("UNLOAD_FILAMENT SPEED=" + str(int(self.speed) * 60))
if dir == "+":
self._screen._ws.klippy.gcode_script("LOAD_FILAMENT")
if not found:
self._screen.show_popup_message("Macro LOAD_FILAMENT not found")
else:
self._screen._ws.klippy.gcode_script("LOAD_FILAMENT SPEED=" + str(int(self.speed) * 60))
def find_gcode_macros(self):
macros = self._screen.printer.get_gcode_macros()
+17 -9
View File
@@ -24,6 +24,8 @@ class FanPanel(ScreenPanel):
scroll = Gtk.ScrolledWindow()
scroll.set_property("overlay-scrolling", False)
scroll.set_vexpand(True)
scroll.add_events(Gdk.EventMask.TOUCH_MASK)
scroll.add_events(Gdk.EventMask.BUTTON_PRESS_MASK)
# Create a grid for all devices
self.labels['devices'] = Gtk.Grid()
@@ -44,7 +46,7 @@ class FanPanel(ScreenPanel):
for fan in self.devices:
if fan in data and "speed" in data[fan]:
self.update_fan_speed(fan, data[fan]["speed"])
self.update_fan_speed(fan, self._printer.get_fan_speed(fan, data[fan]["speed"]))
def update_fan_speed(self, fan, speed):
if fan not in self.devices:
@@ -55,7 +57,7 @@ class FanPanel(ScreenPanel):
self.fan_speed[fan] = round(float(speed) * 100)
self.devices[fan]['scale'].disconnect_by_func(self.set_fan_speed)
self.devices[fan]['scale'].set_value(self.fan_speed[fan])
self.devices[fan]['scale'].connect("value-changed", self.set_fan_speed, fan)
self.devices[fan]['scale'].connect("button-release-event", self.set_fan_speed, fan)
else:
self.fan_speed[fan] = float(speed)
self.devices[fan]['scale'].set_fraction(self.fan_speed[fan])
@@ -69,13 +71,9 @@ class FanPanel(ScreenPanel):
break
frame = Gtk.Frame()
frame.set_property("shadow-type", Gtk.ShadowType.NONE)
frame.get_style_context().add_class("frame-item")
try:
self.fan_speed[fan] = float(self._printer.get_data()[fan]["speed"])
except Exception:
self.fan_speed[fan] = 0
self.fan_speed[fan] = float(self._printer.get_fan_speed(fan))
name = Gtk.Label()
if fan == "fan":
@@ -99,7 +97,7 @@ class FanPanel(ScreenPanel):
scale.set_hexpand(True)
scale.set_has_origin(True)
scale.get_style_context().add_class("fan_slider")
scale.connect("value-changed", self.set_fan_speed, fan)
scale.connect("button-release-event", self.set_fan_speed, fan)
else:
scale = Gtk.ProgressBar()
scale.set_fraction(self.fan_speed[fan])
@@ -139,9 +137,13 @@ class FanPanel(ScreenPanel):
def load_fans(self):
fans = self._printer.get_fans()
for fan in fans:
# Support for hiding devices by name
name = " ".join(fan.split(" ")[1:]) if not (fan == "fan") else fan
if name.startswith("_"):
continue
self.add_fan(fan)
def set_fan_speed(self, widget, fan):
def set_fan_speed(self, widget, event, fan):
value = self.devices[fan]['scale'].get_value()
if fan == "fan":
@@ -149,3 +151,9 @@ class FanPanel(ScreenPanel):
else:
f = " ".join(fan.split(" ")[1:])
self._screen._ws.klippy.gcode_script("SET_FAN_SPEED FAN=%s SPEED=%s" % (f, float(value)/100))
# Check the speed in case it wasn't applied
GLib.timeout_add_seconds(1, self.check_fan_speed, fan)
def check_fan_speed(self, fan):
self.update_fan_speed(fan, self._printer.get_fan_speed(fan))
return False
+92 -70
View File
@@ -3,7 +3,7 @@ import logging
import re
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Gdk, GLib
from gi.repository import Gtk
from ks_includes.KlippyGcodes import KlippyGcodes
from ks_includes.screen_panel import ScreenPanel
@@ -19,16 +19,12 @@ class FineTunePanel(ScreenPanel):
bs_deltas = ["0.01", "0.05"]
percent_delta = 1
percent_deltas = ['1', '5', '10', '25']
fan = 100
extrusion = 0
speed = 0
extrusion = 100
speed = 100
def initialize(self, panel_name):
_ = self.lang.gettext
grid = self._gtk.HomogeneousGrid()
grid.set_row_homogeneous(False)
logging.debug("FineTunePanel")
print_cfg = self._config.get_printer_config(self._screen.connected_printer)
@@ -42,39 +38,6 @@ class FineTunePanel(ScreenPanel):
self.bs_deltas = [bs[0], bs[-1]]
self.bs_delta = self.bs_deltas[0]
self.labels['z+'] = self._gtk.ButtonImage("z-farther", _("Z+"), "color1")
self.labels['z+'].connect("clicked", self.change_babystepping, "+")
self.labels['zoffset'] = Gtk.Label("0.00" + _("mm"))
self.labels['zoffset'].get_style_context().add_class('temperature_entry')
self.labels['z-'] = self._gtk.ButtonImage("z-closer", _("Z-"), "color1")
self.labels['z-'].connect("clicked", self.change_babystepping, "-")
grid.attach(self.labels['z+'], 0, 0, 1, 1)
grid.attach(self.labels['zoffset'], 0, 1, 1, 1)
grid.attach(self.labels['z-'], 0, 2, 1, 1)
self.labels['speed+'] = self._gtk.ButtonImage("speed+", _("Speed +"), "color3")
self.labels['speed+'].connect("clicked", self.change_speed, "+")
self.labels['speedfactor'] = Gtk.Label("100%")
self.labels['speedfactor'].get_style_context().add_class('temperature_entry')
self.labels['speed-'] = self._gtk.ButtonImage("speed-", _("Speed -"), "color3")
self.labels['speed-'].connect("clicked", self.change_speed, "-")
grid.attach(self.labels['speed+'], 1, 0, 1, 1)
grid.attach(self.labels['speedfactor'], 1, 1, 1, 1)
grid.attach(self.labels['speed-'], 1, 2, 1, 1)
self.labels['extrude+'] = self._gtk.ButtonImage("flow+", _("Extrusion +"), "color4")
self.labels['extrude+'].connect("clicked", self.change_extrusion, "+")
self.labels['extrudefactor'] = Gtk.Label("100%")
self.labels['extrudefactor'].get_style_context().add_class('temperature_entry')
self.labels['extrude-'] = self._gtk.ButtonImage("flow-", _("Extrusion -"), "color4")
self.labels['extrude-'].connect("clicked", self.change_extrusion, "-")
grid.attach(self.labels['extrude+'], 2, 0, 1, 1)
grid.attach(self.labels['extrudefactor'], 2, 1, 1, 1)
grid.attach(self.labels['extrude-'], 2, 2, 1, 1)
# babystepping grid
bsgrid = Gtk.Grid()
j = 0
@@ -92,7 +55,6 @@ class FineTunePanel(ScreenPanel):
ctx.add_class("distbutton_active")
bsgrid.attach(self.labels[i], j, 0, 1, 1)
j += 1
grid.attach(bsgrid, 0, 3, 1, 1)
# Grid for percentage
deltgrid = Gtk.Grid()
@@ -114,9 +76,74 @@ class FineTunePanel(ScreenPanel):
self.labels["1"].set_active(True)
grid.attach(deltgrid, 1, 3, 2, 1)
grid = self._gtk.HomogeneousGrid()
grid.set_row_homogeneous(False)
if self._screen.vertical_mode:
self.labels['z+'] = self._gtk.ButtonImage("z-farther", _("Z+"), "color1")
self.labels['z-'] = self._gtk.ButtonImage("z-closer", _("Z-"), "color1")
self.labels['zoffset'] = self._gtk.ButtonImage("refresh", " 0.00" + _("mm"),
"color1", .6, .6, Gtk.PositionType.LEFT, False)
self.labels['speed+'] = self._gtk.ButtonImage("speed+", _("Speed +"), "color3")
self.labels['speed-'] = self._gtk.ButtonImage("speed-", _("Speed -"), "color3")
self.labels['speedfactor'] = self._gtk.ButtonImage("refresh", " 100%",
"color3", .6, .6, Gtk.PositionType.LEFT, False)
self.labels['extrude+'] = self._gtk.ButtonImage("flow+", _("Extrusion +"), "color4")
self.labels['extrude-'] = self._gtk.ButtonImage("flow-", _("Extrusion -"), "color4")
self.labels['extrudefactor'] = self._gtk.ButtonImage("refresh", " 100%",
"color4", .6, .6, Gtk.PositionType.LEFT, False)
grid.attach(self.labels['z+'], 0, 0, 1, 1)
grid.attach(self.labels['z-'], 1, 0, 1, 1)
grid.attach(self.labels['zoffset'], 2, 0, 1, 1)
grid.attach(bsgrid, 0, 1, 3, 1)
grid.attach(self.labels['speed-'], 0, 2, 1, 1)
grid.attach(self.labels['speed+'], 1, 2, 1, 1)
grid.attach(self.labels['speedfactor'], 2, 2, 1, 1)
grid.attach(self.labels['extrude-'], 0, 3, 1, 1)
grid.attach(self.labels['extrude+'], 1, 3, 1, 1)
grid.attach(self.labels['extrudefactor'], 2, 3, 1, 1)
grid.attach(deltgrid, 0, 4, 3, 1)
else:
self.labels['z+'] = self._gtk.ButtonImage("z-farther", _("Z+"), "color1")
self.labels['zoffset'] = self._gtk.ButtonImage("refresh", " 0.00" + _("mm"),
"color1", .6, .6, Gtk.PositionType.LEFT, False)
self.labels['z-'] = self._gtk.ButtonImage("z-closer", _("Z-"), "color1")
self.labels['speed+'] = self._gtk.ButtonImage("speed+", _("Speed +"), "color3")
self.labels['speedfactor'] = self._gtk.ButtonImage("refresh", " 100%",
"color3", .6, .6, Gtk.PositionType.LEFT, False)
self.labels['speed-'] = self._gtk.ButtonImage("speed-", _("Speed -"), "color3")
self.labels['extrude+'] = self._gtk.ButtonImage("flow+", _("Extrusion +"), "color4")
self.labels['extrudefactor'] = self._gtk.ButtonImage("refresh", " 100%",
"color4", .6, .6, Gtk.PositionType.LEFT, False)
self.labels['extrude-'] = self._gtk.ButtonImage("flow-", _("Extrusion -"), "color4")
grid.attach(self.labels['zoffset'], 0, 0, 1, 1)
grid.attach(self.labels['z+'], 0, 1, 1, 1)
grid.attach(self.labels['z-'], 0, 2, 1, 1)
grid.attach(bsgrid, 0, 3, 1, 1)
grid.attach(self.labels['speedfactor'], 1, 0, 1, 1)
grid.attach(self.labels['speed+'], 1, 1, 1, 1)
grid.attach(self.labels['speed-'], 1, 2, 1, 1)
grid.attach(self.labels['extrudefactor'], 2, 0, 1, 1)
grid.attach(self.labels['extrude+'], 2, 1, 1, 1)
grid.attach(self.labels['extrude-'], 2, 2, 1, 1)
grid.attach(deltgrid, 1, 3, 2, 1)
self.labels['z+'].connect("clicked", self.change_babystepping, "+")
self.labels['zoffset'].connect("clicked", self.change_babystepping, "reset")
self.labels['z-'].connect("clicked", self.change_babystepping, "-")
self.labels['speed+'].connect("clicked", self.change_speed, "+")
self.labels['speedfactor'].connect("clicked", self.change_speed, "reset")
self.labels['speed-'].connect("clicked", self.change_speed, "-")
self.labels['extrude+'].connect("clicked", self.change_extrusion, "+")
self.labels['extrudefactor'].connect("clicked", self.change_extrusion, "reset")
self.labels['extrude-'].connect("clicked", self.change_extrusion, "-")
# self.panel = grid
self.content.add(grid)
def process_update(self, action, data):
@@ -127,24 +154,28 @@ class FineTunePanel(ScreenPanel):
if "gcode_move" in data:
if "homing_origin" in data["gcode_move"]:
self.labels['zoffset'].set_text("%.2fmm" % data["gcode_move"]["homing_origin"][2])
self.labels['zoffset'].set_label(" %.2fmm" % data["gcode_move"]["homing_origin"][2])
if "extrude_factor" in data["gcode_move"]:
self.extrusion = int(data["gcode_move"]["extrude_factor"]*100)
self.labels['extrudefactor'].set_text("%3d%%" % self.extrusion)
self.extrusion = int(round(data["gcode_move"]["extrude_factor"]*100))
self.labels['extrudefactor'].set_label(" %3d%%" % self.extrusion)
if "speed_factor" in data["gcode_move"]:
self.speed = int(data["gcode_move"]["speed_factor"]*100)
self.labels['speedfactor'].set_text("%3d%%" % self.speed)
self.speed = int(round(data["gcode_move"]["speed_factor"]*100))
self.labels['speedfactor'].set_label(" %3d%%" % self.speed)
def change_babystepping(self, widget, dir):
if self._screen.printer.get_stat("toolhead", "homed_axes") != "xyz":
self._screen.show_popup_message("Must home first")
return
if dir == "+":
gcode = "SET_GCODE_OFFSET Z_ADJUST=%s MOVE=1" % self.bs_delta
else:
elif dir == "-":
gcode = "SET_GCODE_OFFSET Z_ADJUST=-%s MOVE=1" % self.bs_delta
elif dir == "reset":
gcode = "SET_GCODE_OFFSET Z=0 MOVE=1"
self._screen._ws.klippy.gcode_script(gcode)
def change_bs_delta(self, widget, bs):
if self.bs_delta == bs:
return
@@ -164,35 +195,26 @@ class FineTunePanel(ScreenPanel):
def change_extrusion(self, widget, dir):
if dir == "+":
self.extrusion += int(self.percent_delta)
else:
elif dir == "-":
self.extrusion -= int(self.percent_delta)
elif dir == "reset":
self.extrusion = 100
if self.extrusion < 0:
self.extrusion = 0
if self.extrusion < 1:
self.extrusion = 1
self._screen._ws.klippy.gcode_script(KlippyGcodes.set_extrusion_rate(self.extrusion))
def change_fan(self, widget, dir):
if dir == "+":
self.fan += int(self.percent_delta)
else:
self.fan -= int(self.percent_delta)
if self.fan < 0:
self.fan = 0
elif self.fan > 100:
self.fan = 100
self._screen._ws.klippy.gcode_script(KlippyGcodes.set_fan_speed(self.fan))
def change_speed(self, widget, dir):
if dir == "+":
self.speed += int(self.percent_delta)
else:
elif dir == "-":
self.speed -= int(self.percent_delta)
elif dir == "reset":
self.speed = 100
if self.speed < 0:
self.speed = 0
if self.speed < 1:
self.speed = 1
self._screen._ws.klippy.gcode_script(KlippyGcodes.set_speed_rate(self.speed))
+6 -4
View File
@@ -2,9 +2,8 @@ import gi
import logging
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Gdk, GLib, Pango
from gi.repository import Gdk, Gtk, Pango
from ks_includes.KlippyGcodes import KlippyGcodes
from ks_includes.screen_panel import ScreenPanel
def create_panel(*args):
@@ -20,6 +19,8 @@ class MacroPanel(ScreenPanel):
scroll = Gtk.ScrolledWindow()
scroll.set_property("overlay-scrolling", False)
scroll.set_vexpand(True)
scroll.add_events(Gdk.EventMask.TOUCH_MASK)
scroll.add_events(Gdk.EventMask.BUTTON_PRESS_MASK)
# Create a grid for all macros
self.labels['macros'] = Gtk.Grid()
@@ -37,9 +38,10 @@ class MacroPanel(ScreenPanel):
self.load_gcode_macros()
def add_gcode_macro(self, macro):
# Support for hiding macros by name
if macro.startswith("_"):
return
frame = Gtk.Frame()
frame.set_property("shadow-type", Gtk.ShadowType.NONE)
frame.get_style_context().add_class("frame-item")
name = Gtk.Label()
+128 -113
View File
@@ -5,7 +5,7 @@ import math
import os
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Gdk, GLib, Pango
from gi.repository import GLib, Gtk, Pango
from ks_includes.screen_panel import ScreenPanel
@@ -17,7 +17,7 @@ class JobStatusPanel(ScreenPanel):
filename = None
file_metadata = {}
progress = 0
state = "printing"
state = "standby"
def __init__(self, screen, title, back=False):
super().__init__(screen, title, False)
@@ -25,7 +25,7 @@ class JobStatusPanel(ScreenPanel):
def initialize(self, panel_name):
_ = self.lang.gettext
self.timeleft_type = "file"
self.timeout = None
self.state_timeout = None
self.close_timeouts = []
self.create_buttons()
@@ -51,6 +51,7 @@ class JobStatusPanel(ScreenPanel):
self.labels['status'].set_halign(Gtk.Align.START)
self.labels['status'].set_vexpand(False)
self.labels['status'].get_style_context().add_class("printing-status")
self.labels['status'].set_line_wrap(True)
self.labels['lcdmessage'] = Gtk.Label("")
self.labels['lcdmessage'].set_halign(Gtk.Align.START)
self.labels['lcdmessage'].set_vexpand(False)
@@ -129,14 +130,21 @@ class JobStatusPanel(ScreenPanel):
self.labels['elapsed'].get_style_context().add_class("printing-info")
self.labels['duration'] = Gtk.Label(label="0s")
self.labels['duration'].get_style_context().add_class("printing-info")
self.labels['est_time'] = Gtk.Label(label="/ 0s")
self.labels['total'] = Gtk.Label(label=_("Total:"))
self.labels['total'].get_style_context().add_class("printing-info")
self.labels['est_time'] = Gtk.Label(label="0s")
self.labels['est_time'].get_style_context().add_class("printing-info")
it_box = Gtk.Box(spacing=0)
it_box.add(clock)
it_box.add(self.labels['elapsed'])
it_box.add(self.labels['duration'])
it_box.add(self.labels['est_time'])
self.labels['it_box'] = it_box
timegrid = Gtk.Grid()
it1_box = Gtk.Box(spacing=0)
it1_box.add(self.labels['elapsed'])
it1_box.add(self.labels['duration'])
it2_box = Gtk.Box(spacing=0)
it2_box.add(self.labels['total'])
it2_box.add(self.labels['est_time'])
timegrid.attach(clock, 0, 0, 1, 2)
timegrid.attach(it1_box, 1, 0, 1, 1)
timegrid.attach(it2_box, 1, 1, 1, 1)
self.labels['timegrid'] = timegrid
position = self._gtk.Image("move.svg", None, .6, .6)
self.labels['pos_x'] = Gtk.Label(label="X: 0")
@@ -189,8 +197,12 @@ class JobStatusPanel(ScreenPanel):
self.labels['i2_box'].get_style_context().add_class("printing-info-box")
self.labels['i2_box'].set_valign(Gtk.Align.CENTER)
self.labels['info_grid'] = self._gtk.HomogeneousGrid()
self.labels['info_grid'].attach(self.labels['i1_box'], 0, 0, 2, 1)
self.labels['info_grid'].attach(self.labels['i2_box'], 2, 0, 3, 1)
if self._screen.vertical_mode:
self.labels['info_grid'].attach(self.labels['i1_box'], 0, 0, 1, 1)
self.labels['info_grid'].attach(self.labels['i2_box'], 0, 1, 1, 1)
else:
self.labels['info_grid'].attach(self.labels['i1_box'], 0, 0, 2, 1)
self.labels['info_grid'].attach(self.labels['i2_box'], 2, 0, 3, 1)
grid.attach(overlay, 0, 0, 1, 1)
grid.attach(fi_box, 1, 0, 3, 1)
@@ -221,20 +233,10 @@ class JobStatusPanel(ScreenPanel):
def activate(self):
_ = self.lang.gettext
self.progress = 0
self.enable_button("pause", "cancel", "resume")
state = "printing"
self.update_text("status", _("Printing"))
ps = self._printer.get_stat("print_stats")
logging.debug("Act State: %s" % ps['state'])
self.set_state(ps['state'])
self.show_buttons_for_state()
if self.timeout is None:
GLib.timeout_add(500, self.state_check)
if self.state_timeout is None:
self.state_timeout = GLib.timeout_add_seconds(1, self.state_check)
def add_labels(self):
for child in self.labels['i1_box'].get_children():
@@ -246,7 +248,7 @@ class JobStatusPanel(ScreenPanel):
self.labels['i2_box'].add(self.labels['temp_grid'])
self.labels['i2_box'].add(self.labels['pos_box'])
self.labels['i2_box'].add(self.labels['sfe_grid'])
self.labels['i2_box'].add(self.labels['it_box'])
self.labels['i2_box'].add(self.labels['timegrid'])
self.labels['i2_box'].add(self.labels['itl_box'])
@@ -271,12 +273,7 @@ class JobStatusPanel(ScreenPanel):
def restart(self, widget):
if self.filename != "none":
self._screen._ws.klippy.print_start(self.filename)
for to in self.close_timeouts:
GLib.source_remove(to)
self.close_timeouts.remove(to)
if self.timeout is None:
self.timeout = GLib.timeout_add(500, self.state_check)
self.new_print()
def resume(self, widget):
self._screen._ws.klippy.print_resume(self._response_callback, "enable_button", "pause", "cancel")
@@ -303,7 +300,7 @@ class JobStatusPanel(ScreenPanel):
label.set_line_wrap(True)
label.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
dialog = self._gtk.Dialog(self._screen, buttons, label, self.cancel_confirm)
self._gtk.Dialog(self._screen, buttons, label, self.cancel_confirm)
self.disable_button("pause", "cancel")
def cancel_confirm(self, widget, response_id):
@@ -314,6 +311,7 @@ class JobStatusPanel(ScreenPanel):
return
logging.debug("Canceling print")
self.set_state("cancelling")
self.disable_button("pause", "resume", "cancel")
self._screen._ws.klippy.print_cancel(self._response_callback)
@@ -323,13 +321,17 @@ class JobStatusPanel(ScreenPanel):
def close_panel(self, widget=None):
logging.debug("Closing job_status panel")
self.remove_close_timeout()
self.state_check()
if self.state not in ["printing", "paused"]:
self._screen.printer_ready()
return False
def remove_close_timeout(self):
for to in self.close_timeouts:
GLib.source_remove(to)
self.close_timeouts.remove(to)
self._screen.printer_ready()
return False
def enable_button(self, *args):
for arg in args:
self.labels[arg].set_sensitive(True)
@@ -344,14 +346,11 @@ class JobStatusPanel(ScreenPanel):
self._files.remove_file_callback(self._callback_metadata)
def new_print(self):
if self.state in ["cancelled", "cancelling", "complete", "error"]:
for to in self.close_timeouts:
GLib.source_remove(to)
self.close_timeouts.remove(to)
if self.timeout is None:
GLib.timeout_add(500, self.state_check)
self._screen.wake_screen()
self.state_check()
self.remove_close_timeout()
if self.state_timeout is None:
self.state_timeout = GLib.timeout_add_seconds(1, self.state_check)
self._screen.wake_screen()
self.state_check()
def process_update(self, action, data):
if action == "notify_gcode_response":
@@ -359,6 +358,8 @@ class JobStatusPanel(ScreenPanel):
self.set_state("cancelling")
elif "action:paused" in data:
self.set_state("paused")
elif "action:resumed" in data:
self.set_state("printing")
return
elif action != "notify_status_update":
return
@@ -378,16 +379,7 @@ class JobStatusPanel(ScreenPanel):
)
ps = self._printer.get_stat("print_stats")
vsd = self._printer.get_stat("virtual_sdcard")
if 'display_status' in data and 'message' in data['display_status']:
self.update_message()
if "print_stats" in data and "filename" in data['print_stats']:
if data['print_stats']['filename'] != self.filename and (
self.state not in ["cancelling", "cancelled", "complete"]):
logging.debug("filename: '%s' '%s' status: %s" %
(self.filename, data['print_stats']['filename'], self.state))
self.update_filename()
self.update_message()
if "toolhead" in data:
if "extruder" in data["toolhead"]:
@@ -397,55 +389,90 @@ class JobStatusPanel(ScreenPanel):
self.current_extruder = data["toolhead"]["extruder"]
self.labels['temp_grid'].attach(self.labels[self.current_extruder + '_box'], 0, 0, 1, 1)
self._screen.show_all()
if "position" in data["toolhead"]:
self.labels['pos_x'].set_text("X: %.2f" % (data["toolhead"]["position"][0]))
self.labels['pos_y'].set_text("Y: %.2f" % (data["toolhead"]["position"][1]))
if "gcode_move" in data and "gcode_position" in data["gcode_move"]:
self.labels['pos_x'].set_text("X: %.2f" % (data["gcode_move"]["gcode_position"][0]))
self.labels['pos_y'].set_text("Y: %.2f" % (data["gcode_move"]["gcode_position"][1]))
self.labels['pos_z'].set_text("Z: %.2f" % (data["gcode_move"]["gcode_position"][2]))
if "gcode_move" in data:
if "extrude_factor" in data["gcode_move"]:
self.extrusion = int(data["gcode_move"]["extrude_factor"]*100)
self.extrusion = int(round(data["gcode_move"]["extrude_factor"]*100))
self.labels['extrusion'].set_text("%3d%%" % self.extrusion)
if "speed_factor" in data["gcode_move"]:
self.speed = int(data["gcode_move"]["speed_factor"]*100)
self.speed = int(round(data["gcode_move"]["speed_factor"]*100))
self.labels['speed'].set_text("%3d%%" % self.speed)
if "fan" in data and "speed" in data['fan']:
self.fan = int(round(data['fan']['speed'], 2)*100)
self.fan = int(round(self._printer.get_fan_speed("fan", data['fan']['speed']), 2)*100)
self.labels['fan'].set_text("%3d%%" % self.fan)
if self.state in ["cancelling", "cancelled", "complete", "error"]:
self.state_check()
if self.state not in ["printing", "paused"]:
return
self.update_percent_complete()
if ps['filename'] and (ps['filename'] != self.filename):
logging.debug("Changing filename: '%s' to '%s'" % (self.filename, ps['filename']))
self.update_filename()
else:
self.update_percent_complete()
self.update_text("duration", str(self._gtk.formatTimeString(ps['print_duration'])))
self.update_text("time_left", self.calculate_time_left(ps['print_duration'], ps['filament_used']))
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
def calculate_time_left(self, duration=0, filament_used=0):
total_duration = None
if self.progress < 1:
slicer_time = filament_time = file_time = None
timeleft_type = self._config.get_config()['main'].get('print_estimate_method', 'auto')
slicer_correction = (self._config.get_config()['main'].getint('print_estimate_compensation', 100) / 100)
# speed_factor compensation based on empirical testing
spdcomp = math.sqrt(self.speed / 100)
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_text("est_time", "/ %s" % str(self._gtk.formatTimeString(total_duration)))
if "estimated_time" in self.file_metadata:
if self.file_metadata['estimated_time'] > 0:
slicer_time = (self.file_metadata['estimated_time'] * slicer_correction) / spdcomp
if slicer_time < duration:
slicer_time = None
if "filament_total" in self.file_metadata:
if self.file_metadata['filament_total'] > 0 and filament_used > 0:
if self.file_metadata['filament_total'] > filament_used:
filament_time = duration / (filament_used / self.file_metadata['filament_total'])
if filament_time < duration:
filament_time = None
if self.progress > 0:
file_time = duration / self.progress
if timeleft_type == "file" and file_time is not None:
total_duration = file_time
elif timeleft_type == "filament" and filament_time is not None:
total_duration = filament_time
elif slicer_time is not None:
if timeleft_type == "slicer":
total_duration = slicer_time
else:
if filament_time is not None and self.progress > 0.14:
# Weighted arithmetic mean (Slicer is the most accurate)
total_duration = (slicer_time * 3 + filament_time + file_time) / 5
else:
# At the begining file and filament are innacurate
total_duration = slicer_time
elif file_time is not None:
if filament_time is not None:
total_duration = (filament_time + file_time) / 2
else:
total_duration = file_time
if total_duration is None:
return "-"
self.update_text("est_time", str(self._gtk.formatTimeString(total_duration)))
return str(self._gtk.formatTimeString((total_duration - duration)))
def state_check(self):
ps = self._printer.get_stat("print_stats")
if ps['state'] == self.state:
return True
_ = self.lang.gettext
@@ -454,65 +481,58 @@ class JobStatusPanel(ScreenPanel):
if self.state == "cancelling":
return True
self.set_state("printing")
self.update_filename()
elif ps['state'] == "complete":
self.progress = 1
self.update_progress()
self.set_state("complete")
self._screen.wake_screen()
self.remove_close_timeout()
timeout = self._config.get_main_config().getint("job_complete_timeout", 30)
if timeout != 0:
self.close_timeouts.append(GLib.timeout_add(timeout * 1000, self.close_panel))
self.close_timeouts.append(GLib.timeout_add_seconds(timeout, self.close_panel))
return False
elif ps['state'] == "error":
logging.debug("Error!")
self.set_state("error")
self.labels['status'].set_text("%s - %s" % (_("Error"), ps['message']))
self._screen.wake_screen()
self.remove_close_timeout()
timeout = self._config.get_main_config().getint("job_error_timeout", 0)
if timeout != 0:
self.close_timeouts.append(GLib.timeout_add(timeout * 1000, self.close_panel))
self.close_timeouts.append(GLib.timeout_add_seconds(timeout, self.close_panel))
return False
elif ps['state'] == "cancelled" or ps['state'] == "standby":
elif ps['state'] == "cancelled":
# Print was cancelled
self.set_state("cancelled")
self._screen.wake_screen()
self.remove_close_timeout()
timeout = self._config.get_main_config().getint("job_cancelled_timeout", 0)
if timeout != 0:
self.close_timeouts.append(GLib.timeout_add(timeout * 1000, self.close_panel))
self.close_timeouts.append(GLib.timeout_add_seconds(timeout, self.close_panel))
return False
elif ps['state'] == "paused":
self.set_state("paused")
# TODO: Remove this in the future
if self.filename != ps['filename']:
if ps['filename'] != "":
self.filename = ps['filename']
self.file_metadata = {}
self.update_text("file", self.filename.split("/")[-1])
else:
file = "Unknown"
self.update_text("file", "Unknown file")
elif ps['state'] == "standby":
self.set_state("standby")
return True
def set_state(self, state):
_ = self.lang.gettext
if self.state == state:
return
logging.debug("Changing job_status state from '%s' to '%s'" % (self.state, state))
self.state = state
if self.state != state:
logging.debug("Changing job_status state from '%s' to '%s'" % (self.state, state))
if state == "paused":
self.update_text("status", _("Paused"))
elif state == "printing":
self.update_text("status", _("Printing"))
elif state == "cancelling":
self.update_text("status", _("Cancelling"))
elif state == "cancelled":
elif state == "cancelled" or (state == "standby" and self.state == "cancelling"):
self.update_text("status", _("Cancelled"))
elif state == "complete":
self.update_text("status", _("Complete"))
self.state = state
self.show_buttons_for_state()
@@ -531,12 +551,7 @@ class JobStatusPanel(ScreenPanel):
self.labels['button_grid'].attach(self.labels['fine_tune'], 2, 0, 1, 1)
self.labels['button_grid'].attach(self.labels['control'], 3, 0, 1, 1)
self.enable_button("resume", "cancel")
elif self.state == "cancelling":
self.labels['button_grid'].attach(Gtk.Label(""), 0, 0, 1, 1)
self.labels['button_grid'].attach(Gtk.Label(""), 1, 0, 1, 1)
self.labels['button_grid'].attach(self.labels['restart'], 2, 0, 1, 1)
self.labels['button_grid'].attach(self.labels['menu'], 3, 0, 1, 1)
elif self.state == "error" or self.state == "complete" or self.state == "cancelled":
else:
self.labels['button_grid'].attach(Gtk.Label(""), 0, 0, 1, 1)
self.labels['button_grid'].attach(Gtk.Label(""), 1, 0, 1, 1)
self.labels['button_grid'].attach(self.labels['restart'], 2, 0, 1, 1)
@@ -560,7 +575,7 @@ class JobStatusPanel(ScreenPanel):
self.file_metadata = self._files.get_file_info(self.filename)
logging.info("Update Metadata. File: %s Size: %s" % (self.filename, self.file_metadata['size']))
if "estimated_time" in self.file_metadata and self.timeleft_type == "slicer":
self.update_text("est_time", "/ %s" %
self.update_text("est_time",
str(self._gtk.formatTimeString(self.file_metadata['estimated_time'])))
if "thumbnails" in self.file_metadata:
tmp = self.file_metadata['thumbnails'].copy()
@@ -577,7 +592,7 @@ class JobStatusPanel(ScreenPanel):
self.labels[label]['l'].set_text(text)
def update_percent_complete(self):
if self.state in ["cancelling", "cancelled", "complete", "error"]:
if self.state not in ["printing", "paused"]:
return
if "gcode_start_byte" in self.file_metadata:
@@ -586,7 +601,6 @@ class JobStatusPanel(ScreenPanel):
self.file_metadata['gcode_start_byte']))
else:
progress = self._printer.get_stat('virtual_sdcard', 'progress')
progress = round(progress, 2)
if progress != self.progress:
self.progress = progress
@@ -602,7 +616,8 @@ class JobStatusPanel(ScreenPanel):
def update_message(self):
msg = self._printer.get_stat("display_status", "message")
self.labels['lcdmessage'].set_text("" if msg is None else msg)
if type(msg) == str:
self.labels['lcdmessage'].set_text(msg)
def update_temp(self, x, temp, target):
self.labels[x].set_markup(
Loaded 100 of 183 files, more files were not shown because too many files have changed in this diff. Show more