Compare commits

...
344 Commits
Author SHA1 Message Date
alfrix 8af5c0b2d4 Trace memory 2023-03-24 08:12:19 -06:00
alfrix da9f970231 print: refactors 2023-03-22 06:51:34 -06:00
alfrix 3417765223 job_status: fix panel not showing and not updating thumbnails
safeguard against thumbnail corruption or other errors fixes #893
better system to update name and thumbnails fixes #889
2023-03-19 05:55:30 -06:00
alfrix b963c55140 job_status: fix save endstop not working fixes #929 2023-03-17 07:50:50 -06:00
alfrix 2d8419ca13 fix desktop icon not appearing 2023-03-17 07:50:50 -06:00
Jookiaandalfrix 5f3827a2cb screen: Only switch layouts if the window has been majorly resized (#913)
* screen: Only switch layouts if the window has been majorly resized

Changing the layout can cause the window to resize on some systems.
This can create a feedback loop on systems with square displays.

Keep track of the vertical aspect ratio associated with the current
mode and only switch between vertical and horizontal mode when a
significant aspect ratio change has been detected.

* fixup

---------

Co-authored-by: alfrix <alfredomonclus@gmail.com>
2023-03-17 07:49:28 -06:00
alfrix d6f7bdcfe6 macros: use the new get_macro instead of get_config due to recent issues 2023-03-11 16:53:08 -06:00
alfrix 87c3f03719 fix issues caused by dfe1ac8d
fix #924
fix #923
2023-03-11 16:40:06 -06:00
Alfredo Monclus 094b90cf86 network: integrate networkmanager (#917)
fixes #881
this should be temporary until an implementation of sdbus-networkmanager
2023-03-11 07:43:10 -06:00
alfrixandAndriy 3220f084ec Update Ukranian close #914
Re-done due to merge conflicts

Co-authored-by: Andriy <40995038+komandrik@users.noreply.github.com>
2023-03-10 20:29:18 -06:00
alfrix dfe1ac8d2c macros: fix list not loading when there are extra spaces fixes #909 2023-03-10 20:03:28 -06:00
alfrix be473bf626 bed_level: fix auto-detect when there is no config file fixes #918 2023-03-10 06:43:02 -06:00
alfrix b353f8526e timeout requests to prevent locking 2023-03-09 07:32:46 -06:00
alfrix 122752b000 leakfix 2023-03-09 07:32:46 -06:00
alfrix 0f0c6f9b6e always maintain printers data, should avoid a bunch of issues 2023-03-09 07:32:46 -06:00
alfrix 18af1d1410 bed_level: add center screw close #863 2023-03-08 06:36:54 -06:00
alfrix 926d78de01 bed_level: remove screws only if in list and simplify detection fixes #910 2023-03-08 06:11:23 -06:00
alfrix a5b639fba2 bed_level: fix compatibility with python 3.7 2023-03-03 08:12:41 -06:00
Alfredo Monclusandczaky 55af0d753c bed_level: improve screw detection (#908)
* Use max_distance for fitting screws to buttons

The max distance is at most 1/3 of the diagonal,
depending on how many screws are there in horizontal or
vertical orientation.

This is a safe guard to prevent assigning screws to buttons
that would confuse the users, for very skewed screw configs.

use a smaller button scale fixes #891

Co-authored-by: alfrix <alfredomonclus@gmail.com>

Co-authored-by: czaky <jendrzej.w@lczak.net>
2023-03-01 07:41:43 -06:00
alfrix d6693fbecc make the menu icon non-mandatory
this was caused by #866
fixes #902
2023-02-20 07:57:45 -06:00
alfrix e426b06b8b lint fix 2023-02-13 21:10:53 -06:00
alfrix c722674918 fix popup word wrap 2023-02-13 21:08:21 -06:00
Geoffrey Young 3d7e92f507 add ability to style and template menu buttons (#866)
* add ability to select button style for menu items

* allow for jinja template rendering for (nearly) all menu options
this shuffles params json checks to display time instead of config time
2023-02-13 21:06:33 -06:00
Thijs Triemstra fc7b8c5304 fix typos (#897) 2023-02-13 21:05:48 -06:00
alfrix a6bb0fd02e zcalibrate: fix dialog loop, fix popup errors not showing at end #844 2023-02-06 18:27:35 -06:00
dependabot[bot] dcb6d18709 build(deps): bump websocket-client from 1.5.0 to 1.5.1 (#888)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.5.0 to 1.5.1.
- [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.5.0...v1.5.1)

---
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>
2023-02-06 16:35:20 -06:00
alfrix 69571c88b8 fix german keyboard issue caused by #886 2023-02-05 22:32:07 -06:00
Cyril Guislain c33b5d6311 Fix German Keyboard and Add French Keyboard (#886) 2023-02-05 21:47:11 -06:00
alfrix 49add980b3 theme: add light icon to material-dark fix:#884 2023-02-05 10:24:58 -06:00
dependabot[bot] 8d8d3bf9af build(deps): bump requests from 2.28.1 to 2.28.2 (#868)
Bumps [requests](https://github.com/psf/requests) from 2.28.1 to 2.28.2.
- [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.28.1...v2.28.2)

---
updated-dependencies:
- dependency-name: requests
  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>
2023-02-05 10:20:24 -06:00
alfrix 059f1a8026 update docs screenshot 2023-01-29 15:49:41 -06:00
alfrix eeffdd26dd mask modemmanager close #857 2023-01-29 15:49:41 -06:00
camerony 5de5e1e3eb Update on-screen keyboard.py (#874) 2023-01-29 09:54:53 -06:00
dependabot[bot] 485c82c53f build(deps): bump websocket-client from 1.4.2 to 1.5.0 (#877)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.4.2 to 1.5.0.
- [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.4.2...v1.5.0)

---
updated-dependencies:
- dependency-name: websocket-client
  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>
2023-01-29 09:43:04 -06:00
camerony 4e60f65404 network: fix button size, and update ipv4 address on network change (#879) 2023-01-29 09:42:49 -06:00
camerony 85cec193f9 Fix Changing wifi networks hangs 2023-01-29 09:40:45 -06:00
alfrix 34055277e0 Add czech and update ru .mo 2023-01-29 09:34:29 -06:00
AleksandrBukin 9b4c58369e Update Ru (#871)
line 626: "Show Heater Power" in RU "Показать мощность нагрева"
2023-01-29 09:16:18 -06:00
AntoszHUN b96adf55ed Update Hungarian Language (#848) 2022-12-13 20:04:48 -03:00
Alex Hornung f6afb4d4ab install: Fix Xwrapper.config existence test (#846) 2022-12-13 20:04:08 -03:00
alfrix 3c5449f0db job_status: cast float to zoffset 2022-12-12 19:53:34 -03:00
alfrix c828d8349c camera: fix for busters old libmpv fixes #840 2022-12-12 08:12:52 -03:00
alfrix 9fa047eb8b camera: fix libmpv-dev not installing fixes #842 2022-12-12 08:00:38 -03:00
alfrix 82b8cbcca5 zcalibrate: fix initial zhop causing issues for some machines fixes #837 2022-12-12 01:42:30 -03:00
alfrix 1f5a090bfd camera: always fullscreen, fix inverted vo logic, fixes #839 2022-12-12 01:25:36 -03:00
alfrix e4d5cd65ce fix a couple of errors that may happen if klipper fails to start or takes too long 2022-12-11 19:22:45 -03:00
alfrix 502d9699bd fix actions not appearing in printers without name after last commit fix #838 2022-12-11 15:25:28 -03:00
alfrix d2d2c82041 feat: camera support, using mpv as backend
it should be able to play any video or stream that mpv itself can handle

close #67 close #129
2022-12-11 09:20:06 -03:00
alfrix 1375c823c9 job_status: clear_file after error 2022-12-11 09:20:06 -03:00
alfrix 74338a7f3e splash: fix power_device appearing if configured in ks.conf but not available in the server 2022-12-11 09:20:06 -03:00
alfrix 778cd84ba8 panels do not call screen.show_all 2022-12-11 09:17:18 -03:00
alfrix a83f499c0c rename graph to heatergraph 2022-12-11 09:17:18 -03:00
alfrix 70d7564a78 shorten _screen.printer to _printer 2022-12-11 09:17:18 -03:00
alfrix f31ae7a829 hide popups from panel initialization
ideally the initialization should not contain this commands but at the moment klipper nor moonraker provide a way to identify the required status
2022-12-11 09:17:18 -03:00
alfrix 701ff35652 installer: if pip fails upgrade and retry once 2022-12-11 09:17:18 -03:00
alfrix 7120c424d4 gtk: resizability
doesn't rescale the fonts or images
2022-12-11 09:17:18 -03:00
alfrix 413e822fa5 screen: separate matchbox-keyboard 2022-12-11 09:17:18 -03:00
alfrix 75c716f9a1 screen: convert state execute into a function since it doesn't depend on self 2022-12-11 09:17:18 -03:00
alfrix 41a8ebf084 print: add move/rename, make delete a visible button close #636 2022-12-11 09:17:18 -03:00
Selim 57ce346d69 Turkish language update (#836) 2022-12-11 08:35:58 -03:00
alfrix 753be13a0c exclude: fix list not showing 2022-12-05 14:29:58 -03:00
alfrix 06bf269862 feat: turn on_off power devices with the screensaver close #518 2022-12-05 12:31:44 -03:00
alfrix 45e1f652db theme override style of disabled_un-sensitive buttons 2022-12-05 12:31:44 -03:00
alfrix 6a95e46a18 websocket increase reconnect time
moonraker takes around 5 seconds to restart on a pi3 so 6 seconds tends to be too close

moonraker takes at least this amount to restart on a pi3
2022-12-05 12:09:58 -03:00
alfrix 250574bc41 bedmap: limit probed position display to 16x8 2022-12-05 09:07:28 -03:00
alfrix f49e1ef6c4 main and temp simplify get temps 2022-12-04 22:33:43 -03:00
alfrix 904dd24c10 tempstore get the max length configured in moonraker 2022-12-04 13:56:33 -03:00
alfrix f52b52f76a main and temp: less tempstore dependency 2022-12-04 12:59:59 -03:00
alfrix dc5741d605 graph: autoscale time 2022-12-04 12:02:34 -03:00
alfrix 02b69d0d39 theme fix ks using dark theme on desktop 2022-12-04 11:27:12 -03:00
alfrix de252643c1 do not change the state directly from the callback because it causes double initialization issues 2022-12-04 01:08:58 -03:00
alfrix 548fc4de69 do more cleanups while changing printers 2022-12-04 01:08:58 -03:00
alfrix 72599b5ba7 moonraker tempstore takes a while to register device changes, call it again after a few seconds
with this change there should be no need to reinit on every state change, this was the cause of missing devices after init
2022-12-04 01:07:58 -03:00
alfrix c714553da1 system: log if the repo is invalid 2022-12-03 20:43:25 -03:00
alfrix 36faaa153a fix pause panel appearing after issuing a pauese while not printing fixes #832 2022-12-03 20:33:38 -03:00
alfrix 629451051d fix update dialog sometimes not appearing fixes #831 2022-12-03 20:32:14 -03:00
northcoastam fcb6861119 Fix not starting on Wayland
fix #829
2022-12-03 15:51:02 -03:00
alfrix 34a9151910 warn about dpms failures 2022-12-03 15:46:26 -03:00
alfrix 683b72ab20 simplify keyboard calls 2022-12-03 15:46:26 -03:00
alfrix e658f562be macros add parameters 2022-12-03 15:46:26 -03:00
alfrix ab4d4af7f8 tweak image size of buttons with side labes or no label 2022-12-02 20:59:01 -03:00
alfrix 4804f5a5e0 print: use am-pm if not 24h 2022-12-01 14:20:49 -03:00
alfrix 7651b892b8 print: allow directory deletion 2022-12-01 13:27:31 -03:00
alfrix 91b505bfef print: less os dependent path handling 2022-12-01 13:27:31 -03:00
alfrix 415535eeb8 tweak sizes #828 2022-11-30 23:57:34 -03:00
alfrix 8ebc855ddd improve the speed of the updates, also affects showing panels 2022-11-30 19:45:49 -03:00
alfrix efebea2c36 Update German thanks to livinhack close #826 2022-11-30 19:45:49 -03:00
alfrix 75c8681781 fix switch sizes after frames removal 2022-11-30 19:45:49 -03:00
alfrix ea4efa1f61 move improve vertical look 2022-11-30 19:30:09 -03:00
alfrix 9de058b0d7 dialogs: set title 2022-11-30 11:51:24 -03:00
alfrix 3a764be93f ws remove unused method 2022-11-30 11:00:10 -03:00
alfrix 4dceeb77b6 extrude: fix filament sensor showing status when disabled
alongside the initialization fixes this should be enough to close #825
2022-11-30 11:00:10 -03:00
alfrix 2bacac7efb job_status: info refactor
switching info is much faster, buttons keep their label
2022-11-30 11:00:10 -03:00
alfrix 79afa3620a fix error modal for job_status 2022-11-30 11:00:10 -03:00
alfrix d161c3f1e4 splash_screen: use initialized for klipper restart buttons 2022-11-30 11:00:10 -03:00
alfrix ec86403056 create attach panel 2022-11-30 11:00:10 -03:00
alfrix b1a6d5c182 improve panel initialization
just make a notify_status_update from printer data, it's much simpler
2022-11-30 11:00:10 -03:00
alfrix 61cf5828e2 console: fix sizes 2022-11-30 11:00:10 -03:00
alfrix 69a7d3defb installer: remove fbturbo always use fbdev most platforms today have issues with fbturbo 2022-11-30 11:00:10 -03:00
alfrix 3047fde812 cleanup quotes in connection status messages 2022-11-30 11:00:10 -03:00
alfrix 49c2e4f1d7 improve updater dialog behaviour 2022-11-29 01:52:47 -03:00
alfrix 68ccf5e803 job_status: hide speed unit on 480x320 2022-11-29 00:24:20 -03:00
alfrix 62ef4f1844 job_status: stabilize the grid, add object height to main, translate units 2022-11-29 00:04:05 -03:00
alfrix 3c8886ab36 Documentation updates close #821 2022-11-28 22:35:13 -03:00
alfrix d6161539a6 Update translation add japanese thanks to yhira1023 2022-11-28 11:57:12 -03:00
alfrix 25797b5ed3 remove frames from lists 2022-11-28 00:15:28 -03:00
alfrix 56149e4148 print_list: refactor 2022-11-27 23:44:25 -03:00
alfrix d0fc1e197d gtk: create a format_label function 2022-11-27 19:38:03 -03:00
alfrix 1df2d0e8f0 fix full update not opening 2022-11-27 19:38:03 -03:00
alfrix 217b185730 try to restart ks if an update fails to restart it 2022-11-27 19:38:03 -03:00
Selim db4e5d4e08 Turkish_update (#819) 2022-11-27 14:31:37 -03:00
dependabot[bot] 7a8fe9f6ac build(deps): bump pycairo from 1.21.0 to 1.22.0 (#799)
Bumps [pycairo](https://github.com/pygobject/pycairo) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/pygobject/pycairo/releases)
- [Changelog](https://github.com/pygobject/pycairo/blob/main/NEWS)
- [Commits](https://github.com/pygobject/pycairo/compare/v1.21.0...v1.22.0)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-27 14:31:00 -03:00
alfrix 741d9b654d restart ks on error, do not warn on ks restart when changing options
i don't see it necessary ks can be restarted while printing it will generate a bit of load but shouldn't be a problem, i've done it too many times at this point
2022-11-27 14:30:28 -03:00
alfrix fe06b38128 installer: add the new packages needed to build python-networkmanager to moonraker
not every platform has prebuilt bins, so it's necessary for those platforms to have this packages
2022-11-27 14:30:00 -03:00
alfrix da164b495e job_status: change slicer-filament-file times to totals 2022-11-26 23:21:07 -03:00
alfrix 26030526a9 fix move panel not opening after a61a74d7bf fixes #818 2022-11-26 23:14:31 -03:00
alfrix 17cae91708 fix bootloop with python 3.7 fixes #817 2022-11-26 19:01:12 -03:00
alfrix a61a74d7bf initialize with values some panels 2022-11-26 16:46:33 -03:00
alfrix e9df355b3b job_status: initialize some labels and use live position close #809 2022-11-26 15:57:50 -03:00
alfrix 6ae6937c49 format the connection error 2022-11-26 15:57:50 -03:00
alfrix 4f5e025de1 fix not starting due to missing translation fixes #815 2022-11-26 15:57:50 -03:00
alfrix 20346a90dc splash_screen: tweak layout sizes and remove get_allocation that can cause isssues
fixes #813

gtk: fix content_width while vertical returning 0
2022-11-26 15:57:50 -03:00
alfrix abb1f0d2d2 installer: add packages needed to build python-networkmanager
pass the req file to pip (secuential install was needed for Vext)
fixes #812

some systems don't have wheels and need compilation, the packages are needed for those cases
2022-11-26 15:57:50 -03:00
alfrix 959f7e3401 disable backspace return if keyboard is open 2022-11-26 15:57:50 -03:00
alfrix 2e39de56bd cleanup stylesheets 2022-11-26 15:57:50 -03:00
alfrix d8b4d2d293 job_status: add eta 2022-11-26 15:57:50 -03:00
alfrix cdb40e8ce1 Show the update dialog as modal 2022-11-26 15:57:50 -03:00
alfrix f8cde7bfe1 Add busy state, and disable buttons that usually take time during the state 2022-11-26 00:17:30 -03:00
alfrix 9604c159b5 fix file permissions 2022-11-25 15:50:33 -03:00
alfrix 8297f72ff4 functions: print a nicer traceback 2022-11-25 15:50:33 -03:00
alfrix b5cf73054a job_status: refactor 2022-11-25 15:50:31 -03:00
alfrix c630178f0c network: improve NetworkManager support 2022-11-24 14:57:36 -03:00
Elias Bakken db48bb8a1f Added support for network manager 2022-11-24 14:57:36 -03:00
alfrix e1f02fd870 main and temp: fix gtk warning 2022-11-24 14:57:36 -03:00
alfrix 43a2f88ad1 docs: add a general remark in supported hardware 2022-11-24 14:02:51 -03:00
alfrix e98114eaff Improve Fatal error handling an messages 2022-11-24 11:35:21 -03:00
alfrix 8834ceb3e8 fix RTL not being applied 2022-11-24 08:38:00 -03:00
alfrix 1806973ba1 fix issue with auto language detection 2022-11-23 23:01:20 -03:00
alfrix 0d87592093 Update fr 2022-11-23 14:06:58 -03:00
alfrix c0ffa41010 fix websocket not closing and sometimes looping, better fix for #806 2022-11-23 03:10:02 -03:00
alfrix 9ec4ed204e rework update_queue fixes an issue that caused to not initialize after updates 2022-11-23 01:11:59 -03:00
alfrix 9211583a15 fix issues when using multiple printers fixes #806 2022-11-22 22:27:21 -03:00
alfrix 12b9ee5344 job_status: filename tweak max chars
after the tweaks for bigger font sizes the maximum amount can be raised

TODO: investigate if a pango layout that can detect ellipzised labels is suitable to replace this method
2022-11-22 17:32:53 -03:00
alfrix 97106bc2e0 tweak print and macros topbars 2022-11-22 16:33:12 -03:00
alfrix 00bd6ac4db gtk: adjust icon sizes so they are more consistent across font sizes 2022-11-22 16:18:06 -03:00
alfrix 33fd5f9576 fix extrude speed buttons with no labels after 593d8c678b 2022-11-22 15:21:14 -03:00
alfrix c09e552e3a fix screen not turning on if using dpms due to glib timer fix #804 2022-11-22 15:16:58 -03:00
alfrix 5c7dfaf703 try to reinit after state changes 2022-11-22 15:03:46 -03:00
alfrix 593d8c678b gtk: merge buttonimage and button 2022-11-22 14:55:42 -03:00
alfrix 34fde780fc fix temp panel in vertical mode with big font getting out of screen fixes #805 2022-11-22 14:55:42 -03:00
alfrix ea33d9de0f fix printer_select not loading if there is a KS config error 2022-11-22 14:55:42 -03:00
alfrix 0b1b2f0e19 dialog removal refactor 2022-11-22 14:55:42 -03:00
alfrix 8d2f90f800 set title for internal options subpanels
the menu/subpanel system is a bit complex and hard to use
consider removing it and use individual panels of options
2022-11-22 14:55:42 -03:00
alfrix ef5f86a67d screenpanel remove unnecesary getters 2022-11-22 14:55:42 -03:00
alfrix b415eca1c8 keyboard shortcuts escape and backspace to return 2022-11-22 14:55:42 -03:00
alfrix 880f7628e4 fix f-strings with no placeholders 2022-11-22 14:55:42 -03:00
alfrix 03ab14fa64 optimize imports 2022-11-22 14:55:42 -03:00
alfrix 717575256c update translations remove some unnecesary strings use 2 letter designation unless needed 2022-11-22 14:55:42 -03:00
alfrix 0233327554 fix splash_screen reloading and limit klipper reconnects fixes #803 2022-11-22 14:55:42 -03:00
alfrix 484dbd1609 updater: show errors as popups 2022-11-22 00:55:37 -03:00
alfrix 383086e303 screen: cleanup show_panel names 2022-11-22 00:55:37 -03:00
alfrix e90dac950c config: make klipper_config a secondary location for new configs fixes #800 2022-11-22 00:55:37 -03:00
alfrix d0d79a64df base_panel: simplify action bar buttons enable-disable 2022-11-21 09:20:05 -03:00
alfrix 7b7c3838fc printer_initializing: refactor message generation and remove markup
markup caused issues with status messages
2022-11-21 09:20:05 -03:00
alfrix 818f1ab465 splash_screen: show detailed error when moonraker connection fails 2022-11-21 07:15:02 -03:00
alfrix bdd3e0ba1b Cleanups 2022-11-20 22:41:22 -03:00
alfrix f1754f1014 update translations 2022-11-20 21:00:43 -03:00
alfrix 054523d937 settings: add extra large font close #798 2022-11-20 20:58:06 -03:00
alfrix fa10b00db7 job_status: fix fan speed sometimes not updating 2022-11-20 20:58:06 -03:00
alfrix e785022e64 screen: simplify DPMS timeout 2022-11-20 20:57:46 -03:00
alfrix dbd1474d63 screen_panel: share ks_printer_cfg between panels 2022-11-20 14:17:48 -03:00
alfrix 1ca950c1fc job_status: alwasys get the value of homing_origin to set buttons fixes #795 2022-11-20 11:19:58 -03:00
alfrix c4c7e50314 printer: create get_probe to support other probe types 2022-11-20 11:07:24 -03:00
alfrix e29b41e5c3 rewrite send_request 2022-11-20 09:04:51 -03:00
alfrix fc0f153023 reorder imports 2022-11-20 07:28:05 -03:00
alfrix cebd371734 websocket: fix for when websockets-client doesnt pass the class object #796 2022-11-20 00:23:19 -03:00
alfrix 86ee1eb19f menu: the system panel should not be accesible during printing (at least not without disabling all the buttons) 2022-11-19 12:31:13 -03:00
alfrix c3c28175ca use https with port 7130 and mention the behaviour in the docs 2022-11-18 13:54:16 -03:00
Thomas Malkewitz 5d12addbba Xserver-XSDL cmd args to stop screen blanking (#794)
Added documentation to stop Xserver-XSDL from enabling its 5 minute default screen saver and blanking the screen.  In this scenario even after enabling the 'stay away' option in the debugging or developer options of the android device, the screen will still go black, but leave the back light on.  To stop this this, you must disable the Xserver screen saver option in the start up arguments of the server app itself.  I spend more than a few hours looking for and figuring this out, when this little bit of info would have saved me a lot of time.

Not sure if where I placed it is the best place in the doc, but the info is sound.  I am using my android over USB, FYI.
2022-11-18 13:38:55 -03:00
alfrix 92e899cf56 scripts: update naming and remove unused 2022-11-18 13:38:20 -03:00
mattlalumiere 6cb18816e2 Fixed Xclient scripts and added some examples (#717) 2022-11-18 13:31:41 -03:00
alfrix 6ca35ffab0 log: reduce max log size 2022-11-18 13:29:12 -03:00
alfrix 7ca37c56b6 websocket: refactor how the connection is handled 2022-11-18 12:56:05 -03:00
alfrix 675f28b318 Use GLib.idle_add instead of Gdk.threads_add_idle 2022-11-18 02:51:41 -03:00
alfrix cfa35ba8e4 screen: init_printer change how the timeout functions 2022-11-18 01:46:15 -03:00
alfrix 380df961e5 cleanup dead code 2022-11-18 01:17:57 -03:00
alfrix 8dc12bea2c screen: import traceback 2022-11-18 01:17:57 -03:00
alfrix 5215c8f985 menu: less logging 2022-11-18 01:17:57 -03:00
alfrix 45b172f85c files: reset 2022-11-18 01:17:57 -03:00
alfrix 2c30bdeddf printer: cleanup 2022-11-18 01:17:57 -03:00
alfrix 09f992d3b5 screen: cleanup unused vars 2022-11-18 01:17:57 -03:00
alfrix 128fee5e96 screen: cleanup panel subscriptions 2022-11-18 01:17:57 -03:00
alfrix 529b111fce screen: call close_screensaver on remove_all_panels 2022-11-18 00:53:53 -03:00
alfrix d55bc160ac docs: update config location 2022-11-18 00:53:53 -03:00
alfrix 7a71fa75f7 input_shaper: refactor process_update 2022-11-18 00:53:53 -03:00
alfrix 1db6388798 menu: use None 2022-11-18 00:53:53 -03:00
alfrix bdafb31522 menu: simplify enable 2022-11-18 00:53:53 -03:00
alfrix bd82d211f5 screen: raise more specific errors if panels cannot load 2022-11-18 00:53:53 -03:00
alfrix 45ab86204b panels: remove initialize from the panels that do not have a menu 2022-11-18 00:53:53 -03:00
alfrix 972a09df41 config: fix None appearing in config if the file doesn't exist close #777 2022-11-18 00:53:53 -03:00
alfrix 9b1b9593e8 ws: add 7130 as default for wss close #786 2022-11-18 00:53:53 -03:00
alfrix dd33ee04bb docs: android: show script directly with example close #791 2022-11-18 00:53:53 -03:00
alfrix 04f3c5b7a5 settings: cleanup printer list 2022-11-18 00:53:53 -03:00
alfrix 18d8f835a9 always reinit printer on state changes 2022-11-18 00:53:53 -03:00
alfrix b68cfa40fd refactor ws reconnect/retry 2022-11-18 00:53:53 -03:00
alfrix 86c52dece8 move connect_printer_widget to printer_select 2022-11-18 00:53:53 -03:00
alfrix 4272109a27 use screen printer_initializing method instead of direct calls 2022-11-18 00:53:53 -03:00
alfrix c5fe8b02a4 exclude: fix list width if no polygons are provided 2022-11-18 00:53:53 -03:00
alfrix fdf13102fe screen: remove shutdown variable and change on_close to disconnect 2022-11-18 00:53:53 -03:00
alfrix e1ea41f147 screen: refactor panel removal 2022-11-18 00:53:53 -03:00
alfrix 6b1fd23e35 screen: reduce the complexity of the status changes close #792 2022-11-18 00:53:53 -03:00
alfrix 9020d0b0ea screen: set_cursor new_for_display 2022-11-18 00:53:53 -03:00
alfrix 022954918c create ks_printer_cfg 2022-11-18 00:53:53 -03:00
alfrix e4ff009ef6 main_menu: init left_panel 2022-11-18 00:53:53 -03:00
alfrix f7cbff3ed8 heater_graph: better max value selection 2022-11-18 00:53:53 -03:00
alfrix f80c2687c5 screen: simplify panel subscription add-remove 2022-11-18 00:53:53 -03:00
alfrix 0bfbe90dcd screen: show_panel no need to differentiate if there are kwargs 2022-11-18 00:53:53 -03:00
alfrix 04e060c43c screen_panel: cleanup menu_item_clicked 2022-11-18 00:53:53 -03:00
alfrix 6083248dfa menu: simplify back and prevent a situation with no panels 2022-11-18 00:53:53 -03:00
alfrix df401d4924 main_menu: remove unused argument 2022-11-18 00:53:53 -03:00
alfrix 731a78b2f2 ws_cb: first check if there are panels 2022-11-18 00:53:53 -03:00
alfrix 1e6a9ec8ae log: cleanup logs for files, system and bed_mesh
functions: log if DPMS fails to load
screen: log send_action
2022-11-18 00:52:55 -03:00
alfrix 300eed4d29 translations: update 2022-11-12 11:23:01 -03:00
alfrix 7bef1d45c8 exclude: adjust vertical mode 2022-11-12 10:18:31 -03:00
alfrix 2aec78ff4c bed_mesh: adjust vertical mode 2022-11-12 10:11:09 -03:00
alfrix 4d0edf3c0b move: cleanup and move stuff out of screen_panel 2022-11-12 09:56:09 -03:00
alfrix a695c68a25 screen: simplify cursor changes 2022-11-12 09:30:43 -03:00
alfrix 6ca80baea8 job_status: remove glib timers that could cause issues 2022-11-12 09:25:37 -03:00
alfrix 260d4b16e5 --amend 2022-11-11 10:46:45 -03:00
alfrix 67dc2c9fdf --amend 2022-11-11 10:38:59 -03:00
alfrix 8b55d2f2b1 splash_screen: limit reconnections, clear log, add reconnect button 2022-11-11 10:25:55 -03:00
alfrix f05cbe9f0b job_status: fix layer info sometimes causing issues close #788 2022-11-10 23:10:44 -03:00
alfrix 3bbefd8bd5 lang: make set_text_direction a function 2022-11-10 07:15:04 -03:00
alfrix b8e819629a log: reduce spam 2022-11-10 07:15:04 -03:00
alfrix f5b8ae1002 screen: remove matplotlib from preload close #787 2022-11-10 07:12:29 -03:00
alfrix 78f76d659c menu: log a more descriptive item enable status 2022-11-09 10:37:30 -03:00
alfrix ce6158ad91 bed_mesh: improvements an changes:
use current profiles instead of the ones saved in the config file
remove matplotlib and numpy, caused many intall issues, graph was slow and not great for small screens
create a custom 2D graph to show the probed matrix
2022-11-09 10:25:52 -03:00
alfrix 0ca410acba zcalibrate: use sample_retract_dist if available close #748 2022-11-09 10:25:37 -03:00
alfrix 02c043eece zcalibrate: add dockable_probe #750 2022-11-09 08:51:59 -03:00
alfrix 88461910c9 job_status: remove numpy dependency 2022-11-08 17:33:38 -03:00
dependabot[bot] 19506292b5 build(deps): bump websocket-client from 1.4.1 to 1.4.2 (#781)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.4.1 to 1.4.2.
- [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.4.1...v1.4.2)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 17:33:09 -03:00
marcin-koziolandMarcin Kozioł 1dc3433e02 Set distance and speed variables after config is loaded (#782)
Co-authored-by: Marcin Kozioł <marcin.koziol@outi.pl>
2022-11-08 17:32:54 -03:00
alfrix ca7143f776 base_panel: estop set not sensitive instead of hiding 2022-11-06 13:21:52 -03:00
alfrix 26d10a949b job_status: use the new print_stats layer info 2022-11-06 13:04:07 -03:00
alfrix 8855d9b98f screensaver: change calls to close instead of wake 2022-11-05 00:25:11 -03:00
alfrix df195a0135 zcalibrate: use a tiny movement to detect state, need status 2022-11-04 19:27:08 -03:00
alfrix 23b64b1625 zcalibrate: use safe_z z_hop if defined close #748 2022-11-04 18:27:16 -03:00
alfrix 44623b44d1 menu: reduce logging 2022-11-04 18:13:06 -03:00
alfrix 6e4d0ff962 config: add lang list to init, reduce logging 2022-11-04 18:12:39 -03:00
alfrix 2fef5660cb base_panel: change how it shows controls and heaters to avoid issues 2022-11-04 10:30:14 -03:00
alfrix 3be65a686a docs: xserver-xorg-legacy is installed by default 2022-11-04 10:30:14 -03:00
alfrix 9c4f4c5fe7 config: try to save in printer_data first 2022-11-04 10:30:14 -03:00
alfrix ba392d75b9 docs: explain logfile location with images 2022-11-04 10:30:14 -03:00
jordanruthe 39b786c198 Update Hardware.md
Add BTT HDMI5/7
2022-11-04 08:27:07 -04:00
alfrix e36cf78e40 zcalirbrate: fix e225 2022-11-03 23:51:44 -03:00
alfrix 11dd95b939 functions: do not rotate logs at startup, it's useful to see old logs when users attach them 2022-11-03 23:44:17 -03:00
alfrix e0950247d2 zcalibrate: use safe_z_home if available 2022-11-03 23:40:30 -03:00
alfrix 8d1ca4eba1 fix E741 2022-11-03 23:29:11 -03:00
alfrix 6c66ccada7 job_status: remove menu button delay 2022-11-03 23:06:12 -03:00
alfrix 01fde5a1e9 keyboard: fix sometimes not changing language 2022-11-03 22:50:01 -03:00
alfrix 64745c8578 fix codestyle issues 2022-11-03 22:40:36 -03:00
Selim b77321ce28 Update Turkish Language (#771) 2022-11-03 22:35:02 -03:00
AntoszHUN f4a0b0f8b1 Update Hungarian Language (#774) 2022-11-03 22:33:54 -03:00
alfrix 7ee162092c fix #775 2022-11-03 22:20:03 -03:00
alfrix 2fc01c07b6 base_panel: allow to have no title 2022-11-03 22:07:45 -03:00
alfrix 73e4645df0 installer: add input drivers by default close #772 2022-11-02 11:13:16 -03:00
alfrix 5e4760771d screen: set to fullscreen unless overrided with size #773 2022-11-02 11:13:16 -03:00
alfrix 38d006c8a7 job_status and splash: fixup image size on ultrawide 2022-11-02 11:13:16 -03:00
alfrix 79c858ded6 functions: logging: use printer_data 2022-11-01 21:22:07 -03:00
alfrix 03e4681aa6 functions: logging changes, rotate based on filesize and on startup, print a warning in if log is not created 2022-11-01 15:36:52 -03:00
alfrix 5154e41fed windowed: add title and icon 2022-11-01 15:36:52 -03:00
alfrix 371968b458 base_panel: hide estop 2022-11-01 15:36:52 -03:00
alfrix c3128ef508 base_panel: always hide macro shortcut on splash_screen 2022-11-01 15:36:49 -03:00
alfrix 09ccd46528 keyboard: add spanish and german, change backscpace, clear and accept to icons 2022-11-01 07:36:07 -03:00
alfrix 874212e166 lang: fix widgets close #768 2022-10-28 13:22:47 -03:00
alfrix f749969c07 config: fix default en if system lang not found 2022-10-28 06:25:20 -03:00
alfrix f6e4e231b1 translation: update all translations 2022-10-27 23:42:23 -03:00
alfrix d536b054b8 translation: update hebrew (Tal Rahav) close #766 2022-10-27 23:40:59 -03:00
alfrix 5d539d0059 translation: update spanish 2022-10-27 23:36:30 -03:00
AntoszHUN 8a82590829 Update Hungarian Language (#762) 2022-10-27 23:19:21 -03:00
alfrix f588571bdd fix PEP E303 2022-10-27 23:18:21 -03:00
northcoastam d27227aede Update fine_tune.py (#765)
Fix for custom z_babystep_values from KlipperScreen.conf not respected
2022-10-27 23:15:45 -03:00
alfrix 7666a91872 splash_screen and job_status title translation 2022-10-27 22:47:01 -03:00
alfrix 51ddee28c3 printer_select: hide action_bar on startup and translate name 2022-10-27 21:24:23 -03:00
alfrix 0620d660f5 Change how the printer state is handled 2022-10-27 20:54:13 -03:00
alfrix b988c3c8c9 limits: fix sliders rescaling and not restoring values when set lower than the max configured value 2022-10-27 12:15:18 -03:00
alfrix d3d7104ec4 languages: refactor
- No full restart requirement just reload
- Fix some systems not loading the language
- Fix RTL not applied if the lang was not set by the system
2022-10-26 22:36:52 -03:00
alfrix 93457b2961 temperature: select all extruders while not printing and the active extruder if printing 2022-10-26 22:36:52 -03:00
alfrix b36e75ec1a temperature: fix #763 2022-10-26 22:36:52 -03:00
alfrix d6e4ad0a35 base_panel: fix macro shorcut not hiding at startup if configured to off 2022-10-26 22:36:52 -03:00
alfrix 0de49ee0cd base_panel: calculate the amount of titlebar items to be shown 2022-10-26 22:36:52 -03:00
alfrix 8cc86dfd7c config: add width and height for development purposes
Do not use this when KS is meant to be fullscreen, this should be used for window size on a desktop
2022-10-26 22:36:52 -03:00
alfrix da9051a9b2 base_panel: create get_icon for show_heaters 2022-10-26 22:36:52 -03:00
alfrix 32fab0482f gtk: add .png icons support close #733 2022-10-26 22:36:52 -03:00
alfrix 792e1bf8bf print: improve initialization performance with async. load of images 2022-10-26 22:36:52 -03:00
alfrix b346d765a2 base_panel: clock simplify also increase margin 2022-10-26 22:36:52 -03:00
alfrix c5413e51c9 config: add printer_data to default config search locations
close #759
2022-10-26 22:36:52 -03:00
alfrix 2121d4a6aa system: updater: hide the end button until the update completes
it's already not sensitive but that is not intuitive sometimes
2022-10-26 22:36:52 -03:00
alfrix 17e4bb704e exclude: fix vertical mode, fix last object cancel and make it exit 2022-10-26 22:36:52 -03:00
alfrix d3281379ee gtk: change scaling of images
This reduces the amount of magic numbers used, some images will scale to bigger sizes, most of the icons and images in vertical mode will be bigger, thumbnails should be bigger in both modes.
2022-10-26 22:36:52 -03:00
alfrix 62fd6b96f8 job_status: change filename max characters
now it's more consistent and takes into account font size
2022-10-26 22:36:52 -03:00
alfrix b9effb5447 screensaver: fix dialogs not hiding 2022-10-26 22:36:52 -03:00
alfrix 70b5532695 bed_mesh: fix issues and improve
Fix sometimes not showing the current mesh
Remove calibrate from the list, (use the top bar)
Minimum Zscale is now -1 to 1 mm
Colorscale is now -0.2 to 0.2 mm tends to clip less on the usable range
Code cleanup and de-duplication
2022-10-21 14:58:07 -03:00
alfrix 1332045128 installer: the workaround for pip 22 should not be needed by now 2022-10-15 18:56:05 -03:00
alfrix 1305b40c41 refactors and cleanup 2022-10-14 13:27:01 -03:00
alfrix e208873e46 temperature: merge nested ifs 2022-10-14 10:19:44 -03:00
alfrix 723662074e Change togglebuttons to regular buttons to simplify code 2022-10-14 10:19:44 -03:00
alfrix 4b7fda9ba0 zcalibrate: fix XY offset not applied if one of them is not defined 2022-10-14 10:19:44 -03:00
alfrix 2e026aef56 extrude: make the speed and distance configurable close #673 2022-10-14 10:19:44 -03:00
alfrix 28fe1bf6d8 Update Locales: Thanks Tal Rahav for the Hebrew translation 2022-10-14 10:19:44 -03:00
alfrix 4076e6349a limits and retraction: infinite sliders 2022-10-14 10:19:44 -03:00
alfrix d0d171e676 print: hide files and directories starting with . 2022-10-14 10:19:44 -03:00
alfrix 978bb72e20 Fix: Printer not connecting if [pause_resume] is missing
fix #752
2022-10-14 10:19:44 -03:00
Ben Konsemüller 74dee10d39 Fix: Heaters not showing their respective power percentages (#747) 2022-10-08 09:52:46 -03:00
Alfredo Monclus a83bbed85a exclude: graph (#743)
Also support name wrapping and remove the object from the list if it was excluded (easier to see)
2022-10-04 10:52:44 -03:00
alfrix c2991364ba fine-tune: fix PEP8 E303 2022-10-01 12:35:01 -03:00
alfrix 2224478ea0 fine-tune: change the labels as soon as the button was pressed, this should give better feedback when the change is delayed by klipper 2022-10-01 12:32:28 -03:00
alfrix 089076c72c docs: zcalibrate: explain move
close #738
2022-09-30 16:14:08 -03:00
alfrix 72413544c8 job_status: animated label compute max characters 2022-09-27 16:49:24 -03:00
alfrix 032638e027 docs: move and improve thumbnail information 2022-09-27 16:49:11 -03:00
alfrix 79b3429837 network: fix panel not loading if the wifi module has not ben initialized
close #736
2022-09-27 15:16:04 -03:00
Selim 35571fce8a Turkish language Update (#734) 2022-09-22 09:50:40 -03:00
Nick Doumaandalfrix 1b758b85c6 Add Desktop file to easily start KlipperScreen on a normal Linux desktop (#713)
Co-authored-by: alfrix <alfredomonclus@gmail.com>
2022-09-21 20:18:22 -03:00
alfrix 2f427f7b82 lint fixes and minor refactorings 2022-09-21 11:54:49 -03:00
dependabot[bot] c061378e62 build(deps): bump websocket-client from 1.4.0 to 1.4.1 (#721)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.4.0 to 1.4.1.
- [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.4.0...v1.4.1)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-21 11:35:06 -03:00
Andriy 1f3fe23716 Correction of the Ukrainian localization (#730) 2022-09-21 11:34:53 -03:00
alfrix b2d7dda30f system: update services allowed to restart 2022-09-16 09:51:59 -03:00
alfrix 5f9bd9648a power: center the list 2022-09-14 10:22:11 -03:00
alfrix 0e353d333c docs: update screenshots, add console to the panel list, order by name 2022-09-14 10:07:05 -03:00
AntoszHUN ebaecedf0d Update KlipperScreen.po (#728) 2022-09-13 00:01:22 -03:00
alfrix 4656be8c16 graph: limit the graph to 0-999
It's not over 9000.
2022-09-12 23:32:41 -03:00
Laurenzandalfrix 2cce477e5b Add current heater power % to job status (#708)
* Add current heater power % to job status

* Add show_heater_power config option and move update_temp()s to ScreenPanel

* Add the option to the UI config instead of the docs

* Prefer extra items on job_status over the power

There is not a lot of space, it's a trade off, and people will likely prefer extra_items

* Remove the comma, none of the other buttons have it

* job_status: inherit the parent config

* screen: create reload_panels to avoid some service restarts

* extrude: fix power breaking multi-extruder setups

* main and temp: remove degrees char from the table

* main and temp: revert removal of the header

Co-authored-by: alfrix <alfredomonclus@gmail.com>
2022-09-09 11:34:50 -03:00
alfrix 069097d2e0 config:fix 2022-09-09 11:32:44 -03:00
alfrix de540402ec screensaver: fix #725
this was caused by focus and hover states introducing extra styling
also remove the active semi-translucent that made the fade-in because,
it sometimes missbehaved not showing some elements of the ui, it's also faster not having animation.
2022-09-08 10:20:57 -03:00
alfrix 1d40b9cf7f config: fix babystepping not being recognized
this is a temporary fix, the list items need to be validated individually
2022-09-06 13:13:44 -03:00
Andriy 81573fbd39 Ukrainian update (#719) 2022-09-05 21:27:28 -03:00
whi-tw 5d428e4999 Ignore include sections when validating the config (#720)
* Don't validate `include` sections.

We need a `continue` here because `include` sections are not 'standard',
and don't have any keys to validate.

`include` sections are tangentially validated later via
`_include_config()`.

* Move checks for non-validated sections to start

Rather than looping through the whole if..elif.. block, fail fast if
we're not actually going to validate the section.
2022-09-05 21:27:09 -03:00
alfrix abe12cca30 printer: fix issue that could cause the panels to not show up on startup if moonraker is not connected 2022-09-05 21:02:04 -03:00
alfrix 43c3a4b20d screensaver fix color 2022-09-05 19:44:26 -03:00
alfrix 856e204750 config: fix validator not recognizing calibrate positions 2022-09-04 11:37:50 -03:00
alfrix 2d7486974c config: validator fix floats 2022-09-03 18:25:57 -03:00
alfrix fd7ff6b0cd Update Spanish 2022-09-02 21:21:48 -03:00
alfrix 2939bbe543 system: fix an issue with the updater dialog getting off screen 2022-09-02 21:19:17 -03:00
alfrix 07b134f1a0 Update translation files 2022-09-02 21:03:19 -03:00
134 changed files with 9922 additions and 5036 deletions

No files matched your search

+1
View File
@@ -0,0 +1 @@
screen.py
+12 -3
View File
@@ -28,7 +28,7 @@ search "how to enable android debugging on device-model-and-brand"
```bash ```bash
cd ~/KlipperScreen/scripts cd ~/KlipperScreen/scripts
cp android-adb.sh launch_KlipperScreen.sh cp sample-android-adb.sh launch_KlipperScreen.sh
chmod +x launch_KlipperScreen.sh chmod +x launch_KlipperScreen.sh
``` ```
@@ -45,9 +45,9 @@ chmod +x launch_KlipperScreen.sh
nano launch_KlipperScreen.sh nano launch_KlipperScreen.sh
``` ```
* Paste this into the script (edit the IP for example: 192.168.1.2:0) * Paste this into the script (replace the example IP)
```bash ```bash
DISPLAY=(ip address from blue screen):0 $KS_XCLIENT DISPLAY=192.168.150.122:0 $KS_XCLIENT
``` ```
!!! important !!! important
@@ -73,6 +73,15 @@ sudo service KlipperScreen stop
sudo service KlipperScreen start sudo service KlipperScreen start
``` ```
## Stop Screen Blanking in Xserver-XSDL
Even after enabling the "Stay Awake" option in the Developer/USB Debugging options of your Android device, the Xserver-XSDL may still go to a black screen but keep the backlight of your device on. To keep the screen always active, upon start up of Xserver-XSDL app, select the `Change Device Configuration` at the top of the splash screen and then select the `Command line parameters, one argument per line` option. Append the following argument (must be on seperate lines):
```
-s
0
```
This will disable the screen-saver in Xserver and keep KlipperScreen always active.
## Migration from other tutorials ## Migration from other tutorials
KlipperScreen says error option "service" is not supported anymore. KlipperScreen says error option "service" is not supported anymore.
+19 -6
View File
@@ -1,7 +1,7 @@
# Configuration # Configuration
Usually you don't need to create a configuration file, but if you need to change something that is not changeable in the UI 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. create a blank file in `~/printer_data/config/KlipperScreen.conf`, if the file already exist then just edit it.
Write in the file only the options that need to be changed, and restart KlipperScreen. Write in the file only the options that need to be changed, and restart KlipperScreen.
@@ -13,7 +13,7 @@ Write in the file only the options that need to be changed, and restart KlipperS
## Main Options ## Main Options
The options listd here are not changeable from within the ui. The options listed here are not changeable from within the ui.
```py ```py
[main] [main]
# Time in seconds before the Job Status page closes itself after a successful job/print # Time in seconds before the Job Status page closes itself after a successful job/print
@@ -33,7 +33,9 @@ default_printer: Ender 3 Pro
# set this to False. See Menu section below. # set this to False. See Menu section below.
use_default_menu: True use_default_menu: True
# Define one or more moonraker power devices that turn on/off with the screensaver (CSV list)
screen_on_devices: example1, example2
screen_off_devices: example1, example2
``` ```
## Printer Options ## Printer Options
@@ -43,6 +45,7 @@ Multiple printers can be defined
[printer Ender 3 Pro] [printer Ender 3 Pro]
# Define the moonraker host/port if different from 127.0.0.1 and 7125 # Define the moonraker host/port if different from 127.0.0.1 and 7125
moonraker_host: 127.0.0.1 moonraker_host: 127.0.0.1
# ports 443 and 7130 will use https/wss
moonraker_port: 7125 moonraker_port: 7125
# Moonraker API key if this is not connecting from a trusted client IP # Moonraker API key if this is not connecting from a trusted client IP
moonraker_api_key: False moonraker_api_key: False
@@ -76,13 +79,20 @@ calibrate_y_position: 100
# Bed Screws # Bed Screws
# define the screw positons required for odd number of screws in a comma separated list # define the screw positons required for odd number of screws in a comma separated list
# possible values are: bl, br, bm, fl, fr, fm, lm, rm # possible values are: bl, br, bm, fl, fr, fm, lm, rm, center
# they correspond to back-left, back-right, back-middle, front-left, front-right, front-middle, left-middle, left-right # they correspond to back-left, back-right, back-middle, front-left, front-right, front-middle, left-middle, right-middle
screw_positions: "" screw_positions: ""
# Rotation is useful if the screen is not directly in front of the machine. # Rotation is useful if the screen is not directly in front of the machine.
# Valid values are 0 90 180 270 # Valid values are 0 90 180 270
screw_rotation: 0 screw_rotation: 0
# Define distances and speeds for the extrude panel. CSV list 2 to 4 integers
extrude_distances: 5, 10, 15, 25
extrude_speeds: 1, 2, 5, 25
# Camera configuration
camera_url: http://127.0.0.1/webcam/?action=stream
``` ```
## Preheat Options ## Preheat Options
@@ -123,6 +133,8 @@ A menu item is configured as follows:
name: Item Name name: Item Name
icon: home icon: home
# Optional Parameters # Optional Parameters
# Icon style, defined as "button.mycolor4" (for example) in the theme css
style: mycolor4
# Panel from the panels listed below # Panel from the panels listed below
panel: preheat panel: preheat
# Moonraker method to call when the item is selected # Moonraker method to call when the item is selected
@@ -190,7 +202,8 @@ KlipperScreen will search for a configuration file in the following order:
1. _~/KlipperScreen.conf_ 1. _~/KlipperScreen.conf_
2. _${KlipperScreen_Directory}/KlipperScreen.conf_ 2. _${KlipperScreen_Directory}/KlipperScreen.conf_
3. _~/klipper_config/KlipperScreen.conf_ 3. _~/printer_data/config/KlipperScreen.conf_
4. _~/klipper_config/KlipperScreen.conf_
If you need a custom location for the configuration file, you can add -c or --configfile to the systemd file and specify 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. the location of your configuration file.
+4 -1
View File
@@ -1,10 +1,13 @@
# Hardware # Hardware
There are no recommended screens, but the minimum supported resolution is 480x320 There are no recommended screens, but the minimum supported resolution is 480x320.
In general, if the device can show a GNU/Linux desktop, then KlipperScreen should work too.
#### Hardware known to work #### Hardware known to work
* [BTT PI TFT50](https://www.biqu.equipment/collections/lcd/products/bigtreetech-pi-tft50-v1-0-tft-display-for-raspberry-pi-3d-printer-part) * [BTT PI TFT50](https://www.biqu.equipment/collections/lcd/products/bigtreetech-pi-tft50-v1-0-tft-display-for-raspberry-pi-3d-printer-part)
* [BTT HDMI5/7](https://biqu.equipment/products/bigtreetech-hdmi5-v1-0-hdmi7-v1-0)
* [Raspberry PI 7" Touchscreen](https://www.raspberrypi.org/products/raspberry-pi-touch-display/) * [Raspberry PI 7" Touchscreen](https://www.raspberrypi.org/products/raspberry-pi-touch-display/)
* [Hyperpixel 4](https://shop.pimoroni.com/products/hyperpixel-4) * [Hyperpixel 4](https://shop.pimoroni.com/products/hyperpixel-4)
* [3.5" Elegoo](https://www.elegoo.com/de/products/elegoo-3-5-inch-tft-lcd-screen) * [3.5" Elegoo](https://www.elegoo.com/de/products/elegoo-3-5-inch-tft-lcd-screen)
+24 -18
View File
@@ -21,6 +21,12 @@ panel: bed_mesh
``` ```
![Bed Mesh](img/panels/bed_mesh.png) ![Bed Mesh](img/panels/bed_mesh.png)
### Console
```py
panel: console
```
![Console](img/panels/console.png)
### Extrude ### Extrude
```py ```py
panel: extrude theme:material-dark panel: extrude theme:material-dark
@@ -45,6 +51,18 @@ panel: gcode_macros
``` ```
![Gcode Macros Panel](img/panels/gcode_macros.png) ![Gcode Macros Panel](img/panels/gcode_macros.png)
### Input Shapers
```py
panel: input_shaper
```
![Limits](img/panels/input_shaper.png)
### Limits
```py
panel: limits
```
![Limits](img/panels/limits.png)
### Menu ### Menu
![Menu Panel](img/panels/menu.png) ![Menu Panel](img/panels/menu.png)
@@ -72,6 +90,12 @@ panel: print
``` ```
![Print Panel](img/panels/print.png) ![Print Panel](img/panels/print.png)
### Retraction
```py
panel: retraction
```
![Limits](img/panels/retraction.png)
### Settings ### Settings
```py ```py
panel: settings panel: settings
@@ -95,21 +119,3 @@ panel: temperature
panel: zcalibrate panel: zcalibrate
``` ```
![Z Calibrate](img/panels/zcalibrate.png) ![Z Calibrate](img/panels/zcalibrate.png)
### Limits
```py
panel: limits
```
![Limits](img/panels/limits.png)
### Retraction
```py
panel: retraction
```
![Limits](img/panels/retraction.png)
### Input Shapers
```py
panel: input_shaper
```
![Limits](img/panels/input_shaper.png)
+21 -37
View File
@@ -30,52 +30,36 @@ fan1 will show in the interface, but _fan2 will be hidden.
## Thumbnails ## Thumbnails
KlipperScreen can display thumbnails in the file browser and as previews in the print status.
Moved to [Thumbnails](Thumbnails.md)
![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 ## Layer Progress
Accurate layer progress as a message below the status:
PrusaSlicer/SuperSlicer > Printer Settings > Custom Gcode > After layer change Gcode PrusaSlicer/SuperSlicer > Printer Settings > Custom Gcode > After layer change Gcode
`M117 Layer {layer_num+1}/[total_layer_count] : {filament_settings_id[0]}` `M117 Layer {layer_num+1}/[total_layer_count] : {filament_settings_id[0]}`
![Layer_progress](img/quicktips/PS_SS_Layer_progress.png) ![Layer_progress](img/quicktips/PS_SS_Layer_progress.png)
Accurate layer progress in the secondary screen of the printing panel:
The layer number in the secondary screen of the printing panelis calculated according to object height and provided layer height.
It will be innacurate when using variable layer height, but can be fixed by providing klipper with the correct data.
![speed_screenshot](img/panels/job_status_speed.png)
PrusaSlicer/SuperSlicer:
Printer Settings > Custom Gcode > Start Gcode
`SET_PRINT_STATS_INFO TOTAL_LAYER=[total_layer_count]`
Printer Settings > Custom Gcode > After layer change Gcode
`SET_PRINT_STATS_INFO CURRENT_LAYER={layer_num + 1}`
## Supported Macros ## Supported Macros
[Macros](macros.md) [Macros](macros.md)
+59
View File
@@ -0,0 +1,59 @@
# Thumbnails
KlipperScreen can display thumbnails in the file browser and as previews in the print status.
![Job Status](img/panels/job_status.png)
Recommended sizes for thumbnails:
* 300 x 300 - For the larger previews.
* 32 x 32 - For the smaller thumbnails used in lists.
!!! note
Other sizes should work, but keep in mind bigger thumbnails are slower to load and can produce bigger gcode files.
## Select your slicer:
* [PrusaSlicer](#prusaslicer)
* [SuperSlicer](#superslicer)
* [Cura](#cura)
* [ideaMaker](#ideamaker)
### PrusaSlicer (2.3.0+)
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 (2.2.54+)
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
#### Option #1 A post processing script (Cura 4.9+)
1. With Cura open, navigate to Extensions, Post Processing, Modify G-Code
2. Click Add a script, and select Create Thumbnail
3. Set both Width and Height to 300
4. Click Add a script, and select Create Thumbnail
5. Set both Width and Height to 32
6. Click Close
#### Option #2 A plugin (Cura 4.7+)
[Cura2Moonraker](https://github.com/emtrax-ltd/Cura2MoonrakerPlugin)
![Cura](img/quicktips/Cura-thumbnails.png)
### ideaMaker (4.2.1+)
1. Open the Advanced tab in the printer settings
2. Enable "GCode Thumbnails for Octoprint and Mainsail"
3. Set both Width and Height to 300
![ideaMaker](img/quicktips/IdeaMaker-thumbnails.png)
+23 -12
View File
@@ -1,21 +1,32 @@
## Create Translations # Translations
You can use an editor such as [poedit](https://poedit.net/) to assist in translations. This guide will assume that you ## Updating an existing translation:
will be using poedit.
This guide will refer to `language designation`. This can be found from running `echo $LANG` on your pi, as long as you You can use an editor such as [poedit](https://poedit.net/) to assist in translations.
have set your pi up for your preferred language.
#### New Language * Edit `ks_includes/locals/{ISO 639 lang code}/LC_MESSAGES/KlipperScreen.po`
To test your translation:
In poedit go to `File -> Compile to MO`. Save it on the same folder, and restart KlipperScreen
## Adding a new Language:
Example using poedit
* Select `Create a new translation` or `File -> New from POT/PO` and select `ks_includes/locals/KlipperScreen.pot`. * Select `Create a new translation` or `File -> New from POT/PO` and select `ks_includes/locals/KlipperScreen.pot`.
* Enter your language designation. !!! important
* Create the translations Do not edit the POT file as is automatically generated and your changes will be lost.
* Save the file as `ks_includes/locales/{LANGUAGE DESIGNATION}/KlipperScreen.po`. * Save the file as `ks_includes/locales/{ISO 639 lang code}/LC_MESSAGES/KlipperScreen.po`
* Select `File -> Compile to MO`. Save this file as `ks_includes/locales/{LANGUAGE DESIGNATION}/KlipperScreen.mo` * Select `File -> Compile to MO`. Save it on the same folder, and restart KlipperScreen
Once you have followed those steps, restart KlipperScreen, and select it from the list in the settings. !!! note
[Wikipedia ISO 639 Language Codes](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes)
Once you have restarted KlipperScreen, select it from the list in the settings.
If you edited and recompiled, you need to restart KlipperScreen to reload the translation. If you edited and recompiled, you need to restart KlipperScreen to reload the translation.
Do not edit the POT file as is automatically generated and your changes will be lost.
## Contributing:
[Attach your translation on a GitHub issue or create a PR](Contact.md) [Attach your translation on a GitHub issue or create a PR](Contact.md)
+45 -11
View File
@@ -5,12 +5,22 @@ This page will have common problems and common solutions to those problems.
The first step to troubleshooting any problem is getting the cause of the error. The first step to troubleshooting any problem is getting the cause of the error.
* Check for the file `/tmp/KlipperScreen.log` * Find KlipperScreen.log:
look at the contents by running `cat /tmp/KlipperScreen.log` or grab the file over WinSCP or another sftp program. !!! important
This is the most important file, and should be provided if you ask for support. This log file should be provided if you ask for support.
If that file is non-existent, run `journalctl -xe -u KlipperScreen` Depending on your setup the file could be accesible from the web interface alongside other logs
Mainsail | Fluidd
:-:|:-:
![m_logs](img/troubleshooting/logs_mainsail.png) | ![f_logs](img/troubleshooting/logs_fluidd.png)
if you can't find it in the web interface, use sftp to grab the log (for example Filezilla, WinSCP)
Located at `~/printer_data/logs`or in `/tmp/` if the former doesn't exists.
If KlipperScreen.log doesn't exist, run `systemctl status KlipperScreen`<br>
(or `journalctl -xe -u KlipperScreen`)
Check the file `/var/log/Xorg.0.log` where you can find issues with the X server. Check the file `/var/log/Xorg.0.log` where you can find issues with the X server.
@@ -33,11 +43,6 @@ usermod -a -G tty pi
``` ```
(if your username is not 'pi' change 'pi' to your username) (if your username is not 'pi' change 'pi' to your username)
You may also need:
```sh
sudo apt install xserver-xorg-legacy
```
Restart KlipperScreen: Restart KlipperScreen:
```sh ```sh
sudo service KlipperScreen restart sudo service KlipperScreen restart
@@ -111,7 +116,7 @@ and reboot, that should make the touch work, if your screen is rotated 180 degre
KlipperScreen was never intended to be used with OctoPrint, and there is no support for it. KlipperScreen was never intended to be used with OctoPrint, and there is no support for it.
## WiFi networks not listed ## WiFi networks not listed (Using wpa_supplicant as backend)
This can be caused because of the user is not allowed to control the interface This can be caused because of the user is not allowed to control the interface
@@ -132,13 +137,42 @@ usermod -a -G netdev pi
Then reboot the machine: Then reboot the machine:
``` ```sh
systemctl reboot systemctl reboot
``` ```
!!! tip !!! tip
It's possible to just restart KlipperScreen and networking It's possible to just restart KlipperScreen and networking
## WiFi networks not listed (Using NetworkManager as backend)
`[wifi_nm.py:rescan()] [...] NetworkManager.wifi.scan request failed: not authorized`
If you see the above permission error in the log you may need to use polkit or disable it:
```sh
mkdir -p /etc/NetworkManager/conf.d
sudo nano /etc/NetworkManager/conf.d/any-user.conf
```
in the editor paste this:
```conf
[main]
auth-polkit=false
```
Then restart the service:
```sh
systemctl restart NetworkManager.service
```
!!! tip
It's possible to just restart KlipperScreen and NetworkManager
## Other issues ## Other issues
If you found an issue not listed here, or can't make it work, please provide all the log files If you found an issue not listed here, or can't make it work, please provide all the log files
+3
View File
@@ -7,6 +7,9 @@ It's strongly suggested to read Klipper documentation about [Bed level](https://
## Buttons ## Buttons
* "Start" will initiate the only method available, or ask the user if multiple methods are available. * "Start" will initiate the only method available, or ask the user if multiple methods are available.
!!! note
KlipperScreen will home if needed and move to the middle of the bed,
but the location can be configured in [KlipperScreen.conf](https://klipperscreen.readthedocs.io/en/latest/Configuration/#printer-options)
* The raise(+) and lower(-) buttons send `TESTZ Z=distance` where distance is selected in the bottom row. * The raise(+) and lower(-) buttons send `TESTZ Z=distance` where distance is selected in the bottom row.
* Accept will send `ACCEPT` * Accept will send `ACCEPT`
* Abort will send `ABORT` * Abort will send `ABORT`
Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

+9 -26
View File
@@ -7,51 +7,34 @@ Load and Unload Filament macros are used in the Extrude-Panel if it is available
The selected speed is transferred to this macro. The selected speed is transferred to this macro.
The following example macros show how this can be used in the macro. The following example macros show how this can be used in the macro.
```py ```jinja
[gcode_macro LOAD_FILAMENT]
gcode:
{% set speed = params.SPEED|default(500) %}
G91
G1 E50 F{speed}
G1 E50 F{speed}
G92
```
```py
[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:
```py
[gcode_macro LOAD_FILAMENT] [gcode_macro LOAD_FILAMENT]
gcode: gcode:
{% set speed = params.SPEED|default(300) %} {% set speed = params.SPEED|default(300) %}
{% set max_velocity = printer.configfile.settings['extruder'].max_extrude_only_velocity %} {% set max_velocity = printer.configfile.settings['extruder'].max_extrude_only_velocity %}
SAVE_GCODE_STATE NAME=load_state
M300 # beep M300 # beep
G91 G91
G92 E0 G92 E0
G1 E350 F{max_velocity} G1 E350 F{max_velocity} # fast-load
G1 E25 F{speed} #purge G1 E25 F{speed} # purge
M300 M300
M300 M300
RESTORE_GCODE_STATE NAME=load_state
``` ```
```py ```jinja
[gcode_macro UNLOAD_FILAMENT] [gcode_macro UNLOAD_FILAMENT]
gcode: gcode:
{% set speed = params.SPEED|default(300) %} {% set speed = params.SPEED|default(300) %}
{% set max_velocity = printer.configfile.settings['extruder'].max_extrude_only_velocity %} {% set max_velocity = printer.configfile.settings['extruder'].max_extrude_only_velocity %}
SAVE_GCODE_STATE NAME=unload_state
G91 G91
M300 # beep M300 # beep
G92 E0 G92 E0
G1 E25 F{speed} # purge G1 E25 F{speed} # purge
G1 E-420 F{max_velocity} G1 E-420 F{max_velocity} # fast-unload
M300 M300
M300 M300
RESTORE_GCODE_STATE NAME=unload_state
``` ```
-8
View File
@@ -1,8 +1,5 @@
class KlippyGcodes: class KlippyGcodes:
HOME = "G28" HOME = "G28"
HOME_X = "G28 X"
HOME_Y = "G28 Y"
HOME_Z = "G28 Z"
HOME_XY = "G28 X Y" HOME_XY = "G28 X Y"
Z_TILT = "Z_TILT_ADJUST" Z_TILT = "Z_TILT_ADJUST"
QUAD_GANTRY_LEVEL = "QUAD_GANTRY_LEVEL" QUAD_GANTRY_LEVEL = "QUAD_GANTRY_LEVEL"
@@ -15,7 +12,6 @@ class KlippyGcodes:
EXTRUDE_REL = "M83" EXTRUDE_REL = "M83"
SET_EXT_TEMP = "M104" SET_EXT_TEMP = "M104"
SET_BED_TEMP = "M140" SET_BED_TEMP = "M140"
SET_EXT_FACTOR = "M221" SET_EXT_FACTOR = "M221"
@@ -28,10 +24,6 @@ class KlippyGcodes:
ABORT = "ABORT" ABORT = "ABORT"
ACCEPT = "ACCEPT" ACCEPT = "ACCEPT"
SAVE_CONFIG = "SAVE_CONFIG"
RESTART = "RESTART"
FIRMWARE_RESTART = "FIRMWARE_RESTART"
@staticmethod @staticmethod
def set_bed_temp(temp): def set_bed_temp(temp):
return f"{KlippyGcodes.SET_BED_TEMP} S{temp}" return f"{KlippyGcodes.SET_BED_TEMP} S{temp}"
+113 -138
View File
@@ -1,91 +1,85 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import gi import contextlib
import logging import logging
import os import os
import pathlib import pathlib
import gi
gi.require_version("Gtk", "3.0") gi.require_version("Gtk", "3.0")
from gi.repository import Gdk, GdkPixbuf, Gio, Gtk, Pango from gi.repository import Gdk, GdkPixbuf, Gio, Gtk, Pango
def format_label(widget, lines=2):
if type(widget) == Gtk.Label:
return widget
if type(widget) in (Gtk.Container, Gtk.Bin, Gtk.Button, Gtk.Alignment, Gtk.Box):
for _ in widget.get_children():
lbl = format_label(_)
if lbl is not None:
lbl.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
lbl.set_line_wrap(True)
lbl.set_ellipsize(True)
lbl.set_ellipsize(Pango.EllipsizeMode.END)
lbl.set_lines(lines)
class KlippyGtk: class KlippyGtk:
labels = {} labels = {}
width_ratio = 16
height_ratio = 9.375
def __init__(self, screen, width, height, theme, cursor, fontsize_type): def __init__(self, screen):
self.screen = screen self.screen = screen
self.width = width self.themedir = os.path.join(pathlib.Path(__file__).parent.resolve().parent, "styles", screen.theme, "images")
self.height = height self.cursor = screen.show_cursor
self.themedir = os.path.join(pathlib.Path(__file__).parent.resolve().parent, "styles", theme, "images") self.font_size_type = screen._config.get_main_config().get("font_size", "medium")
self.width = screen.width
self.height = screen.height
self.font_ratio = [33, 49] if self.screen.vertical_mode else [43, 29] self.font_ratio = [33, 49] if self.screen.vertical_mode else [43, 29]
self.font_size = int(min( self.font_size = min(self.width / self.font_ratio[0], self.height / self.font_ratio[1])
self.width / self.font_ratio[0], self.img_scale = self.font_size * 2
self.height / self.font_ratio[1] self.button_image_scale = 1.38
)) self.bsidescale = .65 # Buttons with image at the side
if fontsize_type == "small":
self.font_size = round(self.font_size * 0.91) if self.font_size_type == "max":
elif fontsize_type == "large": self.font_size = self.font_size * 1.2
self.font_size = round(self.font_size * 1.09) self.bsidescale = .7
self.header_size = int(round((self.width / self.width_ratio) / 1.33)) elif self.font_size_type == "extralarge":
self.font_size = self.font_size * 1.14
self.img_scale = self.img_scale * 0.7
self.bsidescale = 1
elif self.font_size_type == "large":
self.font_size = self.font_size * 1.09
self.img_scale = self.img_scale * 0.9
self.bsidescale = .8
elif self.font_size_type == "small":
self.font_size = self.font_size * 0.91
self.bsidescale = .55
self.img_width = self.font_size * 3
self.img_height = self.font_size * 3
self.titlebar_height = self.font_size * 2 self.titlebar_height = self.font_size * 2
self.img_width = int(round(self.width / self.width_ratio)) logging.info(f"Font size: {self.font_size:.1f} ({self.font_size_type})")
self.img_height = int(round(self.height / self.height_ratio))
if self.screen.vertical_mode: if self.screen.vertical_mode:
self.action_bar_width = int(self.width) self.action_bar_width = int(self.width)
self.action_bar_height = int(self.height * .1) self.action_bar_height = int(self.height * .1)
self.content_width = self.width
self.content_height = self.height - self.titlebar_height - self.action_bar_height
else: else:
self.action_bar_width = int(self.width * .1) self.action_bar_width = int(self.width * .1)
self.action_bar_height = int(self.height) self.action_bar_height = int(self.height)
self.cursor = cursor self.content_width = self.width - self.action_bar_width
self.content_height = self.height - self.titlebar_height
self.keyboard_height = self.content_height * 0.5
if (self.height / self.width) >= 3: # Ultra-tall
self.keyboard_height = self.keyboard_height * 0.5
self.color_list = {} # This is set by screen.py init_style() self.color_list = {} # This is set by screen.py init_style()
for key in self.color_list: for key in self.color_list:
if "base" in self.color_list[key]: if "base" in self.color_list[key]:
rgb = [int(self.color_list[key]['base'][i:i + 2], 16) for i in range(0, 6, 2)] rgb = [int(self.color_list[key]['base'][i:i + 2], 16) for i in range(0, 6, 2)]
self.color_list[key]['rgb'] = rgb self.color_list[key]['rgb'] = rgb
logging.debug(f"img width: {self.img_width} height: {self.img_height}")
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
def get_content_height(self):
if self.screen.vertical_mode:
return self.height - self.titlebar_height - self.action_bar_height
else:
return self.height - self.titlebar_height
def get_font_size(self):
return self.font_size
def get_titlebar_height(self):
return self.titlebar_height
def get_header_size(self):
return self.header_size
def get_image_width(self):
return self.img_width
def get_image_height(self):
return self.img_height
def get_keyboard_height(self):
if (self.height / self.width) >= 3:
# Ultra-tall
return self.get_content_height() * 0.25
else:
return self.get_content_height() * 0.5
def get_temp_color(self, device): 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: if device not in self.color_list:
@@ -119,51 +113,47 @@ class KlippyGtk:
la.get_style_context().add_class(style) la.get_style_context().add_class(style)
return la return la
def Image(self, image_name, scale=1.0): def Image(self, image_name=None, width=None, height=None):
filename = os.path.join(self.themedir, f"{image_name}.svg") if image_name is None:
if os.path.exists(filename):
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(filename,
int(round(self.img_width * scale)),
int(round(self.img_height * scale)),
True)
return Gtk.Image.new_from_pixbuf(pixbuf)
else:
logging.error(f"Unable to find image {filename}")
return Gtk.Image() return Gtk.Image()
pixbuf = self.PixbufFromIcon(image_name, width, height)
return Gtk.Image.new_from_pixbuf(pixbuf) if pixbuf is not None else Gtk.Image()
def PixbufFromFile(self, filename, width_scale=1, height_scale=1): def PixbufFromIcon(self, filename, width=None, height=None):
return GdkPixbuf.Pixbuf.new_from_file_at_scale( width = width if width is not None else self.img_width
filename, height = height if height is not None else self.img_height
int(round(self.img_width * width_scale)), filename = os.path.join(self.themedir, filename)
int(round(self.img_height * height_scale)), for ext in ["svg", "png"]:
True pixbuf = self.PixbufFromFile(f"{filename}.{ext}", int(width), int(height))
) if pixbuf is not None:
return pixbuf
return None
def PixbufFromHttp(self, resource, width_scale=1, height_scale=1): @staticmethod
def PixbufFromFile(filename, width=-1, height=-1):
try:
return GdkPixbuf.Pixbuf.new_from_file_at_size(filename, int(width), int(height))
except Exception as e:
logging.exception(e)
logging.error(f"Unable to find image {filename}")
return None
def PixbufFromHttp(self, resource, width=-1, height=-1):
response = self.screen.apiclient.get_thumbnail_stream(resource) response = self.screen.apiclient.get_thumbnail_stream(resource)
if response is False: if response is False:
return None return None
stream = Gio.MemoryInputStream.new_from_data(response, None) stream = Gio.MemoryInputStream.new_from_data(response, None)
return GdkPixbuf.Pixbuf.new_from_stream_at_scale( try:
stream, pixbuf = GdkPixbuf.Pixbuf.new_from_stream_at_scale(stream, int(width), int(height), True)
int(round(self.img_width * width_scale)), except Exception as e:
int(round(self.img_height * height_scale)), logging.exception(e)
True return None
) stream.close_async(2)
return pixbuf
def Button(self, label=None, style=None): def Button(self, image_name=None, label=None, style=None, scale=None, position=Gtk.PositionType.TOP, lines=2):
b = Gtk.Button(label=label) if self.font_size_type == "max" and label is not None and scale is None:
b.set_hexpand(True) image_name = None
b.set_vexpand(True)
b.set_can_focus(False)
b.props.relief = Gtk.ReliefStyle.NONE
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=None, label=None, style=None, scale=1.38, position=Gtk.PositionType.TOP, lines=2):
b = Gtk.Button() b = Gtk.Button()
if label is not None: if label is not None:
b.set_label(label.replace("\n", " ")) b.set_label(label.replace("\n", " "))
@@ -171,28 +161,17 @@ class KlippyGtk:
b.set_vexpand(True) b.set_vexpand(True)
b.set_can_focus(False) b.set_can_focus(False)
if image_name is not None: if image_name is not None:
b.set_image(self.Image(image_name, scale)) if scale is None:
scale = self.button_image_scale
if label is None:
scale = scale * 1.5
width = height = self.img_scale * scale
b.set_image(self.Image(image_name, width, height))
b.set_image_position(position) b.set_image_position(position)
b.set_always_show_image(True) b.set_always_show_image(True)
if label is not None: if label is not None:
try: format_label(b, lines)
# Get the label object
if image_name is not None:
if position == Gtk.PositionType.RIGHT:
child = b.get_children()[0].get_children()[0].get_children()[0]
else:
child = b.get_children()[0].get_children()[0].get_children()[1]
else:
child = b.get_children()[0]
child.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
child.set_line_wrap(True)
child.set_ellipsize(True)
child.set_ellipsize(Pango.EllipsizeMode.END)
child.set_lines(lines)
except Exception as e:
logging.debug(f"Unable to wrap and ellipsize label: {label} image: {image_name} exception:{e}")
if style is not None: if style is not None:
b.get_style_context().add_class(style) b.get_style_context().add_class(style)
b.connect("clicked", self.screen.reset_screensaver_timeout) b.connect("clicked", self.screen.reset_screensaver_timeout)
@@ -205,13 +184,13 @@ class KlippyGtk:
dialog.set_transient_for(screen) dialog.set_transient_for(screen)
dialog.set_modal(True) dialog.set_modal(True)
for i, button in enumerate(buttons): for button in buttons:
dialog.add_button(button_text=button['name'], response_id=button['response']) dialog.add_button(button['name'], button['response'])
button = dialog.get_children()[0].get_children()[0].get_children()[0].get_children()[i] button = dialog.get_widget_for_response(button['response'])
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) button.set_size_request((screen.width - 30) / 3, screen.height / 5)
format_label(button, 3)
dialog.connect("response", self.screen.reset_screensaver_timeout)
dialog.connect("response", callback, *args) dialog.connect("response", callback, *args)
dialog.get_style_context().add_class("dialog") dialog.get_style_context().add_class("dialog")
@@ -225,29 +204,25 @@ class KlippyGtk:
dialog.show_all() dialog.show_all()
# Change cursor to blank # Change cursor to blank
if self.cursor: if self.cursor:
dialog.get_window().set_cursor(Gdk.Cursor(Gdk.CursorType.ARROW)) dialog.get_window().set_cursor(
Gdk.Cursor.new_for_display(Gdk.Display.get_default(), Gdk.CursorType.ARROW))
else: else:
dialog.get_window().set_cursor(Gdk.Cursor(Gdk.CursorType.BLANK_CURSOR)) dialog.get_window().set_cursor(
Gdk.Cursor.new_for_display(Gdk.Display.get_default(), Gdk.CursorType.BLANK_CURSOR))
self.screen.dialogs.append(dialog) self.screen.dialogs.append(dialog)
logging.info(f"Showing dialog {dialog}")
return dialog return dialog
def ToggleButtonImage(self, image_name, label, style=None, scale=1.38): def remove_dialog(self, dialog, *args):
if self.screen.updating:
b = Gtk.ToggleButton(label=label) return
b.set_hexpand(True) dialog.destroy()
b.set_vexpand(True) if dialog in self.screen.dialogs:
b.set_can_focus(False) logging.info("Removing Dialog")
b.set_image(self.Image(image_name, scale)) self.screen.dialogs.remove(dialog)
b.set_image_position(Gtk.PositionType.TOP) return
b.set_always_show_image(True) logging.debug(f"Cannot remove dialog {dialog}")
if style is not None:
ctx = b.get_style_context()
ctx.add_class(style)
b.connect("clicked", self.screen.reset_screensaver_timeout)
return b
@staticmethod @staticmethod
def HomogeneousGrid(width=None, height=None): def HomogeneousGrid(width=None, height=None):
+42 -27
View File
@@ -1,6 +1,6 @@
import json
import requests
import logging import logging
import re
import requests
class KlippyRest: class KlippyRest:
@@ -8,11 +8,12 @@ class KlippyRest:
self.ip = ip self.ip = ip
self.port = port self.port = port
self.api_key = api_key self.api_key = api_key
self.status = ''
@property @property
def endpoint(self): def endpoint(self):
protocol = "http" protocol = "http"
if int(self.port) == 443: if int(self.port) in {443, 7130}:
protocol = "https" protocol = "https"
return f"{protocol}://{self.ip}:{self.port}" return f"{protocol}://{self.ip}:{self.port}"
@@ -21,7 +22,7 @@ class KlippyRest:
def get_oneshot_token(self): def get_oneshot_token(self):
r = self.send_request("access/oneshot_token") r = self.send_request("access/oneshot_token")
if r is False: if r is False or 'result' not in r:
return False return False
return r['result'] return r['result']
@@ -29,32 +30,46 @@ class KlippyRest:
return self.send_request("printer/info") return self.send_request("printer/info")
def get_thumbnail_stream(self, thumbnail): def get_thumbnail_stream(self, thumbnail):
url = f"{self.endpoint}/server/files/gcodes/{thumbnail}" return self.send_request(f"server/files/gcodes/{thumbnail}", json=False)
response = requests.get(url, stream=True) def send_request(self, method, json=True):
if response.status_code == 200:
response.raw.decode_content = True
return response.content
return False
def send_request(self, method):
url = f"{self.endpoint}/{method}" url = f"{self.endpoint}/{method}"
logging.debug(f"Sending request to {url}")
headers = {} if self.api_key is False else {"x-api-key": self.api_key} headers = {} if self.api_key is False else {"x-api-key": self.api_key}
data = False
try: try:
r = requests.get(url, headers=headers) response = requests.get(url, headers=headers, timeout=3)
response.raise_for_status()
if json:
logging.debug(f"Sending request to {url}")
data = response.json()
else:
data = response.content
except requests.exceptions.HTTPError as h:
self.status = self.format_status(h)
except requests.exceptions.ConnectionError as c:
self.status = self.format_status(c)
except requests.exceptions.Timeout as t:
self.status = self.format_status(t)
except requests.exceptions.JSONDecodeError as j:
self.status = self.format_status(j)
except requests.exceptions.RequestException as r:
self.status = self.format_status(r)
except Exception as e: except Exception as e:
logging.critical(e, exc_info=True) self.status = self.format_status(e)
return False if data:
if r.status_code != 200: self.status = ''
return False else:
logging.error(self.status.replace('\n', '>>'))
# TODO: Try/except
try:
data = json.loads(r.content)
except Exception as e:
logging.critical(e, exc_info=True)
logging.exception(f"Unable to parse response from moonraker:\n {r.content}")
return False
return data return data
@staticmethod
def format_status(status):
try:
rep = {"HTTPConnectionPool": "", "/server/info ": "", "Caused by ": "", "(": "", ")": "",
": ": "\n", "'": "", "`": "", "\"": ""}
rep = {re.escape(k): v for k, v in rep.items()}
pattern = re.compile("|".join(rep.keys()))
status = pattern.sub(lambda m: rep[re.escape(m.group(0))], f"{status}").split("\n")
return "\n".join(_ for _ in status if "urllib3" not in _ and _ != "")
except TypeError or KeyError:
return status
+60 -122
View File
@@ -1,38 +1,24 @@
#!/usr/bin/python #!/usr/bin/python
import gi
import threading import threading
import json import json
import websocket
import logging import logging
import gi
import websocket
gi.require_version("Gtk", "3.0") gi.require_version("Gtk", "3.0")
from gi.repository import GLib, Gdk from gi.repository import GLib
from ks_includes.KlippyGcodes import KlippyGcodes from ks_includes.KlippyGcodes import KlippyGcodes
api_key = ""
api = {
"printer_info": {
"url": "/printer/info",
"method": "get_printer_info"
},
"apikey": {
"url": "/access/api_key"
},
"oneshot_token": {
"url": "/access/oneshot_token"
}
}
class KlippyWebsocket(threading.Thread): class KlippyWebsocket(threading.Thread):
_req_id = 0 _req_id = 0
connected = False connected = False
connecting = True
callback_table = {} callback_table = {}
reconnect_timeout = None
reconnect_count = 0 reconnect_count = 0
max_retries = 4
def __init__(self, screen, callback, host, port): def __init__(self, screen, callback, host, port):
threading.Thread.__init__(self) threading.Thread.__init__(self)
@@ -41,9 +27,8 @@ class KlippyWebsocket(threading.Thread):
self._screen = screen self._screen = screen
self._callback = callback self._callback = callback
self.klippy = MoonrakerApi(self) self.klippy = MoonrakerApi(self)
self.closing = False
self.ws = None self.ws = None
self.closing = False
self.host = host self.host = host
self.port = port self.port = port
@@ -53,38 +38,31 @@ class KlippyWebsocket(threading.Thread):
@property @property
def ws_proto(self): def ws_proto(self):
if int(self.port) == 443: if int(self.port) in {443, 7130}:
return "wss" return "wss"
return "ws" return "ws"
def retry(self):
self.reconnect_count = 0
self.connecting = True
self.initial_connect()
def initial_connect(self): def initial_connect(self):
# Enable a timeout so that way if moonraker is not running, it will attempt to reconnect # Enable a timeout so that way if moonraker is not running, it will attempt to reconnect
if self.reconnect_timeout is None:
self.reconnect_timeout = GLib.timeout_add_seconds(6, self.reconnect)
self.connect() self.connect()
if self.connecting:
GLib.timeout_add_seconds(10, self.reconnect)
def connect(self): def connect(self):
_ = self._screen.lang.gettext if self.connected:
return
def ws_on_close(ws, a=None, b=None): self.reconnect_count += 1
self.on_close(ws)
def ws_on_error(ws, msg):
self.on_error(ws, msg)
def ws_on_message(ws, msg):
self.on_message(ws, msg)
def ws_on_open(ws):
self.on_open(ws)
try: try:
state = self._screen.apiclient.get_server_info() state = self._screen.apiclient.get_server_info()
if state is False: if state is False:
if self.reconnect_count > 3: if self.reconnect_count > 2:
self._screen.panels['splash_screen'].update_text( self._screen.printer_initializing(
_("Cannot connect to Moonraker") _("Cannot connect to Moonraker") + '\n\n'
+ f'\n\n{self._url}\n\n'
+ _("Retrying") + f' #{self.reconnect_count}' + _("Retrying") + f' #{self.reconnect_count}'
) )
return False return False
@@ -96,8 +74,9 @@ class KlippyWebsocket(threading.Thread):
self.ws_url = f"{self.ws_proto}://{self._url}/websocket?token={token}" self.ws_url = f"{self.ws_proto}://{self._url}/websocket?token={token}"
self.ws = websocket.WebSocketApp( 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.ws_url,
on_close=self.on_close, on_error=self.on_error, on_message=self.on_message, on_open=self.on_open
)
self._wst = threading.Thread(target=self.ws.run_forever, daemon=True) self._wst = threading.Thread(target=self.ws.run_forever, daemon=True)
try: try:
logging.debug("Starting websocket thread") logging.debug("Starting websocket thread")
@@ -108,40 +87,32 @@ class KlippyWebsocket(threading.Thread):
def close(self): def close(self):
self.closing = True self.closing = True
self.connecting = False
if self.ws is not None: if self.ws is not None:
self.ws.close() self.ws.close()
def is_connected(self): def on_message(self, *args):
return self.connected message = args[1] if len(args) == 2 else args[0]
def on_message(self, ws, message):
response = json.loads(message) response = json.loads(message)
if "id" in response and response['id'] in self.callback_table: if "id" in response and response['id'] in self.callback_table:
Gdk.threads_add_idle( args = (response,
GLib.PRIORITY_HIGH_IDLE, self.callback_table[response['id']][1],
self.callback_table[response['id']][0], self.callback_table[response['id']][2],
response, *self.callback_table[response['id']][3])
self.callback_table[response['id']][1], GLib.idle_add(self.callback_table[response['id']][0], *args)
self.callback_table[response['id']][2],
*self.callback_table[response['id']][3]
)
self.callback_table.pop(response['id']) self.callback_table.pop(response['id'])
return return
if "method" in response and "on_message" in self._callback: if "method" in response and "on_message" in self._callback:
Gdk.threads_add_idle( args = response['method'], response['params'][0] if "params" in response else {}
GLib.PRIORITY_HIGH_IDLE, GLib.idle_add(self._callback['on_message'], *args)
self._callback['on_message'],
response['method'],
response['params'][0] if "params" in response else {}
)
return return
def send_method(self, method, params=None, callback=None, *args): def send_method(self, method, params=None, callback=None, *args):
if not self.connected:
return False
if params is None: if params is None:
params = {} params = {}
if self.is_connected() is False:
return False
self._req_id += 1 self._req_id += 1
if callback is not None: if callback is not None:
@@ -156,60 +127,51 @@ class KlippyWebsocket(threading.Thread):
self.ws.send(json.dumps(data)) self.ws.send(json.dumps(data))
return True return True
def on_open(self, ws): def on_open(self, *args):
logging.info("Moonraker Websocket Open") logging.info("Moonraker Websocket Open")
logging.info(f"Self.connected = {self.is_connected()}")
self.connected = True self.connected = True
self._screen.reinit_count = 0
self.reconnect_count = 0 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: if "on_connect" in self._callback:
Gdk.threads_add_idle( GLib.idle_add(self._callback['on_connect'])
GLib.PRIORITY_HIGH_IDLE,
self._callback['on_connect']
)
def on_close(self, ws): def on_close(self, *args):
if self.is_connected() is False: # args: ws, status, message
# sometimes ws is not passed due to bugs
message = args[2] if len(args) == 3 else args[1]
if message is not None:
logging.info(f"{message}")
if not self.connected:
logging.debug("Connection already closed") logging.debug("Connection already closed")
if self.reconnect_timeout is not None:
GLib.source_remove(self.reconnect_timeout)
self.reconnect_timeout = None
return return
if self.closing:
if self.closing is True:
logging.debug("Closing websocket") logging.debug("Closing websocket")
self.ws.keep_running = False self.ws.keep_running = False
self.close() self.close()
self.closing = False self.closing = False
return return
if "on_close" in self._callback:
GLib.idle_add(self._callback['on_close'], "Lost Connection to Moonraker")
logging.info("Moonraker Websocket Closed") logging.info("Moonraker Websocket Closed")
self.connected = False self.connected = False
if self.reconnect_timeout is None:
self.reconnect_timeout = GLib.timeout_add_seconds(9, self.reconnect)
if "on_close" in self._callback:
Gdk.threads_add_idle(
GLib.PRIORITY_HIGH_IDLE,
self._callback['on_close'],
"Lost Connection to Moonraker",
True
)
def reconnect(self): def reconnect(self):
if self.is_connected(): if self.connected:
logging.debug("Reconnected") return False
if self.reconnect_count > self.max_retries:
logging.debug("Stopping reconnections")
self.connecting = False
self._screen.printer_initializing(
_("Cannot connect to Moonraker")
+ f'\n\n{self._screen.apiclient.status}')
return False return False
logging.debug("Attempting to reconnect") logging.debug("Attempting to reconnect")
self.reconnect_count += 1
self.connect() self.connect()
return True return True
@staticmethod @staticmethod
def on_error(ws, error): def on_error(*args):
error = args[1] if len(args) == 2 else args[0]
logging.debug(f"Websocket error: {error}") logging.debug(f"Websocket error: {error}")
@@ -259,7 +221,7 @@ class MoonrakerApi:
) )
def object_subscription(self, updates): def object_subscription(self, updates):
logging.debug(f"Sending printer.objects.subscribe: {updates}") logging.debug("Sending printer.objects.subscribe")
return self._ws.send_method( return self._ws.send_method(
"printer.objects.subscribe", "printer.objects.subscribe",
updates updates
@@ -321,30 +283,6 @@ class MoonrakerApi:
*args *args
) )
def temperature_set(self, heater, target, callback=None, *args):
if heater == "heater_bed":
logging.debug(f"Sending printer.gcode.script: {KlippyGcodes.set_bed_temp(target)}")
return self._ws.send_method(
"printer.gcode.script",
{
"script": KlippyGcodes.set_bed_temp(target)
},
callback,
*args
)
else:
logging.debug(
f'Sending printer.gcode.script: {KlippyGcodes.set_ext_temp(target, heater.replace("tool", ""))}')
# TODO: Add max/min limits
return self._ws.send_method(
"printer.gcode.script",
{
"script": KlippyGcodes.set_ext_temp(target, heater.replace("tool", ""))
},
callback,
*args
)
def set_bed_temp(self, target, callback=None, *args): def set_bed_temp(self, target, callback=None, *args):
logging.debug(f"Sending set_bed_temp: {KlippyGcodes.set_bed_temp(target)}") logging.debug(f"Sending set_bed_temp: {KlippyGcodes.set_bed_temp(target)}")
return self._ws.send_method( return self._ws.send_method(
File diff suppressed because it is too large. Load diff
+123 -76
View File
@@ -6,11 +6,10 @@ import json
import re import re
import copy import copy
import pathlib import pathlib
import locale
from io import StringIO from io import StringIO
from os import path
SCREEN_BLANKING_OPTIONS = [ SCREEN_BLANKING_OPTIONS = [
300, # 5 Minutes 300, # 5 Minutes
900, # 15 Minutes 900, # 15 Minutes
@@ -34,12 +33,15 @@ class KlipperScreenConfig:
do_not_edit_prefix = "#~#" do_not_edit_prefix = "#~#"
def __init__(self, configfile, screen=None): def __init__(self, configfile, screen=None):
self.lang_list = None
self.errors = [] self.errors = []
self.default_config_path = os.path.join(klipperscreendir, "ks_includes", "defaults.conf") self.default_config_path = os.path.join(klipperscreendir, "ks_includes", "defaults.conf")
self.config = configparser.ConfigParser() self.config = configparser.ConfigParser()
self.config_path = self.get_config_file_location(configfile) self.config_path = self.get_config_file_location(configfile)
logging.debug(f"Config path location: {self.config_path}") logging.debug(f"Config path location: {self.config_path}")
self.defined_config = None self.defined_config = None
self.lang = None
self.langs = {}
try: try:
self.config.read(self.default_config_path) self.config.read(self.default_config_path)
@@ -101,49 +103,79 @@ class KlipperScreenConfig:
item[name]['moonraker_api_key'] = "redacted" item[name]['moonraker_api_key'] = "redacted"
logging.debug(f"Configured printers: {json.dumps(conf_printers_debug, indent=2)}") logging.debug(f"Configured printers: {json.dumps(conf_printers_debug, indent=2)}")
lang = self.get_main_config().get("language", None) self.create_translations()
lang = [lang] if lang is not None and lang != "default" else None
logging.info(f"Detected language: {lang}")
self.lang = gettext.translation('KlipperScreen', localedir='ks_includes/locales', languages=lang,
fallback=True)
self.lang.install(names=['gettext', 'ngettext'])
self._create_configurable_options(screen) self._create_configurable_options(screen)
def create_translations(self):
lang_path = os.path.join(klipperscreendir, "ks_includes", "locales")
self.lang_list = [d for d in os.listdir(lang_path) if not os.path.isfile(os.path.join(lang_path, d))]
self.lang_list.sort()
for lng in self.lang_list:
self.langs[lng] = gettext.translation('KlipperScreen', localedir=lang_path, languages=[lng], fallback=True)
lang = self.get_main_config().get("language", None)
logging.debug(f"Selected lang: {lang} OS lang: {locale.getdefaultlocale()[0]}")
self.install_language(lang)
def install_language(self, lang):
if lang is None or lang == "system_lang":
for language in self.lang_list:
if locale.getdefaultlocale()[0].startswith(language):
logging.debug("Using system lang")
lang = language
if lang is not None and lang not in self.lang_list:
# try to match a parent
for language in self.lang_list:
if lang.startswith(language):
lang = language
self.set("main", "language", lang)
if lang not in self.lang_list:
logging.error(f"lang: {lang} not found")
logging.info(f"Available lang list {self.lang_list}")
lang = "en"
logging.info(f"Using lang {lang}")
self.lang = self.langs[lang]
self.lang.install(names=['gettext', 'ngettext'])
def validate_config(self): def validate_config(self):
valid = True valid = True
bools = strs = numbers = ()
for section in self.config: for section in self.config:
if section == 'DEFAULT' or section.startswith('include '):
# Do not validate 'DEFAULT' or 'include*' sections
continue
bools = strs = numbers = ()
if section == 'main': if section == 'main':
bools = ( bools = (
'invert_x', 'invert_y', 'invert_z', '24htime', 'only_heaters', 'show_cursor', 'confirm_estop', 'invert_x', 'invert_y', 'invert_z', '24htime', 'only_heaters', 'show_cursor', 'confirm_estop',
'autoclose_popups', 'use_dpms', 'use_default_menu', 'side_macro_shortcut', 'use-matchbox-keyboard' 'autoclose_popups', 'use_dpms', 'use_default_menu', 'side_macro_shortcut', 'use-matchbox-keyboard',
'show_heater_power'
) )
strs = ( strs = (
'default_printer', 'language', 'print_sort_dir', 'theme', 'screen_blanking', 'font_size', 'default_printer', 'language', 'print_sort_dir', 'theme', 'screen_blanking', 'font_size',
'print_estimate_method', 'screen_blanking' 'print_estimate_method', 'screen_blanking', "screen_on_devices", "screen_off_devices",
) )
numbers = ( numbers = (
'job_complete_timeout', 'job_error_timeout', 'move_speed_xy', 'move_speed_z', 'job_complete_timeout', 'job_error_timeout', 'move_speed_xy', 'move_speed_z',
'print_estimate_compensation' 'print_estimate_compensation', 'width', 'height',
) )
elif section.startswith('printer '): elif section.startswith('printer '):
bools = ( bools = (
'invert_x', 'invert_y', 'invert_z', 'invert_x', 'invert_y', 'invert_z',
) )
strs = ( strs = (
'moonraker_api_key', 'moonraker_host', 'language', 'titlebar_name_type', 'moonraker_api_key', 'moonraker_host', 'titlebar_name_type',
'screw_positions', 'power_devices', 'titlebar_items' 'screw_positions', 'power_devices', 'titlebar_items', 'z_babystep_values',
'extrude_distances', "extrude_speeds", "camera_url",
) )
numbers = ( numbers = (
'moonraker_port', 'move_speed_xy', 'move_speed_z', 'z_babystep_values' 'moonraker_port', 'move_speed_xy', 'move_speed_z',
'calibrate_x_position', 'calibrate_y_position', 'calibrate_x_position', 'calibrate_y_position',
) )
elif section.startswith('preheat '): elif section.startswith('preheat '):
strs = ('gcode', '') strs = ('gcode', '')
numbers = [f'{option}' for option in self.config[section] if option != 'gcode'] numbers = [f'{option}' for option in self.config[section] if option != 'gcode']
elif section.startswith('menu '): elif section.startswith('menu '):
strs = ('name', 'icon', 'panel', 'method', 'params', 'enable', 'confirm') strs = ('name', 'icon', 'panel', 'method', 'params', 'enable', 'confirm', 'style')
elif section == 'bed_screws': elif section == 'bed_screws':
# This section may be deprecated in favor of moving this options under the printer section # This section may be deprecated in favor of moving this options under the printer section
numbers = ('rotation', '') numbers = ('rotation', '')
@@ -153,8 +185,6 @@ class KlipperScreenConfig:
elif section.startswith('z_calibrate_position'): elif section.startswith('z_calibrate_position'):
# This section may be deprecated in favor of moving this options under the printer section # This section may be deprecated in favor of moving this options under the printer section
numbers = ('calibrate_x_position', 'calibrate_y_position') numbers = ('calibrate_x_position', 'calibrate_y_position')
elif section == 'DEFAULT':
continue
else: else:
self.errors.append(f'Section [{section}] not recognized') self.errors.append(f'Section [{section}] not recognized')
@@ -163,7 +193,7 @@ class KlipperScreenConfig:
msg = f'Option "{key}" not recognized for section "[{section}]"' msg = f'Option "{key}" not recognized for section "[{section}]"'
self.errors.append(msg) self.errors.append(msg)
# This most probably is not a big issue, continue to load the config # This most probably is not a big issue, continue to load the config
elif key in numbers and not self.config[section][key].isnumeric() \ elif key in numbers and not self.is_float(self.config[section][key]) \
or key in bools and self.config[section][key] not in ["False", "false", "True", "true"]: or key in bools and self.config[section][key] not in ["False", "false", "True", "true"]:
msg = ( msg = (
f'Unable to parse "{key}" from [{section}]\n' f'Unable to parse "{key}" from [{section}]\n'
@@ -173,6 +203,14 @@ class KlipperScreenConfig:
valid = False valid = False
return valid return valid
@staticmethod
def is_float(element):
try:
float(element)
return True
except ValueError:
return False
def get_errors(self): def get_errors(self):
return "".join(f'{error}\n\n' for error in self.errors) return "".join(f'{error}\n\n' for error in self.errors)
@@ -181,11 +219,11 @@ class KlipperScreenConfig:
self.configurable_options = [ self.configurable_options = [
{"language": { {"language": {
"section": "main", "name": _("Language"), "type": "dropdown", "value": "system_lang", "section": "main", "name": _("Language"), "type": "dropdown", "value": "system_lang",
"callback": screen.restart_warning, "options": [ "callback": screen.change_language, "options": [
{"name": _("System") + " " + _("(default)"), "value": "system_lang"}]}}, {"name": _("System") + " " + _("(default)"), "value": "system_lang"}]}},
{"theme": { {"theme": {
"section": "main", "name": _("Icon Theme"), "type": "dropdown", "section": "main", "name": _("Icon Theme"), "type": "dropdown",
"value": "z-bolt", "callback": screen.restart_warning, "options": [ "value": "z-bolt", "callback": screen.restart_ks, "options": [
{"name": "Z-bolt" + " " + _("(default)"), "value": "z-bolt"}]}}, {"name": "Z-bolt" + " " + _("(default)"), "value": "z-bolt"}]}},
{"print_estimate_method": { {"print_estimate_method": {
"section": "main", "name": _("Estimated Time Method"), "type": "dropdown", "section": "main", "name": _("Estimated Time Method"), "type": "dropdown",
@@ -197,7 +235,7 @@ class KlipperScreenConfig:
{"screen_blanking": { {"screen_blanking": {
"section": "main", "name": _("Screen Power Off Time"), "type": "dropdown", "section": "main", "name": _("Screen Power Off Time"), "type": "dropdown",
"value": "3600", "callback": screen.set_screenblanking_timeout, "options": [ "value": "3600", "callback": screen.set_screenblanking_timeout, "options": [
{"name": _("Off"), "value": "off"}] {"name": _("Never"), "value": "off"}]
}}, }},
{"24htime": {"section": "main", "name": _("24 Hour Time"), "type": "binary", "value": "True"}}, {"24htime": {"section": "main", "name": _("24 Hour Time"), "type": "binary", "value": "True"}},
{"side_macro_shortcut": { {"side_macro_shortcut": {
@@ -205,14 +243,16 @@ class KlipperScreenConfig:
"value": "True", "callback": screen.toggle_macro_shortcut}}, "value": "True", "callback": screen.toggle_macro_shortcut}},
{"font_size": { {"font_size": {
"section": "main", "name": _("Font Size"), "type": "dropdown", "section": "main", "name": _("Font Size"), "type": "dropdown",
"value": "medium", "callback": screen.restart_warning, "options": [ "value": "medium", "callback": screen.restart_ks, "options": [
{"name": _("Small"), "value": "small"}, {"name": _("Small"), "value": "small"},
{"name": _("Medium") + " " + _("(default)"), "value": "medium"}, {"name": _("Medium") + " " + _("(default)"), "value": "medium"},
{"name": _("Large"), "value": "large"}]}}, {"name": _("Large"), "value": "large"},
{"name": _("Extra Large"), "value": "extralarge"},
{"name": _("Maximum"), "value": "max"}]}},
{"confirm_estop": {"section": "main", "name": _("Confirm Emergency Stop"), "type": "binary", {"confirm_estop": {"section": "main", "name": _("Confirm Emergency Stop"), "type": "binary",
"value": "False"}}, "value": "False"}},
{"only_heaters": {"section": "main", "name": _("Hide sensors in Temp."), "type": "binary", {"only_heaters": {"section": "main", "name": _("Hide sensors in Temp."), "type": "binary",
"value": "False", "callback": screen.restart_warning}}, "value": "False", "callback": screen.reload_panels}},
{"use_dpms": {"section": "main", "name": _("Screen DPMS"), "type": "binary", {"use_dpms": {"section": "main", "name": _("Screen DPMS"), "type": "binary",
"value": "True", "callback": screen.set_dpms}}, "value": "True", "callback": screen.set_dpms}},
{"print_estimate_compensation": { {"print_estimate_compensation": {
@@ -220,7 +260,8 @@ class KlipperScreenConfig:
"range": [50, 150], "step": 1}}, "range": [50, 150], "step": 1}},
{"autoclose_popups": {"section": "main", "name": _("Auto-close notifications"), "type": "binary", {"autoclose_popups": {"section": "main", "name": _("Auto-close notifications"), "type": "binary",
"value": "True"}}, "value": "True"}},
{"show_heater_power": {"section": "main", "name": _("Show Heater Power"), "type": "binary",
"value": "False", "callback": screen.reload_panels}},
# {"": {"section": "main", "name": _(""), "type": ""}} # {"": {"section": "main", "name": _(""), "type": ""}}
] ]
@@ -236,12 +277,8 @@ class KlipperScreenConfig:
self.configurable_options.extend(panel_options) self.configurable_options.extend(panel_options)
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[0]['language']['options'] lang_opt = self.configurable_options[0]['language']['options']
for lang in self.lang_list:
for lang in langs:
lang_opt.append({"name": lang, "value": lang}) lang_opt.append({"name": lang, "value": lang})
t_path = os.path.join(klipperscreendir, 'styles') t_path = os.path.join(klipperscreendir, 'styles')
@@ -320,8 +357,8 @@ class KlipperScreenConfig:
user_def = [] user_def = []
saved_def = [] saved_def = []
found_saved = False found_saved = False
if not path.exists(config_path): if not os.path.exists(config_path):
return [None, None] return ["", None]
with open(config_path) as file: with open(config_path) as file:
for line in file: for line in file:
line = line.replace('\n', '') line = line.replace('\n', '')
@@ -336,21 +373,37 @@ class KlipperScreenConfig:
return ["\n".join(user_def), None if saved_def is None else "\n".join(saved_def)] return ["\n".join(user_def), None if saved_def is None else "\n".join(saved_def)]
def get_config_file_location(self, file): def get_config_file_location(self, file):
logging.info(f"Passed config file: {file}") # Passed config (-c) by default is ~/KlipperScreen.conf
if not path.exists(file): logging.info(f"Passed config (-c): {file}")
file = os.path.join(klipperscreendir, self.configfile_name) if os.path.exists(file):
if not path.exists(file): return file
file = self.configfile_name.lower()
if not path.exists(file):
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(f"Found configuration file at: {file}") file = os.path.join(klipperscreendir, self.configfile_name)
return file if os.path.exists(file):
return file
file = os.path.join(klipperscreendir, self.configfile_name.lower())
if os.path.exists(file):
return file
klipper_config = os.path.join(os.path.expanduser("~/"), "printer_data", "config")
file = os.path.join(klipper_config, self.configfile_name)
if os.path.exists(file):
return file
file = os.path.join(klipper_config, self.configfile_name.lower())
if os.path.exists(file):
return file
# OLD config folder
klipper_config = os.path.join(os.path.expanduser("~/"), "klipper_config")
file = os.path.join(klipper_config, self.configfile_name)
if os.path.exists(file):
return file
file = os.path.join(klipper_config, self.configfile_name.lower())
if os.path.exists(file):
return file
# fallback
return self.default_config_path
def get_config(self): def get_config(self):
return self.config return self.config
@@ -379,9 +432,7 @@ class KlipperScreenConfig:
def get_menu_name(self, menu="__main", subsection=""): def get_menu_name(self, menu="__main", subsection=""):
name = f"menu {menu} {subsection}" if subsection != "" else f"menu {menu}" name = f"menu {menu} {subsection}" if subsection != "" else f"menu {menu}"
if name not in self.config: return False if name not in self.config else self.config[name].get('name')
return False
return self.config[name].get('name')
def get_preheat_options(self): def get_preheat_options(self):
index = "preheat " index = "preheat "
@@ -392,18 +443,13 @@ class KlipperScreenConfig:
if name not in self.config: if name not in self.config:
return False return False
cfg = self.config[name] cfg = self.config[name]
return {opt: cfg.get("gcode", None) if opt == "gcode" else cfg.getint(opt, None) for opt in cfg} return {opt: cfg.get("gcode", None) if opt == "gcode" else cfg.getfloat(opt, None) for opt in cfg}
def get_printer_config(self, name): def get_printer_config(self, name):
if not name.startswith("printer "): if not name.startswith("printer "):
name = f"printer {name}" name = f"printer {name}"
if name not in self.config: return None if name not in self.config else self.config[name]
return None
return self.config[name]
def get_printer_power_name(self):
return self.config['settings'].get("printer_power_name", "printer")
def get_printers(self): def get_printers(self):
return self.printers return self.printers
@@ -444,20 +490,25 @@ class KlipperScreenConfig:
else: else:
user_def, saved_def = self.separate_saved_config(self.config_path) user_def, saved_def = self.separate_saved_config(self.config_path)
extra_lb = "\n" if saved_def is not None else "" contents = (f"{user_def}\n"
contents = "%s\n%s%s\n%s\n%s\n%s\n" % ( f"{self.do_not_edit_line}\n"
user_def, self.do_not_edit_line, extra_lb, self.do_not_edit_prefix, "\n".join(save_output), f"{self.do_not_edit_prefix}\n"
self.do_not_edit_prefix) + '\n'.join(save_output) + f"\n"
f"{self.do_not_edit_prefix}\n")
if self.config_path != self.default_config_path: if self.config_path != self.default_config_path:
filepath = self.config_path filepath = self.config_path
else: else:
filepath = os.path.expanduser("~/") filepath = os.path.expanduser("~/")
klipper_config = os.path.join(filepath, "klipper_config") klipper_config = os.path.join(filepath, "printer_data", "config")
old_klipper_config = os.path.join(filepath, "klipper_config")
if os.path.exists(klipper_config): if os.path.exists(klipper_config):
filepath = os.path.join(klipper_config, "KlipperScreen.conf") filepath = os.path.join(klipper_config, self.configfile_name)
elif os.path.exists(old_klipper_config):
filepath = os.path.join(old_klipper_config, self.configfile_name)
else: else:
filepath = os.path.join(filepath, "KlipperScreen.conf") filepath = os.path.join(filepath, self.configfile_name)
logging.info(f'Creating a new config file in {filepath}')
try: try:
with open(filepath, 'w') as file: with open(filepath, 'w') as file:
@@ -494,17 +545,13 @@ class KlipperScreenConfig:
cfg = self.config[name] cfg = self.config[name]
item = { item = {
"name": cfg.get("name"), "name": cfg.get("name"),
"icon": cfg.get("icon"), "icon": cfg.get("icon", None),
"panel": cfg.get("panel", False), "panel": cfg.get("panel", None),
"method": cfg.get("method", False), "method": cfg.get("method", None),
"confirm": cfg.get("confirm", False), "confirm": cfg.get("confirm", None),
"enable": cfg.get("enable", True) "enable": cfg.get("enable", "True"),
"params": cfg.get("params", "{}"),
"style": cfg.get("style", None)
} }
try:
item["params"] = json.loads(cfg.get("params", "{}"))
except Exception as e:
logging.exception(f"Unable to parse parameters for [{name}]:\n{e}")
item["params"] = {}
return {name[(len(menu) + 6):]: item} return {name[(len(menu) + 6):]: item}
+13 -5
View File
@@ -128,6 +128,12 @@ icon: motor-off
method: printer.gcode.script method: printer.gcode.script
params: {"script":"M18"} params: {"script":"M18"}
[menu __main actions camera]
name: {{ gettext('Camera') }}
icon: camera
panel: camera
enable: {{ camera_configured }}
[menu __main actions console] [menu __main actions console]
name: {{ gettext('Console') }} name: {{ gettext('Console') }}
icon: console icon: console
@@ -231,6 +237,13 @@ icon: custom-script
panel: gcode_macros panel: gcode_macros
enable: {{ printer.gcode_macros.count > 0 }} enable: {{ printer.gcode_macros.count > 0 }}
[menu __print camera]
name: {{ gettext('Camera') }}
icon: camera
panel: camera
enable: {{ camera_configured }}
[menu __print console] [menu __print console]
name: {{ gettext('Console') }} name: {{ gettext('Console') }}
icon: console icon: console
@@ -252,11 +265,6 @@ icon: retract
panel: retraction panel: retraction
enable: {{ printer.firmware_retraction }} enable: {{ printer.firmware_retraction }}
[menu __print system]
name: {{ gettext('System') }}
icon: info
panel: system
[menu __print settings] [menu __print settings]
name: {{ gettext('Settings') }} name: {{ gettext('Settings') }}
icon: settings icon: settings
+11 -12
View File
@@ -16,7 +16,6 @@ class KlippyFiles:
self.gcodes_path = None self.gcodes_path = None
def initialize(self): def initialize(self):
self.gcodes_path = None
if "virtual_sdcard" in self._screen.printer.get_config_section_list(): if "virtual_sdcard" in self._screen.printer.get_config_section_list():
vsd = self._screen.printer.get_config_section("virtual_sdcard") vsd = self._screen.printer.get_config_section("virtual_sdcard")
if "path" in vsd: if "path" in vsd:
@@ -24,7 +23,11 @@ class KlippyFiles:
logging.info(f"Gcodes path: {self.gcodes_path}") logging.info(f"Gcodes path: {self.gcodes_path}")
def reset(self): def reset(self):
self.__init__(self._screen) self._screen = None
self.callbacks = None
self.files = None
self.filelist = None
self.gcodes_path = None
def _callback(self, result, method, params): def _callback(self, result, method, params):
if method == "server.files.list": if method == "server.files.list":
@@ -92,7 +95,8 @@ class KlippyFiles:
if filename in self.filelist: if filename in self.filelist:
logging.info(f"File already exists: {filename}") logging.info(f"File already exists: {filename}")
self.request_metadata(filename) self.request_metadata(filename)
GLib.timeout_add_seconds(1, self.run_callbacks, mods=[filename]) args = None, None, [filename]
GLib.idle_add(self.run_callbacks, *args)
return return
self.filelist.append(filename) self.filelist.append(filename)
@@ -135,10 +139,8 @@ class KlippyFiles:
return filename in self.filelist return filename in self.filelist
def file_metadata_exists(self, filename): def file_metadata_exists(self, filename):
if not self.file_exists(filename): if self.file_exists(filename):
return False return "slicer" in self.files[filename]
if "slicer" in self.files[filename]:
return True
return False return False
def get_thumbnail_location(self, filename, small=False): def get_thumbnail_location(self, filename, small=False):
@@ -174,10 +176,6 @@ class KlippyFiles:
if notify is True: if notify is True:
self.run_callbacks(deletedfiles=[filename]) self.run_callbacks(deletedfiles=[filename])
def ret_file_data(self, filename):
logging.info(f"Getting file info for {filename}")
self._screen._ws.klippy.get_file_metadata(filename, self._callback)
def run_callbacks(self, newfiles=None, deletedfiles=None, mods=None): def run_callbacks(self, newfiles=None, deletedfiles=None, mods=None):
if mods is None: if mods is None:
mods = [] mods = []
@@ -188,7 +186,8 @@ class KlippyFiles:
if len(self.callbacks) <= 0: if len(self.callbacks) <= 0:
return False return False
for cb in self.callbacks: for cb in self.callbacks:
GLib.idle_add(cb, newfiles, deletedfiles, mods) args = newfiles, deletedfiles, mods
GLib.idle_add(cb, *args)
return False return False
def get_file_list(self): def get_file_list(self):
+19 -16
View File
@@ -47,8 +47,8 @@ try:
return state return state
dpms_loaded = True dpms_loaded = True
except Exception: except Exception as msg:
pass logging.error(f"Couldn't load DPMS: {msg}")
def get_network_interfaces(): def get_network_interfaces():
@@ -123,8 +123,8 @@ def patch_threading_excepthook():
threading.Thread.__init__ = new_init threading.Thread.__init__ = new_init
# Timed rotating file handler based on Klipper and Moonraker's implementation # Rotating file handler based on Klipper and Moonraker's implementation
class KlipperScreenLoggingHandler(logging.handlers.TimedRotatingFileHandler): class KlipperScreenLoggingHandler(logging.handlers.RotatingFileHandler):
def __init__(self, software_version, filename, **kwargs): def __init__(self, software_version, filename, **kwargs):
super(KlipperScreenLoggingHandler, self).__init__(filename, **kwargs) super(KlipperScreenLoggingHandler, self).__init__(filename, **kwargs)
self.rollover_info = { self.rollover_info = {
@@ -157,24 +157,27 @@ def setup_logging(log_file, software_version):
stdout_fmt = logging.Formatter( stdout_fmt = logging.Formatter(
'%(asctime)s [%(filename)s:%(funcName)s()] - %(message)s') '%(asctime)s [%(filename)s:%(funcName)s()] - %(message)s')
stdout_hdlr.setFormatter(stdout_fmt) stdout_hdlr.setFormatter(stdout_fmt)
fh = listener = None
fh = None try:
if log_file: fh = KlipperScreenLoggingHandler(software_version, log_file, maxBytes=4194304, backupCount=1)
fh = KlipperScreenLoggingHandler(software_version, log_file, when='midnight', backupCount=2) formatter = logging.Formatter('%(asctime)s [%(filename)s:%(funcName)s()] - %(message)s')
formatter = logging.Formatter(
'%(asctime)s [%(filename)s:%(funcName)s()] - %(message)s')
fh.setFormatter(formatter) fh.setFormatter(formatter)
listener = logging.handlers.QueueListener( listener = logging.handlers.QueueListener(queue, fh, stdout_hdlr)
queue, fh, stdout_hdlr) except Exception as e:
else: print(
listener = logging.handlers.QueueListener( f"Unable to create log file at '{os.path.normpath(log_file)}'.\n"
queue, stdout_hdlr) f"Make sure that the folder '{os.path.dirname(log_file)}' exists\n"
f"and KlipperScreen has Read/Write access to the folder.\n"
f"{e}\n"
)
if listener is None:
listener = logging.handlers.QueueListener(queue, stdout_hdlr)
listener.start() listener.start()
def logging_exception_handler(ex_type, value, tb, thread_identifier=None): def logging_exception_handler(ex_type, value, tb, thread_identifier=None):
logging.exception( logging.exception(
f'Uncaught exception {ex_type}: {value}\n' f'Uncaught exception {ex_type}: {value}\n'
f'Traceback: {traceback.format_tb(tb)}' + '\n'.join([str(x) for x in [*traceback.format_tb(tb)]])
) )
sys.excepthook = logging_exception_handler sys.excepthook = logging_exception_handler
+44 -55
View File
@@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-08-18 23:05-0300\n" "POT-Creation-Date: 2022-11-30 18:17-0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -46,9 +46,6 @@ msgstr ""
msgid "Actions" msgid "Actions"
msgstr "" msgstr ""
msgid "Add Printer"
msgstr ""
msgid "Add profile" msgid "Add profile"
msgstr "" msgstr ""
@@ -63,6 +60,9 @@ msgstr ""
msgid "Apply %s%.2f offset to Probe?" msgid "Apply %s%.2f offset to Probe?"
msgstr "" msgstr ""
msgid "Are you sure do you want to exclude the object?"
msgstr ""
msgid "Are you sure you want to run Emergency Stop?" msgid "Are you sure you want to run Emergency Stop?"
msgstr "" msgstr ""
@@ -111,9 +111,6 @@ msgstr ""
msgid "Calibrating" msgid "Calibrating"
msgstr "" msgstr ""
msgid "Calibrating..."
msgstr ""
msgid "Can't set above the maximum:" msgid "Can't set above the maximum:"
msgstr "" msgstr ""
@@ -178,9 +175,6 @@ msgstr ""
msgid "Decrease" msgid "Decrease"
msgstr "" msgstr ""
msgid "Delete"
msgstr ""
msgid "Delete File?" msgid "Delete File?"
msgstr "" msgstr ""
@@ -212,6 +206,9 @@ msgstr ""
msgid "Exclude Object" msgid "Exclude Object"
msgstr "" msgstr ""
msgid "Extra Large"
msgstr ""
msgid "Extrude" msgid "Extrude"
msgstr "" msgstr ""
@@ -287,9 +284,6 @@ msgstr ""
msgid "Hide temp." msgid "Hide temp."
msgstr "" msgstr ""
msgid "Home"
msgstr ""
msgid "Home All" msgid "Home All"
msgstr "" msgstr ""
@@ -320,9 +314,6 @@ msgstr ""
msgid "Increase" msgid "Increase"
msgstr "" msgstr ""
msgid "Initializing"
msgstr ""
msgid "Initializing printer..." msgid "Initializing printer..."
msgstr "" msgstr ""
@@ -335,6 +326,9 @@ msgstr ""
msgid "Invalid" msgid "Invalid"
msgstr "" msgstr ""
msgid "Invalid password"
msgstr ""
msgid "Invert X" msgid "Invert X"
msgstr "" msgstr ""
@@ -362,6 +356,9 @@ msgstr ""
msgid "Klipper will reboot" msgid "Klipper will reboot"
msgstr "" msgstr ""
msgid "KlipperScreen will reboot"
msgstr ""
msgid "Language" msgid "Language"
msgstr "" msgstr ""
@@ -383,9 +380,6 @@ msgstr ""
msgid "Lower Nozzle" msgid "Lower Nozzle"
msgstr "" msgstr ""
msgid "Machine"
msgstr ""
msgid "Macro shortcut on sidebar" msgid "Macro shortcut on sidebar"
msgstr "" msgstr ""
@@ -407,6 +401,9 @@ msgstr ""
msgid "Max Velocity" msgid "Max Velocity"
msgstr "" msgstr ""
msgid "Maximum"
msgstr ""
msgid "Measure Both" msgid "Measure Both"
msgstr "" msgstr ""
@@ -422,6 +419,9 @@ msgstr ""
msgid "Menu" msgid "Menu"
msgstr "" msgstr ""
msgid "Mesh calibrate"
msgstr ""
msgid "Modified" msgid "Modified"
msgstr "" msgstr ""
@@ -440,6 +440,9 @@ msgstr ""
msgid "Network" msgid "Network"
msgstr "" msgstr ""
msgid "Never"
msgstr ""
msgid "New" msgid "New"
msgstr "" msgstr ""
@@ -451,9 +454,6 @@ msgstr ""
msgid "Nothing selected" msgid "Nothing selected"
msgstr "" msgstr ""
msgid "Off"
msgstr ""
#, python-format #, python-format
msgid "Outdated by %d" msgid "Outdated by %d"
msgstr "" msgstr ""
@@ -505,9 +505,15 @@ msgstr ""
msgid "Print Time" msgid "Print Time"
msgstr "" msgstr ""
msgid "Printer"
msgstr ""
msgid "Printer Connections" msgid "Printer Connections"
msgstr "" msgstr ""
msgid "Printer Select"
msgstr ""
msgid "Printing" msgid "Printing"
msgstr "" msgstr ""
@@ -517,12 +523,18 @@ msgstr ""
msgid "Profile Name:" msgid "Profile Name:"
msgstr "" msgstr ""
msgid "Provide KlipperScreen.log when asking for help.\n"
msgstr ""
msgid "Quad Gantry Level" msgid "Quad Gantry Level"
msgstr "" msgstr ""
msgid "Raise Nozzle" msgid "Raise Nozzle"
msgstr "" msgstr ""
msgid "Recover"
msgstr ""
msgid "Recover Hard" msgid "Recover Hard"
msgstr "" msgstr ""
@@ -553,8 +565,7 @@ msgstr ""
msgid "Retraction Speed" msgid "Retraction Speed"
msgstr "" msgstr ""
#, python-format msgid "Retry"
msgid "Retry #%s"
msgstr "" msgstr ""
msgid "Retrying" msgid "Retrying"
@@ -607,6 +618,12 @@ msgstr ""
msgid "Show" msgid "Show"
msgstr "" msgstr ""
msgid "Show Heater Power"
msgstr ""
msgid "Shutdown"
msgstr ""
msgid "Size" msgid "Size"
msgstr "" msgstr ""
@@ -622,12 +639,6 @@ msgstr ""
msgid "Small" msgid "Small"
msgstr "" msgstr ""
msgid "Sort by: "
msgstr ""
msgid "Sort:"
msgstr ""
msgid "Speed (mm/s)" msgid "Speed (mm/s)"
msgstr "" msgstr ""
@@ -670,10 +681,6 @@ msgstr ""
msgid "Temperature" msgid "Temperature"
msgstr "" msgstr ""
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr ""
msgid "Total:" msgid "Total:"
msgstr "" msgstr ""
@@ -704,27 +711,12 @@ msgstr ""
msgid "Uploaded" msgid "Uploaded"
msgstr "" msgstr ""
msgid "View Mesh"
msgstr ""
msgid "X+"
msgstr ""
msgid "X-"
msgstr ""
msgid "XY Move Speed (mm/s)" msgid "XY Move Speed (mm/s)"
msgstr "" msgstr ""
msgid "XY Speed (mm/s)" msgid "XY Speed (mm/s)"
msgstr "" msgstr ""
msgid "Y+"
msgstr ""
msgid "Y-"
msgstr ""
msgid "Z Calibrate" msgid "Z Calibrate"
msgstr "" msgstr ""
@@ -740,12 +732,6 @@ msgstr ""
msgid "Z offset:" msgid "Z offset:"
msgstr "" msgstr ""
msgid "Z+"
msgstr ""
msgid "Z-"
msgstr ""
msgid "commit" msgid "commit"
msgid_plural "commits" msgid_plural "commits"
msgstr[0] "" msgstr[0] ""
@@ -770,3 +756,6 @@ msgstr ""
msgid "mm/s²" msgid "mm/s²"
msgstr "" msgstr ""
msgid "mm³/s"
msgstr ""
Binary file not shown.
@@ -0,0 +1,776 @@
# 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: Czech\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-01-29 09:28-0600\n"
"PO-Revision-Date: 2023-01-29 09:27-0600\n"
"Last-Translator: \n"
"Language-Team: Jan Stanka (stanky@email.cz)\n"
"Language: cs\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>=2 && n<=4 ? 1 : 2);\n"
"X-Generator: Poedit 2.4.2\n"
#, python-format
msgid "%s will be updated to version"
msgstr "%s bude aktualizováno na verzi"
msgid "(default)"
msgstr ""
msgid "24 Hour Time"
msgstr "24 hod formát"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "FW restart může fixnout chyby."
msgid "ADXL Not Configured"
msgstr "ADXL není nastaven"
msgid "Abort"
msgstr "Zrušit"
msgid "Acceleration:"
msgstr "Zrychlení:"
msgid "Accept"
msgstr "Přijmout"
msgid "Actions"
msgstr "Akce"
msgid "Add profile"
msgstr "Přidat profil"
msgid "Apply"
msgstr "Použít"
#, python-format
msgid "Apply %.2f offset to Endstop?"
msgstr "Použít %.2f přesah k Endstop?"
#, python-format
msgid "Apply %s%.2f offset to Probe?"
msgstr "Použít %s%.2f přesah k Sondě?"
msgid "Are you sure do you want to exclude the object?"
msgstr "Opravdu chceš vyjmout objekt?"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "Opravdu okamžitě zastavit?"
msgid "Are you sure you wish to cancel this print?"
msgstr "Opravdu chcete zrušit tisk?"
msgid "Are you sure you wish to disable motors?"
msgstr "Opravdu chcete uvolnit motory?"
msgid "Are you sure you wish to reboot the system?"
msgstr "Opravdu chcete rebootovat systém?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "Opravdu chcete vypnout systém?"
msgid "Auto"
msgstr "Auto"
msgid "Auto-calibrate"
msgstr "Auto-kalibrace"
msgid "Auto-close notifications"
msgstr "Automaticky zavřít upozornění"
msgid "Auto-scroll"
msgstr "Auto posun"
msgid "Bed Level"
msgstr "Vyrovnání podložky"
msgid "Bed Mesh"
msgstr "Mapa podložky"
msgid "Bed screw configuration:"
msgstr "Vyrovnání šroubů podložky:"
msgid "Calibrate"
msgstr "Kalibrace"
msgid "Calibrated"
msgstr "Zkalibrováno"
msgid "Calibrated, save configuration to make it permanent"
msgstr "Zkalibrováno, uložit změny jako trvalé"
msgid "Calibrating"
msgstr "Kalibruji"
msgid "Camera"
msgstr ""
msgid "Can't set above the maximum:"
msgstr "Nemohu nastavit víc než max:"
msgid "Cancel"
msgstr "Zrušit"
msgid "Cancel Print"
msgstr "Zrušit tisk"
msgid "Cancelled"
msgstr "Zrušeno"
msgid "Cancelling"
msgstr "Ruším"
msgid "Cannot connect to Moonraker"
msgstr "Nelze se připojit k Moonraker"
msgid "Channel"
msgstr "Kanál"
msgid "Check ADXL Wiring"
msgstr "Zkontroluj zapojení ADXL"
msgid "Checking for updates, please wait..."
msgstr "Kontrola aktualizací, čekej ..."
msgid "Clear"
msgstr "Vymaž"
msgid "Close"
msgstr "Zavřít"
msgid "Complete"
msgstr "Hotovo"
msgid "Configuration"
msgstr "Konfigurace"
msgid "Confirm Emergency Stop"
msgstr "Potvrzovat Emergency Stop"
msgid "Connected"
msgstr "Připojeno"
#, python-format
msgid "Connecting to %s"
msgstr "Připojování k %s"
msgid "Console"
msgstr "Konsole"
msgid "Continue"
msgstr "Pokračuj"
msgid "Cooldown"
msgstr "Zchladit"
msgid "Date"
msgstr "Datum"
msgid "Delete Directory?"
msgstr ""
msgid "Delete File?"
msgstr "Smazat soubor?"
msgid "Deselect"
msgstr "Odznačit"
msgid "Disable Motors"
msgstr "Uvolnit motory"
msgid "Disable XY"
msgstr "Uvolnit XY"
msgid "Distance (mm)"
msgstr "Vzdálenost (mm)"
#, python-format
msgid "Do you want to recover %s?"
msgstr "Obnovit %s?"
msgid "Elapsed:"
msgstr "Uplynulo:"
msgid "Error"
msgstr "Chyba"
msgid "Estimated Time Method"
msgstr "Výpočet doby tisku"
msgid "Exclude Object"
msgstr "Vyloučit objekt"
msgid "Extra Large"
msgstr "Extra velký"
msgid "Extrude"
msgstr "Extruze"
msgid "Extrusion +"
msgstr "Extruze +"
msgid "Extrusion -"
msgstr "Extruze -"
msgid "Failed, adjust position first"
msgstr "Chyba, nastav nejprve pozici"
msgid "Fan"
msgstr "Větrák"
msgid "Filament Used"
msgstr "Typ filamentu"
msgid "Filament total:"
msgstr "Filament celkem:"
msgid "Filament used:"
msgstr "Použitý filament:"
msgid "Filament:"
msgstr "Filament:"
msgid "File"
msgstr "Soubor"
msgid "File:"
msgstr "Soubor:"
msgid "Finding ADXL"
msgstr "Hledání ADXL"
msgid "Fine Tuning"
msgstr "Ladění"
msgid "Finish"
msgstr "Konec"
msgid "Firmware Restart"
msgstr "Firmware Restart"
msgid "Flow:"
msgstr "Tok:"
msgid "Flowrate:"
msgstr "Rychlost toku:"
msgid "Font Size"
msgstr "Velikost fontu"
msgid "Full Update"
msgstr "Úplný update"
msgid "Fullscreen"
msgstr ""
msgid "Go Back"
msgstr "Zpět"
msgid "Height:"
msgstr "Výška:"
msgid "Hidden"
msgstr "Skrytý"
msgid "Hide"
msgstr "Skrýt"
msgid "Hide sensors in Temp."
msgstr "Skrýt senzory v Temp."
msgid "Hide temp."
msgstr "Skrýt teplotu"
msgid "Home All"
msgstr "Zaparkovat XYZ"
msgid "Home X"
msgstr "Zaparkovat X"
msgid "Home XY"
msgstr "Zaparkovat XY"
msgid "Home Y"
msgstr "Zaparkovat Y"
msgid "Home Z"
msgstr "Zaparkovat Z"
msgid "Homing"
msgstr "Domů"
msgid "Host"
msgstr "Host"
msgid "Hostname"
msgstr "Hostname"
msgid "Icon Theme"
msgstr "Sada ikon"
msgid "Initializing printer..."
msgstr "Startuji tiskárnu ..."
msgid "Input Shaper"
msgstr ""
msgid "Interface"
msgstr "Rozhraní"
msgid "Invalid"
msgstr "Špatně"
msgid "Invalid password"
msgstr "Špatné heslo"
msgid "Invert X"
msgstr "Otočit X"
msgid "Invert Y"
msgstr "Otočit Y"
msgid "Invert Z"
msgstr "Otočit Z"
msgid "Klipper Restart"
msgstr "Klipper Restart"
msgid "Klipper has disconnected"
msgstr "Klipper odpojen"
msgid "Klipper has encountered an error."
msgstr "Klipper zaznamenal chybu."
msgid "Klipper has shutdown"
msgstr "Klipper zastaven"
msgid "Klipper is attempting to start"
msgstr "Klipper startuje"
msgid "Klipper will reboot"
msgstr "Klipper se restartuje"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen se restartuje"
msgid "Language"
msgstr "Jazyk"
msgid "Large"
msgstr "Velký"
msgid "Layer:"
msgstr "Vrstva:"
msgid "Left:"
msgstr "Zbývá:"
msgid "Limits"
msgstr "Limity"
msgid "Load"
msgstr "Zasuň"
msgid "Lower Nozzle"
msgstr "Trysku níž"
msgid "Macro shortcut on sidebar"
msgstr "Macro shortcut on sidebar"
msgid "Macros"
msgstr "Makra"
msgid "Main Menu"
msgstr "Hlavní menu"
msgid "Max"
msgstr "Max"
msgid "Max Acceleration"
msgstr "Max. zrychlení"
msgid "Max Acceleration to Deceleration"
msgstr "Z max. zrychlení do zpomalení"
msgid "Max Velocity"
msgstr "Max. rychlost"
msgid "Maximum"
msgstr "Maximum"
msgid "Measure Both"
msgstr "Změřit oboje"
msgid "Measure X"
msgstr "Změřit X"
msgid "Measure Y"
msgstr "Změřit Y"
msgid "Medium"
msgstr "Střední"
msgid "Menu"
msgstr "Menu"
msgid "Mesh calibrate"
msgstr "Kalibrace sítě"
msgid "Modified"
msgstr "Změněno"
msgid "Moonraker: connected"
msgstr "Moonraker: připojen"
msgid "Move"
msgstr "Posun"
msgid "Move Distance (mm)"
msgstr "Vzdálenost posunu (mm)"
msgid "Name"
msgstr "Jméno"
msgid "Network"
msgstr "Síť"
msgid "Never"
msgstr "Nikdy"
msgid "New"
msgstr "Nový"
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
msgstr "Nepodporováno autodetekcí, nakonfiguruj v klipperscreen.conf"
msgid "Nothing selected"
msgstr "Nevybráno nic"
#, python-format
msgid "Outdated by %d"
msgstr "Zastaralý %d"
msgid "PSK for"
msgstr "PSK pro"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "Balíček bude aktualizován"
msgstr[1] "Balíčky budou aktualizovány"
msgstr[2] ""
msgid "Part Fan"
msgstr "Částečný ofuk"
msgid "Password saved"
msgstr "Heslo uloženo"
msgid "Pause"
msgstr "Pauza"
msgid "Paused"
msgstr "Pozastaveno"
msgid "Perform a full upgrade?"
msgstr "Úplně aktualizovat?"
msgid "Pins"
msgstr "Piny"
msgid "Please recompile and flash the micro-controller."
msgstr "Znovu přelož a flashni micro-controller."
msgid "Power"
msgstr "Zdroj"
msgid "Power On Printer"
msgstr "Zapni tiskárnu"
msgid "Pressure Advance:"
msgstr "Pressure Advance:"
msgid "Print"
msgstr "Tisk"
msgid "Print Control"
msgstr "Nastavení tisku"
msgid "Print Time"
msgstr "Čas tisku"
msgid "Printer"
msgstr "Tiskárna"
msgid "Printer Connections"
msgstr "Připojení"
msgid "Printer Select"
msgstr "Výběr tiskárny"
msgid "Printing"
msgstr "Probíhá tisk"
msgid "Probe Offset"
msgstr "Offset sondy"
msgid "Profile Name:"
msgstr "Jméno profilu:"
msgid "Provide KlipperScreen.log when asking for help.\n"
msgstr "Provide KlipperScreen.log when asking for help.\n"
msgid "Quad Gantry Level"
msgstr "Quad Gantry Level"
msgid "Raise Nozzle"
msgstr "Zvedni trysku"
msgid "Recover"
msgstr "Recover"
msgid "Recover Hard"
msgstr "Recover Hard"
msgid "Recover Soft"
msgstr "Recover Soft"
msgid "Reference"
msgstr "Reference"
msgid "Refresh"
msgstr "Obnovit"
msgid "Rename/Move:"
msgstr ""
msgid "Restart"
msgstr "Restart"
msgid "Resume"
msgstr "Pokračuj"
msgid "Retract"
msgstr "Retrakce"
msgid "Retraction"
msgstr "Retrakce"
msgid "Retraction Length"
msgstr "Délka retrakce"
msgid "Retraction Speed"
msgstr "Rychlost retrakce"
msgid "Retry"
msgstr "Znovu"
msgid "Retrying"
msgstr "Zkouším znovu"
msgid "Save"
msgstr "Uložit"
msgid "Save Config"
msgstr "Ulož nastavení"
msgid "Save Z"
msgstr "Uložit Z"
msgid "Save configuration?"
msgstr "Uložit nastavení?"
msgid "Saved"
msgstr "Uloženo"
#, python-format
msgid "Saved offset: %s"
msgstr "Uložený offset: %s"
msgid "Screen DPMS"
msgstr "Screen DPMS"
msgid "Screen Power Off Time"
msgstr "Čas vypnutí displeje"
msgid "Screws Adjust"
msgstr "Nastavit šrouby"
msgid "Select"
msgstr "Vyber"
msgid "Send"
msgstr "Odeslat"
msgid "Set Temp"
msgstr "Nastav teplotu"
msgid "Settings"
msgstr "Nastavení"
msgid "Show"
msgstr "Ukaž"
msgid "Show Heater Power"
msgstr "Ukaž odběr topení"
msgid "Shutdown"
msgstr "Shutdown"
msgid "Size"
msgstr "Velikost"
msgid "Slicer"
msgstr "Slicer"
msgid "Slicer Time correction (%)"
msgstr "Časová korekce Sliceru (%)"
msgid "Slicer:"
msgstr "Slicer:"
msgid "Small"
msgstr "Malý"
msgid "Speed (mm/s)"
msgstr "Rychlost (mm/s)"
msgid "Speed +"
msgstr "Rychlost ₊"
msgid "Speed -"
msgstr "Rychlost -"
msgid "Speed:"
msgstr "Rychlost:"
msgid "Square Corner Velocity"
msgstr ""
msgid "Start"
msgstr "Start"
msgid "Starting WiFi Association"
msgstr "Připojování k WiFi"
msgid "Starting recovery for"
msgstr "Obnovuji"
msgid "Starting update for"
msgstr "Aktualizuji"
msgid "System"
msgstr "Systém"
msgid "System Restart"
msgstr "Restart systému"
msgid "System Shutdown"
msgstr "Vypnutí"
msgid "Temp (°C)"
msgstr "Teplota (°C)"
msgid "Temperature"
msgstr "Teplota"
msgid "Total:"
msgstr "Total:"
msgid "Unknown Heater"
msgstr "Neznámé topení"
msgid "Unknown screw position"
msgstr "Neznámé nastavení šroubů"
msgid "Unload"
msgstr "Vysuň"
msgid "Unretract Extra Length"
msgstr "Vysuň extra délku"
msgid "Unretract Speed"
msgstr "Vysunovací rychlost"
msgid "Up To Date"
msgstr "Aktuální"
msgid "Update"
msgstr "Aktualizuj"
msgid "Updating"
msgstr "Aktualizuji"
msgid "Uploaded"
msgstr "Nahrané"
msgid "XY Move Speed (mm/s)"
msgstr "Rychlost pohybu XY (mm/s)"
msgid "XY Speed (mm/s)"
msgstr "Rychlost XY (mm/s)"
msgid "Z Calibrate"
msgstr "Kalibrace Z"
msgid "Z Move Speed (mm/s)"
msgstr "Rychlost pohybu Z (mm/s)"
msgid "Z Speed (mm/s)"
msgstr "Rychlost pohybu Z (mm/s)"
msgid "Z Tilt"
msgstr "Z Tilt"
msgid "Z offset:"
msgstr "Z offset:"
msgid "commit"
msgid_plural "commits"
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "hodina"
msgstr[1] "hodiny"
msgstr[2] "hodin"
msgid "minutes"
msgstr "min"
msgid "mm"
msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s²"
msgstr "mm/s²"
msgid "mm³/s"
msgstr "mm³/s"
#~ msgid "Decrease"
#~ msgstr "Snížit"
#~ msgid "Increase"
#~ msgstr "Zvětšit"
#, python-format
#~ msgid "Sending Power ON signal to: %s"
#~ msgstr "Odeslat ZAP do %s"
Binary file not shown.
@@ -2,7 +2,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: KlipperScreen\n" "Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-08-10 12:01-0300\n" "POT-Creation-Date: 2022-11-30 18:17-0300\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: SRBJ\n" "Last-Translator: SRBJ\n"
"Language-Team: \n" "Language-Team: \n"
@@ -11,7 +11,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.0.1\n" "X-Generator: Poedit 3.2.1\n"
#, python-format #, python-format
msgid "%s will be updated to version" msgid "%s will be updated to version"
@@ -41,9 +41,6 @@ msgstr "OK"
msgid "Actions" msgid "Actions"
msgstr "Muligheder" msgstr "Muligheder"
msgid "Add Printer"
msgstr "Tilføj printer"
msgid "Add profile" msgid "Add profile"
msgstr "" msgstr ""
@@ -58,6 +55,9 @@ msgstr ""
msgid "Apply %s%.2f offset to Probe?" msgid "Apply %s%.2f offset to Probe?"
msgstr "" msgstr ""
msgid "Are you sure do you want to exclude the object?"
msgstr ""
msgid "Are you sure you want to run Emergency Stop?" msgid "Are you sure you want to run Emergency Stop?"
msgstr "Er du sikker på, at du vil køre nødstop?" msgstr "Er du sikker på, at du vil køre nødstop?"
@@ -104,10 +104,7 @@ msgid "Calibrated, save configuration to make it permanent"
msgstr "Kalibreret, gem konfiguration for at gøre den permanent" msgstr "Kalibreret, gem konfiguration for at gøre den permanent"
msgid "Calibrating" msgid "Calibrating"
msgstr "" msgstr "Kalibrerer"
msgid "Calibrating..."
msgstr "Kalibrerer..."
msgid "Can't set above the maximum:" msgid "Can't set above the maximum:"
msgstr "Kan ikke indstilles over maksimum:" msgstr "Kan ikke indstilles over maksimum:"
@@ -173,9 +170,6 @@ msgstr "Dato"
msgid "Decrease" msgid "Decrease"
msgstr "Formindsk" msgstr "Formindsk"
msgid "Delete"
msgstr "Slet"
msgid "Delete File?" msgid "Delete File?"
msgstr "" msgstr ""
@@ -204,6 +198,12 @@ msgstr "Fejl"
msgid "Estimated Time Method" msgid "Estimated Time Method"
msgstr "Metode til beregning af tid" msgstr "Metode til beregning af tid"
msgid "Exclude Object"
msgstr ""
msgid "Extra Large"
msgstr ""
msgid "Extrude" msgid "Extrude"
msgstr "Ekstrudér" msgstr "Ekstrudér"
@@ -279,9 +279,6 @@ msgstr "Skjul sensorer i Temp."
msgid "Hide temp." msgid "Hide temp."
msgstr "" msgstr ""
msgid "Home"
msgstr "Home"
msgid "Home All" msgid "Home All"
msgstr "Home alle" msgstr "Home alle"
@@ -300,6 +297,9 @@ msgstr "Home Z"
msgid "Homing" msgid "Homing"
msgstr "Homing" msgstr "Homing"
msgid "Host"
msgstr ""
msgid "Hostname" msgid "Hostname"
msgstr "Værtsnavn" msgstr "Værtsnavn"
@@ -309,9 +309,6 @@ msgstr "Ikon-tema"
msgid "Increase" msgid "Increase"
msgstr "Forøg" msgstr "Forøg"
msgid "Initializing"
msgstr "Initialiserer"
msgid "Initializing printer..." msgid "Initializing printer..."
msgstr "Initialiserer printer..." msgstr "Initialiserer printer..."
@@ -324,6 +321,9 @@ msgstr "Interface"
msgid "Invalid" msgid "Invalid"
msgstr "Ugyldig" msgstr "Ugyldig"
msgid "Invalid password"
msgstr ""
msgid "Invert X" msgid "Invert X"
msgstr "Invertér X" msgstr "Invertér X"
@@ -351,6 +351,9 @@ msgstr "Klipper forsøger at starte"
msgid "Klipper will reboot" msgid "Klipper will reboot"
msgstr "Klipper vil genstarte" msgstr "Klipper vil genstarte"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen vil genstarte"
msgid "Language" msgid "Language"
msgstr "Sprog" msgstr "Sprog"
@@ -393,6 +396,9 @@ msgstr "Maks. acceleration til decceleration"
msgid "Max Velocity" msgid "Max Velocity"
msgstr "Maks. hastighed" msgstr "Maks. hastighed"
msgid "Maximum"
msgstr ""
msgid "Measure Both" msgid "Measure Both"
msgstr "" msgstr ""
@@ -408,6 +414,9 @@ msgstr "Mellem"
msgid "Menu" msgid "Menu"
msgstr "Menu" msgstr "Menu"
msgid "Mesh calibrate"
msgstr ""
msgid "Modified" msgid "Modified"
msgstr "Ændret" msgstr "Ændret"
@@ -426,6 +435,9 @@ msgstr "Navn"
msgid "Network" msgid "Network"
msgstr "Netværk" msgstr "Netværk"
msgid "Never"
msgstr ""
msgid "New" msgid "New"
msgstr "Ny" msgstr "Ny"
@@ -437,9 +449,6 @@ msgstr ""
msgid "Nothing selected" msgid "Nothing selected"
msgstr "Intet valgt" msgstr "Intet valgt"
msgid "Off"
msgstr "Sluk"
#, python-format #, python-format
msgid "Outdated by %d" msgid "Outdated by %d"
msgstr "Forældet med %d" msgstr "Forældet med %d"
@@ -491,9 +500,15 @@ msgstr "Print styring"
msgid "Print Time" msgid "Print Time"
msgstr "Printtid" msgstr "Printtid"
msgid "Printer"
msgstr ""
msgid "Printer Connections" msgid "Printer Connections"
msgstr "Printer forbindelser" msgstr "Printer forbindelser"
msgid "Printer Select"
msgstr ""
msgid "Printing" msgid "Printing"
msgstr "Printer" msgstr "Printer"
@@ -503,12 +518,18 @@ msgstr ""
msgid "Profile Name:" msgid "Profile Name:"
msgstr "Profilnavn:" msgstr "Profilnavn:"
msgid "Provide KlipperScreen.log when asking for help.\n"
msgstr ""
msgid "Quad Gantry Level" msgid "Quad Gantry Level"
msgstr "Justering af 4-søjlers konstruktion" msgstr "Justering af 4-søjlers konstruktion"
msgid "Raise Nozzle" msgid "Raise Nozzle"
msgstr "Hæv Nozzle" msgstr "Hæv Nozzle"
msgid "Recover"
msgstr "Nulstil"
msgid "Recover Hard" msgid "Recover Hard"
msgstr "Nulstil alt" msgstr "Nulstil alt"
@@ -539,9 +560,8 @@ msgstr ""
msgid "Retraction Speed" msgid "Retraction Speed"
msgstr "" msgstr ""
#, python-format msgid "Retry"
msgid "Retry #%s" msgstr ""
msgstr "Prøv igen #%s"
msgid "Retrying" msgid "Retrying"
msgstr "" msgstr ""
@@ -556,7 +576,7 @@ msgid "Save Z"
msgstr "Gem Z" msgstr "Gem Z"
msgid "Save configuration?" msgid "Save configuration?"
msgstr "Gem Konfiguration" msgstr "Gem Konfiguration?"
msgid "Saved" msgid "Saved"
msgstr "Gemt" msgstr "Gemt"
@@ -593,6 +613,12 @@ msgstr "Indstillinger"
msgid "Show" msgid "Show"
msgstr "At vise" msgstr "At vise"
msgid "Show Heater Power"
msgstr ""
msgid "Shutdown"
msgstr ""
msgid "Size" msgid "Size"
msgstr "Størrelse" msgstr "Størrelse"
@@ -608,12 +634,6 @@ msgstr ""
msgid "Small" msgid "Small"
msgstr "Lille" msgstr "Lille"
msgid "Sort by: "
msgstr "Sortér efter: "
msgid "Sort:"
msgstr "Sortere: "
msgid "Speed (mm/s)" msgid "Speed (mm/s)"
msgstr "Hastighed (mm/s)" msgstr "Hastighed (mm/s)"
@@ -624,7 +644,7 @@ msgid "Speed -"
msgstr "Hastighed -" msgstr "Hastighed -"
msgid "Speed:" msgid "Speed:"
msgstr "Hastighed" msgstr "Hastighed:"
msgid "Square Corner Velocity" msgid "Square Corner Velocity"
msgstr "Hastighed for 90° hjørne" msgstr "Hastighed for 90° hjørne"
@@ -656,10 +676,6 @@ msgstr "Temp (°C)"
msgid "Temperature" msgid "Temperature"
msgstr "Temperatur" msgstr "Temperatur"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "KlipperScreen skal genstartes for at anvende %s"
msgid "Total:" msgid "Total:"
msgstr "Total:" msgstr "Total:"
@@ -690,27 +706,12 @@ msgstr "Opdatering"
msgid "Uploaded" msgid "Uploaded"
msgstr "Uploadet" msgstr "Uploadet"
msgid "View Mesh"
msgstr "Vis mesh"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)" msgid "XY Move Speed (mm/s)"
msgstr "XY Flyt hastighed (mm/s)" msgstr "XY Flyt hastighed (mm/s)"
msgid "XY Speed (mm/s)" msgid "XY Speed (mm/s)"
msgstr "XY Hastighed (mm/s)" msgstr "XY Hastighed (mm/s)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate" msgid "Z Calibrate"
msgstr "Kalibrér Z" msgstr "Kalibrér Z"
@@ -726,12 +727,6 @@ msgstr "Z-tilt"
msgid "Z offset:" msgid "Z offset:"
msgstr "" msgstr ""
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit" msgid "commit"
msgid_plural "commits" msgid_plural "commits"
msgstr[0] "ændring" msgstr[0] "ændring"
@@ -757,6 +752,58 @@ msgstr "mm/s"
msgid "mm/s²" msgid "mm/s²"
msgstr "mm/s²" msgstr "mm/s²"
msgid "mm³/s"
msgstr ""
#~ msgid "Sort:"
#~ msgstr "Sortere: "
#~ msgid "Calibrating..."
#~ msgstr "Kalibrerer..."
#~ msgid "Z+"
#~ msgstr "Z+"
#~ msgid "Z-"
#~ msgstr "Z-"
#~ msgid "X+"
#~ msgstr "X+"
#~ msgid "X-"
#~ msgstr "X-"
#~ msgid "Y+"
#~ msgstr "Y+"
#~ msgid "Y-"
#~ msgstr "Y-"
#, python-format
#~ msgid "Retry #%s"
#~ msgstr "Prøv igen #%s"
#~ msgid "Add Printer"
#~ msgstr "Tilføj printer"
#~ msgid "Initializing"
#~ msgstr "Initialiserer"
#~ msgid "Delete"
#~ msgstr "Slet"
#~ msgid "Home"
#~ msgstr "Home"
#~ msgid "Off"
#~ msgstr "Sluk"
#~ msgid "View Mesh"
#~ msgstr "Vis mesh"
#~ msgid "Sort by: "
#~ msgstr "Sortér efter: "
#~ msgid "Bltouch found applied offset" #~ msgid "Bltouch found applied offset"
#~ msgstr "Bltouch fundet anvendt offset" #~ msgstr "Bltouch fundet anvendt offset"
@@ -785,9 +832,6 @@ msgstr "mm/s²"
#~ msgid "IPv6" #~ msgid "IPv6"
#~ msgstr "IPv6" #~ msgstr "IPv6"
#~ msgid "Unknown Heater "
#~ msgstr "Ukendt varmelegeme "
#~ msgid "Disconnect" #~ msgid "Disconnect"
#~ msgstr "Afbryd forbindelse" #~ msgstr "Afbryd forbindelse"
Binary file not shown.
@@ -7,16 +7,16 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: KlipperScreen\n" "Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-08-10 12:01-0300\n" "POT-Creation-Date: 2022-11-30 18:17-0300\n"
"PO-Revision-Date: 2022-03-31 10:43-0300\n" "PO-Revision-Date: 2022-11-30 18:10-0300\n"
"Last-Translator: \n" "Last-Translator: livinhack\n"
"Language-Team: \n" "Language-Team: \n"
"Language: de_DE\n" "Language: de\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.0.1\n" "X-Generator: Poedit 3.2.1\n"
#, python-format #, python-format
msgid "%s will be updated to version" msgid "%s will be updated to version"
@@ -32,7 +32,7 @@ msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "Ein FIRMWARE_RESTART kann das Problem beheben." msgstr "Ein FIRMWARE_RESTART kann das Problem beheben."
msgid "ADXL Not Configured" msgid "ADXL Not Configured"
msgstr "" msgstr "ADXL nicht konfiguriert"
msgid "Abort" msgid "Abort"
msgstr "Abbrechen" msgstr "Abbrechen"
@@ -46,22 +46,22 @@ msgstr "OK"
msgid "Actions" msgid "Actions"
msgstr "Aktionen" msgstr "Aktionen"
msgid "Add Printer"
msgstr "Drucker hinzufügen"
msgid "Add profile" msgid "Add profile"
msgstr "" msgstr "Profil hinzufügen"
msgid "Apply" msgid "Apply"
msgstr "" msgstr "Anwenden"
#, python-format #, python-format
msgid "Apply %.2f offset to Endstop?" msgid "Apply %.2f offset to Endstop?"
msgstr "" msgstr "%.2f Offset auf Endstop anwenden?"
#, python-format #, python-format
msgid "Apply %s%.2f offset to Probe?" msgid "Apply %s%.2f offset to Probe?"
msgstr "" msgstr "%s%.2f Offset auf Sonde anwenden?"
msgid "Are you sure do you want to exclude the object?"
msgstr "Möchten Sie das Objekt wirklich ausschließen?"
msgid "Are you sure you want to run Emergency Stop?" msgid "Are you sure you want to run Emergency Stop?"
msgstr "Sind Sie sicher, dass Sie Not-Aus ausführen möchten?" msgstr "Sind Sie sicher, dass Sie Not-Aus ausführen möchten?"
@@ -85,7 +85,7 @@ msgid "Auto-calibrate"
msgstr "Automatisch kalibrieren" msgstr "Automatisch kalibrieren"
msgid "Auto-close notifications" msgid "Auto-close notifications"
msgstr "" msgstr "Benachrichtigungen automatisch schließen"
msgid "Auto-scroll" msgid "Auto-scroll"
msgstr "Auto-scroll" msgstr "Auto-scroll"
@@ -97,7 +97,7 @@ msgid "Bed Mesh"
msgstr "Druckbett Mesh-Level" msgstr "Druckbett Mesh-Level"
msgid "Bed screw configuration:" msgid "Bed screw configuration:"
msgstr "" msgstr "Bettschraubenkonfiguration:"
msgid "Calibrate" msgid "Calibrate"
msgstr "Höheneinstellung" msgstr "Höheneinstellung"
@@ -106,13 +106,10 @@ msgid "Calibrated"
msgstr "Kalibriert" msgstr "Kalibriert"
msgid "Calibrated, save configuration to make it permanent" msgid "Calibrated, save configuration to make it permanent"
msgstr "Kalibriert, Konfiguration speichern, um sie dauerhaft zu machen" msgstr "Kalibriert, Konfiguration dauerhaft speichern"
msgid "Calibrating" msgid "Calibrating"
msgstr "" msgstr "Kalibrieren"
msgid "Calibrating..."
msgstr "Kalibrieren..."
msgid "Can't set above the maximum:" msgid "Can't set above the maximum:"
msgstr "Kann nicht über dem Maximum eingestellt werden:" msgstr "Kann nicht über dem Maximum eingestellt werden:"
@@ -136,10 +133,10 @@ msgid "Channel"
msgstr "Kanal" msgstr "Kanal"
msgid "Check ADXL Wiring" msgid "Check ADXL Wiring"
msgstr "" msgstr "Überprüfen Sie die ADXL-Verkabelung"
msgid "Checking for updates, please wait..." msgid "Checking for updates, please wait..."
msgstr "" msgstr "Suche nach Updates, bitte warten..."
msgid "Clear" msgid "Clear"
msgstr "" msgstr ""
@@ -178,11 +175,8 @@ msgstr "Datum"
msgid "Decrease" msgid "Decrease"
msgstr "Verringern" msgstr "Verringern"
msgid "Delete"
msgstr "Löschen"
msgid "Delete File?" msgid "Delete File?"
msgstr "" msgstr "Datei löschen?"
msgid "Deselect" msgid "Deselect"
msgstr "Abwählen" msgstr "Abwählen"
@@ -209,6 +203,12 @@ msgstr "Fehler"
msgid "Estimated Time Method" msgid "Estimated Time Method"
msgstr "Druckzeit" msgstr "Druckzeit"
msgid "Exclude Object"
msgstr "Objekt ausschließen"
msgid "Extra Large"
msgstr "Extra groß"
msgid "Extrude" msgid "Extrude"
msgstr "Filament fördern" msgstr "Filament fördern"
@@ -249,28 +249,28 @@ msgid "Fine Tuning"
msgstr "Feintuning" msgstr "Feintuning"
msgid "Finish" msgid "Finish"
msgstr "Ziel" msgstr "Fertig"
msgid "Firmware Restart" msgid "Firmware Restart"
msgstr "Firmware Neu starten" msgstr "Firmware Neustart"
msgid "Flow:" msgid "Flow:"
msgstr "" msgstr "Fluss:"
msgid "Flowrate:" msgid "Flowrate:"
msgstr "" msgstr "Fließrate:"
msgid "Font Size" msgid "Font Size"
msgstr "Schriftgröße" msgstr "Schriftgröße"
msgid "Full Update" msgid "Full Update"
msgstr "Voll Aktualisieren" msgstr "Vollständige Aktualisierung"
msgid "Go Back" msgid "Go Back"
msgstr "Zurück" msgstr "Zurück"
msgid "Height:" msgid "Height:"
msgstr "" msgstr "Höhe:"
msgid "Hidden" msgid "Hidden"
msgstr "Versteckt" msgstr "Versteckt"
@@ -282,10 +282,7 @@ msgid "Hide sensors in Temp."
msgstr "Sensoren in Temp ausblenden." msgstr "Sensoren in Temp ausblenden."
msgid "Hide temp." msgid "Hide temp."
msgstr "" msgstr "Temp. ausblenden"
msgid "Home"
msgstr "Grundposition"
msgid "Home All" msgid "Home All"
msgstr "Alle Achsen zurücksetzen" msgstr "Alle Achsen zurücksetzen"
@@ -305,6 +302,9 @@ msgstr "Achse Z zurücksetzen"
msgid "Homing" msgid "Homing"
msgstr "Grundposition" msgstr "Grundposition"
msgid "Host"
msgstr "Host"
msgid "Hostname" msgid "Hostname"
msgstr "Hostname" msgstr "Hostname"
@@ -314,14 +314,11 @@ msgstr "Icon Theme"
msgid "Increase" msgid "Increase"
msgstr "Erhöhen" msgstr "Erhöhen"
msgid "Initializing"
msgstr "Startvorgang"
msgid "Initializing printer..." msgid "Initializing printer..."
msgstr "Drucker wird initialisiert..." msgstr "Drucker wird initialisiert..."
msgid "Input Shaper" msgid "Input Shaper"
msgstr "" msgstr "Input Shaper"
msgid "Interface" msgid "Interface"
msgstr "Interface" msgstr "Interface"
@@ -329,6 +326,9 @@ msgstr "Interface"
msgid "Invalid" msgid "Invalid"
msgstr "Ungültig" msgstr "Ungültig"
msgid "Invalid password"
msgstr "Ungültiges Passwort"
msgid "Invert X" msgid "Invert X"
msgstr "Achse X invertieren" msgstr "Achse X invertieren"
@@ -339,10 +339,10 @@ msgid "Invert Z"
msgstr "Achse Z invertieren" msgstr "Achse Z invertieren"
msgid "Klipper Restart" msgid "Klipper Restart"
msgstr "Klipper Neu starten" msgstr "Klipper Neustart"
msgid "Klipper has disconnected" msgid "Klipper has disconnected"
msgstr "Klipper nicht verbunden" msgstr "Verbindung zu Klipper getrennt"
msgid "Klipper has encountered an error." msgid "Klipper has encountered an error."
msgstr "Klipper hat einen Fehler festgestellt." msgstr "Klipper hat einen Fehler festgestellt."
@@ -356,6 +356,9 @@ msgstr "Klipper ist startbereit"
msgid "Klipper will reboot" msgid "Klipper will reboot"
msgstr "Klipper startet neu" msgstr "Klipper startet neu"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen startet neu"
msgid "Language" msgid "Language"
msgstr "Sprache" msgstr "Sprache"
@@ -363,7 +366,7 @@ msgid "Large"
msgstr "Groß" msgstr "Groß"
msgid "Layer:" msgid "Layer:"
msgstr "" msgstr "Schicht:"
msgid "Left:" msgid "Left:"
msgstr "Restzeit:" msgstr "Restzeit:"
@@ -387,7 +390,7 @@ msgid "Main Menu"
msgstr "Hauptmenü" msgstr "Hauptmenü"
msgid "Max" msgid "Max"
msgstr "" msgstr "Max"
msgid "Max Acceleration" msgid "Max Acceleration"
msgstr "Max Beschleunigung" msgstr "Max Beschleunigung"
@@ -398,14 +401,17 @@ msgstr "Max Verzögerung"
msgid "Max Velocity" msgid "Max Velocity"
msgstr "Max Geschwindigkeit" msgstr "Max Geschwindigkeit"
msgid "Maximum"
msgstr "Maximal"
msgid "Measure Both" msgid "Measure Both"
msgstr "" msgstr "Beides messen"
msgid "Measure X" msgid "Measure X"
msgstr "" msgstr "Messen Sie X"
msgid "Measure Y" msgid "Measure Y"
msgstr "" msgstr "Messen Sie Y"
msgid "Medium" msgid "Medium"
msgstr "Mittel" msgstr "Mittel"
@@ -413,6 +419,9 @@ msgstr "Mittel"
msgid "Menu" msgid "Menu"
msgstr "Menü" msgstr "Menü"
msgid "Mesh calibrate"
msgstr "Mesh kalibrieren"
msgid "Modified" msgid "Modified"
msgstr "Modifiziert" msgstr "Modifiziert"
@@ -431,6 +440,9 @@ msgstr "Name"
msgid "Network" msgid "Network"
msgstr "Netzwerk" msgstr "Netzwerk"
msgid "Never"
msgstr "Niemals"
msgid "New" msgid "New"
msgstr "Neu" msgstr "Neu"
@@ -438,13 +450,12 @@ msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen." "Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf" "conf"
msgstr "" msgstr ""
"Wird für die automatische Erkennung nicht unterstützt, muss in klipperscreen."
"conf konfiguriert werden"
msgid "Nothing selected" msgid "Nothing selected"
msgstr "Nichts ausgewählt" msgstr "Nichts ausgewählt"
msgid "Off"
msgstr "Aus"
#, python-format #, python-format
msgid "Outdated by %d" msgid "Outdated by %d"
msgstr "Veraltet von %d" msgstr "Veraltet von %d"
@@ -458,7 +469,7 @@ msgstr[0] "Paket wird aktualisiert"
msgstr[1] "Pakete werden aktualisiert" msgstr[1] "Pakete werden aktualisiert"
msgid "Part Fan" msgid "Part Fan"
msgstr "" msgstr "Bauteil Lüfter"
msgid "Password saved" msgid "Password saved"
msgstr "Passwort gespeichert" msgstr "Passwort gespeichert"
@@ -473,7 +484,7 @@ msgid "Perform a full upgrade?"
msgstr "Vollständiges Upgrade durchführen?" msgstr "Vollständiges Upgrade durchführen?"
msgid "Pins" msgid "Pins"
msgstr "" msgstr "Pins"
msgid "Please recompile and flash the micro-controller." msgid "Please recompile and flash the micro-controller."
msgstr "Please recompile and flash the micro-controller." msgstr "Please recompile and flash the micro-controller."
@@ -485,7 +496,7 @@ msgid "Power On Printer"
msgstr "Drucker einschalten" msgstr "Drucker einschalten"
msgid "Pressure Advance:" msgid "Pressure Advance:"
msgstr "" msgstr "Druckvorlauf:"
msgid "Print" msgid "Print"
msgstr "Druck" msgstr "Druck"
@@ -496,35 +507,47 @@ msgstr "Druck Steuerung"
msgid "Print Time" msgid "Print Time"
msgstr "Druckzeit" msgstr "Druckzeit"
msgid "Printer"
msgstr "Drucker"
msgid "Printer Connections" msgid "Printer Connections"
msgstr "Drucker Verbindungen" msgstr "Drucker Verbindungen"
msgid "Printer Select"
msgstr "Wählen Sie einen Drucker"
msgid "Printing" msgid "Printing"
msgstr "Drucken" msgstr "Drucken"
msgid "Probe Offset" msgid "Probe Offset"
msgstr "" msgstr "Sonden-Offset"
msgid "Profile Name:" msgid "Profile Name:"
msgstr "Profilname:" msgstr "Profilname:"
msgid "Provide KlipperScreen.log when asking for help.\n"
msgstr ""
msgid "Quad Gantry Level" msgid "Quad Gantry Level"
msgstr "Quad Gantry Level" msgstr "Quad Gantry Level"
msgid "Raise Nozzle" msgid "Raise Nozzle"
msgstr "Düse anheben" msgstr "Düse anheben"
msgid "Recover"
msgstr "Rücksetzen"
msgid "Recover Hard" msgid "Recover Hard"
msgstr "Rücksetzen Hard" msgstr "Rücksetzen (Hard)"
msgid "Recover Soft" msgid "Recover Soft"
msgstr "Rücksetzen Soft" msgstr "Rücksetzen (Soft)"
msgid "Reference" msgid "Reference"
msgstr "Referenz" msgstr "Referenz"
msgid "Refresh" msgid "Refresh"
msgstr "" msgstr "Aktualisieren"
msgid "Restart" msgid "Restart"
msgstr "Neustart" msgstr "Neustart"
@@ -544,12 +567,11 @@ msgstr "Rückzugslänge"
msgid "Retraction Speed" msgid "Retraction Speed"
msgstr "Rückzugsgeschwindigkeit" msgstr "Rückzugsgeschwindigkeit"
#, python-format msgid "Retry"
msgid "Retry #%s" msgstr "Wiederholen"
msgstr "Wiederholen #%s"
msgid "Retrying" msgid "Retrying"
msgstr "" msgstr "Wiederhole"
msgid "Save" msgid "Save"
msgstr "Speichern" msgstr "Speichern"
@@ -558,17 +580,17 @@ msgid "Save Config"
msgstr "Einstellungen speichern" msgstr "Einstellungen speichern"
msgid "Save Z" msgid "Save Z"
msgstr "Speichern Sie Z" msgstr "Z speichern"
msgid "Save configuration?" msgid "Save configuration?"
msgstr "Konfiguration speichern?" msgstr "Konfiguration speichern?"
msgid "Saved" msgid "Saved"
msgstr "Gerettet" msgstr "Gespeichert"
#, python-format #, python-format
msgid "Saved offset: %s" msgid "Saved offset: %s"
msgstr "" msgstr "Gespeicherter Versatz: %s"
msgid "Screen DPMS" msgid "Screen DPMS"
msgstr "Bildschirm-DPMS" msgstr "Bildschirm-DPMS"
@@ -598,6 +620,12 @@ msgstr "Einstellungen"
msgid "Show" msgid "Show"
msgstr "Zeigen" msgstr "Zeigen"
msgid "Show Heater Power"
msgstr "Heizleistung anzeigen"
msgid "Shutdown"
msgstr "Ausschalten"
msgid "Size" msgid "Size"
msgstr "Größe" msgstr "Größe"
@@ -608,17 +636,11 @@ msgid "Slicer Time correction (%)"
msgstr "Slicer-Zeitkorrektur (%)" msgstr "Slicer-Zeitkorrektur (%)"
msgid "Slicer:" msgid "Slicer:"
msgstr "" msgstr "Slicer:"
msgid "Small" msgid "Small"
msgstr "Klein" msgstr "Klein"
msgid "Sort by: "
msgstr "Sortierung: "
msgid "Sort:"
msgstr "Sortieren: "
msgid "Speed (mm/s)" msgid "Speed (mm/s)"
msgstr "Geschwindigkeit (mm/s)" msgstr "Geschwindigkeit (mm/s)"
@@ -638,7 +660,7 @@ msgid "Start"
msgstr "Starten" msgstr "Starten"
msgid "Starting WiFi Association" msgid "Starting WiFi Association"
msgstr "Wi-Fi Association starten" msgstr "Wi-Fi Verbindung starten"
msgid "Starting recovery for" msgid "Starting recovery for"
msgstr "Starte Wiederherstellung für" msgstr "Starte Wiederherstellung für"
@@ -661,10 +683,6 @@ msgstr "Temp (°C)"
msgid "Temperature" msgid "Temperature"
msgstr "Temperatur" msgstr "Temperatur"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "Zum Übernehmen von %s benötigt Klipperscreen einen Neustart"
msgid "Total:" msgid "Total:"
msgstr "Gesamt:" msgstr "Gesamt:"
@@ -672,16 +690,16 @@ msgid "Unknown Heater"
msgstr "Unbekannte Heizung" msgstr "Unbekannte Heizung"
msgid "Unknown screw position" msgid "Unknown screw position"
msgstr "" msgstr "Unbekannte Schraubenposition"
msgid "Unload" msgid "Unload"
msgstr "Entladen" msgstr "Entladen"
msgid "Unretract Extra Length" msgid "Unretract Extra Length"
msgstr "" msgstr "Überlänge ausfahren"
msgid "Unretract Speed" msgid "Unretract Speed"
msgstr "" msgstr "Ausfahrgeschwindigkeit"
# Respect the number of characters # Respect the number of characters
# english text barely fits in small screens # english text barely fits in small screens
@@ -692,32 +710,17 @@ msgid "Update"
msgstr "Update" msgstr "Update"
msgid "Updating" msgid "Updating"
msgstr "Aktualisierung" msgstr "Aktualisiere"
msgid "Uploaded" msgid "Uploaded"
msgstr "Hochgeladen" msgstr "Hochgeladen"
msgid "View Mesh"
msgstr "Mesh anzeigen"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)" msgid "XY Move Speed (mm/s)"
msgstr "XY Bewegungsgeschwindigkeit (mm/s)" msgstr "XY Bewegungsgeschwindigkeit (mm/s)"
msgid "XY Speed (mm/s)" msgid "XY Speed (mm/s)"
msgstr "XY Geschwindigkeit (mm/s)" msgstr "XY Geschwindigkeit (mm/s)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate" msgid "Z Calibrate"
msgstr "Höhe Kalibrieren" msgstr "Höhe Kalibrieren"
@@ -733,12 +736,6 @@ msgstr "Z-Achse ausrichten"
msgid "Z offset:" msgid "Z offset:"
msgstr "Z Offset:" msgstr "Z Offset:"
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit" msgid "commit"
msgid_plural "commits" msgid_plural "commits"
msgstr[0] "Änderung" msgstr[0] "Änderung"
@@ -764,6 +761,58 @@ msgstr "mm/s"
msgid "mm/s²" msgid "mm/s²"
msgstr "mm/s²" msgstr "mm/s²"
msgid "mm³/s"
msgstr ""
#~ msgid "Sort:"
#~ msgstr "Sortieren:"
#~ msgid "Calibrating..."
#~ msgstr "Kalibrieren..."
#~ msgid "Z+"
#~ msgstr "Z+"
#~ msgid "Z-"
#~ msgstr "Z-"
#~ msgid "X+"
#~ msgstr "X+"
#~ msgid "X-"
#~ msgstr "X-"
#~ msgid "Y+"
#~ msgstr "Y+"
#~ msgid "Y-"
#~ msgstr "Y-"
#, python-format
#~ msgid "Retry #%s"
#~ msgstr "Wiederholen #%s"
#~ msgid "Add Printer"
#~ msgstr "Drucker hinzufügen"
#~ msgid "Initializing"
#~ msgstr "Startvorgang"
#~ msgid "Delete"
#~ msgstr "Löschen"
#~ msgid "Home"
#~ msgstr "Grundposition"
#~ msgid "Off"
#~ msgstr "Aus"
#~ msgid "View Mesh"
#~ msgstr "Mesh anzeigen"
#~ msgid "Sort by: "
#~ msgstr "Sortierung: "
#~ msgid "Bltouch found applied offset" #~ msgid "Bltouch found applied offset"
#~ msgstr "Bltouch hat angewendeten Offset gefunden" #~ msgstr "Bltouch hat angewendeten Offset gefunden"
@@ -792,9 +841,6 @@ msgstr "mm/s²"
#~ msgid "IPv6" #~ msgid "IPv6"
#~ msgstr "IPv6" #~ msgstr "IPv6"
#~ msgid "Unknown Heater "
#~ msgstr "Unbekannte Heizung "
#~ msgid "Disconnect" #~ msgid "Disconnect"
#~ msgstr "Nicht verbunden" #~ msgstr "Nicht verbunden"
@@ -2,7 +2,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: KlipperScreen\n" "Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-08-10 12:01-0300\n" "POT-Creation-Date: 2022-11-30 18:17-0300\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@@ -41,9 +41,6 @@ msgstr ""
msgid "Actions" msgid "Actions"
msgstr "" msgstr ""
msgid "Add Printer"
msgstr ""
msgid "Add profile" msgid "Add profile"
msgstr "" msgstr ""
@@ -58,6 +55,9 @@ msgstr ""
msgid "Apply %s%.2f offset to Probe?" msgid "Apply %s%.2f offset to Probe?"
msgstr "" msgstr ""
msgid "Are you sure do you want to exclude the object?"
msgstr ""
msgid "Are you sure you want to run Emergency Stop?" msgid "Are you sure you want to run Emergency Stop?"
msgstr "" msgstr ""
@@ -106,9 +106,6 @@ msgstr ""
msgid "Calibrating" msgid "Calibrating"
msgstr "" msgstr ""
msgid "Calibrating..."
msgstr ""
msgid "Can't set above the maximum:" msgid "Can't set above the maximum:"
msgstr "" msgstr ""
@@ -173,9 +170,6 @@ msgstr ""
msgid "Decrease" msgid "Decrease"
msgstr "" msgstr ""
msgid "Delete"
msgstr ""
msgid "Delete File?" msgid "Delete File?"
msgstr "" msgstr ""
@@ -204,6 +198,12 @@ msgstr ""
msgid "Estimated Time Method" msgid "Estimated Time Method"
msgstr "" msgstr ""
msgid "Exclude Object"
msgstr ""
msgid "Extra Large"
msgstr ""
msgid "Extrude" msgid "Extrude"
msgstr "" msgstr ""
@@ -279,9 +279,6 @@ msgstr ""
msgid "Hide temp." msgid "Hide temp."
msgstr "" msgstr ""
msgid "Home"
msgstr ""
msgid "Home All" msgid "Home All"
msgstr "" msgstr ""
@@ -300,6 +297,9 @@ msgstr ""
msgid "Homing" msgid "Homing"
msgstr "" msgstr ""
msgid "Host"
msgstr ""
msgid "Hostname" msgid "Hostname"
msgstr "" msgstr ""
@@ -309,9 +309,6 @@ msgstr ""
msgid "Increase" msgid "Increase"
msgstr "" msgstr ""
msgid "Initializing"
msgstr ""
msgid "Initializing printer..." msgid "Initializing printer..."
msgstr "" msgstr ""
@@ -324,6 +321,9 @@ msgstr ""
msgid "Invalid" msgid "Invalid"
msgstr "" msgstr ""
msgid "Invalid password"
msgstr ""
msgid "Invert X" msgid "Invert X"
msgstr "" msgstr ""
@@ -351,6 +351,9 @@ msgstr ""
msgid "Klipper will reboot" msgid "Klipper will reboot"
msgstr "" msgstr ""
msgid "KlipperScreen will reboot"
msgstr ""
msgid "Language" msgid "Language"
msgstr "" msgstr ""
@@ -393,6 +396,9 @@ msgstr ""
msgid "Max Velocity" msgid "Max Velocity"
msgstr "" msgstr ""
msgid "Maximum"
msgstr ""
msgid "Measure Both" msgid "Measure Both"
msgstr "" msgstr ""
@@ -408,6 +414,9 @@ msgstr ""
msgid "Menu" msgid "Menu"
msgstr "" msgstr ""
msgid "Mesh calibrate"
msgstr ""
msgid "Modified" msgid "Modified"
msgstr "" msgstr ""
@@ -426,6 +435,9 @@ msgstr ""
msgid "Network" msgid "Network"
msgstr "" msgstr ""
msgid "Never"
msgstr ""
msgid "New" msgid "New"
msgstr "" msgstr ""
@@ -437,9 +449,6 @@ msgstr ""
msgid "Nothing selected" msgid "Nothing selected"
msgstr "" msgstr ""
msgid "Off"
msgstr ""
#, python-format #, python-format
msgid "Outdated by %d" msgid "Outdated by %d"
msgstr "" msgstr ""
@@ -491,9 +500,15 @@ msgstr ""
msgid "Print Time" msgid "Print Time"
msgstr "" msgstr ""
msgid "Printer"
msgstr ""
msgid "Printer Connections" msgid "Printer Connections"
msgstr "" msgstr ""
msgid "Printer Select"
msgstr ""
msgid "Printing" msgid "Printing"
msgstr "" msgstr ""
@@ -503,12 +518,18 @@ msgstr ""
msgid "Profile Name:" msgid "Profile Name:"
msgstr "" msgstr ""
msgid "Provide KlipperScreen.log when asking for help.\n"
msgstr ""
msgid "Quad Gantry Level" msgid "Quad Gantry Level"
msgstr "" msgstr ""
msgid "Raise Nozzle" msgid "Raise Nozzle"
msgstr "" msgstr ""
msgid "Recover"
msgstr ""
msgid "Recover Hard" msgid "Recover Hard"
msgstr "" msgstr ""
@@ -539,8 +560,7 @@ msgstr ""
msgid "Retraction Speed" msgid "Retraction Speed"
msgstr "" msgstr ""
#, python-format msgid "Retry"
msgid "Retry #%s"
msgstr "" msgstr ""
msgid "Retrying" msgid "Retrying"
@@ -593,6 +613,12 @@ msgstr ""
msgid "Show" msgid "Show"
msgstr "" msgstr ""
msgid "Show Heater Power"
msgstr ""
msgid "Shutdown"
msgstr ""
msgid "Size" msgid "Size"
msgstr "" msgstr ""
@@ -608,12 +634,6 @@ msgstr ""
msgid "Small" msgid "Small"
msgstr "" msgstr ""
msgid "Sort by: "
msgstr ""
msgid "Sort:"
msgstr ""
msgid "Speed (mm/s)" msgid "Speed (mm/s)"
msgstr "" msgstr ""
@@ -656,10 +676,6 @@ msgstr ""
msgid "Temperature" msgid "Temperature"
msgstr "" msgstr ""
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr ""
msgid "Total:" msgid "Total:"
msgstr "" msgstr ""
@@ -690,27 +706,12 @@ msgstr ""
msgid "Uploaded" msgid "Uploaded"
msgstr "" msgstr ""
msgid "View Mesh"
msgstr ""
msgid "X+"
msgstr ""
msgid "X-"
msgstr ""
msgid "XY Move Speed (mm/s)" msgid "XY Move Speed (mm/s)"
msgstr "" msgstr ""
msgid "XY Speed (mm/s)" msgid "XY Speed (mm/s)"
msgstr "" msgstr ""
msgid "Y+"
msgstr ""
msgid "Y-"
msgstr ""
msgid "Z Calibrate" msgid "Z Calibrate"
msgstr "" msgstr ""
@@ -726,12 +727,6 @@ msgstr ""
msgid "Z offset:" msgid "Z offset:"
msgstr "" msgstr ""
msgid "Z+"
msgstr ""
msgid "Z-"
msgstr ""
msgid "commit" msgid "commit"
msgid_plural "commits" msgid_plural "commits"
msgstr[0] "" msgstr[0] ""
@@ -756,3 +751,6 @@ msgstr ""
msgid "mm/s²" msgid "mm/s²"
msgstr "" msgstr ""
msgid "mm³/s"
msgstr ""
Binary file not shown.
@@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: KlipperScreen\n" "Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-08-10 12:01-0300\n" "POT-Creation-Date: 2022-11-30 18:17-0300\n"
"PO-Revision-Date: 2022-08-10 12:01-0300\n" "PO-Revision-Date: 2022-11-30 18:10-0300\n"
"Last-Translator: alfrix\n" "Last-Translator: alfrix\n"
"Language-Team: \n" "Language-Team: \n"
"Language: es\n" "Language: es\n"
@@ -16,7 +16,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.1\n" "X-Generator: Poedit 3.2.1\n"
#, python-format #, python-format
msgid "%s will be updated to version" msgid "%s will be updated to version"
@@ -46,9 +46,6 @@ msgstr "Aceptar"
msgid "Actions" msgid "Actions"
msgstr "Acciones" msgstr "Acciones"
msgid "Add Printer"
msgstr "Agregar impresora"
msgid "Add profile" msgid "Add profile"
msgstr "Agregar perfil" msgstr "Agregar perfil"
@@ -63,6 +60,9 @@ msgstr "Aplicar %.2f desfase al final de carrera?"
msgid "Apply %s%.2f offset to Probe?" msgid "Apply %s%.2f offset to Probe?"
msgstr "Aplicar %s%.2f desfase al sensor?" msgstr "Aplicar %s%.2f desfase al sensor?"
msgid "Are you sure do you want to exclude the object?"
msgstr "¿Está seguro de excluir este objeto?"
msgid "Are you sure you want to run Emergency Stop?" msgid "Are you sure you want to run Emergency Stop?"
msgstr "¿Parada de emergencia?" msgstr "¿Parada de emergencia?"
@@ -111,9 +111,6 @@ msgstr "Calibrado, guarde su configuración para hacerlo permanente"
msgid "Calibrating" msgid "Calibrating"
msgstr "Calibrando" msgstr "Calibrando"
msgid "Calibrating..."
msgstr "Calibrando..."
msgid "Can't set above the maximum:" msgid "Can't set above the maximum:"
msgstr "Error: Valor sobre el máximo:" msgstr "Error: Valor sobre el máximo:"
@@ -178,9 +175,6 @@ msgstr "Fecha"
msgid "Decrease" msgid "Decrease"
msgstr "Disminuir" msgstr "Disminuir"
msgid "Delete"
msgstr "Borrar"
msgid "Delete File?" msgid "Delete File?"
msgstr "¿Borrar archivo?" msgstr "¿Borrar archivo?"
@@ -209,6 +203,12 @@ msgstr "Error"
msgid "Estimated Time Method" msgid "Estimated Time Method"
msgstr "Método para estimar tiempo" msgstr "Método para estimar tiempo"
msgid "Exclude Object"
msgstr "Excluir Objeto"
msgid "Extra Large"
msgstr "Extra Grande"
msgid "Extrude" msgid "Extrude"
msgstr "Extruir" msgstr "Extruir"
@@ -284,9 +284,6 @@ msgstr "Ocultar sensores en Temp."
msgid "Hide temp." msgid "Hide temp."
msgstr "Ocultar temp." msgstr "Ocultar temp."
msgid "Home"
msgstr "Inicio"
msgid "Home All" msgid "Home All"
msgstr "Origen XYZ" msgstr "Origen XYZ"
@@ -305,6 +302,9 @@ msgstr "Origen Z"
msgid "Homing" msgid "Homing"
msgstr "Origen" msgstr "Origen"
msgid "Host"
msgstr "Anfitrión"
msgid "Hostname" msgid "Hostname"
msgstr "Hostname" msgstr "Hostname"
@@ -314,9 +314,6 @@ msgstr "Tema de Iconos"
msgid "Increase" msgid "Increase"
msgstr "Aumentar" msgstr "Aumentar"
msgid "Initializing"
msgstr "Iniciando"
msgid "Initializing printer..." msgid "Initializing printer..."
msgstr "Iniciando Impresora..." msgstr "Iniciando Impresora..."
@@ -329,6 +326,9 @@ msgstr "Interfaz"
msgid "Invalid" msgid "Invalid"
msgstr "Invalido" msgstr "Invalido"
msgid "Invalid password"
msgstr "Contraseña invalida"
msgid "Invert X" msgid "Invert X"
msgstr "Invertir X" msgstr "Invertir X"
@@ -356,6 +356,9 @@ msgstr "Klipper está intentando iniciar"
msgid "Klipper will reboot" msgid "Klipper will reboot"
msgstr "Klipper se reiniciará" msgstr "Klipper se reiniciará"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen se reiniciará"
msgid "Language" msgid "Language"
msgstr "Idioma" msgstr "Idioma"
@@ -398,6 +401,9 @@ msgstr "Max. Aceleración a Desaceleración"
msgid "Max Velocity" msgid "Max Velocity"
msgstr "Max. Velocidad" msgstr "Max. Velocidad"
msgid "Maximum"
msgstr "Maximo"
msgid "Measure Both" msgid "Measure Both"
msgstr "Medir Ambos" msgstr "Medir Ambos"
@@ -413,6 +419,9 @@ msgstr "Medio"
msgid "Menu" msgid "Menu"
msgstr "Menú" msgstr "Menú"
msgid "Mesh calibrate"
msgstr "Calibrar Malla"
msgid "Modified" msgid "Modified"
msgstr "Modificado" msgstr "Modificado"
@@ -431,6 +440,9 @@ msgstr "Nombre"
msgid "Network" msgid "Network"
msgstr "Red" msgstr "Red"
msgid "Never"
msgstr "Nunca"
msgid "New" msgid "New"
msgstr "Nuevo" msgstr "Nuevo"
@@ -444,9 +456,6 @@ msgstr ""
msgid "Nothing selected" msgid "Nothing selected"
msgstr "Nada seleccionado" msgstr "Nada seleccionado"
msgid "Off"
msgstr "Apagar"
#, python-format #, python-format
msgid "Outdated by %d" msgid "Outdated by %d"
msgstr "Desactualizado por %d" msgstr "Desactualizado por %d"
@@ -498,9 +507,15 @@ msgstr "Control de impresión"
msgid "Print Time" msgid "Print Time"
msgstr "Tiempo de impresión" msgstr "Tiempo de impresión"
msgid "Printer"
msgstr "Impresora"
msgid "Printer Connections" msgid "Printer Connections"
msgstr "Conexiones a impresoras" msgstr "Conexiones a impresoras"
msgid "Printer Select"
msgstr "Seleccionar Impresora"
msgid "Printing" msgid "Printing"
msgstr "Imprimiendo" msgstr "Imprimiendo"
@@ -510,12 +525,18 @@ msgstr "Desfase del sensor"
msgid "Profile Name:" msgid "Profile Name:"
msgstr "Nombre del perfil:" msgstr "Nombre del perfil:"
msgid "Provide KlipperScreen.log when asking for help.\n"
msgstr "Provea KlipperScreen.log cuando pida ayuda.\n"
msgid "Quad Gantry Level" msgid "Quad Gantry Level"
msgstr "Nivelación cuádruple" msgstr "Nivelación cuádruple"
msgid "Raise Nozzle" msgid "Raise Nozzle"
msgstr "Levantar Boquilla" msgstr "Levantar Boquilla"
msgid "Recover"
msgstr "Recuperar"
msgid "Recover Hard" msgid "Recover Hard"
msgstr "Recuperar Hard" msgstr "Recuperar Hard"
@@ -546,9 +567,8 @@ msgstr "Largo de Retracción"
msgid "Retraction Speed" msgid "Retraction Speed"
msgstr "Velocidad de Retracción" msgstr "Velocidad de Retracción"
#, python-format msgid "Retry"
msgid "Retry #%s" msgstr "Reintentar"
msgstr "Intento #%s"
msgid "Retrying" msgid "Retrying"
msgstr "Reintentando" msgstr "Reintentando"
@@ -600,6 +620,12 @@ msgstr "Opciones"
msgid "Show" msgid "Show"
msgstr "Mostrar" msgstr "Mostrar"
msgid "Show Heater Power"
msgstr "Mostrar potencia del calentador"
msgid "Shutdown"
msgstr "Apagar"
msgid "Size" msgid "Size"
msgstr "Tamaño" msgstr "Tamaño"
@@ -615,12 +641,6 @@ msgstr "Slicer:"
msgid "Small" msgid "Small"
msgstr "Pequeño" msgstr "Pequeño"
msgid "Sort by: "
msgstr "Ordenar por: "
msgid "Sort:"
msgstr "Ordenar:"
msgid "Speed (mm/s)" msgid "Speed (mm/s)"
msgstr "Velocidad (mm/s)" msgstr "Velocidad (mm/s)"
@@ -663,10 +683,6 @@ msgstr "Temp (°C)"
msgid "Temperature" msgid "Temperature"
msgstr "Temperatura" msgstr "Temperatura"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "Para aplicar %s KlipperScreen necesita reiniciarse"
msgid "Total:" msgid "Total:"
msgstr "Total:" msgstr "Total:"
@@ -697,27 +713,12 @@ msgstr "Actualizando"
msgid "Uploaded" msgid "Uploaded"
msgstr "Subido" msgstr "Subido"
msgid "View Mesh"
msgstr "Ver Malla"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)" msgid "XY Move Speed (mm/s)"
msgstr "Velocidad XY (mm/s)" msgstr "Velocidad XY (mm/s)"
msgid "XY Speed (mm/s)" msgid "XY Speed (mm/s)"
msgstr "XY Velocidad (mm/s)" msgstr "XY Velocidad (mm/s)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate" msgid "Z Calibrate"
msgstr "Calibrar Z" msgstr "Calibrar Z"
@@ -733,12 +734,6 @@ msgstr "Inclinación Z"
msgid "Z offset:" msgid "Z offset:"
msgstr "Desfase Z:" msgstr "Desfase Z:"
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit" msgid "commit"
msgid_plural "commits" msgid_plural "commits"
msgstr[0] "cambio" msgstr[0] "cambio"
@@ -764,6 +759,64 @@ msgstr "mm/s"
msgid "mm/s²" msgid "mm/s²"
msgstr "mm/s²" msgstr "mm/s²"
msgid "mm³/s"
msgstr "mm³/s"
#~ msgid "KlipperScreen will be restarted"
#~ msgstr "KlipperScreen se reiniciará"
#~ msgid "Sort:"
#~ msgstr "Ordenar:"
#~ msgid "Calibrating..."
#~ msgstr "Calibrando..."
#~ msgid "Z+"
#~ msgstr "Z+"
#~ msgid "Z-"
#~ msgstr "Z-"
#~ msgid "X+"
#~ msgstr "X+"
#~ msgid "X-"
#~ msgstr "X-"
#~ msgid "Y+"
#~ msgstr "Y+"
#~ msgid "Y-"
#~ msgstr "Y-"
#, python-format
#~ msgid "Retry #%s"
#~ msgstr "Intento #%s"
#~ msgid "Add Printer"
#~ msgstr "Agregar impresora"
#~ msgid "Initializing"
#~ msgstr "Iniciando"
#~ msgid "Delete"
#~ msgstr "Borrar"
#~ msgid "Home"
#~ msgstr "Inicio"
#~ msgid "Off"
#~ msgstr "Apagar"
#~ msgid "View Mesh"
#~ msgstr "Ver Malla"
#~ msgid "Machine"
#~ msgstr "Máquina"
#~ msgid "Sort by: "
#~ msgstr "Ordenar por: "
#~ msgid "Bltouch found applied offset" #~ msgid "Bltouch found applied offset"
#~ msgstr "Encontrado Bltouch aplicado desfase" #~ msgstr "Encontrado Bltouch aplicado desfase"
@@ -792,9 +845,6 @@ msgstr "mm/s²"
#~ msgid "IPv6" #~ msgid "IPv6"
#~ msgstr "IPv6" #~ msgstr "IPv6"
#~ msgid "Unknown Heater "
#~ msgstr "Calentador Desconocido "
#~ msgid "Disconnect" #~ msgid "Disconnect"
#~ msgstr "Desconectar" #~ msgstr "Desconectar"
Binary file not shown.
@@ -7,16 +7,16 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: KlipperScreen\n" "Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-08-10 12:01-0300\n" "POT-Creation-Date: 2022-11-30 18:17-0300\n"
"PO-Revision-Date: 2022-03-31 10:50-0300\n" "PO-Revision-Date: 2022-11-30 18:11-0300\n"
"Last-Translator: O. Robardet\n" "Last-Translator: O. Robardet\n"
"Language-Team: \n" "Language-Team: \n"
"Language: fr_FR\n" "Language: fr\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Poedit 3.0.1\n" "X-Generator: Poedit 3.2.1\n"
#, python-format #, python-format
msgid "%s will be updated to version" msgid "%s will be updated to version"
@@ -32,7 +32,7 @@ msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "Un FIRMWARE_RESTART peut résoudre le problème." msgstr "Un FIRMWARE_RESTART peut résoudre le problème."
msgid "ADXL Not Configured" msgid "ADXL Not Configured"
msgstr "" msgstr "ADXL non configuré"
msgid "Abort" msgid "Abort"
msgstr "Annuler" msgstr "Annuler"
@@ -46,61 +46,61 @@ msgstr "Accepter"
msgid "Actions" msgid "Actions"
msgstr "Actions" msgstr "Actions"
msgid "Add Printer"
msgstr "Ajouter une imprimante"
msgid "Add profile" msgid "Add profile"
msgstr "" msgstr "Ajouter un profil"
msgid "Apply" msgid "Apply"
msgstr "" msgstr "Appliquer"
#, python-format #, python-format
msgid "Apply %.2f offset to Endstop?" msgid "Apply %.2f offset to Endstop?"
msgstr "" msgstr "Appliquer un décalage de %.2f au Endstop ?"
#, python-format #, python-format
msgid "Apply %s%.2f offset to Probe?" msgid "Apply %s%.2f offset to Probe?"
msgstr "" msgstr "Appliquer un décalage de %s%.2f au palpeur ?"
msgid "Are you sure do you want to exclude the object?"
msgstr "Êtes-vous sûr de vouloir exclure l’objet ?"
msgid "Are you sure you want to run Emergency Stop?" msgid "Are you sure you want to run Emergency Stop?"
msgstr "Êtes-vous sûr de vouloir exécuter l'arrêt d'urgence?" msgstr "Êtes-vous sûr de vouloir exécuter l'arrêt d'urgence ?"
msgid "Are you sure you wish to cancel this print?" msgid "Are you sure you wish to cancel this print?"
msgstr "Êtes-vous sûr de vouloir annuler cette impression?" msgstr "Êtes-vous sûr de vouloir annuler cette impression ?"
msgid "Are you sure you wish to disable motors?" msgid "Are you sure you wish to disable motors?"
msgstr "Voulez-vous vraiment désactiver les moteurs ?" msgstr "Voulez-vous vraiment désactiver les moteurs ?"
msgid "Are you sure you wish to reboot the system?" msgid "Are you sure you wish to reboot the system?"
msgstr "Êtes-vous sûr de vouloir redémarrer le système?" msgstr "Êtes-vous sûr de vouloir redémarrer le système ?"
msgid "Are you sure you wish to shutdown the system?" msgid "Are you sure you wish to shutdown the system?"
msgstr "Êtes-vous sûr de vouloir arrêter le système?" msgstr "Êtes-vous sûr de vouloir arrêter le système ?"
msgid "Auto" msgid "Auto"
msgstr "Auto" msgstr "Auto"
msgid "Auto-calibrate" msgid "Auto-calibrate"
msgstr "Calibrage automatique" msgstr "Calibration Automatique"
msgid "Auto-close notifications" msgid "Auto-close notifications"
msgstr "" msgstr "Fermeture automatique des notifications"
msgid "Auto-scroll" msgid "Auto-scroll"
msgstr "Auto-scroll" msgstr "Défilement automatique"
msgid "Bed Level" msgid "Bed Level"
msgstr "Nivelage du plateau" msgstr "Nivellement"
msgid "Bed Mesh" msgid "Bed Mesh"
msgstr "Maillage du plateau" msgstr "Maillage du plateau"
msgid "Bed screw configuration:" msgid "Bed screw configuration:"
msgstr "" msgstr "Configuration des vis:"
msgid "Calibrate" msgid "Calibrate"
msgstr "Étalonner" msgstr "Calibrer"
msgid "Calibrated" msgid "Calibrated"
msgstr "Calibré" msgstr "Calibré"
@@ -109,10 +109,7 @@ msgid "Calibrated, save configuration to make it permanent"
msgstr "Calibré, enregistrez la configuration pour la rendre permanente" msgstr "Calibré, enregistrez la configuration pour la rendre permanente"
msgid "Calibrating" msgid "Calibrating"
msgstr "" msgstr "Calibrage"
msgid "Calibrating..."
msgstr "Calibrage..."
msgid "Can't set above the maximum:" msgid "Can't set above the maximum:"
msgstr "Impossible de définir au-dessus du maximum:" msgstr "Impossible de définir au-dessus du maximum:"
@@ -124,7 +121,7 @@ msgid "Cancel Print"
msgstr "Annuler l'impression" msgstr "Annuler l'impression"
msgid "Cancelled" msgid "Cancelled"
msgstr "Annulé" msgstr "Annulée"
msgid "Cancelling" msgid "Cancelling"
msgstr "Annulation" msgstr "Annulation"
@@ -136,19 +133,19 @@ msgid "Channel"
msgstr "Canal" msgstr "Canal"
msgid "Check ADXL Wiring" msgid "Check ADXL Wiring"
msgstr "" msgstr "Vérifier le câblage ADXL"
msgid "Checking for updates, please wait..." msgid "Checking for updates, please wait..."
msgstr "" msgstr "Recherche de mises à jour, veuillez patienter..."
msgid "Clear" msgid "Clear"
msgstr "" msgstr "Effacer"
msgid "Close" msgid "Close"
msgstr "Fermer" msgstr "Fermer"
msgid "Complete" msgid "Complete"
msgstr "Finalisé" msgstr "Impression terminée"
msgid "Configuration" msgid "Configuration"
msgstr "Configuration" msgstr "Configuration"
@@ -178,11 +175,8 @@ msgstr "Date"
msgid "Decrease" msgid "Decrease"
msgstr "Diminuer" msgstr "Diminuer"
msgid "Delete"
msgstr "Effacer"
msgid "Delete File?" msgid "Delete File?"
msgstr "" msgstr "Supprimer le fichier ?"
msgid "Deselect" msgid "Deselect"
msgstr "Désélectionner" msgstr "Désélectionner"
@@ -207,10 +201,16 @@ msgid "Error"
msgstr "Erreur" msgstr "Erreur"
msgid "Estimated Time Method" msgid "Estimated Time Method"
msgstr "Méthode d'estimation du temps" msgstr "Méthode d'estimation de la durée"
msgid "Exclude Object"
msgstr "Exclure Objet"
msgid "Extra Large"
msgstr "Extra Grande"
msgid "Extrude" msgid "Extrude"
msgstr "Extruder" msgstr "Extrusion"
msgid "Extrusion +" msgid "Extrusion +"
msgstr "Extrusion +" msgstr "Extrusion +"
@@ -222,13 +222,13 @@ msgid "Failed, adjust position first"
msgstr "Échec, ajustez d'abord la position" msgstr "Échec, ajustez d'abord la position"
msgid "Fan" msgid "Fan"
msgstr "Ventilateur" msgstr "Ventilation"
msgid "Filament Used" msgid "Filament Used"
msgstr "Filament utilisé" msgstr "Filament utilisé"
msgid "Filament total:" msgid "Filament total:"
msgstr "Total de filaments:" msgstr "Total filament:"
msgid "Filament used:" msgid "Filament used:"
msgstr "Filament utilisé:" msgstr "Filament utilisé:"
@@ -243,49 +243,46 @@ msgid "File:"
msgstr "Fichier:" msgstr "Fichier:"
msgid "Finding ADXL" msgid "Finding ADXL"
msgstr "" msgstr "Recherche de l’ADXL"
msgid "Fine Tuning" msgid "Fine Tuning"
msgstr "Réglages fins" msgstr "Réglages précis"
msgid "Finish" msgid "Finish"
msgstr "Fin" msgstr "Terminée"
msgid "Firmware Restart" msgid "Firmware Restart"
msgstr "Micrologiciel Redémarrage" msgstr "Redémarrer Firmware"
msgid "Flow:" msgid "Flow:"
msgstr "" msgstr "Flux:"
msgid "Flowrate:" msgid "Flowrate:"
msgstr "" msgstr "Débit:"
msgid "Font Size" msgid "Font Size"
msgstr "Taille de police" msgstr "Taille de la police"
msgid "Full Update" msgid "Full Update"
msgstr "Plein Mettre à jour" msgstr "Mettre à jour"
msgid "Go Back" msgid "Go Back"
msgstr "Retourner" msgstr "Retour"
msgid "Height:" msgid "Height:"
msgstr "" msgstr "Hauteur:"
msgid "Hidden" msgid "Hidden"
msgstr "Caché" msgstr "Masqué"
msgid "Hide" msgid "Hide"
msgstr "Cacher" msgstr "Masquer"
msgid "Hide sensors in Temp." msgid "Hide sensors in Temp."
msgstr "Masquer les capteurs dans Temp." msgstr "Masquer les capteurs dans Températures"
msgid "Hide temp." msgid "Hide temp."
msgstr "" msgstr "Masquer temp."
msgid "Home"
msgstr "Accueil"
msgid "Home All" msgid "Home All"
msgstr "Origine XYZ" msgstr "Origine XYZ"
@@ -305,23 +302,23 @@ msgstr "Origine Z"
msgid "Homing" msgid "Homing"
msgstr "Origine" msgstr "Origine"
msgid "Host"
msgstr "Hôte"
msgid "Hostname" msgid "Hostname"
msgstr "Hostname" msgstr "Nom d’hôte"
msgid "Icon Theme" msgid "Icon Theme"
msgstr "Thème icônes" msgstr "Thème"
msgid "Increase" msgid "Increase"
msgstr "Augmenter" msgstr "Augmenter"
msgid "Initializing"
msgstr "Initialisation"
msgid "Initializing printer..." msgid "Initializing printer..."
msgstr "Démarrage de l'imprimante..." msgstr "Démarrage de l'imprimante..."
msgid "Input Shaper" msgid "Input Shaper"
msgstr "" msgstr "Input Shaper"
msgid "Interface" msgid "Interface"
msgstr "Interface" msgstr "Interface"
@@ -329,17 +326,20 @@ msgstr "Interface"
msgid "Invalid" msgid "Invalid"
msgstr "Invalide" msgstr "Invalide"
msgid "Invalid password"
msgstr ""
msgid "Invert X" msgid "Invert X"
msgstr "Inverser X" msgstr "Inverser l'axe X"
msgid "Invert Y" msgid "Invert Y"
msgstr "Inverser Y" msgstr "Inverser l'axe Y"
msgid "Invert Z" msgid "Invert Z"
msgstr "Inverser Z" msgstr "Inverser l'axe Z"
msgid "Klipper Restart" msgid "Klipper Restart"
msgstr "Klipper Redémarrage" msgstr "Redémarrer Klipper"
msgid "Klipper has disconnected" msgid "Klipper has disconnected"
msgstr "Klipper s'est déconnecté" msgstr "Klipper s'est déconnecté"
@@ -356,14 +356,17 @@ msgstr "Klipper tente de démarrer"
msgid "Klipper will reboot" msgid "Klipper will reboot"
msgstr "Klipper va redémarrer" msgstr "Klipper va redémarrer"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen va redémarrer"
msgid "Language" msgid "Language"
msgstr "Langue" msgstr "Langue"
msgid "Large" msgid "Large"
msgstr "Grand" msgstr "Grande"
msgid "Layer:" msgid "Layer:"
msgstr "" msgstr "Couche:"
msgid "Left:" msgid "Left:"
msgstr "Restant:" msgstr "Restant:"
@@ -378,7 +381,7 @@ msgid "Lower Nozzle"
msgstr "Rapprocher la buse" msgstr "Rapprocher la buse"
msgid "Macro shortcut on sidebar" msgid "Macro shortcut on sidebar"
msgstr "Raccourci macro sur la barre latérale" msgstr "Raccourci des Macros sur la barre latérale"
msgid "Macros" msgid "Macros"
msgstr "Macros" msgstr "Macros"
@@ -387,37 +390,43 @@ msgid "Main Menu"
msgstr "Menu principal" msgstr "Menu principal"
msgid "Max" msgid "Max"
msgstr "" msgstr "Max"
msgid "Max Acceleration" msgid "Max Acceleration"
msgstr "Accélération Max" msgstr "Accélération maximale"
msgid "Max Acceleration to Deceleration" msgid "Max Acceleration to Deceleration"
msgstr "Accélération maximale à décélération" msgstr "Accélération à décélération maximale"
msgid "Max Velocity" msgid "Max Velocity"
msgstr "Vélocité maximale" msgstr "Vélocité maximale"
msgid "Maximum"
msgstr "Maximum"
msgid "Measure Both" msgid "Measure Both"
msgstr "" msgstr "Mesurer les deux"
msgid "Measure X" msgid "Measure X"
msgstr "" msgstr "Mesure X"
msgid "Measure Y" msgid "Measure Y"
msgstr "" msgstr "Mesure Y"
msgid "Medium" msgid "Medium"
msgstr "Moyen" msgstr "Moyenne"
msgid "Menu" msgid "Menu"
msgstr "Menu" msgstr "Menu"
msgid "Mesh calibrate"
msgstr "Calibration du maillage"
msgid "Modified" msgid "Modified"
msgstr "Modifié" msgstr "Modifié"
msgid "Moonraker: connected" msgid "Moonraker: connected"
msgstr "Moonraker : connecté" msgstr "Moonraker: connecté"
msgid "Move" msgid "Move"
msgstr "Mouvement" msgstr "Mouvement"
@@ -431,6 +440,9 @@ msgstr "Nom"
msgid "Network" msgid "Network"
msgstr "Réseau" msgstr "Réseau"
msgid "Never"
msgstr "Jamais"
msgid "New" msgid "New"
msgstr "Nouveau" msgstr "Nouveau"
@@ -438,16 +450,15 @@ msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen." "Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf" "conf"
msgstr "" msgstr ""
"Non pris en charge pour la détection automatique, il doit être configuré "
"dans klipperscreen.conf"
msgid "Nothing selected" msgid "Nothing selected"
msgstr "Rien de sélectionné" msgstr "Rien de sélectionné"
msgid "Off"
msgstr "Éteindre"
#, python-format #, python-format
msgid "Outdated by %d" msgid "Outdated by %d"
msgstr "Obsolète de %d" msgstr "Obsolète par %d"
msgid "PSK for" msgid "PSK for"
msgstr "PSK pour" msgstr "PSK pour"
@@ -455,10 +466,10 @@ msgstr "PSK pour"
msgid "Package will be updated" msgid "Package will be updated"
msgid_plural "Packages will be updated" msgid_plural "Packages will be updated"
msgstr[0] "Le paquet sera mis à jour" msgstr[0] "Le paquet sera mis à jour"
msgstr[1] "Forfaits seront mis à jour" msgstr[1] "Les paquets seront mis à jour"
msgid "Part Fan" msgid "Part Fan"
msgstr "" msgstr "Ventilateurs de refroidissement"
msgid "Password saved" msgid "Password saved"
msgstr "Mot de passe enregistré" msgstr "Mot de passe enregistré"
@@ -473,7 +484,7 @@ msgid "Perform a full upgrade?"
msgstr "Effectuer une mise à jour complète ?" msgstr "Effectuer une mise à jour complète ?"
msgid "Pins" msgid "Pins"
msgstr "" msgstr "Pins"
msgid "Please recompile and flash the micro-controller." msgid "Please recompile and flash the micro-controller."
msgstr "Veuillez recompiler et flasher le microcontrôleur." msgstr "Veuillez recompiler et flasher le microcontrôleur."
@@ -485,7 +496,7 @@ msgid "Power On Printer"
msgstr "Allumer l'imprimante" msgstr "Allumer l'imprimante"
msgid "Pressure Advance:" msgid "Pressure Advance:"
msgstr "" msgstr "Pressure Advance:"
msgid "Print" msgid "Print"
msgstr "Imprimer" msgstr "Imprimer"
@@ -494,37 +505,49 @@ msgid "Print Control"
msgstr "Contrôle de l'impression" msgstr "Contrôle de l'impression"
msgid "Print Time" msgid "Print Time"
msgstr "Temps d'impression" msgstr "Durée d'impression"
msgid "Printer"
msgstr "Imprimante"
msgid "Printer Connections" msgid "Printer Connections"
msgstr "Connexions aux imprimantes" msgstr "Connexions aux imprimantes"
msgid "Printer Select"
msgstr "Sélection d'une imprimante"
msgid "Printing" msgid "Printing"
msgstr "Impression" msgstr "Impression"
msgid "Probe Offset" msgid "Probe Offset"
msgstr "" msgstr "Décalage du palpeur"
msgid "Profile Name:" msgid "Profile Name:"
msgstr "Nom de profil:" msgstr "Nom du profil:"
msgid "Provide KlipperScreen.log when asking for help.\n"
msgstr ""
msgid "Quad Gantry Level" msgid "Quad Gantry Level"
msgstr "Portique à quatre niveaux" msgstr "Portique à quatre niveaux"
msgid "Raise Nozzle" msgid "Raise Nozzle"
msgstr "Éloigner la buse" msgstr "Eloigner la buse"
msgid "Recover"
msgstr "Récupération"
msgid "Recover Hard" msgid "Recover Hard"
msgstr "Récupération \"--hard\"" msgstr "Récupération Hard"
msgid "Recover Soft" msgid "Recover Soft"
msgstr "Récupérer \"--soft\"" msgstr "Récupération Soft"
msgid "Reference" msgid "Reference"
msgstr "Référence" msgstr "Référence"
msgid "Refresh" msgid "Refresh"
msgstr "" msgstr "Rafraîchir"
msgid "Restart" msgid "Restart"
msgstr "Redémarrer" msgstr "Redémarrer"
@@ -539,36 +562,35 @@ msgid "Retraction"
msgstr "Rétraction" msgstr "Rétraction"
msgid "Retraction Length" msgid "Retraction Length"
msgstr "Longueur de rétraction" msgstr "Distance de rétraction"
msgid "Retraction Speed" msgid "Retraction Speed"
msgstr "Vitesse de rétraction" msgstr "Vitesse de rétraction"
#, python-format msgid "Retry"
msgid "Retry #%s" msgstr "Réessayer"
msgstr "Réessayez #%s"
msgid "Retrying" msgid "Retrying"
msgstr "" msgstr "Réessaye"
msgid "Save" msgid "Save"
msgstr "Enregistrer" msgstr "Enregistrer"
msgid "Save Config" msgid "Save Config"
msgstr "Enregistrer la config" msgstr "Enregistrer la configuration"
msgid "Save Z" msgid "Save Z"
msgstr "Enregistrer Z" msgstr "Enregistrer Z"
msgid "Save configuration?" msgid "Save configuration?"
msgstr "Enregistrer la configuration?" msgstr "Enregistrer la configuration ?"
msgid "Saved" msgid "Saved"
msgstr "Enregistré" msgstr "Enregistré"
#, python-format #, python-format
msgid "Saved offset: %s" msgid "Saved offset: %s"
msgstr "" msgstr "Décalage enregistré: %s"
msgid "Screen DPMS" msgid "Screen DPMS"
msgstr "Écran DPMS" msgstr "Écran DPMS"
@@ -587,40 +609,40 @@ msgstr "Envoyer"
#, python-format #, python-format
msgid "Sending Power ON signal to: %s" msgid "Sending Power ON signal to: %s"
msgstr "Envoi du signal de mise sous tension à : %s" msgstr "Envoi du signal de mise sous tension à: %s"
msgid "Set Temp" msgid "Set Temp"
msgstr "Régler la temp" msgstr "Régler la température"
msgid "Settings" msgid "Settings"
msgstr "Paramètres" msgstr "Paramètres"
msgid "Show" msgid "Show"
msgstr "Montrer" msgstr "Afficher"
msgid "Show Heater Power"
msgstr "Afficher la puissance de chauffe"
msgid "Shutdown"
msgstr "Arrêter"
msgid "Size" msgid "Size"
msgstr "Dimension" msgstr "Taille"
msgid "Slicer" msgid "Slicer"
msgstr "Trancheur" msgstr "Slicer"
msgid "Slicer Time correction (%)" msgid "Slicer Time correction (%)"
msgstr "Correction du temps de trancheuse (%)" msgstr "Correction de la durée du slicer (%)"
msgid "Slicer:" msgid "Slicer:"
msgstr "" msgstr "Slicer:"
msgid "Small" msgid "Small"
msgstr "Petit" msgstr "Petite"
msgid "Sort by: "
msgstr "Trier par: "
msgid "Sort:"
msgstr "Trier:"
msgid "Speed (mm/s)" msgid "Speed (mm/s)"
msgstr "Vitesse de déplacement (mm/s)" msgstr "Vitesse (mm/s)"
msgid "Speed +" msgid "Speed +"
msgstr "Vitesse +" msgstr "Vitesse +"
@@ -650,10 +672,10 @@ msgid "System"
msgstr "Système" msgstr "Système"
msgid "System Restart" msgid "System Restart"
msgstr "Redémarrer le système" msgstr "Redémarrez le système"
msgid "System Shutdown" msgid "System Shutdown"
msgstr "Arrêt du Système" msgstr "Arrêter le système"
msgid "Temp (°C)" msgid "Temp (°C)"
msgstr "Temp (°C)" msgstr "Temp (°C)"
@@ -661,48 +683,35 @@ msgstr "Temp (°C)"
msgid "Temperature" msgid "Temperature"
msgstr "Température" msgstr "Température"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "Pour appliquer %s KlipperScreen doit être redémarré"
msgid "Total:" msgid "Total:"
msgstr "Total:" msgstr "Total:"
msgid "Unknown Heater" msgid "Unknown Heater"
msgstr "Chauffage inconnu" msgstr "Chauffe inconnue"
msgid "Unknown screw position" msgid "Unknown screw position"
msgstr "" msgstr "Position de vis inconnue"
msgid "Unload" msgid "Unload"
msgstr "Décharger" msgstr "Décharger"
msgid "Unretract Extra Length" msgid "Unretract Extra Length"
msgstr "" msgstr "Longueur supplémentaire non rétractée"
msgid "Unretract Speed" msgid "Unretract Speed"
msgstr "" msgstr "Vitesse non rétractée"
msgid "Up To Date" msgid "Up To Date"
msgstr "À jour" msgstr "À jour"
msgid "Update" msgid "Update"
msgstr "Mise à jour" msgstr "Mettre à jour"
msgid "Updating" msgid "Updating"
msgstr "Mise à jour" msgstr "Mise à jour"
msgid "Uploaded" msgid "Uploaded"
msgstr "Téléchargé" msgstr "Envoyé"
msgid "View Mesh"
msgstr "Voir le maillage"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)" msgid "XY Move Speed (mm/s)"
msgstr "Vitesse de déplacement XY (mm/s)" msgstr "Vitesse de déplacement XY (mm/s)"
@@ -710,12 +719,6 @@ msgstr "Vitesse de déplacement XY (mm/s)"
msgid "XY Speed (mm/s)" msgid "XY Speed (mm/s)"
msgstr "Vitesse XY (mm/s)" msgstr "Vitesse XY (mm/s)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate" msgid "Z Calibrate"
msgstr "Calibration Z" msgstr "Calibration Z"
@@ -729,13 +732,7 @@ msgid "Z Tilt"
msgstr "Z Tilt" msgstr "Z Tilt"
msgid "Z offset:" msgid "Z offset:"
msgstr "Décalage Z" msgstr "Décalage Z:"
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit" msgid "commit"
msgid_plural "commits" msgid_plural "commits"
@@ -747,7 +744,7 @@ msgstr "dBm"
msgid "hour" msgid "hour"
msgid_plural "hours" msgid_plural "hours"
msgstr[0] "heur" msgstr[0] "heure"
msgstr[1] "heures" msgstr[1] "heures"
msgid "minutes" msgid "minutes"
@@ -762,6 +759,58 @@ msgstr "mm/s"
msgid "mm/s²" msgid "mm/s²"
msgstr "mm/s²" msgstr "mm/s²"
msgid "mm³/s"
msgstr "mm³/s"
#~ msgid "Sort:"
#~ msgstr "Trier:"
#~ msgid "Calibrating..."
#~ msgstr "Calibrage..."
#~ msgid "Z+"
#~ msgstr "Z+"
#~ msgid "Z-"
#~ msgstr "Z-"
#~ msgid "X+"
#~ msgstr "X+"
#~ msgid "X-"
#~ msgstr "X-"
#~ msgid "Y+"
#~ msgstr "Y+"
#~ msgid "Y-"
#~ msgstr "Y-"
#, python-format
#~ msgid "Retry #%s"
#~ msgstr "Réessayez #%s"
#~ msgid "Add Printer"
#~ msgstr "Ajouter une imprimante"
#~ msgid "Initializing"
#~ msgstr "Initialisation"
#~ msgid "Delete"
#~ msgstr "Effacer"
#~ msgid "Home"
#~ msgstr "Accueil"
#~ msgid "Off"
#~ msgstr "Éteindre"
#~ msgid "View Mesh"
#~ msgstr "Voir le maillage"
#~ msgid "Sort by: "
#~ msgstr "Trier par: "
#~ msgid "Bltouch found applied offset" #~ msgid "Bltouch found applied offset"
#~ msgstr "Bltouch a trouvé le décalage appliqué" #~ msgstr "Bltouch a trouvé le décalage appliqué"
@@ -790,9 +839,6 @@ msgstr "mm/s²"
#~ msgid "IPv6" #~ msgid "IPv6"
#~ msgstr "IPv6" #~ msgstr "IPv6"
#~ msgid "Unknown Heater "
#~ msgstr "Chauffage inconnu "
#~ msgid "Disconnect" #~ msgid "Disconnect"
#~ msgstr "Déconnecter" #~ msgstr "Déconnecter"
Binary file not shown.
@@ -7,17 +7,17 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Klipperscreen\n" "Project-Id-Version: Klipperscreen\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-08-10 12:01-0300\n" "POT-Creation-Date: 2022-11-30 18:17-0300\n"
"PO-Revision-Date: 2022-03-31 10:54-0300\n" "PO-Revision-Date: 2022-11-30 18:11-0300\n"
"Last-Translator: Emanuel Sharvit <manu7irl@gmail.com>\n" "Last-Translator: Tal Rahav <talrhv1@gmail.com>\n"
"Language-Team: \n" "Language-Team: \n"
"Language: he_IL\n" "Language: he\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : n==2 ? 1 : n>10 && n%10==0 ? " "Plural-Forms: nplurals=4; plural=(n==1 ? 0 : n==2 ? 1 : n>10 && n%10==0 ? "
"2 : 3);\n" "2 : 3);\n"
"X-Generator: Poedit 3.0.1\n" "X-Generator: Poedit 3.2.1\n"
"X-Poedit-SourceCharset: UTF-8\n" "X-Poedit-SourceCharset: UTF-8\n"
#, python-format #, python-format
@@ -25,7 +25,7 @@ msgid "%s will be updated to version"
msgstr "%s יעודכן לגרסה" msgstr "%s יעודכן לגרסה"
msgid "(default)" msgid "(default)"
msgstr "(בְּרִירַת מֶחדָל)" msgstr "(ברירת מחדל)"
msgid "24 Hour Time" msgid "24 Hour Time"
msgstr "זמן 24 שעות" msgstr "זמן 24 שעות"
@@ -34,13 +34,13 @@ msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "FIRMWARE_RESTART עשוי לפתור את הבעיה." msgstr "FIRMWARE_RESTART עשוי לפתור את הבעיה."
msgid "ADXL Not Configured" msgid "ADXL Not Configured"
msgstr "" msgstr "ADXL אינו מוגדר"
msgid "Abort" msgid "Abort"
msgstr "בטל" msgstr "בטל"
msgid "Acceleration:" msgid "Acceleration:"
msgstr "" msgstr "האצה"
msgid "Accept" msgid "Accept"
msgstr "אשר" msgstr "אשר"
@@ -48,26 +48,25 @@ msgstr "אשר"
msgid "Actions" msgid "Actions"
msgstr "פעולות" msgstr "פעולות"
msgid "Add Printer"
msgstr "הוסף מדפסת"
msgid "Add profile" msgid "Add profile"
msgstr "" msgstr "הוסף פרופיל"
msgid "Apply" msgid "Apply"
msgstr "" msgstr "החל"
#, python-format #, python-format
msgid "Apply %.2f offset to Endstop?" msgid "Apply %.2f offset to Endstop?"
msgstr "" msgstr "הוסף %.2f לתחנת קצה?"
#, python-format #, python-format
msgid "Apply %s%.2f offset to Probe?" msgid "Apply %s%.2f offset to Probe?"
msgstr "החל היסט של %s%.2f על בדיקה"
msgid "Are you sure do you want to exclude the object?"
msgstr "" msgstr ""
msgid "Are you sure you want to run Emergency Stop?" msgid "Are you sure you want to run Emergency Stop?"
msgstr "" msgstr "האם אתה בטוח שאתה רוצה לבצע עצירת חירום?"
"האם אתה בטוח שברצונך להדפיסהאם אתה בטוח שברצונך להפעיל את עצירת החירום?"
msgid "Are you sure you wish to cancel this print?" msgid "Are you sure you wish to cancel this print?"
msgstr "האם אתה בטוח שברצונך לבטל את ההדפסה?" msgstr "האם אתה בטוח שברצונך לבטל את ההדפסה?"
@@ -79,16 +78,16 @@ msgid "Are you sure you wish to reboot the system?"
msgstr "האם אתה בטוח שברצונך לאתחל את המערכת?" msgstr "האם אתה בטוח שברצונך לאתחל את המערכת?"
msgid "Are you sure you wish to shutdown the system?" msgid "Are you sure you wish to shutdown the system?"
msgstr "האם אתה בטוח שברצונך לסגור את המערכת?" msgstr "האם אתה בטוח שברצונך לכבות את המערכת?"
msgid "Auto" msgid "Auto"
msgstr "אוטומטי" msgstr "אוטומטי"
msgid "Auto-calibrate" msgid "Auto-calibrate"
msgstr "" msgstr "כיול אוטומטי"
msgid "Auto-close notifications" msgid "Auto-close notifications"
msgstr "" msgstr "סגירת התראות אוטומטית"
msgid "Auto-scroll" msgid "Auto-scroll"
msgstr "גלילה אוטומטית" msgstr "גלילה אוטומטית"
@@ -100,22 +99,19 @@ msgid "Bed Mesh"
msgstr "מיפוי מיטה" msgstr "מיפוי מיטה"
msgid "Bed screw configuration:" msgid "Bed screw configuration:"
msgstr "" msgstr "הגדרת בורג מיטה"
msgid "Calibrate" msgid "Calibrate"
msgstr "לְדַרֵג" msgstr "לכייל"
msgid "Calibrated" msgid "Calibrated"
msgstr "" msgstr "מכויל"
msgid "Calibrated, save configuration to make it permanent" msgid "Calibrated, save configuration to make it permanent"
msgstr "מכויל, שמור את התצורה כדי שהיא תהיה קבועה" msgstr "מכויל, שמור את התצורה כדי שהיא תהיה קבועה"
msgid "Calibrating" msgid "Calibrating"
msgstr "" msgstr "מכייל"
msgid "Calibrating..."
msgstr ""
msgid "Can't set above the maximum:" msgid "Can't set above the maximum:"
msgstr "לא ניתן להגדיר מעל המקסימום:" msgstr "לא ניתן להגדיר מעל המקסימום:"
@@ -136,22 +132,22 @@ msgid "Cannot connect to Moonraker"
msgstr "לא ניתן להתחבר ל-Moonraker" msgstr "לא ניתן להתחבר ל-Moonraker"
msgid "Channel" msgid "Channel"
msgstr "עָרוּץ" msgstr "ערוץ"
msgid "Check ADXL Wiring" msgid "Check ADXL Wiring"
msgstr "" msgstr "בדוק את החיווט של ה ADXL"
msgid "Checking for updates, please wait..." msgid "Checking for updates, please wait..."
msgstr "" msgstr "בודק עדכונים, אנא המתן"
msgid "Clear" msgid "Clear"
msgstr "" msgstr "נקה"
msgid "Close" msgid "Close"
msgstr "סגור" msgstr "סגור"
msgid "Complete" msgid "Complete"
msgstr "לְהַשְׁלִים" msgstr "הסתיים"
msgid "Configuration" msgid "Configuration"
msgstr "קונפיגורציה" msgstr "קונפיגורציה"
@@ -160,32 +156,29 @@ msgid "Confirm Emergency Stop"
msgstr "אשר עצירת חירום" msgstr "אשר עצירת חירום"
msgid "Connected" msgid "Connected"
msgstr "מְחוּבָּר" msgstr "מחובר"
#, python-format #, python-format
msgid "Connecting to %s" msgid "Connecting to %s"
msgstr "מתחבר ל- %s" msgstr "מתחבר ל- %s"
msgid "Console" msgid "Console"
msgstr "לְנַחֵם" msgstr "קונסול"
msgid "Continue" msgid "Continue"
msgstr "לְהַמשִׁיך" msgstr "המשך"
msgid "Cooldown" msgid "Cooldown"
msgstr "תירגע" msgstr "הפעל קירור"
msgid "Date" msgid "Date"
msgstr "תַאֲרִיך" msgstr "תאריך"
msgid "Decrease" msgid "Decrease"
msgstr "לְהַקְטִין" msgstr "הורד"
msgid "Delete"
msgstr "לִמְחוֹק"
msgid "Delete File?" msgid "Delete File?"
msgstr "" msgstr "מחק קובץ"
msgid "Deselect" msgid "Deselect"
msgstr "בטל את הבחירה" msgstr "בטל את הבחירה"
@@ -207,13 +200,19 @@ msgid "Elapsed:"
msgstr "זמן שעבר:" msgstr "זמן שעבר:"
msgid "Error" msgid "Error"
msgstr "שְׁגִיאָה" msgstr "שגיאה"
msgid "Estimated Time Method" msgid "Estimated Time Method"
msgstr "שיטת זמן משוערת" msgstr "שיטת זמן משוערת"
msgid "Exclude Object"
msgstr "ביטול אובייקט"
msgid "Extra Large"
msgstr ""
msgid "Extrude" msgid "Extrude"
msgstr "אקסטרוזיה" msgstr "הוצא חומר"
msgid "Extrusion +" msgid "Extrusion +"
msgstr "שיחול +" msgstr "שיחול +"
@@ -228,25 +227,25 @@ msgid "Fan"
msgstr "מאוורר" msgstr "מאוורר"
msgid "Filament Used" msgid "Filament Used"
msgstr "נימה בשימוש" msgstr "חומר ששומש"
msgid "Filament total:" msgid "Filament total:"
msgstr "" msgstr "חומר כולל"
msgid "Filament used:" msgid "Filament used:"
msgstr "" msgstr "חומר ששומש:"
msgid "Filament:" msgid "Filament:"
msgstr "" msgstr "חומר גלם"
msgid "File" msgid "File"
msgstr "קוֹבֶץ" msgstr "קובץ"
msgid "File:" msgid "File:"
msgstr "" msgstr ""
msgid "Finding ADXL" msgid "Finding ADXL"
msgstr "" msgstr "מחפש ADXL"
msgid "Fine Tuning" msgid "Fine Tuning"
msgstr "כוונון עדין" msgstr "כוונון עדין"
@@ -255,44 +254,37 @@ msgid "Finish"
msgstr "סיים" msgstr "סיים"
msgid "Firmware Restart" msgid "Firmware Restart"
msgstr "" msgstr "אתחול קושחה"
"קושחה\n"
"איתחול"
msgid "Flow:" msgid "Flow:"
msgstr "" msgstr "זרם"
msgid "Flowrate:" msgid "Flowrate:"
msgstr "" msgstr "קצב זרימה"
msgid "Font Size" msgid "Font Size"
msgstr "גודל טקסט" msgstr "גודל טקסט"
msgid "Full Update" msgid "Full Update"
msgstr "" msgstr "עדכון מלא"
"מלא\n"
"עדכון"
msgid "Go Back" msgid "Go Back"
msgstr "חזרה" msgstr "חזרה"
msgid "Height:" msgid "Height:"
msgstr "" msgstr "גובה"
msgid "Hidden" msgid "Hidden"
msgstr "מוּסתָר" msgstr "מוסתר"
msgid "Hide" msgid "Hide"
msgstr "להתחבא" msgstr "הסתר"
msgid "Hide sensors in Temp." msgid "Hide sensors in Temp."
msgstr "הסתר חיישנים בטמפ'." msgstr "הסתר חיישנים בטמפ'."
msgid "Hide temp." msgid "Hide temp."
msgstr "" msgstr "הסתר טמפרטורה"
msgid "Home"
msgstr "איפוס"
msgid "Home All" msgid "Home All"
msgstr "איפוס XYZ" msgstr "איפוס XYZ"
@@ -312,30 +304,33 @@ msgstr "איפוס Z"
msgid "Homing" msgid "Homing"
msgstr "איפוס צירים" msgstr "איפוס צירים"
msgid "Host"
msgstr "שרת"
msgid "Hostname" msgid "Hostname"
msgstr "Hostname" msgstr "שם שרת"
msgid "Icon Theme" msgid "Icon Theme"
msgstr "נושא אייקון" msgstr "ערכת נושא"
msgid "Increase" msgid "Increase"
msgstr "הגדל" msgstr "הגדל"
msgid "Initializing"
msgstr "מאתחל"
msgid "Initializing printer..." msgid "Initializing printer..."
msgstr "מאתחל מדפסת..." msgstr "מאתחל מדפסת..."
msgid "Input Shaper" msgid "Input Shaper"
msgstr "" msgstr "מעצב גימור"
msgid "Interface" msgid "Interface"
msgstr "מִמְשָׁק" msgstr "ממשק"
msgid "Invalid" msgid "Invalid"
msgstr "לא חוקי" msgstr "לא חוקי"
msgid "Invalid password"
msgstr ""
msgid "Invert X" msgid "Invert X"
msgstr "הפוך את X" msgstr "הפוך את X"
@@ -346,9 +341,7 @@ msgid "Invert Z"
msgstr "הפוך את Z" msgstr "הפוך את Z"
msgid "Klipper Restart" msgid "Klipper Restart"
msgstr "" msgstr "Klipper יאתחל מחדש"
"קליפר\n"
"איתחול"
msgid "Klipper has disconnected" msgid "Klipper has disconnected"
msgstr "קליפר התנתק" msgstr "קליפר התנתק"
@@ -357,22 +350,25 @@ msgid "Klipper has encountered an error."
msgstr "קילפר נתקל בבעיה." msgstr "קילפר נתקל בבעיה."
msgid "Klipper has shutdown" msgid "Klipper has shutdown"
msgstr "קליפר נכבה" msgstr "קליפר כבה"
msgid "Klipper is attempting to start" msgid "Klipper is attempting to start"
msgstr "קליפר מנסה לרוץ" msgstr "קליפר מנסה לעלות"
msgid "Klipper will reboot" msgid "Klipper will reboot"
msgstr "קליפר יבצע אתחול" msgstr "קליפר יבצע אתחול"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen יאתחל מחדש"
msgid "Language" msgid "Language"
msgstr "שפה" msgstr "שפה"
msgid "Large" msgid "Large"
msgstr "גָדוֹל" msgstr "גדול"
msgid "Layer:" msgid "Layer:"
msgstr "" msgstr "שכבה"
msgid "Left:" msgid "Left:"
msgstr "זמן שנותר:" msgstr "זמן שנותר:"
@@ -381,7 +377,7 @@ msgid "Limits"
msgstr "גבולות" msgstr "גבולות"
msgid "Load" msgid "Load"
msgstr "לִטעוֹן" msgstr "טעינה"
msgid "Lower Nozzle" msgid "Lower Nozzle"
msgstr "הנמך דיזה" msgstr "הנמך דיזה"
@@ -396,10 +392,10 @@ msgid "Main Menu"
msgstr "תפריט ראשי" msgstr "תפריט ראשי"
msgid "Max" msgid "Max"
msgstr "" msgstr "מקסימום"
msgid "Max Acceleration" msgid "Max Acceleration"
msgstr "" msgstr "מקסימום תאוצה"
msgid "Max Acceleration to Deceleration" msgid "Max Acceleration to Deceleration"
msgstr "האצה מרבית להאטה" msgstr "האצה מרבית להאטה"
@@ -407,20 +403,26 @@ msgstr "האצה מרבית להאטה"
msgid "Max Velocity" msgid "Max Velocity"
msgstr "מהירות מרבית" msgstr "מהירות מרבית"
msgid "Measure Both" msgid "Maximum"
msgstr "" msgstr ""
msgid "Measure Both"
msgstr "מדוד את שניהם"
msgid "Measure X" msgid "Measure X"
msgstr "" msgstr "מדוד X"
msgid "Measure Y" msgid "Measure Y"
msgstr "" msgstr "מדוד Y"
msgid "Medium" msgid "Medium"
msgstr "ממוצע" msgstr "בינוני"
msgid "Menu" msgid "Menu"
msgstr "תַפרִיט" msgstr "תפריט"
msgid "Mesh calibrate"
msgstr ""
msgid "Modified" msgid "Modified"
msgstr "שונה" msgstr "שונה"
@@ -435,25 +437,25 @@ msgid "Move Distance (mm)"
msgstr "מרחק הזזה (מ''מ)" msgstr "מרחק הזזה (מ''מ)"
msgid "Name" msgid "Name"
msgstr "שֵׁם" msgstr "שם"
msgid "Network" msgid "Network"
msgstr "רשת" msgstr "רשת"
msgid "New" msgid "Never"
msgstr "" msgstr ""
msgid "New"
msgstr "חדש"
msgid "" msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen." "Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf" "conf"
msgstr "" msgstr "איתור אוטומטי אינו נתמך, זה צריך להיות מוגדר ב klipperscreen"
msgid "Nothing selected" msgid "Nothing selected"
msgstr "שום דבר לא נבחר" msgstr "שום דבר לא נבחר"
msgid "Off"
msgstr "כבוי"
#, python-format #, python-format
msgid "Outdated by %d" msgid "Outdated by %d"
msgstr "מיושן על ידי %d" msgstr "מיושן על ידי %d"
@@ -469,7 +471,7 @@ msgstr[2] "חבילות יעודכנו"
msgstr[3] "חבילות יעודכנו" msgstr[3] "חבילות יעודכנו"
msgid "Part Fan" msgid "Part Fan"
msgstr "" msgstr "מאוורר חומר"
msgid "Password saved" msgid "Password saved"
msgstr "הסיסמה נשמרה" msgstr "הסיסמה נשמרה"
@@ -484,10 +486,10 @@ msgid "Perform a full upgrade?"
msgstr "לבצע שדרוג מלא?" msgstr "לבצע שדרוג מלא?"
msgid "Pins" msgid "Pins"
msgstr "" msgstr "פינים"
msgid "Please recompile and flash the micro-controller." msgid "Please recompile and flash the micro-controller."
msgstr "אנא הידור מחדש והבזק את המיקרו-בקר." msgstr "אנא הדר (קמפל) מחדש ובצע פלאש למיקרו-בקר."
msgid "Power" msgid "Power"
msgstr "הפעלה" msgstr "הפעלה"
@@ -496,10 +498,10 @@ msgid "Power On Printer"
msgstr "הפעל מדפסת" msgstr "הפעל מדפסת"
msgid "Pressure Advance:" msgid "Pressure Advance:"
msgstr "" msgstr "פרשר אדוונס"
msgid "Print" msgid "Print"
msgstr "הדפס" msgstr "הדפסה"
msgid "Print Control" msgid "Print Control"
msgstr "שליטה בהדפסה" msgstr "שליטה בהדפסה"
@@ -507,35 +509,47 @@ msgstr "שליטה בהדפסה"
msgid "Print Time" msgid "Print Time"
msgstr "זמן הדפסה" msgstr "זמן הדפסה"
msgid "Printer"
msgstr "מדפסת"
msgid "Printer Connections" msgid "Printer Connections"
msgstr "חיבורי מדפסת" msgstr "חיבורי מדפסת"
msgid "Printer Select"
msgstr ""
msgid "Printing" msgid "Printing"
msgstr "מדפיס" msgstr "מדפיס"
msgid "Probe Offset" msgid "Probe Offset"
msgstr "" msgstr "פרוב אוף-סט"
msgid "Profile Name:" msgid "Profile Name:"
msgstr "שם פרופיל:" msgstr "שם פרופיל:"
msgid "Provide KlipperScreen.log when asking for help.\n"
msgstr ""
msgid "Quad Gantry Level" msgid "Quad Gantry Level"
msgstr "רמת מרפסת גנטרי" msgstr "יישור הגנטרי הריבועי"
msgid "Raise Nozzle" msgid "Raise Nozzle"
msgstr "הגבה" msgstr "הגבה דיזה"
msgid "Recover"
msgstr "שחזור"
msgid "Recover Hard" msgid "Recover Hard"
msgstr "לְהַחלִים Hard" msgstr "שחזור מלא"
msgid "Recover Soft" msgid "Recover Soft"
msgstr "לְהַחלִים Soft" msgstr "שחזור עדין"
msgid "Reference" msgid "Reference"
msgstr "התייחסות" msgstr "התייחסות"
msgid "Refresh" msgid "Refresh"
msgstr "" msgstr "רענון"
msgid "Restart" msgid "Restart"
msgstr "אתחל" msgstr "אתחל"
@@ -547,39 +561,38 @@ msgid "Retract"
msgstr "שיחול לאחור" msgstr "שיחול לאחור"
msgid "Retraction" msgid "Retraction"
msgstr "" msgstr "משיכה"
msgid "Retraction Length" msgid "Retraction Length"
msgstr "" msgstr "מרחק משיכה"
msgid "Retraction Speed" msgid "Retraction Speed"
msgstr "" msgstr "מהירות משיכה"
#, python-format msgid "Retry"
msgid "Retry #%s" msgstr ""
msgstr "נסה שוב #%s"
msgid "Retrying" msgid "Retrying"
msgstr "" msgstr "מנסה שוב"
msgid "Save" msgid "Save"
msgstr "להציל" msgstr "לשמור"
msgid "Save Config" msgid "Save Config"
msgstr "שמור קונפיג" msgstr "שמור קונפיג"
msgid "Save Z" msgid "Save Z"
msgstr "" msgstr "שמור Z"
msgid "Save configuration?" msgid "Save configuration?"
msgstr "" msgstr "שמור קונפיגרציה?"
msgid "Saved" msgid "Saved"
msgstr "" msgstr "נשמר"
#, python-format #, python-format
msgid "Saved offset: %s" msgid "Saved offset: %s"
msgstr "" msgstr "שמור אופ-סט %s"
msgid "Screen DPMS" msgid "Screen DPMS"
msgstr "DPMS מסך" msgstr "DPMS מסך"
@@ -594,7 +607,7 @@ msgid "Select"
msgstr "בחר" msgstr "בחר"
msgid "Send" msgid "Send"
msgstr "לִשְׁלוֹחַ" msgstr "שליחה"
#, python-format #, python-format
msgid "Sending Power ON signal to: %s" msgid "Sending Power ON signal to: %s"
@@ -607,13 +620,19 @@ msgid "Settings"
msgstr "הגדרות" msgstr "הגדרות"
msgid "Show" msgid "Show"
msgstr "הופעה" msgstr "הצג"
msgid "Show Heater Power"
msgstr "הצג זרם מיטה"
msgid "Shutdown"
msgstr "כיבוי"
msgid "Size" msgid "Size"
msgstr "גודל" msgstr "גודל"
msgid "Slicer" msgid "Slicer"
msgstr "Slicer" msgstr "סלייסר"
msgid "Slicer Time correction (%)" msgid "Slicer Time correction (%)"
msgstr "תיקון זמן פריסה (%)" msgstr "תיקון זמן פריסה (%)"
@@ -622,13 +641,7 @@ msgid "Slicer:"
msgstr "" msgstr ""
msgid "Small" msgid "Small"
msgstr "קָטָן" msgstr "קטן"
msgid "Sort by: "
msgstr "מיין לפי: "
msgid "Sort:"
msgstr ""
msgid "Speed (mm/s)" msgid "Speed (mm/s)"
msgstr "מהירות (מ\"מ/שניות)" msgstr "מהירות (מ\"מ/שניות)"
@@ -640,13 +653,13 @@ msgid "Speed -"
msgstr "מהירות -" msgstr "מהירות -"
msgid "Speed:" msgid "Speed:"
msgstr "" msgstr "מהירות"
msgid "Square Corner Velocity" msgid "Square Corner Velocity"
msgstr "מהירות פינה מרובעת" msgstr "מהירות פינה מרובעת"
msgid "Start" msgid "Start"
msgstr "הַתחָלָה" msgstr "התחל"
msgid "Starting WiFi Association" msgid "Starting WiFi Association"
msgstr "מתחיל איגוד WiFi" msgstr "מתחיל איגוד WiFi"
@@ -661,14 +674,10 @@ msgid "System"
msgstr "מערכת" msgstr "מערכת"
msgid "System Restart" msgid "System Restart"
msgstr "" msgstr "אתחול מערכת"
"מערכת\n"
"אתחול"
msgid "System Shutdown" msgid "System Shutdown"
msgstr "" msgstr "כיבוי מערכת"
"מערכת\n"
"לכבות"
msgid "Temp (°C)" msgid "Temp (°C)"
msgstr "טמפ' (°C)" msgstr "טמפ' (°C)"
@@ -676,10 +685,6 @@ msgstr "טמפ' (°C)"
msgid "Temperature" msgid "Temperature"
msgstr "טמפרטורה" msgstr "טמפרטורה"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "כדי ליישם %s צריך להפעיל מחדש את KlipperScreen"
msgid "Total:" msgid "Total:"
msgstr "סך הכל:" msgstr "סך הכל:"
@@ -687,10 +692,10 @@ msgid "Unknown Heater"
msgstr "מחמם לא ידוע" msgstr "מחמם לא ידוע"
msgid "Unknown screw position" msgid "Unknown screw position"
msgstr "" msgstr "מיקום בורג לא ידוע"
msgid "Unload" msgid "Unload"
msgstr "לִפְרוֹק" msgstr "העלה"
msgid "Unretract Extra Length" msgid "Unretract Extra Length"
msgstr "" msgstr ""
@@ -705,31 +710,16 @@ msgid "Update"
msgstr "עדכון" msgstr "עדכון"
msgid "Updating" msgid "Updating"
msgstr "עִדכּוּן" msgstr "מעדכן"
msgid "Uploaded" msgid "Uploaded"
msgstr "הועלה" msgstr "הועלה"
msgid "View Mesh"
msgstr "צפה ברשת"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)" msgid "XY Move Speed (mm/s)"
msgstr "מהירות תנועה XY (מ\"מ/שנייה)" msgstr "מהירות תנועה XY (מ\"מ/שנייה)"
msgid "XY Speed (mm/s)" msgid "XY Speed (mm/s)"
msgstr "" msgstr "מהירות XY (mm/s)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate" msgid "Z Calibrate"
msgstr "כיול Z" msgstr "כיול Z"
@@ -738,19 +728,13 @@ msgid "Z Move Speed (mm/s)"
msgstr "מהירות תנועה Z (מ\"מ/שניות)" msgstr "מהירות תנועה Z (מ\"מ/שניות)"
msgid "Z Speed (mm/s)" msgid "Z Speed (mm/s)"
msgstr "" msgstr "מהירות Z (mm/s)"
msgid "Z Tilt" msgid "Z Tilt"
msgstr "הטיה Z" msgstr "הטיה Z"
msgid "Z offset:" msgid "Z offset:"
msgstr "" msgstr "Z אוף-סט"
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit" msgid "commit"
msgid_plural "commits" msgid_plural "commits"
@@ -781,6 +765,67 @@ msgstr "מ\"מ/ש"
msgid "mm/s²" msgid "mm/s²"
msgstr "mm/s²" msgstr "mm/s²"
msgid "mm³/s"
msgstr ""
#~ msgid "Sort:"
#~ msgstr "מיין"
#~ msgid "Calibrating..."
#~ msgstr "מכייל..."
#~ msgid "Z+"
#~ msgstr "Z+"
#~ msgid "Z-"
#~ msgstr "Z-"
#~ msgid "X+"
#~ msgstr "X+"
#~ msgid "X-"
#~ msgstr "X-"
#~ msgid "Y+"
#~ msgstr "Y+"
#~ msgid "Y-"
#~ msgstr "Y-"
#, python-format
#~ msgid "Retry #%s"
#~ msgstr "נסה שוב #%s"
#~ msgid "Add Printer"
#~ msgstr "הוסף מדפסת"
#~ msgid "Initializing"
#~ msgstr "מאתחל"
#~ msgid "Delete"
#~ msgstr "מחק"
#~ msgid "Home"
#~ msgstr "איפוס"
#~ msgid "Off"
#~ msgstr "כבוי"
#~ msgid "View Mesh"
#~ msgstr "צפה ברשת"
#~ msgid "Machine"
#~ msgstr "מכונה"
#~ msgid "Manual Calibration"
#~ msgstr "כיול ידני"
#~ msgid "Auto Calibration"
#~ msgstr "כיול אוטומטי"
#~ msgid "Sort by: "
#~ msgstr "מיין לפי: "
#~ msgid "Bltouch found applied offset" #~ msgid "Bltouch found applied offset"
#~ msgstr "Bltouch נמצא היסט מוחל" #~ msgstr "Bltouch נמצא היסט מוחל"
Binary file not shown.
@@ -2,16 +2,16 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: KlipperScreen\n" "Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-08-15 19:47-0300\n" "POT-Creation-Date: 2022-12-13 20:39-0300\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: AntoszHUN\n" "Last-Translator: AntoszHUN\n"
"Language-Team: \n" "Language-Team: \n"
"Language: hu_HU\n" "Language: hu\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.0.1\n" "X-Generator: Poedit 3.2.1\n"
#, python-format #, python-format
msgid "%s will be updated to version" msgid "%s will be updated to version"
@@ -41,9 +41,6 @@ msgstr "Elfogad"
msgid "Actions" msgid "Actions"
msgstr "Műveletek" msgstr "Műveletek"
msgid "Add Printer"
msgstr "Nyomtató hozzáadása"
msgid "Add profile" msgid "Add profile"
msgstr "Profil hozzáadása" msgstr "Profil hozzáadása"
@@ -52,26 +49,29 @@ msgstr "Alkalmaz"
#, python-format #, python-format
msgid "Apply %.2f offset to Endstop?" msgid "Apply %.2f offset to Endstop?"
msgstr "Alkalmaz %.2f eltolást az Endstopra?" msgstr "Alkalmazod %.2f eltolást az Endstopra?"
#, python-format #, python-format
msgid "Apply %s%.2f offset to Probe?" msgid "Apply %s%.2f offset to Probe?"
msgstr "Alkalmaz %s%.2f eltolást a szondára?" msgstr "Alkalmazod %s%.2f eltolást a szondára?"
msgid "Are you sure do you want to exclude the object?"
msgstr "Biztosan kizárod az objektumot?"
msgid "Are you sure you want to run Emergency Stop?" msgid "Are you sure you want to run Emergency Stop?"
msgstr "Biztosan Vészleállítást végez?" msgstr "Biztosan Vészleállítást szeretnél?"
msgid "Are you sure you wish to cancel this print?" msgid "Are you sure you wish to cancel this print?"
msgstr "Biztosan megszakítja ezt a nyomtatást?" msgstr "Biztosan megszakítod ezt a nyomtatást?"
msgid "Are you sure you wish to disable motors?" msgid "Are you sure you wish to disable motors?"
msgstr "Biztos benne, hogy le szeretné tiltani a motorokat?" msgstr "Biztosan le szeretnéd tiltani a motorokat?"
msgid "Are you sure you wish to reboot the system?" msgid "Are you sure you wish to reboot the system?"
msgstr "Biztos benne, hogy újra akarja indítani a rendszert?" msgstr "Biztos, hogy újra akarod indítani a rendszert?"
msgid "Are you sure you wish to shutdown the system?" msgid "Are you sure you wish to shutdown the system?"
msgstr "Biztos, hogy le szeretné állítani a rendszert?" msgstr "Biztos, hogy le szeretnéd állítani a rendszert?"
msgid "Auto" msgid "Auto"
msgstr "Auto" msgstr "Auto"
@@ -101,14 +101,11 @@ msgid "Calibrated"
msgstr "Kalibrálva" msgstr "Kalibrálva"
msgid "Calibrated, save configuration to make it permanent" msgid "Calibrated, save configuration to make it permanent"
msgstr "Kalibrálva! Mentse el a konfigurációt, hogy az állandó legyen" msgstr "Kalibrálva! Mentsd el a konfigurációt, hogy az állandó legyen"
msgid "Calibrating" msgid "Calibrating"
msgstr "Kalibrálás" msgstr "Kalibrálás"
msgid "Calibrating..."
msgstr "Kalibrálás..."
msgid "Can't set above the maximum:" msgid "Can't set above the maximum:"
msgstr "Nem állítható a maximum fölé:" msgstr "Nem állítható a maximum fölé:"
@@ -131,10 +128,10 @@ msgid "Channel"
msgstr "Csatorna" msgstr "Csatorna"
msgid "Check ADXL Wiring" msgid "Check ADXL Wiring"
msgstr "Ellenőrizze az ADXL kábelezést" msgstr "Ellenőrizd az ADXL kábelezést"
msgid "Checking for updates, please wait..." msgid "Checking for updates, please wait..."
msgstr "Frissítések keresése, kérjük, várjon..." msgstr "Frissítések keresése, kérjük, várj..."
msgid "Clear" msgid "Clear"
msgstr "Tiszta" msgstr "Tiszta"
@@ -149,7 +146,7 @@ msgid "Configuration"
msgstr "Konfiguráció" msgstr "Konfiguráció"
msgid "Confirm Emergency Stop" msgid "Confirm Emergency Stop"
msgstr "Erősítse meg a vészleállítást" msgstr "Vészleállítás megerősítése"
msgid "Connected" msgid "Connected"
msgstr "Csatlakoztatva" msgstr "Csatlakoztatva"
@@ -173,9 +170,6 @@ msgstr "Dátum"
msgid "Decrease" msgid "Decrease"
msgstr "Csökkent" msgstr "Csökkent"
msgid "Delete"
msgstr "Töröl"
msgid "Delete File?" msgid "Delete File?"
msgstr "Fájl törlése?" msgstr "Fájl törlése?"
@@ -193,7 +187,7 @@ msgstr "Távolság (mm)"
#, python-format #, python-format
msgid "Do you want to recover %s?" msgid "Do you want to recover %s?"
msgstr "Vissza akarja állítani %s-t?" msgstr "Vissza akarod állítani %s-t?"
msgid "Elapsed:" msgid "Elapsed:"
msgstr "Eltelt:" msgstr "Eltelt:"
@@ -204,6 +198,12 @@ msgstr "Hiba"
msgid "Estimated Time Method" msgid "Estimated Time Method"
msgstr "Becsült idő módszer" msgstr "Becsült idő módszer"
msgid "Exclude Object"
msgstr "Objektum kizárása"
msgid "Extra Large"
msgstr "Extra nagy"
msgid "Extrude" msgid "Extrude"
msgstr "Száladagolás" msgstr "Száladagolás"
@@ -274,14 +274,11 @@ msgid "Hide"
msgstr "Elrejt" msgstr "Elrejt"
msgid "Hide sensors in Temp." msgid "Hide sensors in Temp."
msgstr "Szenzorok elrejtése Hőfok." msgstr "Hőfok szenzorok elrejtése."
msgid "Hide temp." msgid "Hide temp."
msgstr "Hőfok elrejtése" msgstr "Hőfok elrejtése"
msgid "Home"
msgstr "Kezdőpontok"
msgid "Home All" msgid "Home All"
msgstr "X-Y-Z kezdőpont" msgstr "X-Y-Z kezdőpont"
@@ -300,6 +297,9 @@ msgstr "Z kezdőpont"
msgid "Homing" msgid "Homing"
msgstr "Kezdőpont" msgstr "Kezdőpont"
msgid "Host"
msgstr "Gazdagép"
msgid "Hostname" msgid "Hostname"
msgstr "Gazdanév" msgstr "Gazdanév"
@@ -309,9 +309,6 @@ msgstr "Ikon téma"
msgid "Increase" msgid "Increase"
msgstr "Növel" msgstr "Növel"
msgid "Initializing"
msgstr "Inicializálás"
msgid "Initializing printer..." msgid "Initializing printer..."
msgstr "Nyomtató inicializálása..." msgstr "Nyomtató inicializálása..."
@@ -324,6 +321,9 @@ msgstr "Felület"
msgid "Invalid" msgid "Invalid"
msgstr "Érvénytelen" msgstr "Érvénytelen"
msgid "Invalid password"
msgstr "Érvénytelen jelszó"
msgid "Invert X" msgid "Invert X"
msgstr "Fordított X" msgstr "Fordított X"
@@ -351,6 +351,9 @@ msgstr "Klipper megpróbálja elindítani"
msgid "Klipper will reboot" msgid "Klipper will reboot"
msgstr "A Klipper újraindul" msgstr "A Klipper újraindul"
msgid "KlipperScreen will reboot"
msgstr "A KlipperScreen újraindul"
msgid "Language" msgid "Language"
msgstr "Nyelv" msgstr "Nyelv"
@@ -393,6 +396,9 @@ msgstr "Lassulás max gyorsulása"
msgid "Max Velocity" msgid "Max Velocity"
msgstr "Max sebesség" msgstr "Max sebesség"
msgid "Maximum"
msgstr "Maximum"
msgid "Measure Both" msgid "Measure Both"
msgstr "Mindkettő mérése" msgstr "Mindkettő mérése"
@@ -408,6 +414,9 @@ msgstr "Közepes"
msgid "Menu" msgid "Menu"
msgstr "Menü" msgstr "Menü"
msgid "Mesh calibrate"
msgstr "Háló kalibrálása"
msgid "Modified" msgid "Modified"
msgstr "Módosított" msgstr "Módosított"
@@ -426,6 +435,9 @@ msgstr "Név"
msgid "Network" msgid "Network"
msgstr "Hálózat" msgstr "Hálózat"
msgid "Never"
msgstr "Soha"
msgid "New" msgid "New"
msgstr "Új" msgstr "Új"
@@ -439,9 +451,6 @@ msgstr ""
msgid "Nothing selected" msgid "Nothing selected"
msgstr "Nincs kiválasztva" msgstr "Nincs kiválasztva"
msgid "Off"
msgstr "Ki"
#, python-format #, python-format
msgid "Outdated by %d" msgid "Outdated by %d"
msgstr "%d által elavult" msgstr "%d által elavult"
@@ -467,13 +476,13 @@ msgid "Paused"
msgstr "Szüneteltetve" msgstr "Szüneteltetve"
msgid "Perform a full upgrade?" msgid "Perform a full upgrade?"
msgstr "Teljes frissítést hajt végre?" msgstr "Teljes frissítést hajtasz végre?"
msgid "Pins" msgid "Pins"
msgstr "Kimenetek" msgstr "Kimenetek"
msgid "Please recompile and flash the micro-controller." msgid "Please recompile and flash the micro-controller."
msgstr "Fordítsa újra és frissítse a mikrovezérlőt." msgstr "Fordítsd újra és frissítsd a mikrovezérlőt."
msgid "Power" msgid "Power"
msgstr "Bekapcsolás" msgstr "Bekapcsolás"
@@ -493,9 +502,15 @@ msgstr "Nyomtatásvezérlés"
msgid "Print Time" msgid "Print Time"
msgstr "Nyomtatási idő" msgstr "Nyomtatási idő"
msgid "Printer"
msgstr "Nyomtató"
msgid "Printer Connections" msgid "Printer Connections"
msgstr "Nyomtató csatlakozások" msgstr "Nyomtató csatlakozások"
msgid "Printer Select"
msgstr "Nyomtató kiválasztása"
msgid "Printing" msgid "Printing"
msgstr "Nyomtatás" msgstr "Nyomtatás"
@@ -505,12 +520,18 @@ msgstr "Szonda eltolás"
msgid "Profile Name:" msgid "Profile Name:"
msgstr "Profil név:" msgstr "Profil név:"
msgid "Provide KlipperScreen.log when asking for help.\n"
msgstr "Add meg a KlipperScreen.log-ot, amikor segítséget kérsz.\n"
msgid "Quad Gantry Level" msgid "Quad Gantry Level"
msgstr "Négy állású szint" msgstr "Négy állású szint"
msgid "Raise Nozzle" msgid "Raise Nozzle"
msgstr "Fúvóka fel" msgstr "Fúvóka fel"
msgid "Recover"
msgstr "Visszaállítása"
msgid "Recover Hard" msgid "Recover Hard"
msgstr "Hárdver visszaállítása" msgstr "Hárdver visszaállítása"
@@ -541,9 +562,8 @@ msgstr "Visszahúzási hossz"
msgid "Retraction Speed" msgid "Retraction Speed"
msgstr "Visszahúzási sebesség" msgstr "Visszahúzási sebesség"
#, python-format msgid "Retry"
msgid "Retry #%s" msgstr "Újra"
msgstr "Újra #%s"
msgid "Retrying" msgid "Retrying"
msgstr "Újrapróbálkozás" msgstr "Újrapróbálkozás"
@@ -558,7 +578,7 @@ msgid "Save Z"
msgstr "Z mentése" msgstr "Z mentése"
msgid "Save configuration?" msgid "Save configuration?"
msgstr "Menti a konfigurációt?" msgstr "Mented a konfigurációt?"
msgid "Saved" msgid "Saved"
msgstr "Mentve" msgstr "Mentve"
@@ -595,6 +615,12 @@ msgstr "Beállítások"
msgid "Show" msgid "Show"
msgstr "Mutat" msgstr "Mutat"
msgid "Show Heater Power"
msgstr "A fűtésteljesítmény megjelenítése"
msgid "Shutdown"
msgstr "Leállítás"
msgid "Size" msgid "Size"
msgstr "Méret" msgstr "Méret"
@@ -610,12 +636,6 @@ msgstr "Szeletelő:"
msgid "Small" msgid "Small"
msgstr "Kicsi" msgstr "Kicsi"
msgid "Sort by: "
msgstr "Sorrend: "
msgid "Sort:"
msgstr "Fajta:"
msgid "Speed (mm/s)" msgid "Speed (mm/s)"
msgstr "Sebesség (mm/s)" msgstr "Sebesség (mm/s)"
@@ -658,10 +678,6 @@ msgstr "Hőmérséklet (°C)"
msgid "Temperature" msgid "Temperature"
msgstr "Hőfok" 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 "Total:" msgid "Total:"
msgstr "Teljes:" msgstr "Teljes:"
@@ -692,27 +708,12 @@ msgstr "Frissítés"
msgid "Uploaded" msgid "Uploaded"
msgstr "Feltöltve" 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)" msgid "XY Move Speed (mm/s)"
msgstr "XY Mozgási seb. (mm/s)" msgstr "XY Mozgási seb. (mm/s)"
msgid "XY Speed (mm/s)" msgid "XY Speed (mm/s)"
msgstr "XY Sebesség (mm/s)" msgstr "XY Sebesség (mm/s)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate" msgid "Z Calibrate"
msgstr "Z Kalibrálás" msgstr "Z Kalibrálás"
@@ -728,12 +729,6 @@ msgstr "Z Dőlés"
msgid "Z offset:" msgid "Z offset:"
msgstr "Z eltolás:" msgstr "Z eltolás:"
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit" msgid "commit"
msgid_plural "commits" msgid_plural "commits"
msgstr[0] "ajánlás" msgstr[0] "ajánlás"
@@ -759,6 +754,61 @@ msgstr "mm/s"
msgid "mm/s²" msgid "mm/s²"
msgstr "mm/s²" msgstr "mm/s²"
msgid "mm³/s"
msgstr "mm³/s"
#~ msgid "Sort:"
#~ msgstr "Fajta:"
#~ msgid "Calibrating..."
#~ msgstr "Kalibrálás..."
#~ msgid "Z+"
#~ msgstr "Z+"
#~ msgid "Z-"
#~ msgstr "Z-"
#~ msgid "X+"
#~ msgstr "X+"
#~ msgid "X-"
#~ msgstr "X-"
#~ msgid "Y+"
#~ msgstr "Y+"
#~ msgid "Y-"
#~ msgstr "Y-"
#, python-format
#~ msgid "Retry #%s"
#~ msgstr "Újra #%s"
#~ msgid "Add Printer"
#~ msgstr "Nyomtató hozzáadása"
#~ msgid "Initializing"
#~ msgstr "Inicializálás"
#~ msgid "Delete"
#~ msgstr "Töröl"
#~ msgid "Home"
#~ msgstr "Kezdőpontok"
#~ msgid "Off"
#~ msgstr "Ki"
#~ msgid "View Mesh"
#~ msgstr "Háló nézet"
#~ msgid "Machine"
#~ msgstr "Gép"
#~ msgid "Sort by: "
#~ msgstr "Sorrend: "
#~ msgid "Bltouch found applied offset" #~ msgid "Bltouch found applied offset"
#~ msgstr "A Bltouch alkalmazott eltolást talált" #~ msgstr "A Bltouch alkalmazott eltolást talált"
Binary file not shown.
@@ -2,7 +2,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: KlipperScreen\n" "Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-08-10 12:01-0300\n" "POT-Creation-Date: 2022-11-30 18:17-0300\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: pappicio\n" "Last-Translator: pappicio\n"
"Language-Team: \n" "Language-Team: \n"
@@ -11,7 +11,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.0.1\n" "X-Generator: Poedit 3.2.1\n"
#, python-format #, python-format
msgid "%s will be updated to version" msgid "%s will be updated to version"
@@ -27,13 +27,13 @@ msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "Un FIRMWARE_RESTART potrebbe risolvere il problema." msgstr "Un FIRMWARE_RESTART potrebbe risolvere il problema."
msgid "ADXL Not Configured" msgid "ADXL Not Configured"
msgstr "" msgstr "ADXL non configurato"
msgid "Abort" msgid "Abort"
msgstr "Annulla" msgstr "Annulla"
msgid "Acceleration:" msgid "Acceleration:"
msgstr "" msgstr "Accelerazione:"
msgid "Accept" msgid "Accept"
msgstr "Accetta" msgstr "Accetta"
@@ -41,22 +41,22 @@ msgstr "Accetta"
msgid "Actions" msgid "Actions"
msgstr "Azioni" msgstr "Azioni"
msgid "Add Printer"
msgstr "Aggiungi Stampante"
msgid "Add profile" msgid "Add profile"
msgstr "" msgstr "Aggiungi profilo"
msgid "Apply" msgid "Apply"
msgstr "" msgstr "Applicare"
#, python-format #, python-format
msgid "Apply %.2f offset to Endstop?" msgid "Apply %.2f offset to Endstop?"
msgstr "" msgstr "Applicare l'offset %.2f a Endstop?"
#, python-format #, python-format
msgid "Apply %s%.2f offset to Probe?" msgid "Apply %s%.2f offset to Probe?"
msgstr "" msgstr "Applicare l'offset %s%.2f a Probe?"
msgid "Are you sure do you want to exclude the object?"
msgstr "Sei sicuro di voler escludere l'oggetto?"
msgid "Are you sure you want to run Emergency Stop?" msgid "Are you sure you want to run Emergency Stop?"
msgstr "Sei sicuro di voler eseguire l'arresto di emergenza?" msgstr "Sei sicuro di voler eseguire l'arresto di emergenza?"
@@ -77,10 +77,10 @@ msgid "Auto"
msgstr "Auto" msgstr "Auto"
msgid "Auto-calibrate" msgid "Auto-calibrate"
msgstr "" msgstr "Calibrazione automatica"
msgid "Auto-close notifications" msgid "Auto-close notifications"
msgstr "" msgstr "Chiudi automaticamente le notifiche"
msgid "Auto-scroll" msgid "Auto-scroll"
msgstr "Auto-scroll" msgstr "Auto-scroll"
@@ -92,22 +92,19 @@ msgid "Bed Mesh"
msgstr "Rete letto" msgstr "Rete letto"
msgid "Bed screw configuration:" msgid "Bed screw configuration:"
msgstr "" msgstr "Configurazione della vite del letto:"
msgid "Calibrate" msgid "Calibrate"
msgstr "Calibra" msgstr "Calibra"
msgid "Calibrated" msgid "Calibrated"
msgstr "" msgstr "Calibrato"
msgid "Calibrated, save configuration to make it permanent" msgid "Calibrated, save configuration to make it permanent"
msgstr "Calibrato, salva la configurazione per renderla permanente" msgstr "Calibrato, salva la configurazione per renderla permanente"
msgid "Calibrating" msgid "Calibrating"
msgstr "" msgstr "Calibratura"
msgid "Calibrating..."
msgstr ""
msgid "Can't set above the maximum:" msgid "Can't set above the maximum:"
msgstr "Impossibile impostare al di sopra del massimo:" msgstr "Impossibile impostare al di sopra del massimo:"
@@ -131,10 +128,10 @@ msgid "Channel"
msgstr "Canale" msgstr "Canale"
msgid "Check ADXL Wiring" msgid "Check ADXL Wiring"
msgstr "" msgstr "Controllare il cablaggio ADXL"
msgid "Checking for updates, please wait..." msgid "Checking for updates, please wait..."
msgstr "" msgstr "Controllo degli aggiornamenti in corso, attendere..."
msgid "Clear" msgid "Clear"
msgstr "" msgstr ""
@@ -173,11 +170,8 @@ msgstr "Data"
msgid "Decrease" msgid "Decrease"
msgstr "Diminuisci" msgstr "Diminuisci"
msgid "Delete"
msgstr "Elimina"
msgid "Delete File?" msgid "Delete File?"
msgstr "" msgstr "Cancella il file?"
msgid "Deselect" msgid "Deselect"
msgstr "Deseleziona" msgstr "Deseleziona"
@@ -204,6 +198,12 @@ msgstr "Errore"
msgid "Estimated Time Method" msgid "Estimated Time Method"
msgstr "Metodo Tempo stimato" msgstr "Metodo Tempo stimato"
msgid "Exclude Object"
msgstr "Escludi oggetto"
msgid "Extra Large"
msgstr "Extra grande"
msgid "Extrude" msgid "Extrude"
msgstr "Estrudi" msgstr "Estrudi"
@@ -223,22 +223,22 @@ msgid "Filament Used"
msgstr "Filamento Usato" msgstr "Filamento Usato"
msgid "Filament total:" msgid "Filament total:"
msgstr "" msgstr "Filamento totale:"
msgid "Filament used:" msgid "Filament used:"
msgstr "" msgstr "Filamento utilizzato:"
msgid "Filament:" msgid "Filament:"
msgstr "" msgstr "Filamento:"
msgid "File" msgid "File"
msgstr "File" msgstr "File"
msgid "File:" msgid "File:"
msgstr "" msgstr "File:"
msgid "Finding ADXL" msgid "Finding ADXL"
msgstr "" msgstr "Alla ricerca di ADXL"
msgid "Fine Tuning" msgid "Fine Tuning"
msgstr "Messa a Punto" msgstr "Messa a Punto"
@@ -250,10 +250,10 @@ msgid "Firmware Restart"
msgstr "Firmware Riavvio" msgstr "Firmware Riavvio"
msgid "Flow:" msgid "Flow:"
msgstr "" msgstr "Fluire:"
msgid "Flowrate:" msgid "Flowrate:"
msgstr "" msgstr "Portata:"
msgid "Font Size" msgid "Font Size"
msgstr "Dimensione del testo" msgstr "Dimensione del testo"
@@ -265,7 +265,7 @@ msgid "Go Back"
msgstr "Indietro" msgstr "Indietro"
msgid "Height:" msgid "Height:"
msgstr "" msgstr "Altezza:"
msgid "Hidden" msgid "Hidden"
msgstr "Nascosto" msgstr "Nascosto"
@@ -277,10 +277,7 @@ msgid "Hide sensors in Temp."
msgstr "Nascondi sensori in Temp." msgstr "Nascondi sensori in Temp."
msgid "Hide temp." msgid "Hide temp."
msgstr "" msgstr "Nascondi temp."
msgid "Home"
msgstr "Inizio"
msgid "Home All" msgid "Home All"
msgstr "Home XYZ" msgstr "Home XYZ"
@@ -300,6 +297,9 @@ msgstr "Home Z"
msgid "Homing" msgid "Homing"
msgstr "Homing" msgstr "Homing"
msgid "Host"
msgstr ""
msgid "Hostname" msgid "Hostname"
msgstr "Hostname" msgstr "Hostname"
@@ -309,9 +309,6 @@ msgstr "Tema Icone"
msgid "Increase" msgid "Increase"
msgstr "Incrementa" msgstr "Incrementa"
msgid "Initializing"
msgstr "Inizializzo"
msgid "Initializing printer..." msgid "Initializing printer..."
msgstr "Inizializzo stampante..." msgstr "Inizializzo stampante..."
@@ -324,6 +321,9 @@ msgstr "Interfaccia"
msgid "Invalid" msgid "Invalid"
msgstr "Non valido" msgstr "Non valido"
msgid "Invalid password"
msgstr ""
msgid "Invert X" msgid "Invert X"
msgstr "Inverti X" msgstr "Inverti X"
@@ -351,6 +351,9 @@ msgstr "Klipper si sta avviando"
msgid "Klipper will reboot" msgid "Klipper will reboot"
msgstr "Klipper sarà riavviato" msgstr "Klipper sarà riavviato"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen sarà riavviato"
msgid "Language" msgid "Language"
msgstr "Lingua" msgstr "Lingua"
@@ -358,7 +361,7 @@ msgid "Large"
msgstr "Grande" msgstr "Grande"
msgid "Layer:" msgid "Layer:"
msgstr "" msgstr "Strato:"
msgid "Left:" msgid "Left:"
msgstr "Restante:" msgstr "Restante:"
@@ -382,10 +385,10 @@ msgid "Main Menu"
msgstr "Menu Principale" msgstr "Menu Principale"
msgid "Max" msgid "Max"
msgstr "" msgstr "Max"
msgid "Max Acceleration" msgid "Max Acceleration"
msgstr "" msgstr "Accelerazione Massima"
msgid "Max Acceleration to Deceleration" msgid "Max Acceleration to Deceleration"
msgstr "Da acceleraz. Massima a Deceleraz. Massima" msgstr "Da acceleraz. Massima a Deceleraz. Massima"
@@ -393,14 +396,17 @@ msgstr "Da acceleraz. Massima a Deceleraz. Massima"
msgid "Max Velocity" msgid "Max Velocity"
msgstr "Velocità Massima" msgstr "Velocità Massima"
msgid "Maximum"
msgstr "Massimo"
msgid "Measure Both" msgid "Measure Both"
msgstr "" msgstr "Misura entrambi"
msgid "Measure X" msgid "Measure X"
msgstr "" msgstr "Misura X"
msgid "Measure Y" msgid "Measure Y"
msgstr "" msgstr "Misura Y"
msgid "Medium" msgid "Medium"
msgstr "Medio" msgstr "Medio"
@@ -408,6 +414,9 @@ msgstr "Medio"
msgid "Menu" msgid "Menu"
msgstr "Menù" msgstr "Menù"
msgid "Mesh calibrate"
msgstr "Calibrare la maglia"
msgid "Modified" msgid "Modified"
msgstr "Modificato" msgstr "Modificato"
@@ -426,20 +435,22 @@ msgstr "Nome"
msgid "Network" msgid "Network"
msgstr "Rete" msgstr "Rete"
msgid "Never"
msgstr "Mai"
msgid "New" msgid "New"
msgstr "" msgstr "Nuovo"
msgid "" msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen." "Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf" "conf"
msgstr "" msgstr ""
"Non supportato per il rilevamento automatico, deve essere configurato in "
"klipperscreen.conf"
msgid "Nothing selected" msgid "Nothing selected"
msgstr "Niente selezionato" msgstr "Niente selezionato"
msgid "Off"
msgstr "Off"
#, python-format #, python-format
msgid "Outdated by %d" msgid "Outdated by %d"
msgstr "Obsoleto di %d" msgstr "Obsoleto di %d"
@@ -453,7 +464,7 @@ msgstr[0] "Pacchetto verrà aggiornato"
msgstr[1] "I pacchetti verranno aggiornati" msgstr[1] "I pacchetti verranno aggiornati"
msgid "Part Fan" msgid "Part Fan"
msgstr "" msgstr "Parte Fan"
msgid "Password saved" msgid "Password saved"
msgstr "Password salvata" msgstr "Password salvata"
@@ -468,7 +479,7 @@ msgid "Perform a full upgrade?"
msgstr "Eseguire un aggiornamento completo?" msgstr "Eseguire un aggiornamento completo?"
msgid "Pins" msgid "Pins"
msgstr "" msgstr "Perni"
msgid "Please recompile and flash the micro-controller." msgid "Please recompile and flash the micro-controller."
msgstr "Si prega di ricompilare e flashare il microcontrollore." msgstr "Si prega di ricompilare e flashare il microcontrollore."
@@ -480,7 +491,7 @@ msgid "Power On Printer"
msgstr "Accendi Stampante" msgstr "Accendi Stampante"
msgid "Pressure Advance:" msgid "Pressure Advance:"
msgstr "" msgstr "Anticipo di pressione:"
msgid "Print" msgid "Print"
msgstr "Stampa" msgstr "Stampa"
@@ -491,24 +502,36 @@ msgstr "Controllo Stampa"
msgid "Print Time" msgid "Print Time"
msgstr "Tempo di Stampa" msgstr "Tempo di Stampa"
msgid "Printer"
msgstr "Stampante"
msgid "Printer Connections" msgid "Printer Connections"
msgstr "Connessioni Stampante" msgstr "Connessioni Stampante"
msgid "Printer Select"
msgstr "Stampante Seleziona"
msgid "Printing" msgid "Printing"
msgstr "In Stampa" msgstr "In Stampa"
msgid "Probe Offset" msgid "Probe Offset"
msgstr "" msgstr "Scostamento della sonda"
msgid "Profile Name:" msgid "Profile Name:"
msgstr "Nome Profilo:" msgstr "Nome Profilo:"
msgid "Provide KlipperScreen.log when asking for help.\n"
msgstr ""
msgid "Quad Gantry Level" msgid "Quad Gantry Level"
msgstr "Quad Gantry Level" msgstr "Quad Gantry Level"
msgid "Raise Nozzle" msgid "Raise Nozzle"
msgstr "Alza Ugello" msgstr "Alza Ugello"
msgid "Recover"
msgstr "Recuperare"
msgid "Recover Hard" msgid "Recover Hard"
msgstr "Recuperare Hard" msgstr "Recuperare Hard"
@@ -519,7 +542,7 @@ msgid "Reference"
msgstr "Riferimento" msgstr "Riferimento"
msgid "Refresh" msgid "Refresh"
msgstr "" msgstr "Ricaricare"
msgid "Restart" msgid "Restart"
msgstr "Riavvia" msgstr "Riavvia"
@@ -531,20 +554,19 @@ msgid "Retract"
msgstr "Ritrai" msgstr "Ritrai"
msgid "Retraction" msgid "Retraction"
msgstr "" msgstr "Retrazione"
msgid "Retraction Length" msgid "Retraction Length"
msgstr "" msgstr "Lunghezza di retrazione"
msgid "Retraction Speed" msgid "Retraction Speed"
msgstr "" msgstr "Velocità di ritrazione"
#, python-format msgid "Retry"
msgid "Retry #%s" msgstr "Riprova"
msgstr "Riprova #%s"
msgid "Retrying" msgid "Retrying"
msgstr "" msgstr "Nuovo tentativo"
msgid "Save" msgid "Save"
msgstr "Salva" msgstr "Salva"
@@ -553,17 +575,17 @@ msgid "Save Config"
msgstr "Salva Config" msgstr "Salva Config"
msgid "Save Z" msgid "Save Z"
msgstr "" msgstr "Salvo Z"
msgid "Save configuration?" msgid "Save configuration?"
msgstr "" msgstr "Salva configurazione?"
msgid "Saved" msgid "Saved"
msgstr "" msgstr "Salvato"
#, python-format #, python-format
msgid "Saved offset: %s" msgid "Saved offset: %s"
msgstr "" msgstr "Offset salvato: %s"
msgid "Screen DPMS" msgid "Screen DPMS"
msgstr "Schermo DPMS" msgstr "Schermo DPMS"
@@ -593,6 +615,12 @@ msgstr "Impostazioni"
msgid "Show" msgid "Show"
msgstr "Mostrare" msgstr "Mostrare"
msgid "Show Heater Power"
msgstr "Mostra la potenza del riscaldatore"
msgid "Shutdown"
msgstr "Spegnimento"
msgid "Size" msgid "Size"
msgstr "Grandezza" msgstr "Grandezza"
@@ -603,17 +631,11 @@ msgid "Slicer Time correction (%)"
msgstr "Affettatrice Correzione del tempo (%)" msgstr "Affettatrice Correzione del tempo (%)"
msgid "Slicer:" msgid "Slicer:"
msgstr "" msgstr "Slicer:"
msgid "Small" msgid "Small"
msgstr "Piccola" msgstr "Piccola"
msgid "Sort by: "
msgstr "Ordine: "
msgid "Sort:"
msgstr ""
msgid "Speed (mm/s)" msgid "Speed (mm/s)"
msgstr "Velocità (mm/s)" msgstr "Velocità (mm/s)"
@@ -624,7 +646,7 @@ msgid "Speed -"
msgstr "Velocità-" msgstr "Velocità-"
msgid "Speed:" msgid "Speed:"
msgstr "" msgstr "Velocità:"
msgid "Square Corner Velocity" msgid "Square Corner Velocity"
msgstr "Velocità Square Corner" msgstr "Velocità Square Corner"
@@ -656,10 +678,6 @@ msgstr "Temp (°C)"
msgid "Temperature" msgid "Temperature"
msgstr "Temperatura" msgstr "Temperatura"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "Riavvia KlipperScreen per applicare %s"
msgid "Total:" msgid "Total:"
msgstr "Totale:" msgstr "Totale:"
@@ -667,16 +685,16 @@ msgid "Unknown Heater"
msgstr "Riscaldatore sconosciuto" msgstr "Riscaldatore sconosciuto"
msgid "Unknown screw position" msgid "Unknown screw position"
msgstr "" msgstr "Posizione della vite sconosciuta"
msgid "Unload" msgid "Unload"
msgstr "Scaricare" msgstr "Scaricare"
msgid "Unretract Extra Length" msgid "Unretract Extra Length"
msgstr "" msgstr "Lunghezza extra non retratta"
msgid "Unretract Speed" msgid "Unretract Speed"
msgstr "" msgstr "Velocità di ritiro"
msgid "Up To Date" msgid "Up To Date"
msgstr "Aggiornato" msgstr "Aggiornato"
@@ -690,26 +708,11 @@ msgstr "In aggiornamento"
msgid "Uploaded" msgid "Uploaded"
msgstr "Caricato" msgstr "Caricato"
msgid "View Mesh"
msgstr "Visual. Mesh"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)" msgid "XY Move Speed (mm/s)"
msgstr "Velocità di spostamento XY (mm/s)" msgstr "Velocità di spostamento XY (mm/s)"
msgid "XY Speed (mm/s)" msgid "XY Speed (mm/s)"
msgstr "" msgstr "Velocità XY (mm/s)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate" msgid "Z Calibrate"
msgstr "Calibra Z" msgstr "Calibra Z"
@@ -718,19 +721,13 @@ msgid "Z Move Speed (mm/s)"
msgstr "Velocità di spostamento Z (mm/s)" msgstr "Velocità di spostamento Z (mm/s)"
msgid "Z Speed (mm/s)" msgid "Z Speed (mm/s)"
msgstr "" msgstr "Velocità Z (mm/s)"
msgid "Z Tilt" msgid "Z Tilt"
msgstr "Z Tilt" msgstr "Z Tilt"
msgid "Z offset:" msgid "Z offset:"
msgstr "" msgstr "Spostamento Z:"
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit" msgid "commit"
msgid_plural "commits" msgid_plural "commits"
@@ -757,6 +754,58 @@ msgstr "mm/s"
msgid "mm/s²" msgid "mm/s²"
msgstr "mm/s²" msgstr "mm/s²"
msgid "mm³/s"
msgstr "mm³/s"
#~ msgid "Sort:"
#~ msgstr "Ordinare:"
#~ msgid "Calibrating..."
#~ msgstr "Calibratura..."
#~ msgid "Z+"
#~ msgstr "Z+"
#~ msgid "Z-"
#~ msgstr "Z-"
#~ msgid "X+"
#~ msgstr "X+"
#~ msgid "X-"
#~ msgstr "X-"
#~ msgid "Y+"
#~ msgstr "Y+"
#~ msgid "Y-"
#~ msgstr "Y-"
#, python-format
#~ msgid "Retry #%s"
#~ msgstr "Riprova #%s"
#~ msgid "Add Printer"
#~ msgstr "Aggiungi Stampante"
#~ msgid "Initializing"
#~ msgstr "Inizializzo"
#~ msgid "Delete"
#~ msgstr "Elimina"
#~ msgid "Home"
#~ msgstr "Inizio"
#~ msgid "Off"
#~ msgstr "Off"
#~ msgid "View Mesh"
#~ msgstr "Visual. Mesh"
#~ msgid "Sort by: "
#~ msgstr "Ordine: "
#~ msgid "Bltouch found applied offset" #~ msgid "Bltouch found applied offset"
#~ msgstr "Bltouch ha trovato l'offset applicato" #~ msgstr "Bltouch ha trovato l'offset applicato"
@@ -785,9 +834,6 @@ msgstr "mm/s²"
#~ msgid "IPv6" #~ msgid "IPv6"
#~ msgstr "IPv6" #~ msgstr "IPv6"
#~ msgid "Unknown Heater "
#~ msgstr "Riscaldatore sconosciuto "
#~ msgid "Disconnect" #~ msgid "Disconnect"
#~ msgstr "Sconnetti" #~ msgstr "Sconnetti"
Binary file not shown.
@@ -0,0 +1,756 @@
msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-30 18:17-0300\n"
"PO-Revision-Date: \n"
"Last-Translator: boyon\n"
"Language-Team: \n"
"Language: ja\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.2.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 "ADXL Not Configured"
msgstr "ADXL が構成されていません"
msgid "Abort"
msgstr "中止する"
msgid "Acceleration:"
msgstr "加速度:"
msgid "Accept"
msgstr "承諾する"
msgid "Actions"
msgstr "操作"
msgid "Add profile"
msgstr "プロファイルの追加"
msgid "Apply"
msgstr "適用する"
#, python-format
msgid "Apply %.2f offset to Endstop?"
msgstr "エンドストップにオフセットに %.2f を適用しますか?"
#, python-format
msgid "Apply %s%.2f offset to Probe?"
msgstr "プローブオフセットに %s%.2f を適用しますか?"
msgid "Are you sure do you want to exclude the object?"
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-calibrate"
msgstr "自動校正"
msgid "Auto-close notifications"
msgstr "自動終了通知"
msgid "Auto-scroll"
msgstr "自動スクロール"
msgid "Bed Level"
msgstr "ベッドレベル"
msgid "Bed Mesh"
msgstr "ベッドメッシュ"
msgid "Bed screw configuration:"
msgstr "ベッドスクリュー設定:"
msgid "Calibrate"
msgstr "校正"
msgid "Calibrated"
msgstr "構成済み"
msgid "Calibrated, save configuration to make it permanent"
msgstr "校正完了しました。次回起動時以降も適用するには設定を保存してください"
msgid "Calibrating"
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 ADXL Wiring"
msgstr "ADXL Wiring を検査する"
msgid "Checking for updates, please wait..."
msgstr ""
msgid "Clear"
msgstr "クリア"
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 File?"
msgstr "ファイルを削除しますか?"
msgid "Deselect"
msgstr "選択解除"
msgid "Disable Motors"
msgstr "モーターの無効化"
msgid "Disable XY"
msgstr "XY軸制御の無効化"
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 "Exclude Object"
msgstr "対象の除外"
msgid "Extra Large"
msgstr "特大"
msgid "Extrude"
msgstr "吐出"
msgid "Extrusion +"
msgstr "吐出+"
msgid "Extrusion -"
msgstr "吐出-"
msgid "Failed, adjust position first"
msgstr "失敗時は最初に位置を調整する"
msgid "Fan"
msgstr "ファン"
msgid "Filament Used"
msgstr "使用済フィラメント"
msgid "Filament total:"
msgstr "フィラメント 総量:"
msgid "Filament used:"
msgstr "フィラメント 使用済:"
msgid "Filament:"
msgstr "フィラメント:"
msgid "File"
msgstr "ファイル"
msgid "File:"
msgstr "ファイル:"
msgid "Finding ADXL"
msgstr "ADXLを検索中"
msgid "Fine Tuning"
msgstr "Fine Tuning"
msgid "Finish"
msgstr "完了"
msgid "Firmware Restart"
msgstr "ファームウェアの再起動"
msgid "Flow:"
msgstr "流量:"
msgid "Flowrate:"
msgstr "フローレート:"
msgid "Font Size"
msgstr "フォントサイズ"
msgid "Full Update"
msgstr "フルアップデート"
msgid "Go Back"
msgstr "戻る"
msgid "Height:"
msgstr "高さ:"
msgid "Hidden"
msgstr "非表示"
msgid "Hide"
msgstr "隠す"
msgid "Hide sensors in Temp."
msgstr "温度を非表示にする"
msgid "Hide temp."
msgstr "温度を非表示にする"
msgid "Home All"
msgstr ""
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 "Host"
msgstr ""
msgid "Hostname"
msgstr "Hostname"
msgid "Icon Theme"
msgstr "アイコンテーマ"
msgid "Increase"
msgstr "増加"
msgid "Initializing printer..."
msgstr ""
msgid "Input Shaper"
msgstr ""
msgid "Interface"
msgstr "インターフェース"
msgid "Invalid"
msgstr "不正"
msgid "Invalid password"
msgstr ""
msgid "Invert X"
msgstr "X軸を反対にする"
msgid "Invert Y"
msgstr "Y軸を反対にする"
msgid "Invert Z"
msgstr "X軸を反対にする"
msgid "Klipper Restart"
msgstr "Klipperを再起動する"
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 "KlipperScreen will reboot"
msgstr "KlipperScreenは再起動します"
msgid "Language"
msgstr "言語"
msgid "Large"
msgstr "大"
msgid "Layer:"
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"
msgstr "最大"
msgid "Max Acceleration"
msgstr "最大加速度"
msgid "Max Acceleration to Deceleration"
msgstr "減速時の最大加速度"
msgid "Max Velocity"
msgstr "最大速度"
msgid "Maximum"
msgstr "最大"
msgid "Measure Both"
msgstr "両方計測する"
msgid "Measure X"
msgstr "X軸を計測する"
msgid "Measure Y"
msgstr "Y軸を計測する"
msgid "Medium"
msgstr "中"
msgid "Menu"
msgstr "メニュー"
msgid "Mesh calibrate"
msgstr "メッシュ較正"
msgid "Modified"
msgstr "変更"
msgid "Moonraker: connected"
msgstr "Moonraker: 接続済"
msgid "Move"
msgstr "移動"
msgid "Move Distance (mm)"
msgstr "移動距離"
msgid "Name"
msgstr "名称"
msgid "Network"
msgstr "ネットワーク"
msgid "Never"
msgstr "未"
msgid "New"
msgstr "新"
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
msgstr ""
msgid "Nothing selected"
msgstr "未選択"
#, python-format
msgid "Outdated by %d"
msgstr ""
msgid "PSK for"
msgstr ""
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] ""
msgid "Part Fan"
msgstr ""
msgid "Password saved"
msgstr "パスワードを保存しました"
msgid "Pause"
msgstr "一時停止"
msgid "Paused"
msgstr "一時停止中"
msgid "Perform a full upgrade?"
msgstr "フルアップデートしますか?"
msgid "Pins"
msgstr "Pins"
msgid "Please recompile and flash the micro-controller."
msgstr "マイクロコントローラーをリコンパイル&フラッシュしてください"
msgid "Power"
msgstr "電源"
msgid "Power On Printer"
msgstr "プリンター電源"
msgid "Pressure Advance:"
msgstr ""
msgid "Print"
msgstr "印刷"
msgid "Print Control"
msgstr "印刷制御"
msgid "Print Time"
msgstr "印刷時間"
msgid "Printer"
msgstr "プリンター"
msgid "Printer Connections"
msgstr "プリンター接続状態"
msgid "Printer Select"
msgstr "プリンターの選択"
msgid "Printing"
msgstr "印刷中"
msgid "Probe Offset"
msgstr "プローブオフセット"
msgid "Profile Name:"
msgstr "プロファイル:"
msgid "Provide KlipperScreen.log when asking for help.\n"
msgstr ""
msgid "Quad Gantry Level"
msgstr "ガントリーレベル"
msgid "Raise Nozzle"
msgstr ""
msgid "Recover"
msgstr ""
msgid "Recover Hard"
msgstr ""
msgid "Recover Soft"
msgstr ""
msgid "Reference"
msgstr ""
msgid "Refresh"
msgstr "最新表示"
msgid "Restart"
msgstr "再起動"
msgid "Resume"
msgstr "再開"
msgid "Retract"
msgstr "リトラクトする"
msgid "Retraction"
msgstr "リトラクション"
msgid "Retraction Length"
msgstr "リトラクション長さ"
msgid "Retraction Speed"
msgstr "リトラクションスピード"
msgid "Retry"
msgstr "再試行"
msgid "Retrying"
msgstr "再試行中"
msgid "Save"
msgstr "保存"
msgid "Save Config"
msgstr "設定の保存"
msgid "Save Z"
msgstr "Z軸の保存"
msgid "Save configuration?"
msgstr "設定を保存しますか?"
msgid "Saved"
msgstr "保存しました"
#, python-format
msgid "Saved offset: %s"
msgstr "保存しました offset: %s"
msgid "Screen DPMS"
msgstr ""
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 ""
msgid "Set Temp"
msgstr "温度設定"
msgid "Settings"
msgstr "設定"
msgid "Show"
msgstr "表示"
msgid "Show Heater Power"
msgstr ""
msgid "Shutdown"
msgstr "シャットダウン"
msgid "Size"
msgstr "サイズ"
msgid "Slicer"
msgstr "スライサー"
msgid "Slicer Time correction (%)"
msgstr "スライサーの補正時間(%)"
msgid "Slicer:"
msgstr "スライサー:"
msgid "Small"
msgstr "小"
msgid "Speed (mm/s)"
msgstr ""
msgid "Speed +"
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 Restart"
msgstr "システムの再起動"
msgid "System Shutdown"
msgstr "システムのシャットダウン"
msgid "Temp (°C)"
msgstr "温度 (°C)"
msgid "Temperature"
msgstr "温度"
msgid "Total:"
msgstr "全体:"
msgid "Unknown Heater"
msgstr "無効なヒーター"
msgid "Unknown screw position"
msgstr "無効なのスクリュー位置"
msgid "Unload"
msgstr "アンロード"
msgid "Unretract Extra Length"
msgstr ""
msgid "Unretract Speed"
msgstr ""
msgid "Up To Date"
msgstr "最新"
msgid "Update"
msgstr "更新"
msgid "Updating"
msgstr "更新中"
msgid "Uploaded"
msgstr "アップロード済"
msgid "XY Move Speed (mm/s)"
msgstr "XY移動速度 (mm/s)"
msgid "XY Speed (mm/s)"
msgstr "XY速度 (mm/s)"
msgid "Z Calibrate"
msgstr "Z軸 校正"
msgid "Z Move Speed (mm/s)"
msgstr "X軸 移動速度 (mm/s)"
msgid "Z Speed (mm/s)"
msgstr ""
msgid "Z Tilt"
msgstr ""
msgid "Z offset:"
msgstr ""
msgid "commit"
msgid_plural "commits"
msgstr[0] ""
msgid "dBm"
msgstr ""
msgid "hour"
msgid_plural "hours"
msgstr[0] ""
msgid "minutes"
msgstr "分"
msgid "mm"
msgstr ""
msgid "mm/s"
msgstr ""
msgid "mm/s²"
msgstr ""
msgid "mm³/s"
msgstr ""
#~ msgid "Sort:"
#~ msgstr "ソート順:"
Binary file not shown.
@@ -2,16 +2,16 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: KlipperScreen\n" "Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-08-10 12:01-0300\n" "POT-Creation-Date: 2022-11-30 18:17-0300\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: NSteven\n" "Last-Translator: NSteven\n"
"Language-Team: NSteven\n" "Language-Team: NSteven\n"
"Language: ko_KR\n" "Language: ko\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n" "Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 3.1\n" "X-Generator: Poedit 3.2.1\n"
#, python-format #, python-format
msgid "%s will be updated to version" msgid "%s will be updated to version"
@@ -41,9 +41,6 @@ msgstr "확인"
msgid "Actions" msgid "Actions"
msgstr "툴 헤드 제어" msgstr "툴 헤드 제어"
msgid "Add Printer"
msgstr "프린터 추가"
msgid "Add profile" msgid "Add profile"
msgstr "" msgstr ""
@@ -58,6 +55,9 @@ msgstr "엔드스탑 높이 기준을 %.2f 높이의 옵셋으로 설정 하시
msgid "Apply %s%.2f offset to Probe?" msgid "Apply %s%.2f offset to Probe?"
msgstr "프로브 높이 기준을 %s%.2f 높이의 옵셋으로 설정 하시겠습니까?" msgstr "프로브 높이 기준을 %s%.2f 높이의 옵셋으로 설정 하시겠습니까?"
msgid "Are you sure do you want to exclude the object?"
msgstr ""
msgid "Are you sure you want to run Emergency Stop?" msgid "Are you sure you want to run Emergency Stop?"
msgstr "비상정지 시킬까요?" msgstr "비상정지 시킬까요?"
@@ -106,9 +106,6 @@ msgstr "교정됨, 설정을 저장합니다"
msgid "Calibrating" msgid "Calibrating"
msgstr "" msgstr ""
msgid "Calibrating..."
msgstr "교정 중.."
msgid "Can't set above the maximum:" msgid "Can't set above the maximum:"
msgstr "최대 값을 초과하는 설정은 할 수 없습니다:" msgstr "최대 값을 초과하는 설정은 할 수 없습니다:"
@@ -173,9 +170,6 @@ msgstr "날짜"
msgid "Decrease" msgid "Decrease"
msgstr "낮추기" msgstr "낮추기"
msgid "Delete"
msgstr "삭제"
msgid "Delete File?" msgid "Delete File?"
msgstr "" msgstr ""
@@ -204,6 +198,12 @@ msgstr "오류"
msgid "Estimated Time Method" msgid "Estimated Time Method"
msgstr "예상시간 옵션" msgstr "예상시간 옵션"
msgid "Exclude Object"
msgstr ""
msgid "Extra Large"
msgstr ""
msgid "Extrude" msgid "Extrude"
msgstr "압출 " msgstr "압출 "
@@ -279,9 +279,6 @@ msgstr "온도 섹션에서 센서 항목 숨김."
msgid "Hide temp." msgid "Hide temp."
msgstr "온도 숨김" msgstr "온도 숨김"
msgid "Home"
msgstr "홈"
msgid "Home All" msgid "Home All"
msgstr "전체 홈" msgstr "전체 홈"
@@ -300,6 +297,9 @@ msgstr "Z축 홈"
msgid "Homing" msgid "Homing"
msgstr "툴 헤드 위치 초기화" msgstr "툴 헤드 위치 초기화"
msgid "Host"
msgstr ""
msgid "Hostname" msgid "Hostname"
msgstr "호스트 이름" msgstr "호스트 이름"
@@ -309,9 +309,6 @@ msgstr "아이콘 테마"
msgid "Increase" msgid "Increase"
msgstr "높이기" msgstr "높이기"
msgid "Initializing"
msgstr "초기화 중.."
msgid "Initializing printer..." msgid "Initializing printer..."
msgstr "프린터 초기화 중.." msgstr "프린터 초기화 중.."
@@ -324,6 +321,9 @@ msgstr "인터페이스"
msgid "Invalid" msgid "Invalid"
msgstr "존재하지 않음" msgstr "존재하지 않음"
msgid "Invalid password"
msgstr ""
msgid "Invert X" msgid "Invert X"
msgstr "X축 반전" msgstr "X축 반전"
@@ -349,7 +349,10 @@ msgid "Klipper is attempting to start"
msgstr "클리퍼 시작하는 중" msgstr "클리퍼 시작하는 중"
msgid "Klipper will reboot" msgid "Klipper will reboot"
msgstr "클리퍼를 다시 시작합니다" msgstr "Klipper가 재부팅됩니다"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen가 재부팅됩니다"
msgid "Language" msgid "Language"
msgstr "언어" msgstr "언어"
@@ -393,6 +396,9 @@ msgstr "감속을 위한 최대 가속"
msgid "Max Velocity" msgid "Max Velocity"
msgstr "출력 속도" msgstr "출력 속도"
msgid "Maximum"
msgstr ""
msgid "Measure Both" msgid "Measure Both"
msgstr "XY축 모두 측정" msgstr "XY축 모두 측정"
@@ -408,6 +414,9 @@ msgstr "중간"
msgid "Menu" msgid "Menu"
msgstr "메뉴" msgstr "메뉴"
msgid "Mesh calibrate"
msgstr ""
msgid "Modified" msgid "Modified"
msgstr "수정됨" msgstr "수정됨"
@@ -426,6 +435,9 @@ msgstr "이름"
msgid "Network" msgid "Network"
msgstr "네트워크" msgstr "네트워크"
msgid "Never"
msgstr ""
msgid "New" msgid "New"
msgstr "신규" msgstr "신규"
@@ -437,9 +449,6 @@ msgstr ""
msgid "Nothing selected" msgid "Nothing selected"
msgstr "아무것도 선택하지 않ㅇ" msgstr "아무것도 선택하지 않ㅇ"
msgid "Off"
msgstr "끄기"
#, python-format #, python-format
msgid "Outdated by %d" msgid "Outdated by %d"
msgstr "%d 보다 오래됨" msgstr "%d 보다 오래됨"
@@ -490,9 +499,15 @@ msgstr "출력 제어"
msgid "Print Time" msgid "Print Time"
msgstr "출력 시간" msgstr "출력 시간"
msgid "Printer"
msgstr ""
msgid "Printer Connections" msgid "Printer Connections"
msgstr "프린터 연결" msgstr "프린터 연결"
msgid "Printer Select"
msgstr ""
msgid "Printing" msgid "Printing"
msgstr "출력중" msgstr "출력중"
@@ -502,12 +517,18 @@ msgstr "프로브 오프셋"
msgid "Profile Name:" msgid "Profile Name:"
msgstr "프로파일 이름:" msgstr "프로파일 이름:"
msgid "Provide KlipperScreen.log when asking for help.\n"
msgstr ""
msgid "Quad Gantry Level" msgid "Quad Gantry Level"
msgstr "쿼드 갠트리 레벨" msgstr "쿼드 갠트리 레벨"
msgid "Raise Nozzle" msgid "Raise Nozzle"
msgstr "노즐 높임" msgstr "노즐 높임"
msgid "Recover"
msgstr ""
msgid "Recover Hard" msgid "Recover Hard"
msgstr "강화 복구 모드" msgstr "강화 복구 모드"
@@ -538,9 +559,8 @@ msgstr "퇴추 길이"
msgid "Retraction Speed" msgid "Retraction Speed"
msgstr "퇴출 속도" msgstr "퇴출 속도"
#, python-format msgid "Retry"
msgid "Retry #%s" msgstr ""
msgstr "재시도 #%s"
msgid "Retrying" msgid "Retrying"
msgstr "" msgstr ""
@@ -592,6 +612,12 @@ msgstr "설정"
msgid "Show" msgid "Show"
msgstr "보기" msgstr "보기"
msgid "Show Heater Power"
msgstr ""
msgid "Shutdown"
msgstr ""
msgid "Size" msgid "Size"
msgstr "크기" msgstr "크기"
@@ -607,12 +633,6 @@ msgstr "슬라이서:"
msgid "Small" msgid "Small"
msgstr "작은" msgstr "작은"
msgid "Sort by: "
msgstr "분류 기준: "
msgid "Sort:"
msgstr "종류:"
msgid "Speed (mm/s)" msgid "Speed (mm/s)"
msgstr "속도 (mm/s)" msgstr "속도 (mm/s)"
@@ -655,10 +675,6 @@ msgstr "온도 (°C)"
msgid "Temperature" msgid "Temperature"
msgstr "온도 제어" msgstr "온도 제어"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "%s을(를) 적용하려면 클리퍼 스크린을 다시 시작해야 합니다"
msgid "Total:" msgid "Total:"
msgstr "총:" msgstr "총:"
@@ -689,27 +705,12 @@ msgstr "업데이트 중.."
msgid "Uploaded" msgid "Uploaded"
msgstr "업로드됨" msgstr "업로드됨"
msgid "View Mesh"
msgstr "메쉬 프로파일 보기"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)" msgid "XY Move Speed (mm/s)"
msgstr "XY 이동 속도 (mm/s)" msgstr "XY 이동 속도 (mm/s)"
msgid "XY Speed (mm/s)" msgid "XY Speed (mm/s)"
msgstr "XY 속도 (mm/s)" msgstr "XY 속도 (mm/s)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate" msgid "Z Calibrate"
msgstr "Z 옵셋 교정" msgstr "Z 옵셋 교정"
@@ -725,12 +726,6 @@ msgstr "Z 기울기"
msgid "Z offset:" msgid "Z offset:"
msgstr "Z 옵셋:" msgstr "Z 옵셋:"
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit" msgid "commit"
msgid_plural "commits" msgid_plural "commits"
msgstr[0] "커밋" msgstr[0] "커밋"
@@ -754,6 +749,58 @@ msgstr "mm/s"
msgid "mm/s²" msgid "mm/s²"
msgstr "mm/s²" msgstr "mm/s²"
msgid "mm³/s"
msgstr ""
#~ msgid "Sort:"
#~ msgstr "종류:"
#~ msgid "Calibrating..."
#~ msgstr "교정 중.."
#~ msgid "Z+"
#~ msgstr "Z+"
#~ msgid "Z-"
#~ msgstr "Z-"
#~ msgid "X+"
#~ msgstr "X+"
#~ msgid "X-"
#~ msgstr "X-"
#~ msgid "Y+"
#~ msgstr "Y+"
#~ msgid "Y-"
#~ msgstr "Y-"
#, python-format
#~ msgid "Retry #%s"
#~ msgstr "재시도 #%s"
#~ msgid "Add Printer"
#~ msgstr "프린터 추가"
#~ msgid "Initializing"
#~ msgstr "초기화 중.."
#~ msgid "Delete"
#~ msgstr "삭제"
#~ msgid "Home"
#~ msgstr "홈"
#~ msgid "Off"
#~ msgstr "끄기"
#~ msgid "View Mesh"
#~ msgstr "메쉬 프로파일 보기"
#~ msgid "Sort by: "
#~ msgstr "분류 기준: "
#~ msgid "Bltouch found applied offset" #~ msgid "Bltouch found applied offset"
#~ msgstr "Bltouch가 적용된 오프셋" #~ msgstr "Bltouch가 적용된 오프셋"
Binary file not shown.
@@ -7,17 +7,17 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: KlipperScreen\n" "Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-08-10 12:01-0300\n" "POT-Creation-Date: 2022-11-30 18:17-0300\n"
"PO-Revision-Date: 2022-03-31 11:06-0300\n" "PO-Revision-Date: 2022-11-30 18:14-0300\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: pl_PL\n" "Language: pl\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 " "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 "
"|| n%100>14) ? 1 : 2);\n" "|| n%100>14) ? 1 : 2);\n"
"X-Generator: Poedit 3.0.1\n" "X-Generator: Poedit 3.2.1\n"
#, python-format #, python-format
msgid "%s will be updated to version" msgid "%s will be updated to version"
@@ -33,13 +33,13 @@ msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "FIRMWARE_RESTART może rozwiązać problem." msgstr "FIRMWARE_RESTART może rozwiązać problem."
msgid "ADXL Not Configured" msgid "ADXL Not Configured"
msgstr "" msgstr "ADXL nieskonfigurowany"
msgid "Abort" msgid "Abort"
msgstr "Odwołaj" msgstr "Odwołaj"
msgid "Acceleration:" msgid "Acceleration:"
msgstr "" msgstr "Przyśpieszenie:"
msgid "Accept" msgid "Accept"
msgstr "Akceptuj" msgstr "Akceptuj"
@@ -47,22 +47,22 @@ msgstr "Akceptuj"
msgid "Actions" msgid "Actions"
msgstr "Akcje" msgstr "Akcje"
msgid "Add Printer"
msgstr "Dodaj drukarkę"
msgid "Add profile" msgid "Add profile"
msgstr "" msgstr "Dodaj profil"
msgid "Apply" msgid "Apply"
msgstr "" msgstr "Stosować"
#, python-format #, python-format
msgid "Apply %.2f offset to Endstop?" msgid "Apply %.2f offset to Endstop?"
msgstr "" msgstr "Zastosować przesunięcie %.2f do Endstop?"
#, python-format #, python-format
msgid "Apply %s%.2f offset to Probe?" msgid "Apply %s%.2f offset to Probe?"
msgstr "" msgstr "Zastosować przesunięcie %s%.2f do sondy?"
msgid "Are you sure do you want to exclude the object?"
msgstr "Czy na pewno chcesz wykluczyć obiekt?"
msgid "Are you sure you want to run Emergency Stop?" msgid "Are you sure you want to run Emergency Stop?"
msgstr "Czy na pewno chcesz Awaryjnie Zatrzymać?" msgstr "Czy na pewno chcesz Awaryjnie Zatrzymać?"
@@ -83,10 +83,10 @@ msgid "Auto"
msgstr "Automatyczny" msgstr "Automatyczny"
msgid "Auto-calibrate" msgid "Auto-calibrate"
msgstr "" msgstr "Automatyczna kalibracja"
msgid "Auto-close notifications" msgid "Auto-close notifications"
msgstr "" msgstr "Powiadomienia o automatycznym zamknięciu"
msgid "Auto-scroll" msgid "Auto-scroll"
msgstr "Auto-scroll" msgstr "Auto-scroll"
@@ -98,22 +98,19 @@ msgid "Bed Mesh"
msgstr "Poziom siatki stołu" msgstr "Poziom siatki stołu"
msgid "Bed screw configuration:" msgid "Bed screw configuration:"
msgstr "" msgstr "Konfiguracja śrub łóżka:"
msgid "Calibrate" msgid "Calibrate"
msgstr "Kalibracja" msgstr "Kalibracja"
msgid "Calibrated" msgid "Calibrated"
msgstr "" msgstr "Skalibrowany"
msgid "Calibrated, save configuration to make it permanent" msgid "Calibrated, save configuration to make it permanent"
msgstr "Skalibrowano, zapisz konfigurację aby została na stałe" msgstr "Skalibrowano, zapisz konfigurację aby została na stałe"
msgid "Calibrating" msgid "Calibrating"
msgstr "" msgstr "Kalibracja"
msgid "Calibrating..."
msgstr ""
msgid "Can't set above the maximum:" msgid "Can't set above the maximum:"
msgstr "Nie można ustawić powyżej maksymum:" msgstr "Nie można ustawić powyżej maksymum:"
@@ -137,10 +134,10 @@ msgid "Channel"
msgstr "Kanał" msgstr "Kanał"
msgid "Check ADXL Wiring" msgid "Check ADXL Wiring"
msgstr "" msgstr "Sprawdź okablowanie ADXL"
msgid "Checking for updates, please wait..." msgid "Checking for updates, please wait..."
msgstr "" msgstr "Trwa sprawdzanie dostępności aktualizacji, proszę czekać..."
msgid "Clear" msgid "Clear"
msgstr "" msgstr ""
@@ -179,11 +176,8 @@ msgstr "Data"
msgid "Decrease" msgid "Decrease"
msgstr "Obniż" msgstr "Obniż"
msgid "Delete"
msgstr "Skasuj"
msgid "Delete File?" msgid "Delete File?"
msgstr "" msgstr "Usunąć plik?"
msgid "Deselect" msgid "Deselect"
msgstr "Odznacz" msgstr "Odznacz"
@@ -210,6 +204,12 @@ msgstr "Błąd"
msgid "Estimated Time Method" msgid "Estimated Time Method"
msgstr "Sposób Oszacowania Czasu" msgstr "Sposób Oszacowania Czasu"
msgid "Exclude Object"
msgstr "Wyklucz obiekt"
msgid "Extra Large"
msgstr "Bardzo duży"
msgid "Extrude" msgid "Extrude"
msgstr "Extruduj" msgstr "Extruduj"
@@ -229,22 +229,22 @@ msgid "Filament Used"
msgstr "Filament w Użytku" msgstr "Filament w Użytku"
msgid "Filament total:" msgid "Filament total:"
msgstr "" msgstr "Całkowita ilość filamentu:"
msgid "Filament used:" msgid "Filament used:"
msgstr "" msgstr "Zastosowane włókno:"
msgid "Filament:" msgid "Filament:"
msgstr "" msgstr "Włókno:"
msgid "File" msgid "File"
msgstr "Plik" msgstr "Plik"
msgid "File:" msgid "File:"
msgstr "" msgstr "Plik:"
msgid "Finding ADXL" msgid "Finding ADXL"
msgstr "" msgstr "Znalezienie ADXL"
msgid "Fine Tuning" msgid "Fine Tuning"
msgstr "Regulacja Precyzyjna" msgstr "Regulacja Precyzyjna"
@@ -256,10 +256,10 @@ msgid "Firmware Restart"
msgstr "" msgstr ""
msgid "Flow:" msgid "Flow:"
msgstr "" msgstr "Pływ:"
msgid "Flowrate:" msgid "Flowrate:"
msgstr "" msgstr "Pływ:"
msgid "Font Size" msgid "Font Size"
msgstr "Rozmiar trzcionki" msgstr "Rozmiar trzcionki"
@@ -271,7 +271,7 @@ msgid "Go Back"
msgstr "Powróć" msgstr "Powróć"
msgid "Height:" msgid "Height:"
msgstr "" msgstr "Wzrost:"
msgid "Hidden" msgid "Hidden"
msgstr "Ukryty" msgstr "Ukryty"
@@ -283,10 +283,7 @@ msgid "Hide sensors in Temp."
msgstr "Ukryj czujniki w Temp." msgstr "Ukryj czujniki w Temp."
msgid "Hide temp." msgid "Hide temp."
msgstr "" msgstr "Ukryj temp."
msgid "Home"
msgstr "Baza"
msgid "Home All" msgid "Home All"
msgstr "Baza Wszystkich" msgstr "Baza Wszystkich"
@@ -306,6 +303,9 @@ msgstr "Baza Z"
msgid "Homing" msgid "Homing"
msgstr "Bazowanie" msgstr "Bazowanie"
msgid "Host"
msgstr ""
msgid "Hostname" msgid "Hostname"
msgstr "Nazwa hosta" msgstr "Nazwa hosta"
@@ -315,9 +315,6 @@ msgstr "Motyw Ikon"
msgid "Increase" msgid "Increase"
msgstr "Zwiększ" msgstr "Zwiększ"
msgid "Initializing"
msgstr "Startowanie"
msgid "Initializing printer..." msgid "Initializing printer..."
msgstr "Drukarka Startuje..." msgstr "Drukarka Startuje..."
@@ -330,6 +327,9 @@ msgstr "Interfejs"
msgid "Invalid" msgid "Invalid"
msgstr "Nieprawidłowy" msgstr "Nieprawidłowy"
msgid "Invalid password"
msgstr ""
msgid "Invert X" msgid "Invert X"
msgstr "Odwróć X" msgstr "Odwróć X"
@@ -355,7 +355,10 @@ msgid "Klipper is attempting to start"
msgstr "Klipper próbuje wystartować" msgstr "Klipper próbuje wystartować"
msgid "Klipper will reboot" msgid "Klipper will reboot"
msgstr "Klipper będzie się restartował" msgstr "Klipper uruchomi się ponownie"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen uruchomi się ponownie"
msgid "Language" msgid "Language"
msgstr "Język" msgstr "Język"
@@ -364,7 +367,7 @@ msgid "Large"
msgstr "Duży" msgstr "Duży"
msgid "Layer:" msgid "Layer:"
msgstr "" msgstr "Warstwa:"
msgid "Left:" msgid "Left:"
msgstr "Lewo:" msgstr "Lewo:"
@@ -388,10 +391,10 @@ msgid "Main Menu"
msgstr "Główne Menu" msgstr "Główne Menu"
msgid "Max" msgid "Max"
msgstr "" msgstr "Maks"
msgid "Max Acceleration" msgid "Max Acceleration"
msgstr "" msgstr "Maksymalne przyspieszenie"
msgid "Max Acceleration to Deceleration" msgid "Max Acceleration to Deceleration"
msgstr "Maks Przyśpieszenie i Opóźnienie" msgstr "Maks Przyśpieszenie i Opóźnienie"
@@ -399,14 +402,17 @@ msgstr "Maks Przyśpieszenie i Opóźnienie"
msgid "Max Velocity" msgid "Max Velocity"
msgstr "Maks Prędkość" msgstr "Maks Prędkość"
msgid "Maximum"
msgstr "Maksymalny"
msgid "Measure Both" msgid "Measure Both"
msgstr "" msgstr "Zmierz oba"
msgid "Measure X" msgid "Measure X"
msgstr "" msgstr "Zmierz X"
msgid "Measure Y" msgid "Measure Y"
msgstr "" msgstr "Zmierz Y"
msgid "Medium" msgid "Medium"
msgstr "Średni" msgstr "Średni"
@@ -414,6 +420,9 @@ msgstr "Średni"
msgid "Menu" msgid "Menu"
msgstr "Menu" msgstr "Menu"
msgid "Mesh calibrate"
msgstr "Kalibracja siatki"
msgid "Modified" msgid "Modified"
msgstr "Zmodyfikowane" msgstr "Zmodyfikowane"
@@ -432,20 +441,22 @@ msgstr "Nazwa"
msgid "Network" msgid "Network"
msgstr "Sieć" msgstr "Sieć"
msgid "Never"
msgstr "Nigdy"
msgid "New" msgid "New"
msgstr "" msgstr "Nowy"
msgid "" msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen." "Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf" "conf"
msgstr "" msgstr ""
"Nieobsługiwany do automatycznego wykrywania, musi być skonfigurowany w pliku "
"klipperscreen.conf"
msgid "Nothing selected" msgid "Nothing selected"
msgstr "Nic nie wybrano" msgstr "Nic nie wybrano"
msgid "Off"
msgstr "Wyłącz"
#, python-format #, python-format
msgid "Outdated by %d" msgid "Outdated by %d"
msgstr "Nieaktualne przez %d" msgstr "Nieaktualne przez %d"
@@ -487,7 +498,7 @@ msgid "Power On Printer"
msgstr "Zasilanie włączone" msgstr "Zasilanie włączone"
msgid "Pressure Advance:" msgid "Pressure Advance:"
msgstr "" msgstr "Postęp ciśnienia:"
msgid "Print" msgid "Print"
msgstr "Drukuj" msgstr "Drukuj"
@@ -498,24 +509,36 @@ msgstr "Kontrola Druku"
msgid "Print Time" msgid "Print Time"
msgstr "Czas Druku" msgstr "Czas Druku"
msgid "Printer"
msgstr "Drukarka"
msgid "Printer Connections" msgid "Printer Connections"
msgstr "Połączenia Drukarki" msgstr "Połączenia Drukarki"
msgid "Printer Select"
msgstr "Wybierz drukarkę"
msgid "Printing" msgid "Printing"
msgstr "Drukujemy" msgstr "Drukujemy"
msgid "Probe Offset" msgid "Probe Offset"
msgstr "" msgstr "Przesunięcie sondy"
msgid "Profile Name:" msgid "Profile Name:"
msgstr "Nazwa Profilu:" msgstr "Nazwa Profilu:"
msgid "Provide KlipperScreen.log when asking for help.\n"
msgstr ""
msgid "Quad Gantry Level" msgid "Quad Gantry Level"
msgstr "Poziom Bramy" msgstr "Poziom Bramy"
msgid "Raise Nozzle" msgid "Raise Nozzle"
msgstr "Podnieś dyszę" msgstr "Podnieś dyszę"
msgid "Recover"
msgstr "Odzyskaj"
msgid "Recover Hard" msgid "Recover Hard"
msgstr "Odzyskaj Twardo" msgstr "Odzyskaj Twardo"
@@ -526,7 +549,7 @@ msgid "Reference"
msgstr "Sprawdzenie" msgstr "Sprawdzenie"
msgid "Refresh" msgid "Refresh"
msgstr "" msgstr "Odświeżać"
msgid "Restart" msgid "Restart"
msgstr "Restartuj" msgstr "Restartuj"
@@ -538,20 +561,19 @@ msgid "Retract"
msgstr "Cofnij" msgstr "Cofnij"
msgid "Retraction" msgid "Retraction"
msgstr "" msgstr "Wycofanie"
msgid "Retraction Length" msgid "Retraction Length"
msgstr "" msgstr "Długość wycofania"
msgid "Retraction Speed" msgid "Retraction Speed"
msgstr "" msgstr "Szybkość wycofania"
#, python-format msgid "Retry"
msgid "Retry #%s" msgstr "Spróbować ponownie"
msgstr "Spróbuj ponownie #%s"
msgid "Retrying" msgid "Retrying"
msgstr "" msgstr "Ponawianie próby"
msgid "Save" msgid "Save"
msgstr "Zapisz" msgstr "Zapisz"
@@ -560,17 +582,17 @@ msgid "Save Config"
msgstr "Zapisz Konfigurację" msgstr "Zapisz Konfigurację"
msgid "Save Z" msgid "Save Z"
msgstr "" msgstr "Zapisz Z"
msgid "Save configuration?" msgid "Save configuration?"
msgstr "" msgstr "Zapisać konfigurację?"
msgid "Saved" msgid "Saved"
msgstr "" msgstr "Zapisane"
#, python-format #, python-format
msgid "Saved offset: %s" msgid "Saved offset: %s"
msgstr "" msgstr "Zapisane przesunięcie: %s"
msgid "Screen DPMS" msgid "Screen DPMS"
msgstr "Ekran DPMS" msgstr "Ekran DPMS"
@@ -600,6 +622,12 @@ msgstr "Ustawienia"
msgid "Show" msgid "Show"
msgstr "Pokaż" msgstr "Pokaż"
msgid "Show Heater Power"
msgstr "Pokaż moc grzałki"
msgid "Shutdown"
msgstr "Zamknąć"
msgid "Size" msgid "Size"
msgstr "Rozmiar" msgstr "Rozmiar"
@@ -615,12 +643,6 @@ msgstr ""
msgid "Small" msgid "Small"
msgstr "Mały" msgstr "Mały"
msgid "Sort by: "
msgstr "Sortuj wg: "
msgid "Sort:"
msgstr ""
msgid "Speed (mm/s)" msgid "Speed (mm/s)"
msgstr "Prędkość (mm/s)" msgstr "Prędkość (mm/s)"
@@ -631,7 +653,7 @@ msgid "Speed -"
msgstr "Prędkość -" msgstr "Prędkość -"
msgid "Speed:" msgid "Speed:"
msgstr "" msgstr "Prędkość:"
msgid "Square Corner Velocity" msgid "Square Corner Velocity"
msgstr "Prędkość w narożniku kwadratowym" msgstr "Prędkość w narożniku kwadratowym"
@@ -663,10 +685,6 @@ msgstr "Temp (°C)"
msgid "Temperature" msgid "Temperature"
msgstr "Temperatura" msgstr "Temperatura"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "Aby zastosować %s KlipperScreen musi zostać ponownie uruchomiony"
msgid "Total:" msgid "Total:"
msgstr "Całkowity:" msgstr "Całkowity:"
@@ -674,7 +692,7 @@ msgid "Unknown Heater"
msgstr "Nieznany Podgrzewacz" msgstr "Nieznany Podgrzewacz"
msgid "Unknown screw position" msgid "Unknown screw position"
msgstr "" msgstr "Nieznana pozycja śruby"
msgid "Unload" msgid "Unload"
msgstr "Wyładuj" msgstr "Wyładuj"
@@ -697,26 +715,11 @@ msgstr "Aktualizacja"
msgid "Uploaded" msgid "Uploaded"
msgstr "Przesłane" msgstr "Przesłane"
msgid "View Mesh"
msgstr "Wyświetl siatkę"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)" msgid "XY Move Speed (mm/s)"
msgstr "Prędkość ruchu XY (mm/s)" msgstr "Prędkość ruchu XY (mm/s)"
msgid "XY Speed (mm/s)" msgid "XY Speed (mm/s)"
msgstr "" msgstr "Prędkość XY (mm/s)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y0"
msgid "Z Calibrate" msgid "Z Calibrate"
msgstr "Kalibracja Z" msgstr "Kalibracja Z"
@@ -725,7 +728,7 @@ msgid "Z Move Speed (mm/s)"
msgstr "Prędkość ruchu Z (mm/s)" msgstr "Prędkość ruchu Z (mm/s)"
msgid "Z Speed (mm/s)" msgid "Z Speed (mm/s)"
msgstr "" msgstr "Prędkość Z (mm/s)"
msgid "Z Tilt" msgid "Z Tilt"
msgstr "Przechył Z" msgstr "Przechył Z"
@@ -733,12 +736,6 @@ msgstr "Przechył Z"
msgid "Z offset:" msgid "Z offset:"
msgstr "" msgstr ""
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit" msgid "commit"
msgid_plural "commits" msgid_plural "commits"
msgstr[0] "zmiana" msgstr[0] "zmiana"
@@ -766,6 +763,55 @@ msgstr "mm/s²"
msgid "mm/s²" msgid "mm/s²"
msgstr "mm/s²" msgstr "mm/s²"
msgid "mm³/s"
msgstr ""
#~ msgid "Sort:"
#~ msgstr "Sortować:"
#~ msgid "Z+"
#~ msgstr "Z+"
#~ msgid "Z-"
#~ msgstr "Z-"
#~ msgid "X+"
#~ msgstr "X+"
#~ msgid "X-"
#~ msgstr "X-"
#~ msgid "Y+"
#~ msgstr "Y+"
#~ msgid "Y-"
#~ msgstr "Y0"
#, python-format
#~ msgid "Retry #%s"
#~ msgstr "Spróbuj ponownie #%s"
#~ msgid "Add Printer"
#~ msgstr "Dodaj drukarkę"
#~ msgid "Initializing"
#~ msgstr "Startowanie"
#~ msgid "Delete"
#~ msgstr "Skasuj"
#~ msgid "Home"
#~ msgstr "Baza"
#~ msgid "Off"
#~ msgstr "Wyłącz"
#~ msgid "View Mesh"
#~ msgstr "Wyświetl siatkę"
#~ msgid "Sort by: "
#~ msgstr "Sortuj wg: "
#~ msgid "Bltouch found applied offset" #~ msgid "Bltouch found applied offset"
#~ msgstr "Bltouch znalazł zastosowane przesunięcie" #~ msgstr "Bltouch znalazł zastosowane przesunięcie"
@@ -794,9 +840,6 @@ msgstr "mm/s²"
#~ msgid "IPv6" #~ msgid "IPv6"
#~ msgstr "IPv6" #~ msgstr "IPv6"
#~ msgid "Unknown Heater "
#~ msgstr "Nieznany Podgrzewacz "
#~ msgid "Disconnect" #~ msgid "Disconnect"
#~ msgstr "Rozłącz" #~ msgstr "Rozłącz"
Binary file not shown.
@@ -0,0 +1,769 @@
# 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-11-30 18:17-0300\n"
"PO-Revision-Date: 2022-11-30 18:14-0300\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: pt\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.2.1\n"
#, python-format
msgid "%s will be updated to version"
msgstr "%s será atualizado para a versão"
msgid "(default)"
msgstr "(padrão)"
msgid "24 Hour Time"
msgstr "24 Horas"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "Reinicie para corrigir."
msgid "ADXL Not Configured"
msgstr "ADXL não configurado"
msgid "Abort"
msgstr "Abortar"
msgid "Acceleration:"
msgstr "Aceleração:"
msgid "Accept"
msgstr "Aceitar"
msgid "Actions"
msgstr "Ações"
msgid "Add profile"
msgstr "Adicionar perfil"
msgid "Apply"
msgstr "Aplicar"
#, python-format
msgid "Apply %.2f offset to Endstop?"
msgstr "Aplicar deslocamento de %.2f para Endstop?"
#, python-format
msgid "Apply %s%.2f offset to Probe?"
msgstr "Aplicar deslocamento %s%.2f ao Sonda?"
msgid "Are you sure do you want to exclude the object?"
msgstr "Tem certeza de que deseja excluir o objeto?"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "Interromper ?"
msgid "Are you sure you wish to cancel this print?"
msgstr "Cancelar a impressão ?"
msgid "Are you sure you wish to disable motors?"
msgstr "Desativar os motores ?"
msgid "Are you sure you wish to reboot the system?"
msgstr "Reiniciar o sistema ?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "Desligar o sistema ?"
msgid "Auto"
msgstr "Automatico"
msgid "Auto-calibrate"
msgstr "Calibrar automaticamente"
msgid "Auto-close notifications"
msgstr "Notificações de fechamento automático"
msgid "Auto-scroll"
msgstr "Auto-scroll"
msgid "Bed Level"
msgstr "Nível da cama"
msgid "Bed Mesh"
msgstr "Nivelamento da Cama"
msgid "Bed screw configuration:"
msgstr "Configuração do parafuso de cama:"
msgid "Calibrate"
msgstr "Calibrar"
msgid "Calibrated"
msgstr "Calibrado"
msgid "Calibrated, save configuration to make it permanent"
msgstr "Calibrado, use o comando para salvar definitivamente"
msgid "Calibrating"
msgstr "Calibrando"
msgid "Can't set above the maximum:"
msgstr "Não é possível definir o máximo:"
msgid "Cancel"
msgstr "Cancelar"
msgid "Cancel Print"
msgstr "Cancelar Impressão"
msgid "Cancelled"
msgstr "Cancelado"
msgid "Cancelling"
msgstr "Cancelando"
msgid "Cannot connect to Moonraker"
msgstr "Não foi possível conectar a Moonraker"
msgid "Channel"
msgstr "Canal"
msgid "Check ADXL Wiring"
msgstr "Verifique a fiação ADXL"
msgid "Checking for updates, please wait..."
msgstr "Verificando atualizações, aguarde..."
msgid "Clear"
msgstr ""
msgid "Close"
msgstr "Fechar"
msgid "Complete"
msgstr "Completado"
msgid "Configuration"
msgstr "Configuração"
msgid "Confirm Emergency Stop"
msgstr "Confirmar Parada de Emergência"
msgid "Connected"
msgstr "Conectado"
#, python-format
msgid "Connecting to %s"
msgstr "Conectando %s"
msgid "Console"
msgstr "Console"
msgid "Continue"
msgstr "Continuar"
msgid "Cooldown"
msgstr "Resfriar"
msgid "Date"
msgstr "Data"
msgid "Decrease"
msgstr "Diminuir"
msgid "Delete File?"
msgstr "Excluir arquivo?"
msgid "Deselect"
msgstr "Deselecionar"
msgid "Disable Motors"
msgstr "Desabilitar Motores"
msgid "Disable XY"
msgstr "Desabilitar YX"
msgid "Distance (mm)"
msgstr "Distancia (mm)"
#, python-format
msgid "Do you want to recover %s?"
msgstr "Deseja recuperar %s?"
msgid "Elapsed:"
msgstr "Decorrido:"
msgid "Error"
msgstr "Erro"
msgid "Estimated Time Method"
msgstr "Método de tempo estimado"
msgid "Exclude Object"
msgstr "Excluir objeto"
msgid "Extra Large"
msgstr "Extra grande"
msgid "Extrude"
msgstr "Extrusão"
msgid "Extrusion +"
msgstr "+ Extrusão"
msgid "Extrusion -"
msgstr "- Extrusão"
msgid "Failed, adjust position first"
msgstr "Falhou, ajuste a posição primeiro"
msgid "Fan"
msgstr "Fan"
msgid "Filament Used"
msgstr "Filamento Usado"
msgid "Filament total:"
msgstr "Filamento total:"
msgid "Filament used:"
msgstr "Filamento usado:"
msgid "Filament:"
msgstr "Filamento:"
msgid "File"
msgstr "Arquivo"
msgid "File:"
msgstr "Arquivo:"
msgid "Finding ADXL"
msgstr "Encontrar ADXL"
msgid "Fine Tuning"
msgstr "Correção Fina"
msgid "Finish"
msgstr "Terminar"
msgid "Firmware Restart"
msgstr "Reiniciar Firmware"
msgid "Flow:"
msgstr "Fluxo:"
msgid "Flowrate:"
msgstr "Flow:"
msgid "Font Size"
msgstr "Tamanho da fonte"
msgid "Full Update"
msgstr "Atualização completa"
msgid "Go Back"
msgstr "Voltar"
msgid "Height:"
msgstr "Altura:"
msgid "Hidden"
msgstr "Oculto"
msgid "Hide"
msgstr "Ocultar"
msgid "Hide sensors in Temp."
msgstr "Ocultar temperatura."
msgid "Hide temp."
msgstr "Ocultar temperatura"
msgid "Home All"
msgstr "Calibrar XYZ"
msgid "Home X"
msgstr "Calibrar X"
msgid "Home XY"
msgstr "Calibrar XY"
msgid "Home Y"
msgstr "Calibrar Y"
msgid "Home Z"
msgstr "Calibrar Z"
msgid "Homing"
msgstr "Calibrar"
msgid "Host"
msgstr ""
msgid "Hostname"
msgstr "Hostname"
msgid "Icon Theme"
msgstr "Tema dos icones"
msgid "Increase"
msgstr "Aumentar"
msgid "Initializing printer..."
msgstr "Inicializando impressora..."
msgid "Input Shaper"
msgstr ""
msgid "Interface"
msgstr "Interface"
msgid "Invalid"
msgstr "Inválido"
msgid "Invalid password"
msgstr ""
msgid "Invert X"
msgstr "Inverter X"
msgid "Invert Y"
msgstr "Inverter Y"
msgid "Invert Z"
msgstr "Inverter Z"
msgid "Klipper Restart"
msgstr "Reinicialização do Klipper"
msgid "Klipper has disconnected"
msgstr "Klipper desconectado"
msgid "Klipper has encountered an error."
msgstr "Klipper encontrou um erro."
msgid "Klipper has shutdown"
msgstr "Klipper desligado"
msgid "Klipper is attempting to start"
msgstr "Klipper está tentando iniciar"
msgid "Klipper will reboot"
msgstr "Klipper será reiniciado"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen será reiniciado"
msgid "Language"
msgstr "Idioma"
msgid "Large"
msgstr "Grande"
msgid "Layer:"
msgstr "Camada:"
msgid "Left:"
msgstr "Restante:"
msgid "Limits"
msgstr "Limites"
msgid "Load"
msgstr "Carregar"
msgid "Lower Nozzle"
msgstr "Descer bocal"
msgid "Macro shortcut on sidebar"
msgstr "Atalho de macro na barra lateral"
msgid "Macros"
msgstr "Macros"
msgid "Main Menu"
msgstr "Menu principal"
msgid "Max"
msgstr "Máx"
msgid "Max Acceleration"
msgstr "Aceleração Máxima"
msgid "Max Acceleration to Deceleration"
msgstr "Max. aceleração de desaceleração"
msgid "Max Velocity"
msgstr "Velocidade máxima"
msgid "Maximum"
msgstr "Máximo"
msgid "Measure Both"
msgstr "Medir ambos"
msgid "Measure X"
msgstr "Medida X"
msgid "Measure Y"
msgstr "Medida Y"
msgid "Medium"
msgstr "Médio"
msgid "Menu"
msgstr "Menu"
msgid "Mesh calibrate"
msgstr "Calibrar malha"
msgid "Modified"
msgstr "Modificado"
msgid "Moonraker: connected"
msgstr "Moonraker: Conectado"
msgid "Move"
msgstr "Mover"
msgid "Move Distance (mm)"
msgstr "Distancia do movimento (mm)"
msgid "Name"
msgstr "Nome"
msgid "Network"
msgstr "Rede"
msgid "Never"
msgstr "Nunca"
msgid "New"
msgstr "Novo"
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
msgstr ""
"Não é compatível com detecção automática, precisa ser configurado no "
"klipperscreen.conf"
msgid "Nothing selected"
msgstr "Nada selecionado"
#, python-format
msgid "Outdated by %d"
msgstr "Desatualizado por %d"
msgid "PSK for"
msgstr "PSK por"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "O pacote será atualizado"
msgstr[1] "Os pacotes serão atualizados"
msgid "Part Fan"
msgstr "Fã de parte"
msgid "Password saved"
msgstr "Senha salva"
msgid "Pause"
msgstr "Pausar"
msgid "Paused"
msgstr "Pausado"
msgid "Perform a full upgrade?"
msgstr "Realizar uma atualização completa?"
msgid "Pins"
msgstr ""
msgid "Please recompile and flash the micro-controller."
msgstr "Por favor, recompile e atualize o microcontrolador."
msgid "Power"
msgstr "Ligue"
msgid "Power On Printer"
msgstr "Ligue a impressora"
msgid "Pressure Advance:"
msgstr "Avanço de pressão:"
msgid "Print"
msgstr "Impressão"
msgid "Print Control"
msgstr "Controle de impressão"
msgid "Print Time"
msgstr "Tempo de impressão"
msgid "Printer"
msgstr "Impressora"
msgid "Printer Connections"
msgstr "Conexões da impressora"
msgid "Printer Select"
msgstr "Selecione a impressora"
msgid "Printing"
msgstr "Imprimindo"
msgid "Probe Offset"
msgstr "Deslocamento da Sonda"
msgid "Profile Name:"
msgstr "Nome do perfil:"
msgid "Provide KlipperScreen.log when asking for help.\n"
msgstr ""
msgid "Quad Gantry Level"
msgstr "Nível do pórtico quádruplo"
msgid "Raise Nozzle"
msgstr "Elevar o bocal"
msgid "Recover"
msgstr "Recuperar"
msgid "Recover Hard"
msgstr "Recuperar Difícil"
msgid "Recover Soft"
msgstr "Recuperar Suave"
msgid "Reference"
msgstr "Referência"
msgid "Refresh"
msgstr "Atualizar"
msgid "Restart"
msgstr "Reiniciar"
msgid "Resume"
msgstr "Resumir"
msgid "Retract"
msgstr "Retrair"
msgid "Retraction"
msgstr "Retratação"
msgid "Retraction Length"
msgstr "Comprimento de retração"
msgid "Retraction Speed"
msgstr "Velocidade de retração"
msgid "Retry"
msgstr "Tentar novamente"
msgid "Retrying"
msgstr "Tentando novamente"
msgid "Save"
msgstr "Salvar"
msgid "Save Config"
msgstr "Salvar configuração"
msgid "Save Z"
msgstr "Salvar Z"
msgid "Save configuration?"
msgstr "Salvar configuração?"
msgid "Saved"
msgstr "Salvou"
#, python-format
msgid "Saved offset: %s"
msgstr "Deslocamento salvo: %s"
msgid "Screen DPMS"
msgstr "Tela DPMS"
msgid "Screen Power Off Time"
msgstr "Tempo de desligamento da tela"
msgid "Screws Adjust"
msgstr "Ajustes"
msgid "Select"
msgstr "Selecionar"
msgid "Send"
msgstr "Enviar"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "Enviando sinal de energia para: %s"
msgid "Set Temp"
msgstr "Definir temperatura"
msgid "Settings"
msgstr "Definições"
msgid "Show"
msgstr "Mostrar"
msgid "Show Heater Power"
msgstr "Mostrar Potência do Aquecedor"
msgid "Shutdown"
msgstr "Desligar"
msgid "Size"
msgstr "Tamanho"
msgid "Slicer"
msgstr "Fatiador"
msgid "Slicer Time correction (%)"
msgstr "Correção do tempo do fatiador (%)"
msgid "Slicer:"
msgstr ""
msgid "Small"
msgstr "Pequeno"
msgid "Speed (mm/s)"
msgstr "Velocidade (mm/s)"
msgid "Speed +"
msgstr "+ Velocidade"
msgid "Speed -"
msgstr "- Velocidade"
msgid "Speed:"
msgstr "Velocidade:"
msgid "Square Corner Velocity"
msgstr "Velocidade de canto quadrado"
msgid "Start"
msgstr "Começar"
msgid "Starting WiFi Association"
msgstr "Iniciando a associação WiFi"
msgid "Starting recovery for"
msgstr "Iniciando a recuperação para"
msgid "Starting update for"
msgstr "Iniciando atualização para"
msgid "System"
msgstr "Sistema"
msgid "System Restart"
msgstr "Reinicialização do sistema"
msgid "System Shutdown"
msgstr "Desligamento do sistema"
msgid "Temp (°C)"
msgstr "Temp (°C)"
msgid "Temperature"
msgstr "Temperatura"
msgid "Total:"
msgstr "Total:"
msgid "Unknown Heater"
msgstr "Aquecedor Desconhecido"
msgid "Unknown screw position"
msgstr "Posição desconhecida do parafuso"
msgid "Unload"
msgstr "Descarregar"
msgid "Unretract Extra Length"
msgstr ""
msgid "Unretract Speed"
msgstr ""
msgid "Up To Date"
msgstr "Atualizado"
msgid "Update"
msgstr "Atualizar"
msgid "Updating"
msgstr "Atualizando"
msgid "Uploaded"
msgstr "Carregado"
msgid "XY Move Speed (mm/s)"
msgstr "Velocidade de Movimento XY (mm/s)"
msgid "XY Speed (mm/s)"
msgstr "Velocidade XY (mm/s)"
msgid "Z Calibrate"
msgstr "Calibrar Z"
msgid "Z Move Speed (mm/s)"
msgstr "Velocidade de Movimento Z (mm/s)"
msgid "Z Speed (mm/s)"
msgstr "Velocidade Z (mm/s)"
msgid "Z Tilt"
msgstr "Inclinação Z"
msgid "Z offset:"
msgstr "Deslocamento Z:"
msgid "commit"
msgid_plural "commits"
msgstr[0] "comprometer-se"
msgstr[1] "compromete"
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "hora"
msgstr[1] "horas"
msgid "minutes"
msgstr "minutos"
msgid "mm"
msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s²"
msgstr "mm/s²"
msgid "mm³/s"
msgstr ""
#~ msgid "Sort:"
#~ msgstr "Ordenar:"
#~ msgid "Calibrating..."
#~ msgstr "Calibrando..."
Binary file not shown.
@@ -6,22 +6,22 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: KlipperScreen\n" "Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-08-10 12:01-0300\n" "POT-Creation-Date: 2023-01-29 09:28-0600\n"
"PO-Revision-Date: 2022-06-03 20:25-0500\n" "PO-Revision-Date: 2022-11-30 18:15-0300\n"
"Last-Translator: Jakob Kais <schpuntik@freenet.de>\n" "Last-Translator: Jakob Kais <schpuntik@freenet.de>\n"
"Language-Team: \n" "Language-Team: \n"
"Language: ru_RU\n" "Language: ru\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n" "%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
"X-Generator: Poedit 3.0.1\n" "X-Generator: Poedit 3.2.1\n"
"X-Poedit-Flags-xgettext: --add-comments\n" "X-Poedit-Flags-xgettext: --add-comments\n"
#, python-format #, python-format
msgid "%s will be updated to version" msgid "%s will be updated to version"
msgstr "% s будет обновлен до версии" msgstr "%s будет обновлен до версии"
msgid "(default)" msgid "(default)"
msgstr "(дефолт)" msgstr "(дефолт)"
@@ -30,7 +30,7 @@ msgid "24 Hour Time"
msgstr "24-часовой формат" msgstr "24-часовой формат"
msgid "A FIRMWARE_RESTART may fix the issue." msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "FIRMWARE_RESTART может решить проблему." msgstr "Выполните перезагрузку прошивки, чтобы попытаться исправить проблему."
msgid "ADXL Not Configured" msgid "ADXL Not Configured"
msgstr "ADXL не настроен" msgstr "ADXL не настроен"
@@ -47,11 +47,8 @@ msgstr "Применить"
msgid "Actions" msgid "Actions"
msgstr "Действия" msgstr "Действия"
msgid "Add Printer"
msgstr "Добавить принтер"
msgid "Add profile" msgid "Add profile"
msgstr "" msgstr "Добавить профиль"
msgid "Apply" msgid "Apply"
msgstr "Применить" msgstr "Применить"
@@ -64,6 +61,9 @@ msgstr "Применить смещение %.2f к Endstop?"
msgid "Apply %s%.2f offset to Probe?" msgid "Apply %s%.2f offset to Probe?"
msgstr "Применить смещение %s%.2f к зонду?" msgstr "Применить смещение %s%.2f к зонду?"
msgid "Are you sure do you want to exclude the object?"
msgstr "Вы уверены, что хотите исключить объект?"
msgid "Are you sure you want to run Emergency Stop?" msgid "Are you sure you want to run Emergency Stop?"
msgstr "Вы уверены, что хотите запустить аварийную остановку?" msgstr "Вы уверены, что хотите запустить аварийную остановку?"
@@ -86,10 +86,10 @@ msgid "Auto-calibrate"
msgstr "Автоматическая калибровка" msgstr "Автоматическая калибровка"
msgid "Auto-close notifications" msgid "Auto-close notifications"
msgstr "" msgstr "Автоматическое закрытие уведомлений"
msgid "Auto-scroll" msgid "Auto-scroll"
msgstr "Автопрокрутка" msgstr "Автоматическая прокрутка"
msgid "Bed Level" msgid "Bed Level"
msgstr "Уровень стола" msgstr "Уровень стола"
@@ -98,7 +98,7 @@ msgid "Bed Mesh"
msgstr "Сетка стола" msgstr "Сетка стола"
msgid "Bed screw configuration:" msgid "Bed screw configuration:"
msgstr "" msgstr "Конфигурация винтов кровати:"
msgid "Calibrate" msgid "Calibrate"
msgstr "Калибровка" msgstr "Калибровка"
@@ -112,8 +112,8 @@ msgstr "Откалибровано, сохраните конфигурацию,
msgid "Calibrating" msgid "Calibrating"
msgstr "Калибровка" msgstr "Калибровка"
msgid "Calibrating..." msgid "Camera"
msgstr "Калибровка..." msgstr ""
msgid "Can't set above the maximum:" msgid "Can't set above the maximum:"
msgstr "Невозможно установить выше максимума:" msgstr "Невозможно установить выше максимума:"
@@ -131,7 +131,7 @@ msgid "Cancelling"
msgstr "Отменить" msgstr "Отменить"
msgid "Cannot connect to Moonraker" msgid "Cannot connect to Moonraker"
msgstr "Не могу подключиться к Moonraker" msgstr "Не удается подключиться к Moonraker"
msgid "Channel" msgid "Channel"
msgstr "Канал" msgstr "Канал"
@@ -140,7 +140,7 @@ msgid "Check ADXL Wiring"
msgstr "Проверьте проводку ADXL" msgstr "Проверьте проводку ADXL"
msgid "Checking for updates, please wait..." msgid "Checking for updates, please wait..."
msgstr "" msgstr "Проверка обновлений, подождите..."
msgid "Clear" msgid "Clear"
msgstr "Очистить" msgstr "Очистить"
@@ -176,14 +176,11 @@ msgstr "Остудить"
msgid "Date" msgid "Date"
msgstr "Дата" msgstr "Дата"
msgid "Decrease" msgid "Delete Directory?"
msgstr "Уменьшить" msgstr ""
msgid "Delete"
msgstr "Удалить"
msgid "Delete File?" msgid "Delete File?"
msgstr "" msgstr "Удалить Файл?"
msgid "Deselect" msgid "Deselect"
msgstr "Отменить выбор" msgstr "Отменить выбор"
@@ -199,7 +196,7 @@ msgstr "Расстояние (mm)"
#, python-format #, python-format
msgid "Do you want to recover %s?" msgid "Do you want to recover %s?"
msgstr "Вы хотите восстановить% s?" msgstr "Вы хотите восстановить%s?"
msgid "Elapsed:" msgid "Elapsed:"
msgstr "Прошло:" msgstr "Прошло:"
@@ -210,6 +207,12 @@ msgstr "Ошибка"
msgid "Estimated Time Method" msgid "Estimated Time Method"
msgstr "Расчётное время" msgstr "Расчётное время"
msgid "Exclude Object"
msgstr "Исключить Объект"
msgid "Extra Large"
msgstr "Очень большой"
msgid "Extrude" msgid "Extrude"
msgstr "Заправить" msgstr "Заправить"
@@ -253,7 +256,7 @@ msgid "Finish"
msgstr "Конец" msgstr "Конец"
msgid "Firmware Restart" msgid "Firmware Restart"
msgstr "Прошивка Рестарт" msgstr "Перезапуск прошивки"
msgid "Flow:" msgid "Flow:"
msgstr "Поток:" msgstr "Поток:"
@@ -267,6 +270,9 @@ msgstr "Размер шрифта"
msgid "Full Update" msgid "Full Update"
msgstr "Полный Обновлять" msgstr "Полный Обновлять"
msgid "Fullscreen"
msgstr ""
msgid "Go Back" msgid "Go Back"
msgstr "Назад" msgstr "Назад"
@@ -285,9 +291,6 @@ msgstr "Скрыть датчики в Temp."
msgid "Hide temp." msgid "Hide temp."
msgstr "Скрыть температуру." msgstr "Скрыть температуру."
msgid "Home"
msgstr "Парковка"
msgid "Home All" msgid "Home All"
msgstr "Парковать все" msgstr "Парковать все"
@@ -306,18 +309,15 @@ msgstr "Парковать Z"
msgid "Homing" msgid "Homing"
msgstr "Парковка" msgstr "Парковка"
msgid "Host"
msgstr "Хост"
msgid "Hostname" msgid "Hostname"
msgstr "Имя хоста" msgstr "Имя хоста"
msgid "Icon Theme" msgid "Icon Theme"
msgstr "Темы" msgstr "Темы"
msgid "Increase"
msgstr "Поднять"
msgid "Initializing"
msgstr "Запуск"
msgid "Initializing printer..." msgid "Initializing printer..."
msgstr "Принтер стартует..." msgstr "Принтер стартует..."
@@ -330,6 +330,9 @@ msgstr "Интерфейс"
msgid "Invalid" msgid "Invalid"
msgstr "Неверный" msgstr "Неверный"
msgid "Invalid password"
msgstr ""
msgid "Invert X" msgid "Invert X"
msgstr "Инверсия X" msgstr "Инверсия X"
@@ -357,6 +360,9 @@ msgstr "Klipper готов"
msgid "Klipper will reboot" msgid "Klipper will reboot"
msgstr "Klipper перезагружается" msgstr "Klipper перезагружается"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen перезагружается"
msgid "Language" msgid "Language"
msgstr "Язык" msgstr "Язык"
@@ -388,7 +394,7 @@ msgid "Main Menu"
msgstr "Главное меню" msgstr "Главное меню"
msgid "Max" msgid "Max"
msgstr "" msgstr "Максимум"
msgid "Max Acceleration" msgid "Max Acceleration"
msgstr "Максимальное ускорение" msgstr "Максимальное ускорение"
@@ -399,6 +405,9 @@ msgstr "Ускорения торможения"
msgid "Max Velocity" msgid "Max Velocity"
msgstr "Скорость" msgstr "Скорость"
msgid "Maximum"
msgstr "Максимум"
msgid "Measure Both" msgid "Measure Both"
msgstr "Измерьте и то, и другое" msgstr "Измерьте и то, и другое"
@@ -409,16 +418,19 @@ msgid "Measure Y"
msgstr "Измерьте Y" msgstr "Измерьте Y"
msgid "Medium" msgid "Medium"
msgstr "Среднее" msgstr "Средний"
msgid "Menu" msgid "Menu"
msgstr "Меню" msgstr "Меню"
msgid "Mesh calibrate"
msgstr "Калибровка сетки"
msgid "Modified" msgid "Modified"
msgstr "Изменено" msgstr "Изменено"
msgid "Moonraker: connected" msgid "Moonraker: connected"
msgstr "Мунрейкер: подключен" msgstr "Moonraker: подключен"
msgid "Move" msgid "Move"
msgstr "Двигать" msgstr "Двигать"
@@ -432,6 +444,9 @@ msgstr "Имя"
msgid "Network" msgid "Network"
msgstr "Сеть" msgstr "Сеть"
msgid "Never"
msgstr "Никогда"
msgid "New" msgid "New"
msgstr "Новый" msgstr "Новый"
@@ -439,13 +454,12 @@ msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen." "Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf" "conf"
msgstr "" msgstr ""
"Не поддерживается для автоматического обнаружения, его необходимо настроить "
"в klipperscreen.conf"
msgid "Nothing selected" msgid "Nothing selected"
msgstr "Ничего не выбрано" msgstr "Ничего не выбрано"
msgid "Off"
msgstr "Выкл"
#, python-format #, python-format
msgid "Outdated by %d" msgid "Outdated by %d"
msgstr "Устарело на %d" msgstr "Устарело на %d"
@@ -460,7 +474,7 @@ msgstr[1] "Пакеты будут обновляться"
msgstr[2] "Пакеты будут обновляться" msgstr[2] "Пакеты будут обновляться"
msgid "Part Fan" msgid "Part Fan"
msgstr "" msgstr "Частичный вентилятор"
msgid "Password saved" msgid "Password saved"
msgstr "Пароль сохранен" msgstr "Пароль сохранен"
@@ -475,10 +489,10 @@ msgid "Perform a full upgrade?"
msgstr "Выполнить полное обновление?" msgstr "Выполнить полное обновление?"
msgid "Pins" msgid "Pins"
msgstr "" msgstr "Пины"
msgid "Please recompile and flash the micro-controller." msgid "Please recompile and flash the micro-controller."
msgstr "Пожалуйста, перекомпилируйте и прошейте микроконтроллер." msgstr "Прошейте заново микроконтроллер."
msgid "Power" msgid "Power"
msgstr "Включено" msgstr "Включено"
@@ -498,9 +512,15 @@ msgstr "Управление печатью"
msgid "Print Time" msgid "Print Time"
msgstr "Время печати" msgstr "Время печати"
msgid "Printer"
msgstr "Принтер"
msgid "Printer Connections" msgid "Printer Connections"
msgstr "Подключение принтера" msgstr "Подключение принтера"
msgid "Printer Select"
msgstr "Выбор принтера"
msgid "Printing" msgid "Printing"
msgstr "Печатается" msgstr "Печатается"
@@ -510,12 +530,18 @@ msgstr "Смещение зонда"
msgid "Profile Name:" msgid "Profile Name:"
msgstr "Имя профиля:" msgstr "Имя профиля:"
msgid "Provide KlipperScreen.log when asking for help.\n"
msgstr ""
msgid "Quad Gantry Level" msgid "Quad Gantry Level"
msgstr "Уровень Quad Gantry" msgstr "Уровень Quad Gantry"
msgid "Raise Nozzle" msgid "Raise Nozzle"
msgstr "Поднять сопло" msgstr "Поднять сопло"
msgid "Recover"
msgstr "Восстановить"
msgid "Recover Hard" msgid "Recover Hard"
msgstr "Восстановить Hard" msgstr "Восстановить Hard"
@@ -526,6 +552,9 @@ msgid "Reference"
msgstr "Ссылка" msgstr "Ссылка"
msgid "Refresh" msgid "Refresh"
msgstr "Обновить"
msgid "Rename/Move:"
msgstr "" msgstr ""
msgid "Restart" msgid "Restart"
@@ -546,12 +575,11 @@ msgstr "Длина ретракта"
msgid "Retraction Speed" msgid "Retraction Speed"
msgstr "Скорость ретракта" msgstr "Скорость ретракта"
#, python-format msgid "Retry"
msgid "Retry #%s" msgstr "Повторить попытку"
msgstr "Повторить #%s"
msgid "Retrying" msgid "Retrying"
msgstr "" msgstr "Повторная попытка"
msgid "Save" msgid "Save"
msgstr "Сохранить" msgstr "Сохранить"
@@ -585,11 +613,7 @@ msgid "Select"
msgstr "Выбирать" msgstr "Выбирать"
msgid "Send" msgid "Send"
msgstr "Отправлять" msgstr "Отправить"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "Отправка сигнала включения питания на: %s"
msgid "Set Temp" msgid "Set Temp"
msgstr "Заданная температура" msgstr "Заданная температура"
@@ -600,6 +624,12 @@ msgstr "Настройки"
msgid "Show" msgid "Show"
msgstr "Показывать" msgstr "Показывать"
msgid "Show Heater Power"
msgstr "Показать мощность нагрева"
msgid "Shutdown"
msgstr "Выключить"
msgid "Size" msgid "Size"
msgstr "Размер" msgstr "Размер"
@@ -607,20 +637,14 @@ msgid "Slicer"
msgstr "Слайсер" msgstr "Слайсер"
msgid "Slicer Time correction (%)" msgid "Slicer Time correction (%)"
msgstr "Коррекция времени слайсера (%)" msgstr "Коррекция времени Слайсер (%)"
msgid "Slicer:" msgid "Slicer:"
msgstr "" msgstr "Слайсер:"
msgid "Small" msgid "Small"
msgstr "Маленький" msgstr "Маленький"
msgid "Sort by: "
msgstr "Орден: "
msgid "Sort:"
msgstr "Сортировать:"
msgid "Speed (mm/s)" msgid "Speed (mm/s)"
msgstr "Скорость (мм/с)" msgstr "Скорость (мм/с)"
@@ -631,7 +655,7 @@ msgid "Speed -"
msgstr "Скорость -" msgstr "Скорость -"
msgid "Speed:" msgid "Speed:"
msgstr "" msgstr "Скорость:"
msgid "Square Corner Velocity" msgid "Square Corner Velocity"
msgstr "Квадратная угловая скорость" msgstr "Квадратная угловая скорость"
@@ -663,27 +687,23 @@ msgstr "Темп (°С)"
msgid "Temperature" msgid "Temperature"
msgstr "Tемпература" msgstr "Tемпература"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "Чтобы применить %s необходимо перезапустить KlipperScreen"
msgid "Total:" msgid "Total:"
msgstr "Всего:" msgstr "Итого:"
msgid "Unknown Heater" msgid "Unknown Heater"
msgstr "Неизвестный обогреватель" msgstr "Неизвестный обогреватель"
msgid "Unknown screw position" msgid "Unknown screw position"
msgstr "" msgstr "Неизвестное положение винта"
msgid "Unload" msgid "Unload"
msgstr "Загружено" msgstr "Загружено"
msgid "Unretract Extra Length" msgid "Unretract Extra Length"
msgstr "" msgstr "Дополнительная длина подачи перед возобновлением печати"
msgid "Unretract Speed" msgid "Unretract Speed"
msgstr "" msgstr "Скорость дополнительная подачи"
msgid "Up To Date" msgid "Up To Date"
msgstr "Обновлено" msgstr "Обновлено"
@@ -695,28 +715,13 @@ msgid "Updating"
msgstr "Обновление" msgstr "Обновление"
msgid "Uploaded" msgid "Uploaded"
msgstr "Дата" msgstr "Загружено"
msgid "View Mesh"
msgstr "Смотреть сетку"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)" msgid "XY Move Speed (mm/s)"
msgstr "Скорость перемещения по осям XY (мм/с)" msgstr "Скорость перемещения по осям XY (мм/с)"
msgid "XY Speed (mm/s)" msgid "XY Speed (mm/s)"
msgstr "" msgstr "Скорость по осям XY (мм/с)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate" msgid "Z Calibrate"
msgstr "Калибр. Z" msgstr "Калибр. Z"
@@ -725,19 +730,13 @@ msgid "Z Move Speed (mm/s)"
msgstr "Скорость перемещения по оси Z (мм/с)" msgstr "Скорость перемещения по оси Z (мм/с)"
msgid "Z Speed (mm/s)" msgid "Z Speed (mm/s)"
msgstr "" msgstr "Скорость оси Z (мм/с)"
msgid "Z Tilt" msgid "Z Tilt"
msgstr "Z Наклон" msgstr "Z Наклон"
msgid "Z offset:" msgid "Z offset:"
msgstr "" msgstr "Смещение Z:"
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit" msgid "commit"
msgid_plural "commits" msgid_plural "commits"
@@ -766,6 +765,68 @@ msgstr "мм/с"
msgid "mm/s²" msgid "mm/s²"
msgstr "мм/с²" msgstr "мм/с²"
msgid "mm³/s"
msgstr "мм/с³"
#~ msgid "Decrease"
#~ msgstr "Уменьшить"
#~ msgid "Increase"
#~ msgstr "Поднять"
#, python-format
#~ msgid "Sending Power ON signal to: %s"
#~ msgstr "Отправка сигнала включения питания на: %s"
#~ msgid "Sort:"
#~ msgstr "Сортировать:"
#~ msgid "Calibrating..."
#~ msgstr "Калибровка..."
#~ msgid "Z+"
#~ msgstr "Z+"
#~ msgid "Z-"
#~ msgstr "Z-"
#~ msgid "X+"
#~ msgstr "X+"
#~ msgid "X-"
#~ msgstr "X-"
#~ msgid "Y+"
#~ msgstr "Y+"
#~ msgid "Y-"
#~ msgstr "Y-"
#~ msgid "Add Printer"
#~ msgstr "Добавить принтер"
#~ msgid "Initializing"
#~ msgstr "Запуск"
#, python-format
#~ msgid "Retry #%s"
#~ msgstr "Повторная попытка #%s"
#~ msgid "Delete"
#~ msgstr "Удалить"
#~ msgid "Home"
#~ msgstr "Парковка"
#~ msgid "Off"
#~ msgstr "Выкл"
#~ msgid "View Mesh"
#~ msgstr "Смотреть сетку"
#~ msgid "Sort by: "
#~ msgstr "Орден: "
#~ msgid "Bltouch found applied offset" #~ msgid "Bltouch found applied offset"
#~ msgstr "Bltouch обнаружил примененное смещение" #~ msgstr "Bltouch обнаружил примененное смещение"
@@ -794,9 +855,6 @@ msgstr "мм/с²"
#~ msgid "IPv6" #~ msgid "IPv6"
#~ msgstr "IPv6" #~ msgstr "IPv6"
#~ msgid "Unknown Heater "
#~ msgstr "Неизвестный обогреватель "
#~ msgid "Disconnect" #~ msgid "Disconnect"
#~ msgstr "Отключить" #~ msgstr "Отключить"
Binary file not shown.
@@ -7,16 +7,16 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-08-10 12:01-0300\n" "POT-Creation-Date: 2022-11-30 18:17-0300\n"
"PO-Revision-Date: 2022-04-15 17:25+0200\n" "PO-Revision-Date: 2022-11-21 21:31-0300\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: sv_SE\n" "Language: sv\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.0.1\n" "X-Generator: Poedit 3.2.1\n"
#, python-format #, python-format
msgid "%s will be updated to version" msgid "%s will be updated to version"
@@ -46,9 +46,6 @@ msgstr "Godkänn"
msgid "Actions" msgid "Actions"
msgstr "Åtgärder" msgstr "Åtgärder"
msgid "Add Printer"
msgstr "Lägg till skrivare"
msgid "Add profile" msgid "Add profile"
msgstr "" msgstr ""
@@ -63,6 +60,9 @@ msgstr ""
msgid "Apply %s%.2f offset to Probe?" msgid "Apply %s%.2f offset to Probe?"
msgstr "" msgstr ""
msgid "Are you sure do you want to exclude the object?"
msgstr ""
msgid "Are you sure you want to run Emergency Stop?" msgid "Are you sure you want to run Emergency Stop?"
msgstr "Är du säker på att du vill köra Nödstopp?" msgstr "Är du säker på att du vill köra Nödstopp?"
@@ -111,9 +111,6 @@ msgstr "Kalibrerad, spara konfiguration för att göra den permanent"
msgid "Calibrating" msgid "Calibrating"
msgstr "" msgstr ""
msgid "Calibrating..."
msgstr ""
msgid "Can't set above the maximum:" msgid "Can't set above the maximum:"
msgstr "Kan inte ställa in över maxgränsen:" msgstr "Kan inte ställa in över maxgränsen:"
@@ -178,9 +175,6 @@ msgstr "Datum"
msgid "Decrease" msgid "Decrease"
msgstr "Minska" msgstr "Minska"
msgid "Delete"
msgstr "Radera"
msgid "Delete File?" msgid "Delete File?"
msgstr "" msgstr ""
@@ -209,6 +203,12 @@ msgstr "Fel"
msgid "Estimated Time Method" msgid "Estimated Time Method"
msgstr "" msgstr ""
msgid "Exclude Object"
msgstr ""
msgid "Extra Large"
msgstr ""
msgid "Extrude" msgid "Extrude"
msgstr "Extrudera" msgstr "Extrudera"
@@ -284,9 +284,6 @@ msgstr "Dölj sensorer i Temp."
msgid "Hide temp." msgid "Hide temp."
msgstr "" msgstr ""
msgid "Home"
msgstr "Hem"
msgid "Home All" msgid "Home All"
msgstr "Hem Alla" msgstr "Hem Alla"
@@ -305,6 +302,9 @@ msgstr "Hem Z"
msgid "Homing" msgid "Homing"
msgstr "" msgstr ""
msgid "Host"
msgstr ""
msgid "Hostname" msgid "Hostname"
msgstr "Värdnamn" msgstr "Värdnamn"
@@ -314,9 +314,6 @@ msgstr "Ikon tema"
msgid "Increase" msgid "Increase"
msgstr "Öka" msgstr "Öka"
msgid "Initializing"
msgstr "Initierar"
msgid "Initializing printer..." msgid "Initializing printer..."
msgstr "Initierar skrivaren..." msgstr "Initierar skrivaren..."
@@ -329,6 +326,9 @@ msgstr "Gränssnitt"
msgid "Invalid" msgid "Invalid"
msgstr "Ogiltig" msgstr "Ogiltig"
msgid "Invalid password"
msgstr ""
msgid "Invert X" msgid "Invert X"
msgstr "Invertera X" msgstr "Invertera X"
@@ -356,6 +356,9 @@ msgstr "Klipper försöker starta"
msgid "Klipper will reboot" msgid "Klipper will reboot"
msgstr "Klipper kommer att starta om" msgstr "Klipper kommer att starta om"
msgid "KlipperScreen will reboot"
msgstr ""
msgid "Language" msgid "Language"
msgstr "Språk" msgstr "Språk"
@@ -398,6 +401,9 @@ msgstr ""
msgid "Max Velocity" msgid "Max Velocity"
msgstr "" msgstr ""
msgid "Maximum"
msgstr ""
msgid "Measure Both" msgid "Measure Both"
msgstr "" msgstr ""
@@ -413,6 +419,9 @@ msgstr "Medium"
msgid "Menu" msgid "Menu"
msgstr "Meny" msgstr "Meny"
msgid "Mesh calibrate"
msgstr ""
msgid "Modified" msgid "Modified"
msgstr "Ändrad" msgstr "Ändrad"
@@ -431,6 +440,9 @@ msgstr "Namn"
msgid "Network" msgid "Network"
msgstr "Nätverk" msgstr "Nätverk"
msgid "Never"
msgstr ""
msgid "New" msgid "New"
msgstr "" msgstr ""
@@ -442,9 +454,6 @@ msgstr ""
msgid "Nothing selected" msgid "Nothing selected"
msgstr "Inget valt" msgstr "Inget valt"
msgid "Off"
msgstr "Avstängd"
#, python-format #, python-format
msgid "Outdated by %d" msgid "Outdated by %d"
msgstr "" msgstr ""
@@ -496,9 +505,15 @@ msgstr "Utskriftskontroll"
msgid "Print Time" msgid "Print Time"
msgstr "" msgstr ""
msgid "Printer"
msgstr ""
msgid "Printer Connections" msgid "Printer Connections"
msgstr "" msgstr ""
msgid "Printer Select"
msgstr ""
msgid "Printing" msgid "Printing"
msgstr "Skriver ut" msgstr "Skriver ut"
@@ -508,12 +523,18 @@ msgstr ""
msgid "Profile Name:" msgid "Profile Name:"
msgstr "Profilens namn:" msgstr "Profilens namn:"
msgid "Provide KlipperScreen.log when asking for help.\n"
msgstr ""
msgid "Quad Gantry Level" msgid "Quad Gantry Level"
msgstr "" msgstr ""
msgid "Raise Nozzle" msgid "Raise Nozzle"
msgstr "" msgstr ""
msgid "Recover"
msgstr ""
msgid "Recover Hard" msgid "Recover Hard"
msgstr "" msgstr ""
@@ -544,8 +565,7 @@ msgstr ""
msgid "Retraction Speed" msgid "Retraction Speed"
msgstr "" msgstr ""
#, python-format msgid "Retry"
msgid "Retry #%s"
msgstr "" msgstr ""
msgid "Retrying" msgid "Retrying"
@@ -598,6 +618,12 @@ msgstr "Inställningar"
msgid "Show" msgid "Show"
msgstr "Visa" msgstr "Visa"
msgid "Show Heater Power"
msgstr ""
msgid "Shutdown"
msgstr ""
msgid "Size" msgid "Size"
msgstr "Storlek" msgstr "Storlek"
@@ -613,12 +639,6 @@ msgstr ""
msgid "Small" msgid "Small"
msgstr "Liten" msgstr "Liten"
msgid "Sort by: "
msgstr "Sortera efter: "
msgid "Sort:"
msgstr ""
msgid "Speed (mm/s)" msgid "Speed (mm/s)"
msgstr "Hastighet (mm/s)" msgstr "Hastighet (mm/s)"
@@ -661,10 +681,6 @@ msgstr "Temperatur (°C)"
msgid "Temperature" msgid "Temperature"
msgstr "Temperatur" msgstr "Temperatur"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "För att tillämpa %s måste KlipperScreen startas om"
msgid "Total:" msgid "Total:"
msgstr "" msgstr ""
@@ -695,27 +711,12 @@ msgstr "Uppdaterar"
msgid "Uploaded" msgid "Uploaded"
msgstr "Uppladdad" msgstr "Uppladdad"
msgid "View Mesh"
msgstr ""
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)" msgid "XY Move Speed (mm/s)"
msgstr "XY rörelsehastighet (mm/s)" msgstr "XY rörelsehastighet (mm/s)"
msgid "XY Speed (mm/s)" msgid "XY Speed (mm/s)"
msgstr "" msgstr ""
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate" msgid "Z Calibrate"
msgstr "Z Kalibrering" msgstr "Z Kalibrering"
@@ -731,12 +732,6 @@ msgstr ""
msgid "Z offset:" msgid "Z offset:"
msgstr "" msgstr ""
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit" msgid "commit"
msgid_plural "commits" msgid_plural "commits"
msgstr[0] "" msgstr[0] ""
@@ -762,6 +757,45 @@ msgstr "mm/s"
msgid "mm/s²" msgid "mm/s²"
msgstr "mm/s²" msgstr "mm/s²"
msgid "mm³/s"
msgstr ""
#~ msgid "Z+"
#~ msgstr "Z+"
#~ msgid "Z-"
#~ msgstr "Z-"
#~ msgid "X+"
#~ msgstr "X+"
#~ msgid "X-"
#~ msgstr "X-"
#~ msgid "Y+"
#~ msgstr "Y+"
#~ msgid "Y-"
#~ msgstr "Y-"
#~ msgid "Add Printer"
#~ msgstr "Lägg till skrivare"
#~ msgid "Initializing"
#~ msgstr "Initierar"
#~ msgid "Delete"
#~ msgstr "Radera"
#~ msgid "Home"
#~ msgstr "Hem"
#~ msgid "Off"
#~ msgstr "Avstängd"
#~ msgid "Sort by: "
#~ msgstr "Sortera efter: "
#~ msgid "Bltouch found applied offset" #~ msgid "Bltouch found applied offset"
#~ msgstr "Bltouch hittade tillämpad offset" #~ msgstr "Bltouch hittade tillämpad offset"
Binary file not shown.
@@ -7,16 +7,16 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-08-10 12:01-0300\n" "POT-Creation-Date: 2022-11-30 18:17-0300\n"
"PO-Revision-Date: 2022-08-10 21:10+0300\n" "PO-Revision-Date: 2022-12-10 14:52+0300\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: tr_TR\n" "Language: tr\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.0.1\n" "X-Generator: Poedit 3.2\n"
#, python-format #, python-format
msgid "%s will be updated to version" msgid "%s will be updated to version"
@@ -46,9 +46,6 @@ msgstr "Kabul et"
msgid "Actions" msgid "Actions"
msgstr "Eylemler" msgstr "Eylemler"
msgid "Add Printer"
msgstr "Yazıcı Ekle"
msgid "Add profile" msgid "Add profile"
msgstr "Profil ekle" msgstr "Profil ekle"
@@ -63,6 +60,9 @@ msgstr "Sonlandırıcı için %.2f ofset uygula?"
msgid "Apply %s%.2f offset to Probe?" msgid "Apply %s%.2f offset to Probe?"
msgstr "Prob için %s%.2f ofset uygula?" msgstr "Prob için %s%.2f ofset uygula?"
msgid "Are you sure do you want to exclude the object?"
msgstr "Nesneyi hariç tutmak istediğinizden emin misiniz?"
msgid "Are you sure you want to run Emergency Stop?" msgid "Are you sure you want to run Emergency Stop?"
msgstr "Acil Durdurma'yı çalıştırmak istediğinizden emin misiniz?" msgstr "Acil Durdurma'yı çalıştırmak istediğinizden emin misiniz?"
@@ -111,9 +111,6 @@ msgstr "Kalibre edildi, kalıcı hale getirmek için yapılandırmayı kaydedin"
msgid "Calibrating" msgid "Calibrating"
msgstr "Kalibre Ediliyor" msgstr "Kalibre Ediliyor"
msgid "Calibrating..."
msgstr "Kalibre Ediliyor..."
msgid "Can't set above the maximum:" msgid "Can't set above the maximum:"
msgstr "Maksimumun üzerine ayarlanamaz:" msgstr "Maksimumun üzerine ayarlanamaz:"
@@ -178,9 +175,6 @@ msgstr "Tarih"
msgid "Decrease" msgid "Decrease"
msgstr "Azalt" msgstr "Azalt"
msgid "Delete"
msgstr "Sil"
msgid "Delete File?" msgid "Delete File?"
msgstr "Dosyayı Sil?" msgstr "Dosyayı Sil?"
@@ -209,6 +203,12 @@ msgstr "Hata"
msgid "Estimated Time Method" msgid "Estimated Time Method"
msgstr "Tahmini Zaman Metodu" msgstr "Tahmini Zaman Metodu"
msgid "Exclude Object"
msgstr "Nesneyi Hariç Tut"
msgid "Extra Large"
msgstr "Çok Büyük"
msgid "Extrude" msgid "Extrude"
msgstr "Ekstrüzyon" msgstr "Ekstrüzyon"
@@ -284,9 +284,6 @@ msgstr "Sıcaklıktaki sensörleri gizleyin."
msgid "Hide temp." msgid "Hide temp."
msgstr "Sıcaklığı gizle." msgstr "Sıcaklığı gizle."
msgid "Home"
msgstr "Ana Ekran"
msgid "Home All" msgid "Home All"
msgstr "Eksenleri Sıfırla" msgstr "Eksenleri Sıfırla"
@@ -305,6 +302,9 @@ msgstr "Z Sıfırla"
msgid "Homing" msgid "Homing"
msgstr "Eksen Sıfırlama" msgstr "Eksen Sıfırlama"
msgid "Host"
msgstr "Sunucu"
msgid "Hostname" msgid "Hostname"
msgstr "Ana bilgisayar adı" msgstr "Ana bilgisayar adı"
@@ -314,9 +314,6 @@ msgstr "Simge Teması"
msgid "Increase" msgid "Increase"
msgstr "Artır" msgstr "Artır"
msgid "Initializing"
msgstr "Başlatılıyor"
msgid "Initializing printer..." msgid "Initializing printer..."
msgstr "Yazıcı başlatılıyor..." msgstr "Yazıcı başlatılıyor..."
@@ -329,6 +326,9 @@ msgstr "Arayüz"
msgid "Invalid" msgid "Invalid"
msgstr "Geçersiz" msgstr "Geçersiz"
msgid "Invalid password"
msgstr "Geçersiz şifre"
msgid "Invert X" msgid "Invert X"
msgstr "X Ters çevir" msgstr "X Ters çevir"
@@ -356,6 +356,9 @@ msgstr "Klipper başlatılmaya çalışılıyor"
msgid "Klipper will reboot" msgid "Klipper will reboot"
msgstr "Klipper yeniden başlayacak" msgstr "Klipper yeniden başlayacak"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen yeniden başlayacak"
msgid "Language" msgid "Language"
msgstr "Dil" msgstr "Dil"
@@ -398,6 +401,9 @@ msgstr "Maksimum Hızlanma ve Yavaşlama"
msgid "Max Velocity" msgid "Max Velocity"
msgstr "Maksimum Hız" msgstr "Maksimum Hız"
msgid "Maximum"
msgstr "Maksimum"
msgid "Measure Both" msgid "Measure Both"
msgstr "İkisini de ölçüle" msgstr "İkisini de ölçüle"
@@ -413,6 +419,9 @@ msgstr "Orta"
msgid "Menu" msgid "Menu"
msgstr "Menü" msgstr "Menü"
msgid "Mesh calibrate"
msgstr "Mesh Kalibre et"
msgid "Modified" msgid "Modified"
msgstr "Değiştirilmiş" msgstr "Değiştirilmiş"
@@ -431,6 +440,9 @@ msgstr "İsim"
msgid "Network" msgid "Network"
msgstr "Ağ" msgstr "Ağ"
msgid "Never"
msgstr "Asla"
msgid "New" msgid "New"
msgstr "Yeni" msgstr "Yeni"
@@ -444,9 +456,6 @@ msgstr ""
msgid "Nothing selected" msgid "Nothing selected"
msgstr "Hiçbir şey seçilmedi" msgstr "Hiçbir şey seçilmedi"
msgid "Off"
msgstr "Kapa"
#, python-format #, python-format
msgid "Outdated by %d" msgid "Outdated by %d"
msgstr "Güncelliğini yitiren %d" msgstr "Güncelliğini yitiren %d"
@@ -498,9 +507,15 @@ msgstr "Yazdırma Kontrolü"
msgid "Print Time" msgid "Print Time"
msgstr "Yazdırma Süresi" msgstr "Yazdırma Süresi"
msgid "Printer"
msgstr "Yazıcı"
msgid "Printer Connections" msgid "Printer Connections"
msgstr "Yazıcı Bağlantıları" msgstr "Yazıcı Bağlantıları"
msgid "Printer Select"
msgstr "Yazıcı Seçimi"
msgid "Printing" msgid "Printing"
msgstr "Yazdırılıyor" msgstr "Yazdırılıyor"
@@ -510,12 +525,18 @@ msgstr "Prob ofseti"
msgid "Profile Name:" msgid "Profile Name:"
msgstr "Profil ismi:" msgstr "Profil ismi:"
msgid "Provide KlipperScreen.log when asking for help.\n"
msgstr "Yardım isterken KlipperScreen.log dosyasını sağlayın.\n"
msgid "Quad Gantry Level" msgid "Quad Gantry Level"
msgstr "Dörtlü Köprü Seviyesi" msgstr "Dörtlü Köprü Seviyesi"
msgid "Raise Nozzle" msgid "Raise Nozzle"
msgstr "Nozzle yükselt" msgstr "Nozzle yükselt"
msgid "Recover"
msgstr "Kurtar"
msgid "Recover Hard" msgid "Recover Hard"
msgstr "Zorla Kurtar" msgstr "Zorla Kurtar"
@@ -546,9 +567,8 @@ msgstr "Geri Çekme Uzunluğu"
msgid "Retraction Speed" msgid "Retraction Speed"
msgstr "Geri Çekme Hızı" msgstr "Geri Çekme Hızı"
#, python-format msgid "Retry"
msgid "Retry #%s" msgstr "Tekrar dene"
msgstr "Yeniden Dene #%s"
msgid "Retrying" msgid "Retrying"
msgstr "Yeniden Deneniyor" msgstr "Yeniden Deneniyor"
@@ -600,6 +620,12 @@ msgstr "Ayarlar"
msgid "Show" msgid "Show"
msgstr "Göster" msgstr "Göster"
msgid "Show Heater Power"
msgstr "Isıtıcı Gücünü Göster"
msgid "Shutdown"
msgstr "Kapat"
msgid "Size" msgid "Size"
msgstr "Boyut" msgstr "Boyut"
@@ -615,12 +641,6 @@ msgstr "Dilimleyici:"
msgid "Small" msgid "Small"
msgstr "Küçük" msgstr "Küçük"
msgid "Sort by: "
msgstr "Sırala: "
msgid "Sort:"
msgstr "Sırala:"
msgid "Speed (mm/s)" msgid "Speed (mm/s)"
msgstr "Hız (mm/s)" msgstr "Hız (mm/s)"
@@ -663,10 +683,6 @@ msgstr "Sıcaklık (°C)"
msgid "Temperature" msgid "Temperature"
msgstr "Sıcaklık" msgstr "Sıcaklık"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "Uygulamak için %s KlipperScreen yeniden başlatılmalı"
msgid "Total:" msgid "Total:"
msgstr "Toplam:" msgstr "Toplam:"
@@ -697,27 +713,12 @@ msgstr "Yükleniyor"
msgid "Uploaded" msgid "Uploaded"
msgstr "Yüklendi" msgstr "Yüklendi"
msgid "View Mesh"
msgstr "Örgüyü Görüntüle"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)" msgid "XY Move Speed (mm/s)"
msgstr "XY Hareket hızı (mm/s)" msgstr "XY Hareket hızı (mm/s)"
msgid "XY Speed (mm/s)" msgid "XY Speed (mm/s)"
msgstr "XY Hızı (mm/s)" msgstr "XY Hızı (mm/s)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate" msgid "Z Calibrate"
msgstr "Z Kalibrasyonu" msgstr "Z Kalibrasyonu"
@@ -733,12 +734,6 @@ msgstr "Z Eğim"
msgid "Z offset:" msgid "Z offset:"
msgstr "Z ofset:" msgstr "Z ofset:"
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit" msgid "commit"
msgid_plural "commits" msgid_plural "commits"
msgstr[0] "commit" msgstr[0] "commit"
@@ -764,6 +759,61 @@ msgstr "mm/s"
msgid "mm/s²" msgid "mm/s²"
msgstr "mm/s²" msgstr "mm/s²"
msgid "mm³/s"
msgstr "mm³/s"
#~ msgid "Sort:"
#~ msgstr "Sırala:"
#~ msgid "Calibrating..."
#~ msgstr "Kalibre Ediliyor..."
#~ msgid "Z+"
#~ msgstr "Z+"
#~ msgid "Z-"
#~ msgstr "Z-"
#~ msgid "X+"
#~ msgstr "X+"
#~ msgid "X-"
#~ msgstr "X-"
#~ msgid "Y+"
#~ msgstr "Y+"
#~ msgid "Y-"
#~ msgstr "Y-"
#, python-format
#~ msgid "Retry #%s"
#~ msgstr "Yeniden Dene #%s"
#~ msgid "Add Printer"
#~ msgstr "Yazıcı Ekle"
#~ msgid "Initializing"
#~ msgstr "Başlatılıyor"
#~ msgid "Delete"
#~ msgstr "Sil"
#~ msgid "Home"
#~ msgstr "Ana Ekran"
#~ msgid "Off"
#~ msgstr "Kapa"
#~ msgid "View Mesh"
#~ msgstr "Örgüyü Görüntüle"
#~ msgid "Machine"
#~ msgstr "Makine"
#~ msgid "Sort by: "
#~ msgstr "Sırala: "
#~ msgid "Bltouch found applied offset" #~ msgid "Bltouch found applied offset"
#~ msgstr "Bltouch uygulanmış ofseti buldu" #~ msgstr "Bltouch uygulanmış ofseti buldu"
Binary file not shown.
@@ -5,20 +5,19 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 2022-06-02 14:53-0300\n" "Project-Id-Version: 2022-09-04 14:53-0300\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-08-10 12:01-0300\n" "POT-Creation-Date: 2022-11-30 18:17-0300\n"
"PO-Revision-Date: 2022-06-03 10:02+0300\n" "PO-Revision-Date: 2023-03-10 20:26-0600\n"
"Last-Translator: \n" "Last-Translator: Andrii Komarovskyi\n"
"Language-Team: Andrii Komarovskyi\n" "Language-Team: Andrii Komarovskyi\n"
"Language: uk\n" "Language: uk\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n" "%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
"X-Generator: Poedit 3.0.1\n" "X-Generator: Poedit 2.4.2\n"
"X-Poedit-SourceCharset: UTF-8\n"
#, python-format #, python-format
msgid "%s will be updated to version" msgid "%s will be updated to version"
@@ -46,13 +45,10 @@ msgid "Accept"
msgstr "Прийняти" msgstr "Прийняти"
msgid "Actions" msgid "Actions"
msgstr "Керування" msgstr "Дії"
msgid "Add Printer"
msgstr "Додати принтер"
msgid "Add profile" msgid "Add profile"
msgstr "" msgstr "Додати профіль"
msgid "Apply" msgid "Apply"
msgstr "Застосувати" msgstr "Застосувати"
@@ -65,11 +61,14 @@ msgstr "Застосувати зміщення %.2f до кінцевика?"
msgid "Apply %s%.2f offset to Probe?" msgid "Apply %s%.2f offset to Probe?"
msgstr "Застосувати зміщення %s%.2f до зонда?" msgstr "Застосувати зміщення %s%.2f до зонда?"
msgid "Are you sure do you want to exclude the object?"
msgstr "Ви впевнені, що бажаєте виключити об’єкт?"
msgid "Are you sure you want to run Emergency Stop?" msgid "Are you sure you want to run Emergency Stop?"
msgstr "Ви впевнені, що хочете запустити аварійну зупинку?" msgstr "Ви впевнені, що хочете зробити аварійну зупинку?"
msgid "Are you sure you wish to cancel this print?" msgid "Are you sure you wish to cancel this print?"
msgstr "Ви впевнені, що хочете скасувати цей друк?" msgstr "Ви впевнені, що хочете скасувати друк?"
msgid "Are you sure you wish to disable motors?" msgid "Are you sure you wish to disable motors?"
msgstr "Ви дійсно бажаєте вимкнути двигуни?" msgstr "Ви дійсно бажаєте вимкнути двигуни?"
@@ -87,7 +86,7 @@ msgid "Auto-calibrate"
msgstr "Автоматичне калібрування" msgstr "Автоматичне калібрування"
msgid "Auto-close notifications" msgid "Auto-close notifications"
msgstr "" msgstr "Автоматичне закриття сповіщень"
msgid "Auto-scroll" msgid "Auto-scroll"
msgstr "Автоматична прокрутка" msgstr "Автоматична прокрутка"
@@ -99,7 +98,7 @@ msgid "Bed Mesh"
msgstr "Сітка столу" msgstr "Сітка столу"
msgid "Bed screw configuration:" msgid "Bed screw configuration:"
msgstr "" msgstr "Конфігурація гвинтів ліжка:"
msgid "Calibrate" msgid "Calibrate"
msgstr "Калібрування" msgstr "Калібрування"
@@ -111,16 +110,13 @@ msgid "Calibrated, save configuration to make it permanent"
msgstr "Відкалібровано, збережіть конфігурацію, щоб зробити її постійною" msgstr "Відкалібровано, збережіть конфігурацію, щоб зробити її постійною"
msgid "Calibrating" msgid "Calibrating"
msgstr "" msgstr "Калібрування"
msgid "Calibrating..."
msgstr "Калібрування..."
msgid "Can't set above the maximum:" msgid "Can't set above the maximum:"
msgstr "Не встановити вище макс.:" msgstr "Не можна встановити вище максимум:"
msgid "Cancel" msgid "Cancel"
msgstr "СКАСУВАТИ" msgstr "Скасувати"
msgid "Cancel Print" msgid "Cancel Print"
msgstr "Скасувати друк" msgstr "Скасувати друк"
@@ -141,7 +137,7 @@ msgid "Check ADXL Wiring"
msgstr "Перевірте підключення ADXL" msgstr "Перевірте підключення ADXL"
msgid "Checking for updates, please wait..." msgid "Checking for updates, please wait..."
msgstr "" msgstr "Перевірка оновлень, зачекайте..."
msgid "Clear" msgid "Clear"
msgstr "Очистити" msgstr "Очистити"
@@ -156,7 +152,7 @@ msgid "Configuration"
msgstr "Конфігурація" msgstr "Конфігурація"
msgid "Confirm Emergency Stop" msgid "Confirm Emergency Stop"
msgstr "Підтверджувати АВАРІЙНУ ЗУПИНКУ" msgstr "Підтвердьте АВАРІЙНУ ЗУПИНКУ"
msgid "Connected" msgid "Connected"
msgstr "Підключено" msgstr "Підключено"
@@ -180,14 +176,11 @@ msgstr "Дата"
msgid "Decrease" msgid "Decrease"
msgstr "Зменшити" msgstr "Зменшити"
msgid "Delete"
msgstr "Видалити"
msgid "Delete File?" msgid "Delete File?"
msgstr "" msgstr "Видалити файл?"
msgid "Deselect" msgid "Deselect"
msgstr "Відміна" msgstr "Скасувати вибір"
msgid "Disable Motors" msgid "Disable Motors"
msgstr "Вимкнути мотори" msgstr "Вимкнути мотори"
@@ -211,23 +204,31 @@ msgstr "Помилка"
msgid "Estimated Time Method" msgid "Estimated Time Method"
msgstr "Метод розрахунку часу" msgstr "Метод розрахунку часу"
msgid "Exclude Object"
msgstr "Виключити об’єкт"
msgid "Extra Large"
msgstr "Дуже Великий"
msgid "Extrude" msgid "Extrude"
msgstr "Видавити" msgstr ""
"Заміна\n"
"пластику"
msgid "Extrusion +" msgid "Extrusion +"
msgstr "Екструзія+" msgstr "Видавити +"
msgid "Extrusion -" msgid "Extrusion -"
msgstr "Екструзія -" msgstr "Втягнути -"
msgid "Failed, adjust position first" msgid "Failed, adjust position first"
msgstr "Помилка, спочатку хоумінг" msgstr "Не вдалося, спочатку відрегулюйте положення"
msgid "Fan" msgid "Fan"
msgstr "Вентилятор" msgstr "Вентилятор"
msgid "Filament Used" msgid "Filament Used"
msgstr "Філамент" msgstr "Використання Прутка"
msgid "Filament total:" msgid "Filament total:"
msgstr "Загальна кількість прутка:" msgstr "Загальна кількість прутка:"
@@ -248,13 +249,13 @@ msgid "Finding ADXL"
msgstr "Знаходження ADXL" msgstr "Знаходження ADXL"
msgid "Fine Tuning" msgid "Fine Tuning"
msgstr "Підправити" msgstr "Точне налаштування"
msgid "Finish" msgid "Finish"
msgstr "Фініш" msgstr "Фініш"
msgid "Firmware Restart" msgid "Firmware Restart"
msgstr "Перезапуск Прошивки" msgstr "Перезавантаження прошивки"
msgid "Flow:" msgid "Flow:"
msgstr "Потік:" msgstr "Потік:"
@@ -266,7 +267,9 @@ msgid "Font Size"
msgstr "Розмір шрифту" msgstr "Розмір шрифту"
msgid "Full Update" msgid "Full Update"
msgstr "Повне Оновлення" msgstr ""
"Повне\n"
"Оновлення"
msgid "Go Back" msgid "Go Back"
msgstr "Назад" msgstr "Назад"
@@ -286,9 +289,6 @@ msgstr "Сховати датчик t°."
msgid "Hide temp." msgid "Hide temp."
msgstr "Приховати темп." msgstr "Приховати темп."
msgid "Home"
msgstr "Домашня сторінка"
msgid "Home All" msgid "Home All"
msgstr "Дім Всі" msgstr "Дім Всі"
@@ -307,8 +307,11 @@ msgstr "Дім Z"
msgid "Homing" msgid "Homing"
msgstr "До дому" msgstr "До дому"
msgid "Host"
msgstr "Хост"
msgid "Hostname" msgid "Hostname"
msgstr "Назва хоста" msgstr "Ім'я хоста"
msgid "Icon Theme" msgid "Icon Theme"
msgstr "Тема оформлення" msgstr "Тема оформлення"
@@ -316,14 +319,11 @@ msgstr "Тема оформлення"
msgid "Increase" msgid "Increase"
msgstr "Збільшити" msgstr "Збільшити"
msgid "Initializing"
msgstr "Ініціалізація"
msgid "Initializing printer..." msgid "Initializing printer..."
msgstr "Ініціалізація принтера..." msgstr "Ініціалізація принтера..."
msgid "Input Shaper" msgid "Input Shaper"
msgstr "" msgstr "Input Shaper"
msgid "Interface" msgid "Interface"
msgstr "Інтерфейс" msgstr "Інтерфейс"
@@ -331,6 +331,9 @@ msgstr "Інтерфейс"
msgid "Invalid" msgid "Invalid"
msgstr "Недійсний" msgstr "Недійсний"
msgid "Invalid password"
msgstr "Недійсний пароль"
msgid "Invert X" msgid "Invert X"
msgstr "Інвертувати X" msgstr "Інвертувати X"
@@ -341,10 +344,12 @@ msgid "Invert Z"
msgstr "Інвертувати Z" msgstr "Інвертувати Z"
msgid "Klipper Restart" msgid "Klipper Restart"
msgstr "Перезапуск Кліппера" msgstr ""
"Перезапуск\n"
"Klipper"
msgid "Klipper has disconnected" msgid "Klipper has disconnected"
msgstr "Klipper відключився" msgstr "Klipper загубив зв'язок"
msgid "Klipper has encountered an error." msgid "Klipper has encountered an error."
msgstr "У Klipper сталася помилка." msgstr "У Klipper сталася помилка."
@@ -358,6 +363,9 @@ msgstr "Кліппер намагається стартувати"
msgid "Klipper will reboot" msgid "Klipper will reboot"
msgstr "Klipper перезавантажиться" msgstr "Klipper перезавантажиться"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen перезавантажиться"
msgid "Language" msgid "Language"
msgstr "Мова" msgstr "Мова"
@@ -377,7 +385,7 @@ msgid "Load"
msgstr "Завантажити" msgstr "Завантажити"
msgid "Lower Nozzle" msgid "Lower Nozzle"
msgstr "Низ сопла" msgstr "Опустити сопло"
msgid "Macro shortcut on sidebar" msgid "Macro shortcut on sidebar"
msgstr "Ярлик макросу на бічній панелі" msgstr "Ярлик макросу на бічній панелі"
@@ -386,10 +394,10 @@ msgid "Macros"
msgstr "Макрос" msgstr "Макрос"
msgid "Main Menu" msgid "Main Menu"
msgstr "Main Menu" msgstr "Головне Меню"
msgid "Max" msgid "Max"
msgstr "" msgstr "Макс"
msgid "Max Acceleration" msgid "Max Acceleration"
msgstr "Макс. прискорення" msgstr "Макс. прискорення"
@@ -400,6 +408,9 @@ msgstr "Макс. прискорення до гальмування"
msgid "Max Velocity" msgid "Max Velocity"
msgstr "Макс. швидкість" msgstr "Макс. швидкість"
msgid "Maximum"
msgstr "Максимум"
msgid "Measure Both" msgid "Measure Both"
msgstr "Виміряти все" msgstr "Виміряти все"
@@ -415,6 +426,9 @@ msgstr "Середній"
msgid "Menu" msgid "Menu"
msgstr "Меню" msgstr "Меню"
msgid "Mesh calibrate"
msgstr "Калібрування сітки столу"
msgid "Modified" msgid "Modified"
msgstr "Змінено" msgstr "Змінено"
@@ -422,7 +436,7 @@ msgid "Moonraker: connected"
msgstr "Підключено до Moonraker" msgstr "Підключено до Moonraker"
msgid "Move" msgid "Move"
msgstr "Рухатися" msgstr "Переміщення"
msgid "Move Distance (mm)" msgid "Move Distance (mm)"
msgstr "Переміщення (мм)" msgstr "Переміщення (мм)"
@@ -431,7 +445,10 @@ msgid "Name"
msgstr "Ім'я" msgstr "Ім'я"
msgid "Network" msgid "Network"
msgstr "Сітка" msgstr "Мережа"
msgid "Never"
msgstr "Ніколи"
msgid "New" msgid "New"
msgstr "Новий" msgstr "Новий"
@@ -440,12 +457,11 @@ msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen." "Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf" "conf"
msgstr "" msgstr ""
"Автоматичне визначення не підтримується, його потрібно налаштувати у "
"klipperscreen.conf"
msgid "Nothing selected" msgid "Nothing selected"
msgstr "Не вибрано" msgstr "Не обрано"
msgid "Off"
msgstr "Вимк"
#, python-format #, python-format
msgid "Outdated by %d" msgid "Outdated by %d"
@@ -457,17 +473,17 @@ msgstr "PSK для"
msgid "Package will be updated" msgid "Package will be updated"
msgid_plural "Packages will be updated" msgid_plural "Packages will be updated"
msgstr[0] "Пакет буде оновлено" msgstr[0] "Пакет буде оновлено"
msgstr[1] "Пакет оновлено" msgstr[1] "Пакети будуть оновлені"
msgstr[2] "Пакет оновлено" msgstr[2] "Пакети будуть оновлені"
msgid "Part Fan" msgid "Part Fan"
msgstr "" msgstr "Охолодження моделі"
msgid "Password saved" msgid "Password saved"
msgstr "Пароль збережено" msgstr "Пароль збережено"
msgid "Pause" msgid "Pause"
msgstr "ПАУЗА" msgstr "Пауза"
msgid "Paused" msgid "Paused"
msgstr "ПАУЗА" msgstr "ПАУЗА"
@@ -477,6 +493,8 @@ msgstr "Виконати повне оновлення?"
msgid "Pins" msgid "Pins"
msgstr "" msgstr ""
"Керування\n"
"контактами"
msgid "Please recompile and flash the micro-controller." msgid "Please recompile and flash the micro-controller."
msgstr "Будь ласка, перекомпілюйте та перепрошійте мікроконтролер." msgstr "Будь ласка, перекомпілюйте та перепрошійте мікроконтролер."
@@ -499,9 +517,15 @@ msgstr "Контроль друку"
msgid "Print Time" msgid "Print Time"
msgstr "Час друку" msgstr "Час друку"
msgid "Printer"
msgstr "Принтер"
msgid "Printer Connections" msgid "Printer Connections"
msgstr "Підключення принтера" msgstr "Підключення принтера"
msgid "Printer Select"
msgstr "Вибір Принтера"
msgid "Printing" msgid "Printing"
msgstr "Друк" msgstr "Друк"
@@ -511,12 +535,18 @@ msgstr "Зміщення зонда"
msgid "Profile Name:" msgid "Profile Name:"
msgstr "Ім'я профілю:" msgstr "Ім'я профілю:"
msgid "Provide KlipperScreen.log when asking for help.\n"
msgstr "Надайте KlipperScreen.log, коли звертаєтесь по допомогу.\n"
msgid "Quad Gantry Level" msgid "Quad Gantry Level"
msgstr "Портальне вирівнювання" msgstr "Портальне вирівнювання"
msgid "Raise Nozzle" msgid "Raise Nozzle"
msgstr "Підняти сопло" msgstr "Підняти сопло"
msgid "Recover"
msgstr "Відновити"
msgid "Recover Hard" msgid "Recover Hard"
msgstr "Відновити все" msgstr "Відновити все"
@@ -528,6 +558,8 @@ msgstr "Довідка"
msgid "Refresh" msgid "Refresh"
msgstr "" msgstr ""
"Перевірка\n"
"Оновлень"
msgid "Restart" msgid "Restart"
msgstr "Перезапуск" msgstr "Перезапуск"
@@ -539,7 +571,9 @@ msgid "Retract"
msgstr "Ретракт" msgstr "Ретракт"
msgid "Retraction" msgid "Retraction"
msgstr "Втягнення" msgstr ""
"Параметри\n"
"ретракту"
msgid "Retraction Length" msgid "Retraction Length"
msgstr "Довжина втягування" msgstr "Довжина втягування"
@@ -547,12 +581,11 @@ msgstr "Довжина втягування"
msgid "Retraction Speed" msgid "Retraction Speed"
msgstr "Швидкість втягування" msgstr "Швидкість втягування"
#, python-format msgid "Retry"
msgid "Retry #%s" msgstr "Повторіть спробу"
msgstr "Повторіть #%s"
msgid "Retrying" msgid "Retrying"
msgstr "" msgstr "Повторна спроба"
msgid "Save" msgid "Save"
msgstr "Зберегти" msgstr "Зберегти"
@@ -601,6 +634,12 @@ msgstr "Налаштування"
msgid "Show" msgid "Show"
msgstr "Показати" msgstr "Показати"
msgid "Show Heater Power"
msgstr "Показати Потужність Нагрівача"
msgid "Shutdown"
msgstr "Вимкнути"
msgid "Size" msgid "Size"
msgstr "Розмір" msgstr "Розмір"
@@ -616,12 +655,6 @@ msgstr "Слайсер:"
msgid "Small" msgid "Small"
msgstr "Малий" msgstr "Малий"
msgid "Sort by: "
msgstr "Сортувати за: "
msgid "Sort:"
msgstr "Сортувати:"
msgid "Speed (mm/s)" msgid "Speed (mm/s)"
msgstr "Швидкість (мм/с)" msgstr "Швидкість (мм/с)"
@@ -635,7 +668,7 @@ msgid "Speed:"
msgstr "Швидкість:" msgstr "Швидкість:"
msgid "Square Corner Velocity" msgid "Square Corner Velocity"
msgstr "Квадратна кутова швидкість" msgstr "Квадратно кутова швидкість"
msgid "Start" msgid "Start"
msgstr "СТАРТ" msgstr "СТАРТ"
@@ -653,10 +686,10 @@ msgid "System"
msgstr "Системна" msgstr "Системна"
msgid "System Restart" msgid "System Restart"
msgstr "Рестарт Малини" msgstr "Перезавантаження системи"
msgid "System Shutdown" msgid "System Shutdown"
msgstr "Вимкнути Малину" msgstr "Завершення роботи системи"
msgid "Temp (°C)" msgid "Temp (°C)"
msgstr "Teмп (°C)" msgstr "Teмп (°C)"
@@ -664,10 +697,6 @@ msgstr "Teмп (°C)"
msgid "Temperature" msgid "Temperature"
msgstr "Температура" msgstr "Температура"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "Щоб застосувати %s, потрібно перезапустити KlipperScreen"
msgid "Total:" msgid "Total:"
msgstr "Всього:" msgstr "Всього:"
@@ -675,7 +704,7 @@ msgid "Unknown Heater"
msgstr "Невідомий нагрівач" msgstr "Невідомий нагрівач"
msgid "Unknown screw position" msgid "Unknown screw position"
msgstr "" msgstr "Невідоме положення гвинта"
msgid "Unload" msgid "Unload"
msgstr "Вийняти" msgstr "Вийняти"
@@ -687,7 +716,7 @@ msgid "Unretract Speed"
msgstr "Швидкість повернення" msgstr "Швидкість повернення"
msgid "Up To Date" msgid "Up To Date"
msgstr "Оновити" msgstr "Актуально"
msgid "Update" msgid "Update"
msgstr "Оновлення" msgstr "Оновлення"
@@ -698,27 +727,12 @@ msgstr "Оновлення"
msgid "Uploaded" msgid "Uploaded"
msgstr "Завантажено" msgstr "Завантажено"
msgid "View Mesh"
msgstr "Показати сітку"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)" msgid "XY Move Speed (mm/s)"
msgstr "Швидкість переміщення XY (мм/с)" msgstr "Швидкість переміщення XY (мм/с)"
msgid "XY Speed (mm/s)" msgid "XY Speed (mm/s)"
msgstr "Швидкість XY (мм/с)" msgstr "Швидкість XY (мм/с)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate" msgid "Z Calibrate"
msgstr "Калібровка Z" msgstr "Калібровка Z"
@@ -734,12 +748,6 @@ msgstr "Z Нахил"
msgid "Z offset:" msgid "Z offset:"
msgstr "Зміщення по Z:" msgstr "Зміщення по Z:"
msgid "Z+"
msgstr "Бебістеп Z+"
msgid "Z-"
msgstr "Бебістеп Z-"
msgid "commit" msgid "commit"
msgid_plural "commits" msgid_plural "commits"
msgstr[0] "коментар" msgstr[0] "коментар"
@@ -752,7 +760,7 @@ msgstr "dBm"
msgid "hour" msgid "hour"
msgid_plural "hours" msgid_plural "hours"
msgstr[0] "година" msgstr[0] "година"
msgstr[1] "години" msgstr[1] "годин"
msgstr[2] "години" msgstr[2] "години"
msgid "minutes" msgid "minutes"
@@ -767,18 +775,68 @@ msgstr "мм/с"
msgid "mm/s²" msgid "mm/s²"
msgstr "мм/с²" msgstr "мм/с²"
#~ msgid "Bltouch found applied offset" msgid "mm³/s"
#~ msgstr "Зонд знайшов застосоване зміщення" msgstr "мм/с³"
#~ msgid "" #~ msgid "Sort:"
#~ "Check /tmp/KlipperScreen.log for more information.\n" #~ msgstr "Сортувати:"
#~ "Please submit an issue on GitHub for help."
#~ msgid "Calibrating..."
#~ msgstr "Калібрування..."
#~ msgid "Z+"
#~ msgstr "Бебістеп Z+"
#~ msgid "Z-"
#~ msgstr "Бебістеп Z-"
#~ msgid "X+"
#~ msgstr "X+"
#~ msgid "X-"
#~ msgstr "X-"
#~ msgid "Y+"
#~ msgstr "Y+"
#~ msgid "Y-"
#~ msgstr "Y-"
#, python-format
#~ msgid "Retry #%s"
#~ msgstr "Повторіть #%s"
#~ msgid "Add Printer"
#~ msgstr "Додати принтер"
#~ msgid "Initializing"
#~ msgstr "Ініціалізація"
#~ msgid "Delete"
#~ msgstr "Видалити"
#~ msgid "Home"
#~ msgstr "Домашня сторінка"
#~ msgid "Off"
#~ msgstr "Вимк"
#~ msgid "View Mesh"
#~ msgstr "Показати сітку"
#~ msgid "Machine"
#~ msgstr "Машина"
#~ msgid "Sort by: "
#~ msgstr "Сортувати за: "
#~ msgid "Auto Calibration"
#~ msgstr "Автоматичне калібрування"
#~ msgid "Manual Calibration"
#~ msgstr "Ручне калібрування"
#~ msgid "NOTE: Edit your printer.cfg to save manual calibration changes."
#~ msgstr "" #~ msgstr ""
#~ "Перевірте /tmp/KlipperScreen.log для отримання додаткової інформації.\n" #~ "ПРИМІТКА. Відредагуйте файл printer.cfg, щоб зберегти зміни калібрування "
#~ "Будь ласка, надішліть проблему на GitHub, щоб отримати допомогу." #~ "вручну."
#~ msgid "Probe found applied offset"
#~ msgstr "Зонд знайшов застосоване зміщення"
#~ msgid "Tool"
#~ msgstr "Інструмент"
@@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: KlipperScreen\n" "Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-08-10 12:01-0300\n" "POT-Creation-Date: 2022-11-30 18:17-0300\n"
"PO-Revision-Date: 2022-07-16 23:03+0800\n" "PO-Revision-Date: 2022-11-28 11:36-0300\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: zh_CN\n" "Language: zh_CN\n"
@@ -16,7 +16,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n" "Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 3.0\n" "X-Generator: Poedit 3.2.1\n"
#, python-format #, python-format
msgid "%s will be updated to version" msgid "%s will be updated to version"
@@ -46,9 +46,6 @@ msgstr "应用"
msgid "Actions" msgid "Actions"
msgstr "控制" msgstr "控制"
msgid "Add Printer"
msgstr "添加打印机"
msgid "Add profile" msgid "Add profile"
msgstr "" msgstr ""
@@ -63,6 +60,9 @@ msgstr "对Endstop应用%.2f的偏移量?"
msgid "Apply %s%.2f offset to Probe?" msgid "Apply %s%.2f offset to Probe?"
msgstr "将%s%.2f的偏移量应用于探针?" msgstr "将%s%.2f的偏移量应用于探针?"
msgid "Are you sure do you want to exclude the object?"
msgstr ""
msgid "Are you sure you want to run Emergency Stop?" msgid "Are you sure you want to run Emergency Stop?"
msgstr "您确定要紧急停止吗?" msgstr "您确定要紧急停止吗?"
@@ -111,9 +111,6 @@ msgstr "已校准,保存配置后生效"
msgid "Calibrating" msgid "Calibrating"
msgstr "" msgstr ""
msgid "Calibrating..."
msgstr "校准中..."
msgid "Can't set above the maximum:" msgid "Can't set above the maximum:"
msgstr "设置值超出最大值:" msgstr "设置值超出最大值:"
@@ -178,9 +175,6 @@ msgstr "日期"
msgid "Decrease" msgid "Decrease"
msgstr "减少" msgstr "减少"
msgid "Delete"
msgstr "删除"
msgid "Delete File?" msgid "Delete File?"
msgstr "" msgstr ""
@@ -209,6 +203,12 @@ msgstr "错误"
msgid "Estimated Time Method" msgid "Estimated Time Method"
msgstr "估算剩余时间方式" msgstr "估算剩余时间方式"
msgid "Exclude Object"
msgstr ""
msgid "Extra Large"
msgstr ""
msgid "Extrude" msgid "Extrude"
msgstr "挤出机" msgstr "挤出机"
@@ -284,9 +284,6 @@ msgstr "隐藏温度传感器。"
msgid "Hide temp." msgid "Hide temp."
msgstr "隐藏温度。" msgstr "隐藏温度。"
msgid "Home"
msgstr "首页"
msgid "Home All" msgid "Home All"
msgstr "全部归零" msgstr "全部归零"
@@ -305,6 +302,9 @@ msgstr "Z轴归零"
msgid "Homing" msgid "Homing"
msgstr "归零" msgstr "归零"
msgid "Host"
msgstr ""
msgid "Hostname" msgid "Hostname"
msgstr "主机名" msgstr "主机名"
@@ -314,9 +314,6 @@ msgstr "主题风格"
msgid "Increase" msgid "Increase"
msgstr "增加" msgstr "增加"
msgid "Initializing"
msgstr "初始化"
msgid "Initializing printer..." msgid "Initializing printer..."
msgstr "初始化打印机中..." msgstr "初始化打印机中..."
@@ -329,6 +326,9 @@ msgstr "接口"
msgid "Invalid" msgid "Invalid"
msgstr "无效" msgstr "无效"
msgid "Invalid password"
msgstr ""
msgid "Invert X" msgid "Invert X"
msgstr "反转X轴" msgstr "反转X轴"
@@ -356,6 +356,9 @@ msgstr "Klipper正在启动"
msgid "Klipper will reboot" msgid "Klipper will reboot"
msgstr "Klipper将重新启动" msgstr "Klipper将重新启动"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen 将重新启动"
msgid "Language" msgid "Language"
msgstr "语言" msgstr "语言"
@@ -398,6 +401,9 @@ msgstr "最大加速至减速"
msgid "Max Velocity" msgid "Max Velocity"
msgstr "最大速度" msgstr "最大速度"
msgid "Maximum"
msgstr ""
msgid "Measure Both" msgid "Measure Both"
msgstr "" msgstr ""
@@ -413,6 +419,9 @@ msgstr "中"
msgid "Menu" msgid "Menu"
msgstr "菜单" msgstr "菜单"
msgid "Mesh calibrate"
msgstr ""
msgid "Modified" msgid "Modified"
msgstr "修改时间" msgstr "修改时间"
@@ -431,6 +440,9 @@ msgstr "文件名称"
msgid "Network" msgid "Network"
msgstr "网络" msgstr "网络"
msgid "Never"
msgstr ""
msgid "New" msgid "New"
msgstr "" msgstr ""
@@ -442,9 +454,6 @@ msgstr ""
msgid "Nothing selected" msgid "Nothing selected"
msgstr "未选择任何内容" msgstr "未选择任何内容"
msgid "Off"
msgstr "关闭"
#, python-format #, python-format
msgid "Outdated by %d" msgid "Outdated by %d"
msgstr "已过时 %d" msgstr "已过时 %d"
@@ -495,9 +504,15 @@ msgstr "打印控制"
msgid "Print Time" msgid "Print Time"
msgstr "打印用时" msgstr "打印用时"
msgid "Printer"
msgstr ""
msgid "Printer Connections" msgid "Printer Connections"
msgstr "龙门架调平" msgstr "龙门架调平"
msgid "Printer Select"
msgstr ""
msgid "Printing" msgid "Printing"
msgstr "打印中" msgstr "打印中"
@@ -507,12 +522,18 @@ msgstr "探头偏移"
msgid "Profile Name:" msgid "Profile Name:"
msgstr "配置文件名称:" msgstr "配置文件名称:"
msgid "Provide KlipperScreen.log when asking for help.\n"
msgstr ""
msgid "Quad Gantry Level" msgid "Quad Gantry Level"
msgstr "龙门架调平" msgstr "龙门架调平"
msgid "Raise Nozzle" msgid "Raise Nozzle"
msgstr "升高喷嘴" msgstr "升高喷嘴"
msgid "Recover"
msgstr ""
msgid "Recover Hard" msgid "Recover Hard"
msgstr "重置(Hard)" msgstr "重置(Hard)"
@@ -543,9 +564,8 @@ msgstr "回抽长度"
msgid "Retraction Speed" msgid "Retraction Speed"
msgstr "回抽速度" msgstr "回抽速度"
#, python-format msgid "Retry"
msgid "Retry #%s" msgstr ""
msgstr "重试 #%s"
msgid "Retrying" msgid "Retrying"
msgstr "" msgstr ""
@@ -597,6 +617,12 @@ msgstr "设置"
msgid "Show" msgid "Show"
msgstr "显示" msgstr "显示"
msgid "Show Heater Power"
msgstr ""
msgid "Shutdown"
msgstr ""
msgid "Size" msgid "Size"
msgstr "大小" msgstr "大小"
@@ -612,12 +638,6 @@ msgstr "切片:"
msgid "Small" msgid "Small"
msgstr "小" msgstr "小"
msgid "Sort by: "
msgstr "排序: "
msgid "Sort:"
msgstr "排序:"
msgid "Speed (mm/s)" msgid "Speed (mm/s)"
msgstr "速度(mm/s)" msgstr "速度(mm/s)"
@@ -660,10 +680,6 @@ msgstr "温度 (°C)"
msgid "Temperature" msgid "Temperature"
msgstr "温度控制" msgstr "温度控制"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "要应用%s请重新启动KlipperScreen"
msgid "Total:" msgid "Total:"
msgstr "总:" msgstr "总:"
@@ -694,27 +710,12 @@ msgstr "更新中"
msgid "Uploaded" msgid "Uploaded"
msgstr "上传时间" msgstr "上传时间"
msgid "View Mesh"
msgstr "查看热床网格"
msgid "X+"
msgstr ""
msgid "X-"
msgstr ""
msgid "XY Move Speed (mm/s)" msgid "XY Move Speed (mm/s)"
msgstr "XY轴移动速度(mm/s)" msgstr "XY轴移动速度(mm/s)"
msgid "XY Speed (mm/s)" msgid "XY Speed (mm/s)"
msgstr "XY轴速度(mm/s)" msgstr "XY轴速度(mm/s)"
msgid "Y+"
msgstr ""
msgid "Y-"
msgstr ""
msgid "Z Calibrate" msgid "Z Calibrate"
msgstr "Z轴校准" msgstr "Z轴校准"
@@ -730,12 +731,6 @@ msgstr "Z 倾斜校准"
msgid "Z offset:" msgid "Z offset:"
msgstr "Z轴偏移:" msgstr "Z轴偏移:"
msgid "Z+"
msgstr ""
msgid "Z-"
msgstr ""
msgid "commit" msgid "commit"
msgid_plural "commits" msgid_plural "commits"
msgstr[0] "更改" msgstr[0] "更改"
@@ -759,6 +754,40 @@ msgstr ""
msgid "mm/s²" msgid "mm/s²"
msgstr "" msgstr ""
msgid "mm³/s"
msgstr ""
#~ msgid "Sort:"
#~ msgstr "排序:"
#~ msgid "Calibrating..."
#~ msgstr "校准中..."
#, python-format
#~ msgid "Retry #%s"
#~ msgstr "重试 #%s"
#~ msgid "Add Printer"
#~ msgstr "添加打印机"
#~ msgid "Initializing"
#~ msgstr "初始化"
#~ msgid "Delete"
#~ msgstr "删除"
#~ msgid "Home"
#~ msgstr "首页"
#~ msgid "Off"
#~ msgstr "关闭"
#~ msgid "View Mesh"
#~ msgstr "查看热床网格"
#~ msgid "Sort by: "
#~ msgstr "排序: "
#~ msgid "Bltouch found applied offset" #~ msgid "Bltouch found applied offset"
#~ msgstr "Bltouch 发现应用的偏移量" #~ msgstr "Bltouch 发现应用的偏移量"
@@ -787,9 +816,6 @@ msgstr ""
#~ msgid "IPv6" #~ msgid "IPv6"
#~ msgstr "IPv6 地址" #~ msgstr "IPv6 地址"
#~ msgid "Unknown Heater "
#~ msgstr "未知加热器 "
#~ msgid "Disconnect" #~ msgid "Disconnect"
#~ msgstr "断开" #~ msgstr "断开"
@@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: KlipperScreen\n" "Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-08-10 12:01-0300\n" "POT-Creation-Date: 2022-11-30 18:17-0300\n"
"PO-Revision-Date: 2022-03-31 11:25-0300\n" "PO-Revision-Date: 2022-11-28 11:37-0300\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: zh_TW\n" "Language: zh_TW\n"
@@ -16,7 +16,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n" "Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 3.0.1\n" "X-Generator: Poedit 3.2.1\n"
#, python-format #, python-format
msgid "%s will be updated to version" msgid "%s will be updated to version"
@@ -46,9 +46,6 @@ msgstr "接受"
msgid "Actions" msgid "Actions"
msgstr "動作" msgstr "動作"
msgid "Add Printer"
msgstr "新增列印機"
msgid "Add profile" msgid "Add profile"
msgstr "" msgstr ""
@@ -63,6 +60,9 @@ msgstr ""
msgid "Apply %s%.2f offset to Probe?" msgid "Apply %s%.2f offset to Probe?"
msgstr "" msgstr ""
msgid "Are you sure do you want to exclude the object?"
msgstr ""
msgid "Are you sure you want to run Emergency Stop?" msgid "Are you sure you want to run Emergency Stop?"
msgstr "您確定要運行緊急停止嗎?" msgstr "您確定要運行緊急停止嗎?"
@@ -111,9 +111,6 @@ msgstr "校準,保存配置以使其永久化"
msgid "Calibrating" msgid "Calibrating"
msgstr "" msgstr ""
msgid "Calibrating..."
msgstr ""
msgid "Can't set above the maximum:" msgid "Can't set above the maximum:"
msgstr "不能設置超過最大值:" msgstr "不能設置超過最大值:"
@@ -178,9 +175,6 @@ msgstr "日期"
msgid "Decrease" msgid "Decrease"
msgstr "減少" msgstr "減少"
msgid "Delete"
msgstr "刪除"
msgid "Delete File?" msgid "Delete File?"
msgstr "" msgstr ""
@@ -209,6 +203,12 @@ msgstr "錯誤"
msgid "Estimated Time Method" msgid "Estimated Time Method"
msgstr "預估時間方法" msgstr "預估時間方法"
msgid "Exclude Object"
msgstr ""
msgid "Extra Large"
msgstr ""
msgid "Extrude" msgid "Extrude"
msgstr "擠出機" msgstr "擠出機"
@@ -284,9 +284,6 @@ msgstr "在溫度中隱藏傳感器。"
msgid "Hide temp." msgid "Hide temp."
msgstr "" msgstr ""
msgid "Home"
msgstr "首頁"
msgid "Home All" msgid "Home All"
msgstr "歸零全部" msgstr "歸零全部"
@@ -305,6 +302,9 @@ msgstr "歸零 Z"
msgid "Homing" msgid "Homing"
msgstr "歸零" msgstr "歸零"
msgid "Host"
msgstr ""
msgid "Hostname" msgid "Hostname"
msgstr "主機名稱" msgstr "主機名稱"
@@ -314,9 +314,6 @@ msgstr "圖標主題"
msgid "Increase" msgid "Increase"
msgstr "增加" msgstr "增加"
msgid "Initializing"
msgstr "初始化中"
msgid "Initializing printer..." msgid "Initializing printer..."
msgstr "初始化列印機中.." msgstr "初始化列印機中.."
@@ -329,6 +326,9 @@ msgstr "介面"
msgid "Invalid" msgid "Invalid"
msgstr "無效的" msgstr "無效的"
msgid "Invalid password"
msgstr ""
msgid "Invert X" msgid "Invert X"
msgstr "反轉 X" msgstr "反轉 X"
@@ -356,6 +356,9 @@ msgstr "Klipper 正在嘗試重新啟動"
msgid "Klipper will reboot" msgid "Klipper will reboot"
msgstr "Klipper 將重新啟動" msgstr "Klipper 將重新啟動"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen 將重新啟動"
msgid "Language" msgid "Language"
msgstr "語言" msgstr "語言"
@@ -398,6 +401,9 @@ msgstr "最大加速到減速"
msgid "Max Velocity" msgid "Max Velocity"
msgstr "最大速度" msgstr "最大速度"
msgid "Maximum"
msgstr ""
msgid "Measure Both" msgid "Measure Both"
msgstr "" msgstr ""
@@ -413,6 +419,9 @@ msgstr "中"
msgid "Menu" msgid "Menu"
msgstr "選單" msgstr "選單"
msgid "Mesh calibrate"
msgstr ""
msgid "Modified" msgid "Modified"
msgstr "修改" msgstr "修改"
@@ -431,6 +440,9 @@ msgstr "名稱"
msgid "Network" msgid "Network"
msgstr "網路" msgstr "網路"
msgid "Never"
msgstr ""
msgid "New" msgid "New"
msgstr "" msgstr ""
@@ -442,9 +454,6 @@ msgstr ""
msgid "Nothing selected" msgid "Nothing selected"
msgstr "未選擇任何內容" msgstr "未選擇任何內容"
msgid "Off"
msgstr "關閉"
#, python-format #, python-format
msgid "Outdated by %d" msgid "Outdated by %d"
msgstr "已過時 %d" msgstr "已過時 %d"
@@ -495,9 +504,15 @@ msgstr "列印控制"
msgid "Print Time" msgid "Print Time"
msgstr "列印時間" msgstr "列印時間"
msgid "Printer"
msgstr ""
msgid "Printer Connections" msgid "Printer Connections"
msgstr "連接列印機" msgstr "連接列印機"
msgid "Printer Select"
msgstr ""
msgid "Printing" msgid "Printing"
msgstr "列印中" msgstr "列印中"
@@ -507,12 +522,18 @@ msgstr ""
msgid "Profile Name:" msgid "Profile Name:"
msgstr "配置檔案名稱:" msgstr "配置檔案名稱:"
msgid "Provide KlipperScreen.log when asking for help.\n"
msgstr ""
msgid "Quad Gantry Level" msgid "Quad Gantry Level"
msgstr "龍門調平" msgstr "龍門調平"
msgid "Raise Nozzle" msgid "Raise Nozzle"
msgstr "上升噴嘴" msgstr "上升噴嘴"
msgid "Recover"
msgstr ""
msgid "Recover Hard" msgid "Recover Hard"
msgstr "恢復 Hard" msgstr "恢復 Hard"
@@ -543,9 +564,8 @@ msgstr ""
msgid "Retraction Speed" msgid "Retraction Speed"
msgstr "" msgstr ""
#, python-format msgid "Retry"
msgid "Retry #%s" msgstr ""
msgstr "重試 #%s"
msgid "Retrying" msgid "Retrying"
msgstr "" msgstr ""
@@ -597,6 +617,12 @@ msgstr "設定"
msgid "Show" msgid "Show"
msgstr "展示" msgstr "展示"
msgid "Show Heater Power"
msgstr ""
msgid "Shutdown"
msgstr ""
msgid "Size" msgid "Size"
msgstr "大小" msgstr "大小"
@@ -612,12 +638,6 @@ msgstr ""
msgid "Small" msgid "Small"
msgstr "小的" msgstr "小的"
msgid "Sort by: "
msgstr "排序: "
msgid "Sort:"
msgstr ""
msgid "Speed (mm/s)" msgid "Speed (mm/s)"
msgstr "速度(mm/s)" msgstr "速度(mm/s)"
@@ -660,10 +680,6 @@ msgstr "溫度(°C)"
msgid "Temperature" msgid "Temperature"
msgstr "溫度" msgstr "溫度"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "要應用 %s,需要重新啟動 KlipperScreen"
msgid "Total:" msgid "Total:"
msgstr "全部的:" msgstr "全部的:"
@@ -694,27 +710,12 @@ msgstr "更新"
msgid "Uploaded" msgid "Uploaded"
msgstr "上傳時間" msgstr "上傳時間"
msgid "View Mesh"
msgstr "檢視網格"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)" msgid "XY Move Speed (mm/s)"
msgstr "XY 移動速度 (mm/s)" msgstr "XY 移動速度 (mm/s)"
msgid "XY Speed (mm/s)" msgid "XY Speed (mm/s)"
msgstr "" msgstr ""
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate" msgid "Z Calibrate"
msgstr "Z 校準" msgstr "Z 校準"
@@ -730,12 +731,6 @@ msgstr "Z 傾斜"
msgid "Z offset:" msgid "Z offset:"
msgstr "" msgstr ""
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit" msgid "commit"
msgid_plural "commits" msgid_plural "commits"
msgstr[0] "改變" msgstr[0] "改變"
@@ -759,6 +754,52 @@ msgstr "mm/s"
msgid "mm/s²" msgid "mm/s²"
msgstr "mm/s²" msgstr "mm/s²"
msgid "mm³/s"
msgstr ""
#~ msgid "Z+"
#~ msgstr "Z+"
#~ msgid "Z-"
#~ msgstr "Z-"
#~ msgid "X+"
#~ msgstr "X+"
#~ msgid "X-"
#~ msgstr "X-"
#~ msgid "Y+"
#~ msgstr "Y+"
#~ msgid "Y-"
#~ msgstr "Y-"
#, python-format
#~ msgid "Retry #%s"
#~ msgstr "重試 #%s"
#~ msgid "Add Printer"
#~ msgstr "新增列印機"
#~ msgid "Initializing"
#~ msgstr "初始化中"
#~ msgid "Delete"
#~ msgstr "刪除"
#~ msgid "Home"
#~ msgstr "首頁"
#~ msgid "Off"
#~ msgstr "關閉"
#~ msgid "View Mesh"
#~ msgstr "檢視網格"
#~ msgid "Sort by: "
#~ msgstr "排序: "
#~ msgid "Bltouch found applied offset" #~ msgid "Bltouch found applied offset"
#~ msgstr "Bltouch 發現應用的偏移量" #~ msgstr "Bltouch 發現應用的偏移量"
@@ -787,9 +828,6 @@ msgstr "mm/s²"
#~ msgid "IPv6" #~ msgid "IPv6"
#~ msgstr "IPv6" #~ msgstr "IPv6"
#~ msgid "Unknown Heater "
#~ msgstr "未知加熱器 "
#~ msgid "Disconnect" #~ msgid "Disconnect"
#~ msgstr "斷開" #~ msgstr "斷開"
+99 -148
View File
@@ -1,73 +1,45 @@
import gi
import logging import logging
import gi
gi.require_version("Gtk", "3.0") gi.require_version("Gtk", "3.0")
from gi.repository import Gdk, GLib from gi.repository import GLib
class Printer: class Printer:
def __init__(self, printer_info, data, state_execute_cb): def __init__(self, state_cb, state_callbacks, busy_cb):
self.klipper = {"version": printer_info['software_version']} self.config = {}
self.tempstore = None self.data = {}
self.config = None
self.state = "disconnected" self.state = "disconnected"
self.state_cb = state_execute_cb self.state_cb = state_cb
self.power_devices = {} self.state_callbacks = state_callbacks
self.store_timeout = False
self.data = data
self.devices = {} self.devices = {}
self.power_devices = {} self.power_devices = {}
self.state_callbacks = {
"disconnected": None,
"error": None,
"paused": None,
"printing": None,
"ready": None,
"startup": None,
"shutdown": None
}
self.tools = [] self.tools = []
self.extrudercount = 0 self.extrudercount = 0
self.tempdevcount = 0 self.tempdevcount = 0
self.fancount = 0 self.fancount = 0
self.output_pin_count = 0 self.output_pin_count = 0
def reset(self):
GLib.source_remove(self.store_timeout)
self.store_timeout = None self.store_timeout = None
self.state = None self.tempstore = {}
self.state_cb = None self.busy_cb = busy_cb
self.data = None self.busy = False
self.devices = None self.tempstore_size = 1200
self.power_devices = None
self.state_callbacks = None
self.tools = None
self.extrudercount = None
self.tempdevcount = None
self.fancount = None
self.config = None
self.klipper = None
self.tempstore = None
self.output_pin_count = None
def reinit(self, printer_info, data): def reinit(self, printer_info, data):
logging.debug(f"Moonraker object status: {data}")
self.config = data['configfile']['config'] self.config = data['configfile']['config']
self.data = data
self.devices = {}
self.tools = []
self.extrudercount = 0 self.extrudercount = 0
self.tempdevcount = 0 self.tempdevcount = 0
self.fancount = 0 self.fancount = 0
self.output_pin_count = 0 self.output_pin_count = 0
self.tools = []
self.devices = {}
self.data = data
self.klipper = {}
self.tempstore = {} self.tempstore = {}
self.busy = False
if not self.store_timeout: if not self.store_timeout:
self.store_timeout = GLib.timeout_add_seconds(1, self._update_temp_store) self.store_timeout = GLib.timeout_add_seconds(1, self._update_temp_store)
self.tempstore_size = 1200
self.klipper = {
"version": printer_info['software_version']
}
for x in self.config.keys(): for x in self.config.keys():
if x[:8] == "extruder": if x[:8] == "extruder":
@@ -84,10 +56,9 @@ class Printer:
or x.startswith('heater_generic ') \ or x.startswith('heater_generic ') \
or x.startswith('temperature_sensor ') \ or x.startswith('temperature_sensor ') \
or x.startswith('temperature_fan '): or x.startswith('temperature_fan '):
self.devices[x] = { self.devices[x] = {"temperature": 0}
"temperature": 0, if not x.startswith('temperature_sensor '):
"target": 0 self.devices[x]["target"] = 0
}
# Support for hiding devices by name # Support for hiding devices by name
name = x.split()[1] if len(x.split()) > 1 else x name = x.split()[1] if len(x.split()) > 1 else x
if not name.startswith("_"): if not name.startswith("_"):
@@ -100,28 +71,19 @@ class Printer:
name = x.split()[1] if len(x.split()) > 1 else x name = x.split()[1] if len(x.split()) > 1 else x
if not name.startswith("_"): if not name.startswith("_"):
self.fancount += 1 self.fancount += 1
if x.startswith('output_pin '): if x.startswith('output_pin ') and not x.split()[1].startswith("_"):
# Support for hiding devices by name self.output_pin_count += 1
if not x.split()[1].startswith("_"):
self.output_pin_count += 1
if x.startswith('bed_mesh '):
r = self.config[x]
r['x_count'] = int(r['x_count'])
r['y_count'] = int(r['y_count'])
r['max_x'] = float(r['max_x'])
r['min_x'] = float(r['min_x'])
r['max_y'] = float(r['max_y'])
r['min_y'] = float(r['min_y'])
r['points'] = [[float(j.strip()) for j in i.split(",")] for i in r['points'].strip().split("\n")]
self.process_update(data) self.process_update(data)
logging.info(f"Klipper version: {self.klipper['version']}") logging.info(f"Klipper version: {printer_info['software_version']}")
logging.info(f"# Extruders: {self.extrudercount}") logging.info(f"# Extruders: {self.extrudercount}")
logging.info(f"# Temperature devices: {self.tempdevcount}") logging.info(f"# Temperature devices: {self.tempdevcount}")
logging.info(f"# Fans: {self.fancount}") logging.info(f"# Fans: {self.fancount}")
logging.info(f"# Output pins: {self.output_pin_count}") logging.info(f"# Output pins: {self.output_pin_count}")
def process_update(self, data): def process_update(self, data):
if self.data is None:
return
for x in (self.get_tools() + self.get_heaters() + self.get_filament_sensors()): for x in (self.get_tools() + self.get_heaters() + self.get_filament_sensors()):
if x in data: if x in data:
for i in data[x]: for i in data[x]:
@@ -134,59 +96,46 @@ class Printer:
self.data[x] = {} self.data[x] = {}
self.data[x].update(data[x]) self.data[x].update(data[x])
if "webhooks" in data or "idle_timeout" in data or "print_stats" in data or "pause_resume" in data: if "webhooks" in data or "print_stats" in data or "idle_timeout" in data:
self.evaluate_state() self.process_status_update()
def get_updates(self):
updates = self.data.copy()
updates.update(self.devices)
return updates
def evaluate_state(self): def evaluate_state(self):
wh_state = self.data['webhooks']['state'].lower() # possible values: startup, ready, shutdown, error # webhooks states: startup, ready, shutdown, error
# print_stats: standby, printing, paused, error, complete
# idle_timeout: Idle, Printing, Ready
if self.data['webhooks']['state'] == "ready" and self.data['print_stats']:
if self.data['print_stats']['state'] == 'paused':
return "paused"
if self.data['print_stats']['state'] == 'printing':
return "printing"
if self.data['idle_timeout'] and self.data['idle_timeout']['state'].lower() == "printing":
return "busy"
return self.data['webhooks']['state']
if wh_state == "ready": def process_status_update(self):
new_state = "ready" state = self.evaluate_state()
if self.data['pause_resume']['is_paused']: if state == "busy":
new_state = "paused" self.busy = True
elif self.data['print_stats']: return GLib.idle_add(self.busy_cb, True)
print_state = self.data['print_stats']['state'].lower() # complete, error, paused, printing, standby if self.busy:
if print_state == "paused": self.busy = False
new_state = "paused" GLib.idle_add(self.busy_cb, False)
if self.data['idle_timeout']: if state != self.state:
idle_state = self.data['idle_timeout']['state'].lower() # idle, printing, ready self.change_state(state)
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)
else:
self.change_state(wh_state)
def process_power_update(self, data): def process_power_update(self, data):
if data['device'] in self.power_devices: if data['device'] in self.power_devices:
self.power_devices[data['device']]['status'] = data['status'] self.power_devices[data['device']]['status'] = data['status']
def change_state(self, state): def change_state(self, state):
if state == self.state or state not in list(self.state_callbacks): if state not in list(self.state_callbacks):
return return # disconnected, startup, ready, shutdown, error, paused, printing
if state != self.state:
logging.debug(f"Changing state from '{self.state}' to '{state}'") logging.debug(f"Changing state from '{self.state}' to '{state}'")
prev_state = self.state self.state = state
self.state = state
if self.state_callbacks[state] is not None: if self.state_callbacks[state] is not None:
logging.debug(f"Adding callback for state: {state}") logging.debug(f"Adding callback for state: {state}")
Gdk.threads_add_idle( GLib.idle_add(self.state_cb, self.state_callbacks[state])
GLib.PRIORITY_HIGH_IDLE,
self.state_cb,
self.state_callbacks[state],
prev_state
)
def configure_power_devices(self, data): def configure_power_devices(self, data):
self.power_devices = {} self.power_devices = {}
@@ -199,13 +148,22 @@ class Printer:
logging.debug(f"Power devices: {self.power_devices}") logging.debug(f"Power devices: {self.power_devices}")
def get_config_section_list(self, search=""): def get_config_section_list(self, search=""):
return [i for i in list(self.config) if i.startswith(search)] if hasattr(self, "config") else [] if self.config is not None:
return [i for i in list(self.config) if i.startswith(search)] if hasattr(self, "config") else []
return []
def get_config_section(self, section): def get_config_section(self, section):
return self.config[section] if section in self.config else False return self.config[section] if section in self.config else False
def get_data(self): def get_macro(self, macro):
return self.data return next(
(
self.config[key]
for key in self.config.keys()
if key.find(macro) > -1
),
False,
)
def get_fans(self): def get_fans(self):
fans = [] fans = []
@@ -219,7 +177,6 @@ class Printer:
def get_output_pins(self): def get_output_pins(self):
output_pins = [] output_pins = []
output_pins.extend(iter(self.get_config_section_list("output_pin "))) output_pins.extend(iter(self.get_config_section_list("output_pin ")))
logging.debug(f"{output_pins}")
return output_pins return output_pins
def get_gcode_macros(self): def get_gcode_macros(self):
@@ -239,6 +196,14 @@ class Printer:
sensors.extend(iter(self.get_config_section_list("filament_motion_sensor "))) sensors.extend(iter(self.get_config_section_list("filament_motion_sensor ")))
return sensors return sensors
def get_probe(self):
probe_types = ["probe", "bltouch", "smart_effector", "dockable_probe"]
for probe_type in probe_types:
if self.config_section_exists(probe_type):
logging.info(f"Probe type: {probe_type}")
return self.get_config_section(probe_type)
return None
def get_printer_status_data(self): def get_printer_status_data(self):
data = { data = {
"printer": { "printer": {
@@ -264,9 +229,6 @@ class Printer:
return data return data
def get_klipper_version(self):
return self.klipper['version']
def get_power_devices(self): def get_power_devices(self):
return list(self.power_devices) return list(self.power_devices)
@@ -282,28 +244,17 @@ class Printer:
return self.data[stat][substat] if substat in self.data[stat] else {} return self.data[stat][substat] if substat in self.data[stat] else {}
return self.data[stat] return self.data[stat]
def get_state(self):
return self.state
def set_dev_temps(self, dev, temp, target=None):
if dev in self.devices:
self.devices[dev]['temperature'] = temp
if target is not None:
self.devices[dev]['target'] = target
def get_dev_stats(self, dev):
return self.devices[dev] if dev in self.devices else None
def get_dev_stat(self, dev, stat): def get_dev_stat(self, dev, stat):
if dev in self.devices and stat in self.devices[dev]: if dev in self.devices and stat in self.devices[dev]:
return self.devices[dev][stat] return self.devices[dev][stat]
return None return None
def get_fan_speed(self, fan="fan", speed=None): def get_fan_speed(self, fan="fan"):
speed = 0
if fan not in self.config or fan not in self.data: if fan not in self.config or fan not in self.data:
logging.debug(f"Error getting {fan} config") logging.debug(f"Error getting {fan} config")
return speed if speed is not None else 0 return speed
if speed is None and "speed" in self.data[fan]: if "speed" in self.data[fan]:
speed = self.data[fan]["speed"] speed = self.data[fan]["speed"]
if 'max_power' in self.config[fan]: if 'max_power' in self.config[fan]:
max_power = float(self.config[fan]['max_power']) max_power = float(self.config[fan]['max_power'])
@@ -322,15 +273,12 @@ class Printer:
return self.config[pin]["value"] return self.config[pin]["value"]
return 0 return 0
def get_extruder_count(self):
return self.extrudercount
def get_temp_store_devices(self): def get_temp_store_devices(self):
if self.tempstore is not None: if self.tempstore is not None:
return list(self.tempstore) return list(self.tempstore)
def get_temp_store_device_has_target(self, device): def device_has_target(self, device):
return device in self.tempstore and "targets" in self.tempstore[device] return "target" in self.devices[device] or (device in self.tempstore and "targets" in self.tempstore[device])
def get_temp_store(self, device, section=False, results=0): def get_temp_store(self, device, section=False, results=0):
if device not in self.tempstore: if device not in self.tempstore:
@@ -360,23 +308,25 @@ class Printer:
if "heater_bed" in self.devices: if "heater_bed" in self.devices:
return True return True
def init_temp_store(self, result): def init_temp_store(self, tempstore):
for dev in result: if tempstore and 'result' in tempstore:
self.tempstore[dev] = {} if self.tempstore and list(self.tempstore) != list(tempstore['result']):
if "targets" in result[dev]: logging.debug("Tempstore has changed")
self.tempstore[dev]["targets"] = result[dev]["targets"] self.tempstore = tempstore['result']
if "temperatures" in result[dev]: self.change_state(self.state)
self.tempstore[dev]["temperatures"] = result[dev]["temperatures"] else:
logging.info(f"Temp store: {list(self.tempstore)}") self.tempstore = tempstore['result']
for device in self.tempstore:
for x in self.tempstore[device]:
length = len(self.tempstore[device][x])
if length < self.tempstore_size:
for i in range(1, self.tempstore_size - length):
self.tempstore[device][x].insert(0, 0)
logging.info(f"Temp store: {list(self.tempstore)}")
def config_section_exists(self, section): def config_section_exists(self, section):
return section in self.get_config_section_list() return section in self.get_config_section_list()
def set_callbacks(self, callbacks):
for name, cb in callbacks.items():
if name in list(self.state_callbacks):
self.state_callbacks[name] = cb
def set_dev_stat(self, dev, stat, value): def set_dev_stat(self, dev, stat, value):
if dev not in self.devices: if dev not in self.devices:
return return
@@ -384,12 +334,13 @@ class Printer:
self.devices[dev][stat] = value self.devices[dev][stat] = value
def _update_temp_store(self): def _update_temp_store(self):
if self.tempstore is None:
return False
for device in self.tempstore: for device in self.tempstore:
for x in self.tempstore[device]: for x in self.tempstore[device]:
if len(self.tempstore[device][x]) >= 1200: self.tempstore[device][x].pop(0)
self.tempstore[device][x].pop(0)
temp = self.get_dev_stat(device, x[:-1]) temp = self.get_dev_stat(device, x[:-1])
if temp is None: if temp is None:
temp = 0 temp = 0
self.tempstore[device][x].append(round(temp, 2)) self.tempstore[device][x].append(temp)
return True return True
+72 -66
View File
@@ -1,107 +1,69 @@
import gi
import logging import logging
import datetime
import gi
gi.require_version("Gtk", "3.0") gi.require_version("Gtk", "3.0")
from gi.repository import Gtk from gi.repository import Gtk
from ks_includes.KlippyGcodes import KlippyGcodes
class ScreenPanel: class ScreenPanel:
_screen = None
_config = None
_files = None
_printer = None
_gtk = None
ks_printer_cfg = None
def __init__(self, screen, title, back=True): def __init__(self, screen, title):
self.menu = None self.menu = None
self._screen = screen ScreenPanel._screen = screen
self._config = screen._config ScreenPanel._config = screen._config
self._files = screen.files ScreenPanel._files = screen.files
self.lang = self._screen.lang ScreenPanel._printer = screen.printer
self._printer = screen.printer ScreenPanel._gtk = screen.gtk
self.labels = {} self.labels = {}
self._gtk = screen.gtk
self.control = {} self.control = {}
self.title = title self.title = title
self.devices = {} self.devices = {}
self.active_heaters = [] self.active_heaters = []
self.layout = Gtk.Layout()
self.layout.set_size(self._screen.width, self._screen.height)
self.content = Gtk.Box(orientation=Gtk.Orientation.VERTICAL) self.content = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
self.content.get_style_context().add_class("content") self.content.get_style_context().add_class("content")
self.content.set_hexpand(True) self.content.set_hexpand(True)
self.content.set_vexpand(True) self.content.set_vexpand(True)
self._show_heater_power = self._config.get_main_config().getboolean('show_heater_power', False)
self.bts = self._gtk.bsidescale
def initialize(self, panel_name): self.update_dialog = None
# Create gtk items here
return def _autoscroll(self, scroll, *args):
adj = scroll.get_vadjustment()
adj.set_value(adj.get_upper() - adj.get_page_size())
def emergency_stop(self, widget): def emergency_stop(self, widget):
if self._config.get_main_config().getboolean('confirm_estop', False): if self._config.get_main_config().getboolean('confirm_estop', False):
self._screen._confirm_send_action(widget, _("Are you sure you want to run Emergency Stop?"), self._screen._confirm_send_action(widget, _("Are you sure you want to run Emergency Stop?"),
"printer.emergency_stop") "printer.emergency_stop")
else: else:
self._screen._ws.klippy.emergency_stop() self._screen._ws.klippy.emergency_stop()
def get(self): def get_file_image(self, filename, width=None, height=None, small=False):
return self.layout
def get_content(self):
return self.content
def get_file_image(self, filename, width=1, height=1, small=False):
if not self._files.has_thumbnail(filename): if not self._files.has_thumbnail(filename):
return None return None
loc = self._files.get_thumbnail_location(filename, small) loc = self._files.get_thumbnail_location(filename, small)
if loc is None: if loc is None:
return None return None
width = width if width is not None else self._gtk.img_width
height = height if height is not None else self._gtk.img_height
if loc[0] == "file": if loc[0] == "file":
return self._gtk.PixbufFromFile(loc[1], width, height) return self._gtk.PixbufFromFile(loc[1], width, height)
if loc[0] == "http": if loc[0] == "http":
return self._gtk.PixbufFromHttp(loc[1], width, height) return self._gtk.PixbufFromHttp(loc[1], width, height)
return None return None
def get_title(self):
return self.title
def home(self, widget):
self._screen._ws.klippy.gcode_script(KlippyGcodes.HOME)
def homexy(self, widget):
self._screen._ws.klippy.gcode_script(KlippyGcodes.HOME_XY)
def z_tilt(self, widget):
self._screen._ws.klippy.gcode_script(KlippyGcodes.Z_TILT)
def quad_gantry_level(self, widget):
self._screen._ws.klippy.gcode_script(KlippyGcodes.QUAD_GANTRY_LEVEL)
def menu_item_clicked(self, widget, panel, item): def menu_item_clicked(self, widget, panel, item):
logging.info(f"### Creating panel {item['panel']} : {panel} {item}") self._screen.show_panel(panel, item['panel'], item['name'], 1, False)
if "items" in item:
self._screen.show_panel(f'{self._screen._cur_panels[-1]}_{panel}',
item['panel'], item['name'], 1, False, items=item['items'])
return
self._screen.show_panel(f'{self._screen._cur_panels[-1]}_{panel}', item['panel'], item['name'], 1, False)
def menu_return(self, widget, home=False): def load_menu(self, widget, name, title=None):
if home is False:
self._screen._menu_go_back()
return
self._screen._menu_go_home()
def set_title(self, title):
self.title = title
def show_all(self):
self._screen.show_all()
def update_image_text(self, label, text):
if label in self.labels and 'l' in self.labels[label]:
self.labels[label]['l'].set_text(text)
def load_menu(self, widget, name):
if f"{name}_menu" not in self.labels: if f"{name}_menu" not in self.labels:
return return
@@ -111,12 +73,14 @@ class ScreenPanel:
self.menu.append(f'{name}_menu') self.menu.append(f'{name}_menu')
self.content.add(self.labels[self.menu[-1]]) self.content.add(self.labels[self.menu[-1]])
self.content.show_all() self.content.show_all()
if title:
self._screen.base_panel.set_title(f"{self.title} | {title}")
def unload_menu(self, widget=None): def unload_menu(self, widget=None):
logging.debug(f"self.menu: {self.menu}") logging.debug(f"self.menu: {self.menu}")
if len(self.menu) <= 1 or self.menu[-2] not in self.labels: if len(self.menu) <= 1 or self.menu[-2] not in self.labels:
return return
self._screen.base_panel.set_title(self._screen.panels[self._screen._cur_panels[-1]].title)
self.menu.pop() self.menu.pop()
for child in self.content.get_children(): for child in self.content.get_children():
self.content.remove(child) self.content.remove(child)
@@ -154,7 +118,6 @@ class ScreenPanel:
def format_time(seconds): def format_time(seconds):
if seconds is None or seconds <= 0: if seconds is None or seconds <= 0:
return "-" return "-"
seconds = int(seconds)
days = seconds // 86400 days = seconds // 86400
seconds %= 86400 seconds %= 86400
hours = seconds // 3600 hours = seconds // 3600
@@ -166,6 +129,22 @@ class ScreenPanel:
f"{f'{minutes:2.0f}m ' if minutes > 0 else ''}" \ f"{f'{minutes:2.0f}m ' if minutes > 0 else ''}" \
f"{f'{seconds:2.0f}s' if days == 0 and hours == 0 and minutes == 0 else ''}" f"{f'{seconds:2.0f}s' if days == 0 and hours == 0 and minutes == 0 else ''}"
def format_eta(self, total, elapsed):
if total is None:
return "-"
seconds = total - elapsed
if seconds <= 0:
return "-"
days = seconds // 86400
seconds %= 86400
hours = seconds // 3600
seconds %= 3600
minutes = seconds // 60
eta = datetime.datetime.now() + datetime.timedelta(days=days, hours=hours, minutes=minutes)
if self._config.get_main_config().getboolean("24htime", True):
return f"{self.format_time(total - elapsed)} | {eta:%H:%M} {f' +{days:2.0f}d' if days > 0 else ''}"
return f"{self.format_time(total - elapsed)} | {eta:%I:%M %p} {f' +{days:2.0f}d' if days > 0 else ''}"
@staticmethod @staticmethod
def format_size(size): def format_size(size):
size = float(size) size = float(size)
@@ -174,3 +153,30 @@ class ScreenPanel:
unit = 1024 ** i unit = 1024 ** i
if size < unit: if size < unit:
return f"{(1024 * size / unit):.1f} {suffix}" return f"{(1024 * size / unit):.1f} {suffix}"
def update_temp(self, dev, temp, target, power, lines=1):
if temp is None:
return
show_target = bool(target)
if dev in self.devices and not self.devices[dev]["can_target"]:
show_target = False
show_power = show_target and self._show_heater_power and power is not None
new_label_text = f"{int(temp):3}"
if show_target:
new_label_text += f"/{int(target)}"
if dev not in self.devices:
new_label_text += "°"
if show_power:
if lines == 2:
# The label should wrap, but it doesn't work
# this is a workaround
new_label_text += "\n "
new_label_text += f" {int(power*100):3}%"
if dev in self.labels:
self.labels[dev].set_label(new_label_text)
elif dev in self.devices:
self.devices[dev]["temp"].get_child().set_label(new_label_text)
+70
View File
@@ -0,0 +1,70 @@
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk
class BedMap(Gtk.DrawingArea):
def __init__(self, font_size, bm):
super().__init__()
self.set_hexpand(True)
self.set_vexpand(True)
self.connect('draw', self.draw_graph)
self.font_size = font_size
self.font_spacing = round(self.font_size * 1.5)
self.bm = list(reversed(bm)) if bm is not None else None
def update_bm(self, bm):
self.bm = list(reversed(bm)) if bm is not None else None
def draw_graph(self, da, ctx):
width = da.get_allocated_width()
height = da.get_allocated_height()
# Styling
ctx.set_line_width(1)
ctx.set_font_size(self.font_size)
if self.bm is None:
ctx.move_to(self.font_spacing, height / 2)
ctx.set_source_rgb(0.5, 0.5, 0.5)
ctx.show_text(_("No mesh has been loaded"))
ctx.stroke()
return
rows = len(self.bm)
columns = len(self.bm[0])
for i, row in enumerate(self.bm):
ty = height / rows * i
by = ty + height / rows
for j, column in enumerate(row):
lx = width / columns * j
rx = lx + width / columns
# Colors
ctx.set_source_rgb(*self.colorbar(column))
ctx.move_to(lx, ty)
ctx.line_to(lx, by)
ctx.line_to(rx, by)
ctx.line_to(rx, ty)
ctx.close_path()
ctx.fill()
ctx.stroke()
if rows > 16 or columns > 8:
continue
# Numbers
ctx.set_source_rgb(0, 0, 0)
if column > 0:
ctx.move_to((lx + rx) / 2 - self.font_size, (ty + by + self.font_size) / 2)
else:
ctx.move_to((lx + rx) / 2 - self.font_size * 1.2, (ty + by + self.font_size) / 2)
ctx.show_text(f"{column:.2f}")
ctx.stroke()
@staticmethod
def colorbar(value):
rmax = 0.25
color = min(1, max(0, 1 - 1 / rmax * abs(value)))
if value > 0:
return [1, color, color]
if value < 0:
return [color, color, 1]
return [1, 1, 1]
@@ -1,8 +1,9 @@
import datetime import datetime
import gi
import logging import logging
import math import math
import gi
gi.require_version("Gtk", "3.0") gi.require_version("Gtk", "3.0")
from gi.repository import Gdk, Gtk from gi.repository import Gdk, Gtk
@@ -33,7 +34,6 @@ class HeaterGraph(Gtk.DrawingArea):
"fill": fill, "fill": fill,
"rgb": rgb "rgb": rgb
}}) }})
self.max_length = max(self.max_length, len(self.printer.get_temp_store(name, ev_type)))
@staticmethod @staticmethod
def event_cb(da, ev): def event_cb(da, ev):
@@ -47,9 +47,15 @@ class HeaterGraph(Gtk.DrawingArea):
for name in self.store if "temperatures" in self.store[name]) for name in self.store if "temperatures" in self.store[name])
def get_max_num(self, data_points=0): def get_max_num(self, data_points=0):
mnum = [] mnum = [0]
for x in self.store: for device in self.store:
mnum.extend(max(self.printer.get_temp_store(x, t, data_points)) for t in self.store[x] if t != "show") if self.store[device]['show']:
temp = self.printer.get_temp_store(device, "temperatures", data_points)
if temp:
mnum.append(max(temp))
target = self.printer.get_temp_store(device, "targets", data_points)
if target:
mnum.append(max(target))
return max(mnum) return max(mnum)
def draw_graph(self, da, ctx): def draw_graph(self, da, ctx):
@@ -85,6 +91,8 @@ class HeaterGraph(Gtk.DrawingArea):
points_per_pixel = self.max_length / graph_width points_per_pixel = self.max_length / graph_width
data_points = int(round(graph_width * points_per_pixel, 0)) data_points = int(round(graph_width * points_per_pixel, 0))
max_num = math.ceil(self.get_max_num(data_points) * 1.1 / 10) * 10 max_num = math.ceil(self.get_max_num(data_points) * 1.1 / 10) * 10
if points_per_pixel == 0:
return
d_width = 1 / points_per_pixel d_width = 1 / points_per_pixel
d_height_scale = self.graph_lines(ctx, gsize, max_num) d_height_scale = self.graph_lines(ctx, gsize, max_num)
@@ -112,7 +120,7 @@ class HeaterGraph(Gtk.DrawingArea):
d_len = len(data) - 1 d_len = len(data) - 1
for d in data: for d in data:
p_x = i * swidth + gsize[0][0] if i != d_len else gsize[1][0] - 1 p_x = i * swidth + gsize[0][0] if i != d_len else gsize[1][0] - 1
p_y = gsize[1][1] - 1 - (d * hscale) p_y = max(gsize[0][1], min(gsize[1][1], gsize[1][1] - 1 - (d * hscale)))
if i == 0: if i == 0:
ctx.move_to(gsize[0][0] + 1, p_y) ctx.move_to(gsize[0][0] + 1, p_y)
i += 1 i += 1
@@ -132,6 +140,7 @@ class HeaterGraph(Gtk.DrawingArea):
def graph_lines(self, ctx, gsize, max_num): def graph_lines(self, ctx, gsize, max_num):
nscale = 10 nscale = 10
max_num = min(max_num, 999)
while (max_num / nscale) > 5: while (max_num / nscale) > 5:
nscale += 10 nscale += 10
# nscale = math.floor((max_num / 10) / 4) * 10 # nscale = math.floor((max_num / 10) / 4) * 10
@@ -180,7 +189,7 @@ class HeaterGraph(Gtk.DrawingArea):
ctx.set_font_size(self.font_size) ctx.set_font_size(self.font_size)
ctx.show_text(f"{h:2}:{m:02}") ctx.show_text(f"{h:2}:{m:02}")
ctx.stroke() ctx.stroke()
i += 1 if self.max_length < 600 else 2 i += 1 + self.max_length // 601
def is_showing(self, device): def is_showing(self, device):
return False if device not in self.store else self.store[device]['show'] return False if device not in self.store else self.store[device]['show']
+119 -38
View File
@@ -1,3 +1,6 @@
import logging
import os
import gi import gi
gi.require_version("Gtk", "3.0") gi.require_version("Gtk", "3.0")
@@ -5,63 +8,139 @@ from gi.repository import Gtk, GLib
class Keyboard(Gtk.Box): class Keyboard(Gtk.Box):
langs = ["de", "en", "fr", "es"]
def __init__(self, screen, close_cb, entry=None): def __init__(self, screen, close_cb, entry=None):
super().__init__(orientation=Gtk.Orientation.VERTICAL) super().__init__(orientation=Gtk.Orientation.VERTICAL)
_ = screen.lang.gettext
self._gtk = screen.gtk
self.close_cb = close_cb self.close_cb = close_cb
self.keyboard = Gtk.Grid() self.keyboard = Gtk.Grid()
self.keyboard.set_direction(Gtk.TextDirection.LTR) self.keyboard.set_direction(Gtk.TextDirection.LTR)
self.timeout = self.clear_timeout = None self.timeout = self.clear_timeout = None
self.entry = entry self.entry = entry
self.keys = [ language = self.detect_language(screen._config.get_main_config().get("language", None))
[["q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "⌫"], logging.info(f"Keyboard {language}")
["a", "s", "d", "f", "g", "h", "j", "k", "l", "'"],
["ABC", "z", "x", "c", "v", "b", "n", "m", ",", ".", "?123"],
["✕", " ", "✔"]
],
[["Q", "W", "E", "R", "T", "Y", "U", "I", "O", "P", "⌫"],
["A", "S", "D", "F", "G", "H", "J", "K", "L", "'"],
["?123", "Z", "X", "C", "V", "B", "N", "M", ",", ".", "abc"],
["✕", " ", "✔"]
],
[["1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "⌫"],
["=", "-", "+", "*", "/", "\\", ":", ";", "'", "\""],
["abc", "(", ")", "#", "$", "!", "?", "@", "_", ",", "ABC"],
["✕", " ", "✔"]
]
]
self.labels = self.keys.copy() if language == "de":
self.keys = [
[
["q", "w", "e", "r", "t", "z", "u", "i", "o", "p", "ü", "⌫"],
["a", "s", "d", "f", "g", "h", "j", "k", "l", "ö", "ä"],
["ABC", "123", "#+=", "y", "x", "c", "v", "b", "n", "m"],
],
[
["Q", "W", "E", "R", "T", "Z", "U", "I", "O", "P", "Ü", "⌫"],
["A", "S", "D", "F", "G", "H", "J", "K", "L", "Ö", "Ä"],
["abc", "123", "#+=", "Y", "X", "C", "V", "B", "N", "M"],
],
[
["1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "ß", "⌫"],
["-", "/", ":", ";", "(", ")", "$", "&", "@", "\"", "ẞ"],
["ABC", "abc", "#+=", ".", ",", "?", "!", "'"],
],
[
["[", "]", "{", "}", "#", "%", "^", "*", "+", "=", "⌫"],
["_", "\\", "|", "~", "<", ">", "€", "£", "¥", "•"],
["ABC", "abc", "123", ".", ",", "?", "!", "'"],
]
]
elif language == "fr":
self.keys = [
[
["a", "z", "e", "r", "t", "y", "u", "i", "o", "p", "⌫"],
["q", "s", "d", "f", "g", "h", "j", "k", "l", "m"],
["ABC", "123", "#+=", "w", "x", "c", "v", "b", "n"],
],
[
["A", "Z", "E", "R", "T", "Y", "U", "I", "O", "P", "⌫"],
["Q", "S", "D", "F", "G", "H", "J", "K", "L", "M"],
["abc", "123", "#+=", "W", "X", "C", "V", "B", "N"],
],
[
["1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "⌫"],
["-", "/", ":", ";", "(", ")", "$", "&", "@", "\""],
["ABC", "abc", "#+=", ".", ",", "?", "!", "'"],
],
[
["[", "]", "{", "}", "#", "%", "^", "*", "+", "=", "⌫"],
["_", "\\", "|", "~", "<", ">", "€", "£", "¥", "•"],
["ABC", "abc", "123", ".", ",", "?", "!", "'"],
]
]
else:
self.keys = [
[
["q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "⌫"],
["a", "s", "d", "f", "g", "h", "j", "k", "l"],
["ABC", "123", "#+=", "z", "x", "c", "v", "b", "n", "m"],
],
[
["Q", "W", "E", "R", "T", "Y", "U", "I", "O", "P", "⌫"],
["A", "S", "D", "F", "G", "H", "J", "K", "L"],
["abc", "123", "#+=", "Z", "X", "C", "V", "B", "N", "M"],
],
[
["1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "⌫"],
["-", "/", ":", ";", "(", ")", "$", "&", "@", "\""],
["ABC", "abc", "#+=", ".", ",", "?", "!", "'"],
],
[
["[", "]", "{", "}", "#", "%", "^", "*", "+", "=", "⌫"],
["_", "\\", "|", "~", "<", ">", "€", "£", "¥", "•"],
["ABC", "abc", "123", ".", ",", "?", "!", "'"],
]
]
if language == "es":
self.keys[0][1].append("ñ")
self.keys[1][1].append("Ñ")
for pallet in self.keys:
pallet.append(["✕", " ", "✔"])
self.buttons = self.keys.copy()
for p, pallet in enumerate(self.keys): for p, pallet in enumerate(self.keys):
for r, row in enumerate(pallet): for r, row in enumerate(pallet):
for k, key in enumerate(row): for k, key in enumerate(row):
self.labels[p][r][k] = self._gtk.Button(key) if key == "⌫":
self.labels[p][r][k].set_hexpand(True) self.buttons[p][r][k] = screen.gtk.Button("backspace", scale=.6)
self.labels[p][r][k].set_vexpand(True) elif key == "✕":
self.labels[p][r][k].connect('button-press-event', self.repeat, key) self.buttons[p][r][k] = screen.gtk.Button("cancel", scale=.6)
self.labels[p][r][k].connect('button-release-event', self.release) elif key == "✔":
self.labels[p][r][k].get_style_context().add_class("keyboard_pad") self.buttons[p][r][k] = screen.gtk.Button("complete", scale=.6)
else:
self.buttons[p][r][k] = screen.gtk.Button(label=key, lines=1)
self.buttons[p][r][k].set_hexpand(True)
self.buttons[p][r][k].set_vexpand(True)
self.buttons[p][r][k].connect('button-press-event', self.repeat, key)
self.buttons[p][r][k].connect('button-release-event', self.release)
self.buttons[p][r][k].get_style_context().add_class("keyboard_pad")
self.pallet_nr = 0 self.pallet_nr = 0
self.set_pallet(self.pallet_nr) self.set_pallet(self.pallet_nr)
self.add(self.keyboard) self.add(self.keyboard)
def detect_language(self, language):
if language is None or language == "system_lang":
for language in self.langs:
if os.getenv('LANG').lower().startswith(language):
return language
for _ in self.langs:
if language.startswith(_):
return _
return "en"
def set_pallet(self, p): def set_pallet(self, p):
pallet = self.keys[p] for _ in range(len(self.keys[self.pallet_nr]) + 1):
span = 2 self.keyboard.remove_row(0)
for r, row in enumerate(pallet[:-1]): self.pallet_nr = p
for r, row in enumerate(self.keys[p][:-1]):
for k, key in enumerate(row): for k, key in enumerate(row):
x = k * 2 + 1 if r == 1 else k * 2 x = k * 2 + 1 if r == 1 else k * 2
old = self.keyboard.get_child_at(x, r) self.keyboard.attach(self.buttons[p][r][k], x, r, 2, 1)
if old: self.keyboard.attach(self.buttons[p][3][0], 0, 4, 3, 1) # ✕
self.keyboard.remove(old) self.keyboard.attach(self.buttons[p][3][1], 3, 4, 16, 1) # Space
self.keyboard.attach(self.labels[p][r][k], x, r, span, 1) self.keyboard.attach(self.buttons[p][3][2], 19, 4, 3, 1) # ✔
if not self.keyboard.get_child_at(0, 4):
self.keyboard.attach(self.labels[p][3][0], 0, 4, 3, 1)
self.keyboard.attach(self.labels[p][3][1], 3, 4, 16, 1)
self.keyboard.attach(self.labels[p][3][2], 19, 4, 3, 1)
self.show_all() self.show_all()
def repeat(self, widget, event, key): def repeat(self, widget, event, key):
@@ -104,7 +183,9 @@ class Keyboard(Gtk.Box):
self.set_pallet(0) self.set_pallet(0)
elif key == "ABC": elif key == "ABC":
self.set_pallet(1) self.set_pallet(1)
elif key == "?123": elif key == "123":
self.set_pallet(2) self.set_pallet(2)
elif key == "#+=":
self.set_pallet(3)
else: else:
Gtk.Entry.do_insert_at_cursor(self.entry, key) Gtk.Entry.do_insert_at_cursor(self.entry, key)
+4 -5
View File
@@ -8,7 +8,6 @@ class Keypad(Gtk.Box):
def __init__(self, screen, change_temp, close_function): def __init__(self, screen, change_temp, close_function):
super().__init__(orientation=Gtk.Orientation.VERTICAL) super().__init__(orientation=Gtk.Orientation.VERTICAL)
_ = screen.lang.gettext
self.labels = {} self.labels = {}
self.change_temp = change_temp self.change_temp = change_temp
self.screen = screen self.screen = screen
@@ -35,11 +34,11 @@ class Keypad(Gtk.Box):
for i in range(len(keys)): for i in range(len(keys)):
k_id = f'button_{str(keys[i][0])}' k_id = f'button_{str(keys[i][0])}'
if keys[i][0] == "B": if keys[i][0] == "B":
self.labels[k_id] = self._gtk.ButtonImage("backspace", scale=1) self.labels[k_id] = self._gtk.Button("backspace", scale=1)
elif keys[i][0] == "E": elif keys[i][0] == "E":
self.labels[k_id] = self._gtk.ButtonImage("complete", scale=1) self.labels[k_id] = self._gtk.Button("complete", scale=1)
else: else:
self.labels[k_id] = Gtk.Button(keys[i][0]) self.labels[k_id] = Gtk.Button(label=keys[i][0])
self.labels[k_id].connect('clicked', self.update_entry, keys[i][0]) self.labels[k_id].connect('clicked', self.update_entry, keys[i][0])
self.labels[k_id].get_style_context().add_class(keys[i][1]) self.labels[k_id].get_style_context().add_class(keys[i][1])
numpad.attach(self.labels[k_id], i % 3, i / 3, 1, 1) numpad.attach(self.labels[k_id], i % 3, i / 3, 1, 1)
@@ -49,7 +48,7 @@ class Keypad(Gtk.Box):
self.labels['entry'].props.xalign = 0.5 self.labels['entry'].props.xalign = 0.5
self.labels['entry'].connect("activate", self.update_entry, "E") self.labels['entry'].connect("activate", self.update_entry, "E")
b = self._gtk.ButtonImage('cancel', _('Close'), None, .66, Gtk.PositionType.LEFT, 1) b = self._gtk.Button('cancel', _('Close'), None, .66, Gtk.PositionType.LEFT, 1)
b.connect("clicked", close_function) b.connect("clicked", close_function)
self.add(self.labels['entry']) self.add(self.labels['entry'])
+150
View File
@@ -0,0 +1,150 @@
import logging
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gdk, Gtk
class ObjectMap(Gtk.DrawingArea):
def __init__(self, screen, printer, font_size):
super().__init__()
self._screen = screen
self.set_hexpand(True)
self.set_vexpand(True)
# self.get_style_context().add_class('objectmap')
self.printer = printer
self.max_length = 0
self.connect('draw', self.draw_graph)
self.add_events(Gdk.EventMask.TOUCH_MASK)
self.add_events(Gdk.EventMask.BUTTON_PRESS_MASK)
self.connect('button_press_event', self.event_cb)
self.font_size = round(font_size * 0.75)
self.font_spacing = round(self.font_size * 1.5)
self.margin_left = round(self.font_size * 2.75)
self.margin_right = 15
self.margin_top = 10
self.margin_bottom = self.font_size * 2
self.objects = self.printer.get_stat("exclude_object", "objects")
self.current_object = self.printer.get_stat("current_object", "current_object")
self.excluded_objects = self.printer.get_stat("exclude_object", "excluded_objects")
self.min_x = self.min_y = 99999999
self.max_x = self.max_y = 0
def x_graph_to_bed(self, width, gx):
return (((gx - self.margin_left) * (self.max_x - self.min_x))
/ (width - self.margin_left - self.margin_right)) + self.min_x
def y_graph_to_bed(self, height, gy):
return ((1 - ((gy - self.margin_top) / (height - self.margin_top - self.margin_bottom)))
* (self.max_y - self.min_y)) + self.min_y
def event_cb(self, da, ev):
# Convert coordinates from screen-graph to bed
x = self.x_graph_to_bed(da.get_allocated_width(), ev.x)
y = self.y_graph_to_bed(da.get_allocated_height(), ev.y)
logging.info(f"Touched GRAPH {ev.x:.0f},{ev.y:.0f} BED: {x:.0f},{y:.0f}")
for obj in self.objects:
obj_min_x = obj_max_x = obj["polygon"][0][0]
obj_min_y = obj_max_y = obj["polygon"][0][1]
for point in obj["polygon"]:
obj_min_x = min(obj_min_x, point[0])
obj_min_y = min(obj_min_y, point[1])
obj_max_x = max(obj_max_x, point[0])
obj_max_y = max(obj_max_y, point[1])
if obj_min_x < x < obj_max_x and obj_min_y < y < obj_max_y:
logging.info(f"TOUCHED object it's: {obj['name']}")
if obj['name'] not in self.excluded_objects:
self.exclude_object(obj['name'])
break
def exclude_object(self, name):
script = {"script": f"EXCLUDE_OBJECT NAME={name}"}
self._screen._confirm_send_action(
None,
_("Are you sure do you want to exclude the object?") + f"\n\n{name}",
"printer.gcode.script",
script
)
def draw_graph(self, da, ctx):
right = da.get_allocated_width() - self.margin_right
bottom = da.get_allocated_height() - self.margin_bottom
self.objects = self.printer.get_stat("exclude_object", "objects")
for obj in self.objects:
for point in obj["polygon"]:
# Find min coords
self.min_x = min(self.min_x, point[0])
self.min_y = min(self.min_y, point[1])
# Find max coords
self.max_x = max(self.max_x, point[0])
self.max_y = max(self.max_y, point[1])
# Styling
ctx.set_source_rgb(.5, .5, .5) # Grey
ctx.set_line_width(1)
ctx.set_font_size(self.font_size)
# Borders
ctx.move_to(self.margin_left, self.margin_top)
# logging.info(f"l:{self.margin_left:.0f} t:{self.margin_top:.0f} r:{right:.0f} b:{bottom:.0f}")
ctx.line_to(right, self.margin_top)
ctx.line_to(right, bottom)
ctx.line_to(self.margin_left, bottom)
ctx.line_to(self.margin_left, self.margin_top)
ctx.stroke()
# Axis labels
ctx.move_to(0, bottom + self.font_spacing)
ctx.show_text(f"{self.min_x:.0f},{self.min_y:.0f}")
ctx.stroke()
ctx.move_to(right - self.font_spacing * 2, bottom + self.font_spacing)
ctx.show_text(f"{self.max_x:.0f},{self.min_y:.0f}")
ctx.stroke()
ctx.move_to(0, self.font_spacing / 2)
ctx.show_text(f"{self.min_x:.0f},{self.max_y:.0f}")
ctx.stroke()
# middle markers
midx = (right - self.margin_left) / 2 + self.margin_left
ctx.set_dash([1, 1])
ctx.move_to(midx, self.margin_top)
ctx.line_to(midx, bottom)
ctx.stroke()
midy = (self.margin_top - bottom) / 2 + bottom
ctx.move_to(self.margin_left, midy)
ctx.line_to(right, midy)
ctx.stroke()
ctx.set_dash([1, 0])
# Draw objects
for obj in self.objects:
# change the color depending on the status
if obj['name'] == self.printer.get_stat("exclude_object", "current_object"):
ctx.set_source_rgb(1, 0, 0) # Red
elif obj['name'] in self.printer.get_stat("exclude_object", "excluded_objects"):
ctx.set_source_rgb(0, 0, 0) # Black
else:
ctx.set_source_rgb(.5, .5, .5) # Grey
for i, point in enumerate(obj["polygon"]):
# Convert coordinates from bed to screen-graph
x = self.x_bed_to_graph(da.get_allocated_width(), point[0])
y = self.y_bed_to_graph(da.get_allocated_height(), point[1])
if i == 0:
ctx.move_to(x, y)
continue
ctx.line_to(x, y)
# logging.info(f"obj graph: {x=:.0f},{y=:.0f} bed: {point[0]:.0f},{point[1]:.0f}")
ctx.close_path()
ctx.fill()
ctx.stroke()
def x_bed_to_graph(self, width, bx):
return (((bx - self.min_x) * (width - self.margin_left - self.margin_right))
/ (self.max_x - self.min_x)) + self.margin_left
def y_bed_to_graph(self, height, by):
return ((1 - ((by - self.min_y) / (self.max_y - self.min_y)))
* (height - self.margin_top - self.margin_bottom)) + self.margin_top
+17 -46
View File
@@ -3,46 +3,38 @@ import logging
import re import re
import socket import socket
import threading import threading
from threading import Thread from threading import Thread
from queue import Queue from queue import Queue
import gi import gi
gi.require_version("Gtk", "3.0") gi.require_version("Gtk", "3.0")
from gi.repository import GLib, Gdk from gi.repository import GLib
class WifiManager: class WifiManager:
networks_in_supplicant = [] networks_in_supplicant = []
connected = False connected = False
_stop_loop = False _stop_loop = False
thread = None
def __init__(self, interface, *args, **kwargs): def __init__(self, interface, *args, **kwargs):
super().__init__(*args, **kwargs) super().__init__(*args, **kwargs)
self.loop = None
self._poll_task = None
self._scanning = False
self._callbacks = { self._callbacks = {
"connected": [], "connected": [],
"connecting_status": [], "connecting_status": [],
"scan_results": [] "scan_results": [],
"popup": [],
} }
self._stop_loop = False self._stop_loop = False
self.connected = False self.connected = False
self.connected_ssid = None self.connected_ssid = None
self.connecting_info = []
self.event = threading.Event() self.event = threading.Event()
self.initialized = False self.initialized = False
self.interface = interface self.interface = interface
self.networks = {} self.networks = {}
self.supplicant_networks = {} self.supplicant_networks = {}
self.queue = Queue() self.queue = Queue()
self.tasks = []
self.timeout = None self.timeout = None
self.scan_time = 0
ks_socket_file = "/tmp/.KS_wpa_supplicant" ks_socket_file = "/tmp/.KS_wpa_supplicant"
if os.path.exists(ks_socket_file): if os.path.exists(ks_socket_file):
@@ -103,10 +95,7 @@ class WifiManager:
def callback(self, cb_type, msg): def callback(self, cb_type, msg):
if cb_type in self._callbacks: if cb_type in self._callbacks:
for cb in self._callbacks[cb_type]: for cb in self._callbacks[cb_type]:
Gdk.threads_add_idle( GLib.idle_add(cb, msg)
GLib.PRIORITY_DEFAULT_IDLE,
cb,
msg)
def connect(self, ssid): def connect(self, ssid):
netid = None netid = None
@@ -120,8 +109,8 @@ class WifiManager:
return False return False
logging.info(f"Attempting to connect to wifi: {netid}") logging.info(f"Attempting to connect to wifi: {netid}")
self.connecting_info = [f"Attempting to connect to {ssid}"] self.callback("connecting_status", f"Attempting to connect to {ssid}")
self.wpa_cli(f"SELECT_NETWORK {id}") self.wpa_cli(f"SELECT_NETWORK {netid}")
self.save_wpa_conf() self.save_wpa_conf()
def delete_network(self, ssid): def delete_network(self, ssid):
@@ -164,9 +153,8 @@ class WifiManager:
self.networks[ssid]['connected'] = ssid == con_ssid self.networks[ssid]['connected'] = ssid == con_ssid
if prev_ssid != self.connected_ssid: if prev_ssid != self.connected_ssid:
for cb in self._callbacks['connected']: for cb in self._callbacks['connected']:
Gdk.threads_add_idle( args = self.connected_ssid, prev_ssid
GLib.PRIORITY_DEFAULT_IDLE, GLib.idle_add(cb, *args)
cb, self.connected_ssid, prev_ssid)
return [con_ssid, con_bssid] return [con_ssid, con_bssid]
elif "ssid" in variables and "bssid" in variables: elif "ssid" in variables and "bssid" in variables:
self.connected = True self.connected = True
@@ -175,9 +163,8 @@ class WifiManager:
self.networks[ssid]['connected'] = ssid == variables['ssid'] self.networks[ssid]['connected'] = ssid == variables['ssid']
if prev_ssid != self.connected_ssid: if prev_ssid != self.connected_ssid:
for cb in self._callbacks['connected']: for cb in self._callbacks['connected']:
Gdk.threads_add_idle( args = self.connected_ssid, prev_ssid
GLib.PRIORITY_DEFAULT_IDLE, GLib.idle_add(cb, *args)
cb, self.connected_ssid, prev_ssid)
return [variables['ssid'], variables['bssid']] return [variables['ssid'], variables['bssid']]
else: else:
logging.info("Resetting connected_ssid") logging.info("Resetting connected_ssid")
@@ -187,9 +174,8 @@ class WifiManager:
self.networks[ssid]['connected'] = False self.networks[ssid]['connected'] = False
if prev_ssid != self.connected_ssid: if prev_ssid != self.connected_ssid:
for cb in self._callbacks['connected']: for cb in self._callbacks['connected']:
Gdk.threads_add_idle( args = self.connected_ssid, prev_ssid
GLib.PRIORITY_DEFAULT_IDLE, GLib.idle_add(cb, *args)
cb, self.connected_ssid, prev_ssid)
return None return None
def get_current_wifi_idle_add(self): def get_current_wifi_idle_add(self):
@@ -203,7 +189,7 @@ class WifiManager:
for net in self.networks: for net in self.networks:
if mac == net['mac']: if mac == net['mac']:
return net return net
return None return {}
def get_networks(self): def get_networks(self):
return list(self.networks) return list(self.networks)
@@ -211,12 +197,6 @@ class WifiManager:
def get_supplicant_networks(self): def get_supplicant_networks(self):
return self.supplicant_networks return self.supplicant_networks
def is_connected(self):
return self.connected
def is_initialized(self):
return self.initialized
def read_wpa_supplicant(self): def read_wpa_supplicant(self):
results = self.wpa_cli("LIST_NETWORKS").split('\n') results = self.wpa_cli("LIST_NETWORKS").split('\n')
results.pop(0) results.pop(0)
@@ -230,13 +210,8 @@ class WifiManager:
} }
self.networks_in_supplicant.append(self.supplicant_networks[net[0]]) self.networks_in_supplicant.append(self.supplicant_networks[net[0]])
def remove_callback(self, name, callback):
if name in self._callbacks and callback in self._callbacks[name]:
self._callbacks[name].remove(callback)
def rescan(self): def rescan(self):
self.wpa_cli("SCAN", False) self.wpa_cli("SCAN", False)
return True
def save_wpa_conf(self): def save_wpa_conf(self):
logging.info("Saving WPA config") logging.info("Saving WPA config")
@@ -289,9 +264,8 @@ class WifiManager:
new_networks.append(net) new_networks.append(net)
if new_networks or deleted_networks: if new_networks or deleted_networks:
for cb in self._callbacks['scan_results']: for cb in self._callbacks['scan_results']:
Gdk.threads_add_idle( args = new_networks, deleted_networks
GLib.PRIORITY_DEFAULT_IDLE, GLib.idle_add(cb, *args)
cb, new_networks, deleted_networks)
def wpa_cli(self, command, wait=True): def wpa_cli(self, command, wait=True):
if wait is False: if wait is False:
@@ -326,7 +300,7 @@ class WpaSocket(Thread):
continue continue
if msg.startswith("<"): if msg.startswith("<"):
if "CTRL-EVENT-SCAN-RESULTS" in msg: if "CTRL-EVENT-SCAN-RESULTS" in msg:
Gdk.threads_add_idle(GLib.PRIORITY_DEFAULT_IDLE, self.wm.scan_results) GLib.idle_add(self.wm.scan_results)
elif "CTRL-EVENT-DISCONNECTED" in msg: elif "CTRL-EVENT-DISCONNECTED" in msg:
self.callback("connecting_status", msg) self.callback("connecting_status", msg)
match = re.match('<3>CTRL-EVENT-DISCONNECTED bssid=(\\S+) reason=3 locally_generated=1', msg) match = re.match('<3>CTRL-EVENT-DISCONNECTED bssid=(\\S+) reason=3 locally_generated=1', msg)
@@ -338,7 +312,7 @@ class WpaSocket(Thread):
elif "Trying to associate" in msg or "CTRL-EVENT-REGDOM-CHANGE" in msg: elif "Trying to associate" in msg or "CTRL-EVENT-REGDOM-CHANGE" in msg:
self.callback("connecting_status", msg) self.callback("connecting_status", msg)
elif "CTRL-EVENT-CONNECTED" in msg: elif "CTRL-EVENT-CONNECTED" in msg:
Gdk.threads_add_idle(GLib.PRIORITY_DEFAULT_IDLE, self.wm.get_current_wifi_idle_add) GLib.idle_add(self.wm.get_current_wifi_idle_add)
self.callback("connecting_status", msg) self.callback("connecting_status", msg)
elif self.skip_commands > 0: elif self.skip_commands > 0:
self.skip_commands = self.skip_commands - 1 self.skip_commands = self.skip_commands - 1
@@ -349,9 +323,6 @@ class WpaSocket(Thread):
def skip_command(self): def skip_command(self):
self.skip_commands = self.skip_commands + 1 self.skip_commands = self.skip_commands + 1
def stop(self):
self._stop_loop = True
class WifiChannels: class WifiChannels:
@staticmethod @staticmethod
+274
View File
@@ -0,0 +1,274 @@
# Network in KlipperScreen is a connection in NetworkManager
# Interface in KlipperScreen is a device in NetworkManager
import contextlib
import logging
import uuid
from ks_includes import NetworkManager
import dbus
from dbus.mainloop.glib import DBusGMainLoop
import gi
gi.require_version('Gdk', '3.0')
from gi.repository import GLib
from ks_includes.wifi import WifiChannels
class WifiManager:
networks_in_supplicant = []
def __init__(self, interface_name, *args, **kwargs):
super().__init__(*args, **kwargs)
DBusGMainLoop(set_as_default=True)
self._callbacks = {
"connected": [],
"connecting_status": [],
"scan_results": [],
"popup": [],
}
self.connected = False
self.connected_ssid = None
self.interface_name = interface_name
self.known_networks = {} # List of known connections
self.visible_networks = {} # List of visible access points
self.ssid_by_path = {}
self.path_by_ssid = {}
self.hidden_ssid_index = 0
self.wifi_dev = NetworkManager.NetworkManager.GetDeviceByIpIface(interface_name)
self.wifi_dev.OnAccessPointAdded(self._ap_added)
self.wifi_dev.OnAccessPointRemoved(self._ap_removed)
self.wifi_dev.OnStateChanged(self._ap_state_changed)
for ap in self.wifi_dev.GetAccessPoints():
self._add_ap(ap)
self._update_known_connections()
self.initialized = True
def _update_known_connections(self):
self.known_networks = {}
for con in NetworkManager.Settings.ListConnections():
settings = con.GetSettings()
if "802-11-wireless" in settings:
ssid = settings["802-11-wireless"]['ssid']
self.known_networks[ssid] = con
def _ap_added(self, nm, interface, signal, access_point):
with contextlib.suppress(NetworkManager.ObjectVanished):
access_point.OnPropertiesChanged(self._ap_prop_changed)
ssid = self._add_ap(access_point)
for cb in self._callbacks['scan_results']:
args = (cb, [ssid], [])
GLib.idle_add(*args)
def _ap_removed(self, dev, interface, signal, access_point):
path = access_point.object_path
if path in self.ssid_by_path:
ssid = self.ssid_by_path[path]
self._remove_ap(path)
for cb in self._callbacks['scan_results']:
args = (cb, [ssid], [])
GLib.idle_add(*args)
def _ap_state_changed(self, nm, interface, signal, old_state, new_state, reason):
msg = ""
if new_state in (NetworkManager.NM_DEVICE_STATE_UNKNOWN, NetworkManager.NM_DEVICE_STATE_REASON_UNKNOWN):
msg = "State is unknown"
elif new_state == NetworkManager.NM_DEVICE_STATE_UNMANAGED:
msg = "Error: Not managed by NetworkManager"
elif new_state == NetworkManager.NM_DEVICE_STATE_UNAVAILABLE:
msg = "Error: Not available for use:\nReasons may include the wireless switched off, missing firmware, etc."
elif new_state == NetworkManager.NM_DEVICE_STATE_DISCONNECTED:
msg = "Currently disconnected"
elif new_state == NetworkManager.NM_DEVICE_STATE_PREPARE:
msg = "Preparing the connection to the network"
elif new_state == NetworkManager.NM_DEVICE_STATE_CONFIG:
msg = "Connecting to the requested network..."
elif new_state == NetworkManager.NM_DEVICE_STATE_NEED_AUTH:
msg = "Authorizing"
elif new_state == NetworkManager.NM_DEVICE_STATE_IP_CONFIG:
msg = "Requesting IP addresses and routing information"
elif new_state == NetworkManager.NM_DEVICE_STATE_IP_CHECK:
msg = "Checking whether further action is required for the requested network connection"
elif new_state == NetworkManager.NM_DEVICE_STATE_SECONDARIES:
msg = "Waiting for a secondary connection (like a VPN)"
elif new_state == NetworkManager.NM_DEVICE_STATE_ACTIVATED:
msg = "Connected"
elif new_state == NetworkManager.NM_DEVICE_STATE_DEACTIVATING:
msg = "A disconnection from the current network connection was requested"
elif new_state == NetworkManager.NM_DEVICE_STATE_FAILED:
msg = "Failed to connect to the requested network"
self.callback("popup", msg)
elif new_state == NetworkManager.NM_DEVICE_STATE_REASON_DEPENDENCY_FAILED:
msg = "A dependency of the connection failed"
elif new_state == NetworkManager.NM_DEVICE_STATE_REASON_CARRIER:
msg = ""
else:
logging.info(f"State {new_state}")
if msg != "":
self.callback("connecting_status", msg)
if new_state == NetworkManager.NM_DEVICE_STATE_ACTIVATED:
self.connected = True
for cb in self._callbacks['connected']:
args = (cb, self.get_connected_ssid(), None)
GLib.idle_add(*args)
else:
self.connected = False
def _ap_prop_changed(self, ap, interface, signal, properties):
pass
def _add_ap(self, ap):
ssid = ap.Ssid
if ssid == "":
ssid = _("Hidden") + f" {self.hidden_ssid_index}"
self.hidden_ssid_index += 1
self.ssid_by_path[ap.object_path] = ssid
self.path_by_ssid[ssid] = ap.object_path
self.visible_networks[ap.object_path] = ap
return ssid
def _remove_ap(self, path):
self.ssid_by_path.pop(path, None)
self.visible_networks.pop(path, None)
def add_callback(self, name, callback):
if name in self._callbacks and callback not in self._callbacks[name]:
self._callbacks[name].append(callback)
def callback(self, cb_type, msg):
if cb_type in self._callbacks:
for cb in self._callbacks[cb_type]:
GLib.idle_add(cb, msg)
def add_network(self, ssid, psk):
aps = self._visible_networks_by_ssid()
if ssid in aps:
ap = aps[ssid]
new_connection = {
'802-11-wireless': {
'mode': 'infrastructure',
'security': '802-11-wireless-security',
'ssid': ssid
},
'802-11-wireless-security': {
'auth-alg': 'open',
'key-mgmt': 'wpa-psk',
'psk': psk
},
'connection': {
'id': ssid,
'type': '802-11-wireless',
'uuid': str(uuid.uuid4())
},
'ipv4': {
'method': 'auto'
},
'ipv6': {
'method': 'auto'
}
}
try:
NetworkManager.Settings.AddConnection(new_connection)
except dbus.exceptions.DBusException as e:
msg = _("Invalid password") if "802-11-wireless-security.psk" in e else f"{e}"
self.callback("popup", msg)
logging.info(f"Error adding network {e}")
self._update_known_connections()
return True
def connect(self, ssid):
if ssid in self.known_networks:
conn = self.known_networks[ssid]
with contextlib.suppress(NetworkManager.ObjectVanished):
msg = f"Connecting to: {ssid}"
logging.info(msg)
self.callback("connecting_status", msg)
NetworkManager.NetworkManager.ActivateConnection(conn, self.wifi_dev, "/")
def delete_network(self, ssid):
for ssid in self.known_networks:
con = self.known_networks[ssid]
if con.GetSettings()['connection']['id'] == ssid:
con.Delete()
self._update_known_connections()
def get_connected_ssid(self):
if self.wifi_dev.SpecificDevice().ActiveAccessPoint:
return self.wifi_dev.SpecificDevice().ActiveAccessPoint.Ssid
return None
def _get_connected_ap(self):
return self.wifi_dev.SpecificDevice().ActiveAccessPoint
def _visible_networks_by_ssid(self):
aps = self.wifi_dev.GetAccessPoints()
ret = {}
for ap in aps:
with contextlib.suppress(NetworkManager.ObjectVanished):
ret[ap.Ssid] = ap
return ret
def get_network_info(self, ssid):
netinfo = {}
if ssid in self.known_networks:
con = self.known_networks[ssid]
with contextlib.suppress(NetworkManager.ObjectVanished):
settings = con.GetSettings()
if settings and '802-11-wireless' in settings:
netinfo.update({
"ssid": settings['802-11-wireless']['ssid'],
"connected": self.get_connected_ssid() == ssid
})
path = self.path_by_ssid[ssid]
aps = self.visible_networks
if path in aps:
ap = aps[path]
with contextlib.suppress(NetworkManager.ObjectVanished):
netinfo.update({
"mac": ap.HwAddress,
"channel": WifiChannels.lookup(str(ap.Frequency))[1],
"configured": ssid in self.known_networks,
"frequency": str(ap.Frequency),
"flags": ap.Flags,
"ssid": ssid,
"connected": self._get_connected_ap() == ap,
"encryption": self._get_encryption(ap.RsnFlags),
"signal_level_dBm": str(ap.Strength)
})
return netinfo
@staticmethod
def _get_encryption(flags):
encryption = ""
if (flags & NetworkManager.NM_802_11_AP_SEC_PAIR_WEP40 or
flags & NetworkManager.NM_802_11_AP_SEC_PAIR_WEP104 or
flags & NetworkManager.NM_802_11_AP_SEC_GROUP_WEP40 or
flags & NetworkManager.NM_802_11_AP_SEC_GROUP_WEP104):
encryption += "WEP "
if (flags & NetworkManager.NM_802_11_AP_SEC_PAIR_TKIP or
flags & NetworkManager.NM_802_11_AP_SEC_GROUP_TKIP):
encryption += "TKIP "
if (flags & NetworkManager.NM_802_11_AP_SEC_PAIR_CCMP or
flags & NetworkManager.NM_802_11_AP_SEC_GROUP_CCMP):
encryption += "AES "
if flags & NetworkManager.NM_802_11_AP_SEC_KEY_MGMT_PSK:
encryption += "WPA-PSK "
if flags & NetworkManager.NM_802_11_AP_SEC_KEY_MGMT_802_1X:
encryption += "802.1x "
return encryption.strip()
def get_networks(self):
return list(set(list(self.known_networks.keys()) + list(self.ssid_by_path.values())))
def get_supplicant_networks(self):
return {ssid: {"ssid": ssid} for ssid in self.known_networks.keys()}
def rescan(self):
try:
self.wifi_dev.RequestScan({})
except dbus.exceptions.DBusException as e:
logging.error(f"Error during rescan {e}")
+1
View File
@@ -14,6 +14,7 @@ nav:
- Quicktips.md - Quicktips.md
- Macros: macros.md - Macros: macros.md
- Android.md - Android.md
- Thumbnails.md
- Troubleshooting.md - Troubleshooting.md
- Panels: - Panels:
- Bed Level/Screws: Screws.md - Bed Level/Screws: Screws.md
+178 -125
View File
@@ -1,47 +1,50 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import contextlib import contextlib
import datetime
import gi
import logging import logging
import gi
gi.require_version("Gtk", "3.0") gi.require_version("Gtk", "3.0")
from gi.repository import GLib, Gtk, Pango from gi.repository import GLib, Gtk, Pango
from jinja2 import Environment from jinja2 import Environment
from datetime import datetime
from math import log
from ks_includes.screen_panel import ScreenPanel from ks_includes.screen_panel import ScreenPanel
class BasePanel(ScreenPanel): class BasePanel(ScreenPanel):
def __init__(self, screen, title, back=True): def __init__(self, screen, title):
super().__init__(screen, title, back) super().__init__(screen, title)
self.current_panel = None self.current_panel = None
self.time_min = -1 self.time_min = -1
self.time_format = self._config.get_main_config().getboolean("24htime", True) self.time_format = self._config.get_main_config().getboolean("24htime", True)
self.time_update = None self.time_update = None
self.titlebar_items = []
self.titlebar_name_type = None self.titlebar_name_type = None
self.buttons_showing = { self.buttons_showing = {
'back': not back,
'macros_shortcut': False, 'macros_shortcut': False,
'printer_select': False 'printer_select': len(self._config.get_printers()) > 1,
} }
self.current_extruder = None self.current_extruder = None
# Action bar buttons # Action bar buttons
self.control['back'] = self._gtk.ButtonImage('back', scale=1) abscale = self.bts * 1.1
self.control['back'] = self._gtk.Button('back', scale=abscale)
self.control['back'].connect("clicked", self.back) self.control['back'].connect("clicked", self.back)
self.control['home'] = self._gtk.ButtonImage('main', scale=1) self.control['home'] = self._gtk.Button('main', scale=abscale)
self.control['home'].connect("clicked", self.menu_return, True) self.control['home'].connect("clicked", self._screen._menu_go_back, True)
if len(self._config.get_printers()) > 1: if len(self._config.get_printers()) > 1:
self.control['printer_select'] = self._gtk.ButtonImage('shuffle', scale=1) self.control['printer_select'] = self._gtk.Button('shuffle', scale=abscale)
self.control['printer_select'].connect("clicked", self._screen.show_printer_select) self.control['printer_select'].connect("clicked", self._screen.show_printer_select)
self.control['macros_shortcut'] = self._gtk.ButtonImage('custom-script', scale=1) self.control['macros_shortcut'] = self._gtk.Button('custom-script', scale=abscale)
self.control['macros_shortcut'].connect("clicked", self.menu_item_clicked, "gcode_macros", { self.control['macros_shortcut'].connect("clicked", self.menu_item_clicked, "gcode_macros", {
"name": "Macros", "name": "Macros",
"panel": "gcode_macros" "panel": "gcode_macros"
}) })
self.control['estop'] = self._gtk.ButtonImage('emergency', scale=1) self.control['estop'] = self._gtk.Button('emergency', scale=abscale)
self.control['estop'].connect("clicked", self.emergency_stop) self.control['estop'].connect("clicked", self.emergency_stop)
# Any action bar button should close the keyboard # Any action bar button should close the keyboard
@@ -53,19 +56,19 @@ class BasePanel(ScreenPanel):
if self._screen.vertical_mode: if self._screen.vertical_mode:
self.action_bar.set_hexpand(True) self.action_bar.set_hexpand(True)
self.action_bar.set_vexpand(False) self.action_bar.set_vexpand(False)
self.action_bar.set_size_request(0, self._gtk.get_action_bar_height())
else: else:
self.action_bar.set_hexpand(False) self.action_bar.set_hexpand(False)
self.action_bar.set_vexpand(True) self.action_bar.set_vexpand(True)
self.action_bar.set_size_request(self._gtk.get_action_bar_width(), 0)
self.action_bar.get_style_context().add_class('action_bar') self.action_bar.get_style_context().add_class('action_bar')
self.action_bar.set_size_request(self._gtk.action_bar_width, self._gtk.action_bar_height)
self.action_bar.add(self.control['back']) self.action_bar.add(self.control['back'])
self.action_bar.add(self.control['home']) self.action_bar.add(self.control['home'])
if len(self._config.get_printers()) > 1: self.show_back(False)
if self.buttons_showing['printer_select']:
self.action_bar.add(self.control['printer_select']) self.action_bar.add(self.control['printer_select'])
self.action_bar.add(self.control['macros_shortcut']) self.show_macro_shortcut(self._config.get_main_config().getboolean('side_macro_shortcut', True))
self.action_bar.add(self.control['estop']) self.action_bar.add(self.control['estop'])
self.show_estop(False)
# Titlebar # Titlebar
@@ -81,10 +84,10 @@ class BasePanel(ScreenPanel):
self.control['time'] = Gtk.Label("00:00 AM") self.control['time'] = Gtk.Label("00:00 AM")
self.control['time_box'] = Gtk.Box() self.control['time_box'] = Gtk.Box()
self.control['time_box'].set_halign(Gtk.Align.END) self.control['time_box'].set_halign(Gtk.Align.END)
self.control['time_box'].pack_end(self.control['time'], True, True, 5) self.control['time_box'].pack_end(self.control['time'], True, True, 10)
self.titlebar = Gtk.Box(spacing=5) self.titlebar = Gtk.Box(spacing=5)
self.titlebar.set_size_request(0, self._gtk.get_titlebar_height()) self.titlebar.get_style_context().add_class("title_bar")
self.titlebar.set_valign(Gtk.Align.CENTER) self.titlebar.set_valign(Gtk.Align.CENTER)
self.titlebar.add(self.control['temp_box']) self.titlebar.add(self.control['temp_box'])
self.titlebar.add(self.titlelbl) self.titlebar.add(self.titlelbl)
@@ -92,9 +95,6 @@ class BasePanel(ScreenPanel):
# Main layout # Main layout
self.main_grid = Gtk.Grid() self.main_grid = Gtk.Grid()
# To achieve rezisability this needs to be removed
# The main issue is that currently the content doesn't expand correctly
self.main_grid.set_size_request(self._screen.width, self._screen.height)
if self._screen.vertical_mode: if self._screen.vertical_mode:
self.main_grid.attach(self.titlebar, 0, 0, 1, 1) self.main_grid.attach(self.titlebar, 0, 0, 1, 1)
@@ -107,101 +107,82 @@ class BasePanel(ScreenPanel):
self.main_grid.attach(self.titlebar, 1, 0, 1, 1) self.main_grid.attach(self.titlebar, 1, 0, 1, 1)
self.main_grid.attach(self.content, 1, 1, 1, 1) self.main_grid.attach(self.content, 1, 1, 1, 1)
# Layout is and content are on screen_panel
self.layout.add(self.main_grid)
def initialize(self, panel_name):
self.update_time() self.update_time()
return
def show_heaters(self, show=True): def show_heaters(self, show=True):
printer_cfg = self._config.get_printer_config(self._screen.connected_printer) try:
if printer_cfg is not None: for child in self.control['temp_box'].get_children():
self.titlebar_name_type = printer_cfg.get("titlebar_name_type", None) self.control['temp_box'].remove(child)
else: if not show or self._printer.get_temp_store_devices() is None:
self.titlebar_name_type = None return
logging.info(f"Titlebar name type: {self.titlebar_name_type}")
for child in self.control['temp_box'].get_children(): img_size = self._gtk.img_scale * self.bts
self.control['temp_box'].remove(child) for device in self._printer.get_temp_store_devices():
self.labels[device] = Gtk.Label(label="100º")
self.labels[device].set_ellipsize(Pango.EllipsizeMode.START)
if not show or self._screen.printer.get_temp_store_devices() is None: self.labels[f'{device}_box'] = Gtk.Box()
return icon = self.get_icon(device, img_size)
if icon is not None:
self.labels[f'{device}_box'].pack_start(icon, False, False, 3)
self.labels[f'{device}_box'].pack_start(self.labels[device], False, False, 0)
for device in self._screen.printer.get_temp_store_devices(): # Limit the number of items according to resolution
if device.startswith("extruder"): nlimit = int(round(log(self._screen.width, 10) * 5 - 10.5))
if self._screen.printer.extrudercount > 1:
if device == "extruder":
icon = self._gtk.Image("extruder-0", .5)
else:
icon = self._gtk.Image(f"extruder-{device[8:]}", .5)
else:
icon = self._gtk.Image("extruder", .5)
elif device.startswith("heater_bed"):
icon = self._gtk.Image("bed", .5)
# Extra items
elif self.titlebar_name_type is not None:
# The item has a name, do not use an icon
icon = None
elif device.startswith("temperature_fan"):
icon = self._gtk.Image("fan", .5)
elif device.startswith("heater_generic"):
icon = self._gtk.Image("heater", .5)
else:
icon = self._gtk.Image("heat-up", .5)
self.labels[device] = Gtk.Label(label="100º") n = 0
self.labels[device].set_ellipsize(Pango.EllipsizeMode.START) if self._printer.get_tools():
self.current_extruder = self._printer.get_stat("toolhead", "extruder")
if self.current_extruder and f"{self.current_extruder}_box" in self.labels:
self.control['temp_box'].add(self.labels[f"{self.current_extruder}_box"])
n += 1
self.labels[f'{device}_box'] = Gtk.Box() if self._printer.has_heated_bed():
if icon is not None: self.control['temp_box'].add(self.labels['heater_bed_box'])
self.labels[f'{device}_box'].pack_start(icon, False, False, 3)
self.labels[f'{device}_box'].pack_start(self.labels[device], False, False, 0)
# Limit the number of items according to resolution
if self._screen.width <= 480:
nlimit = 3
elif self._screen.width <= 800:
nlimit = 4
else:
nlimit = 5
n = 0
if self._screen.printer.get_tools():
self.current_extruder = self._screen.printer.get_stat("toolhead", "extruder")
if self.current_extruder:
self.control['temp_box'].add(self.labels[f"{self.current_extruder}_box"])
n += 1 n += 1
if self._screen.printer.has_heated_bed(): # Options in the config have priority
self.control['temp_box'].add(self.labels['heater_bed_box']) for device in self._printer.get_temp_store_devices():
n += 1 # Users can fill the bar if they want
if n >= nlimit + 1:
# Options in the config have priority break
if printer_cfg is not None: name = device.split()[1] if len(device.split()) > 1 else device
titlebar_items = printer_cfg.get("titlebar_items", None) for item in self.titlebar_items:
if titlebar_items is not None: if name == item:
titlebar_items = [str(i.strip()) for i in titlebar_items.split(',')] self.control['temp_box'].add(self.labels[f"{device}_box"])
logging.info(f"Titlebar items: {titlebar_items}") n += 1
for device in self._screen.printer.get_temp_store_devices():
# Users can fill the bar if they want
if n >= nlimit + 1:
break break
name = device.split()[1] if len(device.split()) > 1 else device
for item in titlebar_items:
if name == item:
self.control['temp_box'].add(self.labels[f"{device}_box"])
n += 1
break
# If there is enough space fill with heater_generic # If there is enough space fill with heater_generic
for device in self._screen.printer.get_temp_store_devices(): for device in self._printer.get_temp_store_devices():
if n >= nlimit: if n >= nlimit:
break break
if device.startswith("heater_generic"): if device.startswith("heater_generic"):
self.control['temp_box'].add(self.labels[f"{device}_box"]) self.control['temp_box'].add(self.labels[f"{device}_box"])
n += 1 n += 1
self.control['temp_box'].show_all() self.control['temp_box'].show_all()
except Exception as e:
logging.debug(f"Couldn't create heaters box: {e}")
def get_icon(self, device, img_size):
if device.startswith("extruder"):
if self._printer.extrudercount > 1:
if device == "extruder":
device = "extruder0"
return self._gtk.Image(f"extruder-{device[8:]}", img_size, img_size)
return self._gtk.Image("extruder", img_size, img_size)
elif device.startswith("heater_bed"):
return self._gtk.Image("bed", img_size, img_size)
# Extra items
elif self.titlebar_name_type is not None:
# The item has a name, do not use an icon
return None
elif device.startswith("temperature_fan"):
return self._gtk.Image("fan", img_size, img_size)
elif device.startswith("heater_generic"):
return self._gtk.Image("heater", img_size, img_size)
else:
return self._gtk.Image("heat-up", img_size, img_size)
def activate(self): def activate(self):
if self.time_update is None: if self.time_update is None:
@@ -209,10 +190,10 @@ class BasePanel(ScreenPanel):
def add_content(self, panel): def add_content(self, panel):
self.current_panel = panel self.current_panel = panel
self.set_title(panel.get_title()) self.set_title(panel.title)
self.content.add(panel.get_content()) self.content.add(panel.content)
def back(self, widget): def back(self, widget=None):
if self.current_panel is None: if self.current_panel is None:
return return
@@ -224,13 +205,32 @@ class BasePanel(ScreenPanel):
self._screen._menu_go_back() self._screen._menu_go_back()
def process_update(self, action, data): def process_update(self, action, data):
if action == "notify_update_response":
if self.update_dialog is None:
self.show_update_dialog()
with contextlib.suppress(KeyError):
self.labels['update_progress'].set_text(
f"{self.labels['update_progress'].get_text().strip()}\n"
f"{data['message']}\n")
with contextlib.suppress(KeyError):
if data['complete']:
logging.info("Update complete")
if self.update_dialog is not None:
try:
self.update_dialog.set_response_sensitive(Gtk.ResponseType.OK, True)
self.update_dialog.get_widget_for_response(Gtk.ResponseType.OK).show()
except AttributeError:
logging.error("error trying to show the updater button the dialog might be closed")
self._screen.updating = False
for dialog in self._screen.dialogs:
self._gtk.remove_dialog(dialog)
if action != "notify_status_update" or self._screen.printer is None: if action != "notify_status_update" or self._screen.printer is None:
return return
devices = self._printer.get_temp_store_devices()
devices = self._screen.printer.get_temp_store_devices()
if devices is not None: if devices is not None:
for device in devices: for device in devices:
temp = self._screen.printer.get_dev_stat(device, "temperature") temp = self._printer.get_dev_stat(device, "temperature")
if temp is not None and device in self.labels: if temp is not None and device in self.labels:
name = "" name = ""
if not (device.startswith("extruder") or device.startswith("heater_bed")): if not (device.startswith("extruder") or device.startswith("heater_bed")):
@@ -242,7 +242,7 @@ class BasePanel(ScreenPanel):
name = f"{name[:1].upper()}: " name = f"{name[:1].upper()}: "
self.labels[device].set_label(f"{name}{int(temp)}°") self.labels[device].set_label(f"{name}{int(temp)}°")
with contextlib.suppress(KeyError): with contextlib.suppress(Exception):
if data["toolhead"]["extruder"] != self.current_extruder: if data["toolhead"]["extruder"] != self.current_extruder:
self.control['temp_box'].remove(self.labels[f"{self.current_extruder}_box"]) self.control['temp_box'].remove(self.labels[f"{self.current_extruder}_box"])
self.current_extruder = data["toolhead"]["extruder"] self.current_extruder = data["toolhead"]["extruder"]
@@ -254,14 +254,12 @@ class BasePanel(ScreenPanel):
self.content.remove(widget) self.content.remove(widget)
def show_back(self, show=True): def show_back(self, show=True):
if show is True and self.buttons_showing['back'] is False: if show:
self.control['back'].set_sensitive(True) self.control['back'].set_sensitive(True)
self.control['home'].set_sensitive(True) self.control['home'].set_sensitive(True)
self.buttons_showing['back'] = True return
elif show is False and self.buttons_showing['back'] is True: self.control['back'].set_sensitive(False)
self.control['back'].set_sensitive(False) self.control['home'].set_sensitive(False)
self.control['home'].set_sensitive(False)
self.buttons_showing['back'] = False
def show_macro_shortcut(self, show=True): def show_macro_shortcut(self, show=True):
if show is True and self.buttons_showing['macros_shortcut'] is False: if show is True and self.buttons_showing['macros_shortcut'] is False:
@@ -270,28 +268,29 @@ class BasePanel(ScreenPanel):
self.action_bar.reorder_child(self.control['macros_shortcut'], 2) self.action_bar.reorder_child(self.control['macros_shortcut'], 2)
else: else:
self.action_bar.reorder_child(self.control['macros_shortcut'], 3) self.action_bar.reorder_child(self.control['macros_shortcut'], 3)
self.control['macros_shortcut'].show()
self.buttons_showing['macros_shortcut'] = True self.buttons_showing['macros_shortcut'] = True
elif show is False and self.buttons_showing['macros_shortcut'] is True: elif show is False and self.buttons_showing['macros_shortcut'] is True:
self.action_bar.remove(self.control['macros_shortcut']) self.action_bar.remove(self.control['macros_shortcut'])
self.buttons_showing['macros_shortcut'] = False self.buttons_showing['macros_shortcut'] = False
self._screen.show_all()
def show_printer_select(self, show=True): def show_printer_select(self, show=True):
if len(self._config.get_printers()) <= 1:
return
if show and self.buttons_showing['printer_select'] is False: if show and self.buttons_showing['printer_select'] is False:
self.action_bar.add(self.control['printer_select']) self.action_bar.add(self.control['printer_select'])
self.action_bar.reorder_child(self.control['printer_select'], 2) self.action_bar.reorder_child(self.control['printer_select'], 2)
self.buttons_showing['printer_select'] = True self.buttons_showing['printer_select'] = True
self.control['printer_select'].show()
elif show is False and self.buttons_showing['printer_select']: elif show is False and self.buttons_showing['printer_select']:
self.action_bar.remove(self.control['printer_select']) self.action_bar.remove(self.control['printer_select'])
self.buttons_showing['printer_select'] = False self.buttons_showing['printer_select'] = False
self._screen.show_all()
def set_title(self, title): def set_title(self, title):
if not title:
self.titlelbl.set_label(f"{self._screen.connecting_to_printer}")
return
try: try:
env = Environment(extensions=["jinja2.ext.i18n"], autoescape=True) env = Environment(extensions=["jinja2.ext.i18n"], autoescape=True)
env.install_gettext_translations(self.lang) env.install_gettext_translations(self._config.get_lang())
j2_temp = env.from_string(title) j2_temp = env.from_string(title)
title = j2_temp.render() title = j2_temp.render()
except Exception as e: except Exception as e:
@@ -300,11 +299,65 @@ class BasePanel(ScreenPanel):
self.titlelbl.set_label(f"{self._screen.connecting_to_printer} | {title}") self.titlelbl.set_label(f"{self._screen.connecting_to_printer} | {title}")
def update_time(self): def update_time(self):
now = datetime.datetime.now() now = datetime.now()
confopt = self._config.get_main_config().getboolean("24htime", True) confopt = self._config.get_main_config().getboolean("24htime", True)
if now.minute != self.time_min or self.time_format != confopt: if now.minute != self.time_min or self.time_format != confopt:
if confopt: if confopt:
self.control['time'].set_text(f'{now:%H:%M}') self.control['time'].set_text(f'{now:%H:%M }')
else: else:
self.control['time'].set_text(f'{now:%I:%M %p}') self.control['time'].set_text(f'{now:%I:%M %p}')
self.time_min = now.minute
self.time_format = confopt
return True return True
def show_estop(self, show=True):
if show:
self.control['estop'].set_sensitive(True)
return
self.control['estop'].set_sensitive(False)
def set_ks_printer_cfg(self, printer):
ScreenPanel.ks_printer_cfg = self._config.get_printer_config(printer)
if self.ks_printer_cfg is not None:
self.titlebar_name_type = self.ks_printer_cfg.get("titlebar_name_type", None)
titlebar_items = self.ks_printer_cfg.get("titlebar_items", None)
if titlebar_items is not None:
self.titlebar_items = [str(i.strip()) for i in titlebar_items.split(',')]
logging.info(f"Titlebar name type: {self.titlebar_name_type} items: {self.titlebar_items}")
else:
self.titlebar_items = []
def show_update_dialog(self):
if self.update_dialog is not None:
return
button = [{"name": _("Finish"), "response": Gtk.ResponseType.OK}]
self.labels['update_progress'] = Gtk.Label()
self.labels['update_progress'].set_halign(Gtk.Align.START)
self.labels['update_progress'].set_valign(Gtk.Align.START)
self.labels['update_progress'].set_ellipsize(Pango.EllipsizeMode.END)
self.labels['update_scroll'] = self._gtk.ScrolledWindow()
self.labels['update_scroll'].set_property("overlay-scrolling", True)
self.labels['update_scroll'].add(self.labels['update_progress'])
self.labels['update_scroll'].connect("size-allocate", self._autoscroll)
dialog = self._gtk.Dialog(self._screen, button, self.labels['update_scroll'], self.finish_updating)
dialog.connect("delete-event", self.close_update_dialog)
dialog.set_response_sensitive(Gtk.ResponseType.OK, False)
dialog.get_widget_for_response(Gtk.ResponseType.OK).hide()
dialog.set_title(_("Updating"))
self.update_dialog = dialog
self._screen.updating = True
def finish_updating(self, dialog, response_id):
if response_id != Gtk.ResponseType.OK:
return
logging.info("Finishing update")
self._screen.updating = False
self._gtk.remove_dialog(dialog)
self._screen._menu_go_back(home=True)
def close_update_dialog(self, *args):
logging.info("Closing update dialog")
if self.update_dialog in self._screen.dialogs:
self._screen.dialogs.remove(self.update_dialog)
self.update_dialog = None
self._screen._menu_go_back(home=True)
+197 -152
View File
@@ -1,6 +1,8 @@
import gi
import logging import logging
import re import re
import math
import gi
gi.require_version("Gtk", "3.0") gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Pango from gi.repository import Gtk, Pango
@@ -13,51 +15,105 @@ def create_panel(*args):
return BedLevelPanel(*args) return BedLevelPanel(*args)
# Find the screw closest to the point,
# but return None if the distance is above max_distance.
# If remove is set to true, the screw is also removed
# from the list of passed in screws.
def find_closest(screws, point, max_distance, remove=False):
if len(screws) == 0:
return None
closest = screws[0]
min_distance = math.hypot(closest[0] - point[0], closest[1] - point[1])
for screw in screws[1:]:
distance = math.hypot(screw[0] - point[0], screw[1] - point[1])
if distance < min_distance:
closest = screw
min_distance = distance
if min_distance > max_distance:
return None
if remove:
screws.remove(closest)
return closest
class BedLevelPanel(ScreenPanel): class BedLevelPanel(ScreenPanel):
def __init__(self, screen, title, back=True): def __init__(self, screen, title):
super().__init__(screen, title, back) super().__init__(screen, title)
self.response_count = 0 self.response_count = 0
self.panel_name = ""
self.screw_dict = {} self.screw_dict = {}
self.screws = [] self.screws = []
self.y_cnt = 0 self.y_cnt = 0
self.x_cnt = 0 self.x_cnt = 0
self.x_offset = 0 self.x_offset = 0
self.y_offset = 0 self.y_offset = 0
self.buttons = {'dm': self._gtk.Button("motor-off", _("Disable XY"), "color3")}
def initialize(self, panel_name): self.buttons['dm'].connect("clicked", self.disable_motors)
self.panel_name = panel_name
self.labels['dm'] = self._gtk.ButtonImage("motor-off", _("Disable XY"), "color3")
self.labels['dm'].connect("clicked", self.disable_motors)
screw_positions = [] screw_positions = []
rotation = None rotation = None
grid = self._gtk.HomogeneousGrid() grid = self._gtk.HomogeneousGrid()
grid.attach(self.labels['dm'], 0, 0, 1, 1) grid.attach(self.buttons['dm'], 0, 0, 1, 1)
if "screws_tilt_adjust" in self._screen.printer.get_config_section_list(): if "screws_tilt_adjust" in self._printer.get_config_section_list():
self.labels['screws'] = self._gtk.ButtonImage("refresh", _("Screws Adjust"), "color4") self.buttons['screws'] = self._gtk.Button("refresh", _("Screws Adjust"), "color4")
self.labels['screws'].connect("clicked", self.screws_tilt_calculate) self.buttons['screws'].connect("clicked", self.screws_tilt_calculate)
grid.attach(self.labels['screws'], 0, 1, 1, 1) grid.attach(self.buttons['screws'], 0, 1, 1, 1)
self.screws = self._get_screws("screws_tilt_adjust") self.screws = self._get_screws("screws_tilt_adjust")
logging.info(f"screws_tilt_adjust: {self.screws}") logging.info(f"screws_tilt_adjust: {self.screws}")
if "bltouch" in self._screen.printer.get_config_section_list(): probe = self._printer.get_probe()
self._get_offsets("bltouch") if probe:
elif "probe" in self._screen.printer.get_config_section_list(): if "x_offset" in probe:
self._get_offsets("probe") self.x_offset = round(float(probe['x_offset']), 1)
new_screws = [] if "y_offset" in probe:
self.y_offset = round(float(probe['y_offset']), 1)
logging.debug(f"offset X: {self.x_offset} Y: {self.y_offset}")
# bed_screws uses NOZZLE positions # bed_screws uses NOZZLE positions
# screws_tilt_adjust uses PROBE positions and to be offseted for the buttons to work equal to bed_screws # screws_tilt_adjust uses PROBE positions and
for screw in self.screws: # to be offseted for the buttons to work equal to bed_screws
new_screws.append([round(screw[0] + self.x_offset, 1), round(screw[1] + self.y_offset, 1)]) new_screws = [
[round(screw[0] + self.x_offset, 1), round(screw[1] + self.y_offset, 1)]
for screw in self.screws
]
self.screws = new_screws self.screws = new_screws
logging.info(f"screws with offset: {self.screws}") logging.info(f"screws with offset: {self.screws}")
elif "bed_screws" in self._screen.printer.get_config_section_list(): elif "bed_screws" in self._printer.get_config_section_list():
self.screws = self._get_screws("bed_screws") self.screws = self._get_screws("bed_screws")
logging.info(f"bed_screws: {self.screws}") logging.info(f"bed_screws: {self.screws}")
nscrews = len(self.screws)
# KS config
valid_positions = True
valid_screws = ["bl", "fl", "fr", "br", "bm", "fm", "lm", "rm", "center"]
if self.ks_printer_cfg is not None:
screw_positions = self.ks_printer_cfg.get("screw_positions", "")
if screw_positions:
screw_positions = [str(i.strip()) for i in screw_positions.split(',')]
logging.info(f"Positions: {screw_positions}")
for screw in screw_positions:
if screw not in valid_screws:
logging.error(f"Unknown screw: {screw}")
self._screen.show_popup_message(_("Unknown screw position") + f": {screw}")
valid_positions = False
if not (3 <= len(screw_positions) <= 9):
valid_positions = False
else:
if nscrews in (3, 5, 7):
valid_positions = False
screw_positions = valid_screws
rotation = self.ks_printer_cfg.getint("screw_rotation", 0)
logging.info(f"Rotation: {rotation}")
else:
if nscrews in (3, 5, 7):
valid_positions = False
screw_positions = valid_screws
if 'bed_screws' in self._config.get_config():
rotation = self._config.get_config()['bed_screws'].getint("rotation", 0)
logging.debug(f"Rotation: {rotation}")
# get dimensions # get dimensions
x_positions = {x[0] for x in self.screws} x_positions = {x[0] for x in self.screws}
@@ -68,91 +124,73 @@ class BedLevelPanel(ScreenPanel):
min_x = min(x_positions) min_x = min(x_positions)
max_x = max(x_positions) max_x = max(x_positions)
mid_x = round((min_x + max_x) / 2)
min_y = min(y_positions) min_y = min(y_positions)
max_y = max(y_positions) max_y = max(y_positions)
mid_y = round((min_y + max_y) / 2)
fl = [min_x, min_y] max_distance = math.ceil(
bl = [min_x, max_y] math.hypot(max_x - min_x, max_y - min_y)
br = [max_x, max_y] / min(self.x_cnt, self.y_cnt, 3)
fr = [max_x, min_y] )
if self.x_cnt == 3: logging.debug(f"Using max_distance: {max_distance} to fit: {len(self.screws)} screws.")
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:
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
logging.debug(f"Using {len(self.screws)}-screw locations [x,y] [{self.x_cnt}x{self.y_cnt}]") remaining_screws = self.screws[:]
self.labels['bl'] = self._gtk.ButtonImage("bed-level-t-l", scale=2.5) fl = find_closest(remaining_screws, (min_x, min_y), max_distance, remove="fl" in screw_positions)
self.labels['br'] = self._gtk.ButtonImage("bed-level-t-r", scale=2.5) bl = find_closest(remaining_screws, (min_x, max_y), max_distance, remove="bl" in screw_positions)
self.labels['fl'] = self._gtk.ButtonImage("bed-level-b-l", scale=2.5) br = find_closest(remaining_screws, (max_x, max_y), max_distance, remove="br" in screw_positions)
self.labels['fr'] = self._gtk.ButtonImage("bed-level-b-r", scale=2.5) fr = find_closest(remaining_screws, (max_x, min_y), max_distance, remove="fr" in screw_positions)
self.labels['lm'] = self._gtk.ButtonImage("bed-level-l-m", scale=2.5)
self.labels['rm'] = self._gtk.ButtonImage("bed-level-r-m", scale=2.5)
self.labels['fm'] = self._gtk.ButtonImage("bed-level-b-m", scale=2.5)
self.labels['bm'] = self._gtk.ButtonImage("bed-level-t-m", scale=2.5)
valid_positions = True fm = find_closest(remaining_screws, (mid_x, min_y), max_distance, remove="fm" in screw_positions)
printer_cfg = self._config.get_printer_config(self._screen.connected_printer) bm = find_closest(remaining_screws, (mid_x, max_y), max_distance, remove="bm" in screw_positions)
if printer_cfg is not None:
logging.info(f"printer {printer_cfg}") lm = find_closest(remaining_screws, (min_x, mid_y), max_distance, remove="lm" in screw_positions)
screw_positions = printer_cfg.get("screw_positions", "") rm = find_closest(remaining_screws, (max_x, mid_y), max_distance, remove="rm" in screw_positions)
screw_positions = [str(i.strip()) for i in screw_positions.split(',')]
logging.info(f"Positions: {screw_positions}") center = find_closest(remaining_screws, (mid_x, mid_y), max_distance, remove="center" in screw_positions)
for screw in screw_positions:
if screw not in ("bl", "fl", "fr", "br", "bm", "fm", "lm", "rm", ""): if len(remaining_screws) != 0:
logging.error(f"Unknown screw: {screw}") logging.debug(f"Screws not used: {remaining_screws}")
self._screen.show_popup_message(_("Unknown screw position") + ": %s" % screw)
valid_positions = False logging.debug(f"Using {len(self.screws) - len(remaining_screws)}/{len(self.screws)}-screw locations")
if not(3 <= len(screw_positions) <= 8):
valid_positions = False button_scale = 2
rotation = printer_cfg.getint("screw_rotation", 0)
logging.info(f"Rotation: {rotation}") self.buttons['bl'] = self._gtk.Button("bed-level-t-l", scale=button_scale)
else: self.buttons['br'] = self._gtk.Button("bed-level-t-r", scale=button_scale)
valid_positions = False self.buttons['fl'] = self._gtk.Button("bed-level-b-l", scale=button_scale)
if 'bed_screws' in self._config.get_config(): self.buttons['fr'] = self._gtk.Button("bed-level-b-r", scale=button_scale)
rotation = self._config.get_config()['bed_screws'].getint("rotation", 0) self.buttons['lm'] = self._gtk.Button("bed-level-l-m", scale=button_scale)
logging.debug(f"Rotation: {rotation}") self.buttons['rm'] = self._gtk.Button("bed-level-r-m", scale=button_scale)
self.buttons['fm'] = self._gtk.Button("bed-level-b-m", scale=button_scale)
self.buttons['bm'] = self._gtk.Button("bed-level-t-m", scale=button_scale)
self.buttons['center'] = self._gtk.Button("increase", scale=button_scale)
bedgrid = Gtk.Grid() bedgrid = Gtk.Grid()
nscrews = len(self.screws)
if valid_positions: if valid_positions:
if "bl" in screw_positions: if "bl" in screw_positions and bl:
bedgrid.attach(self.labels['bl'], 1, 0, 1, 1) bedgrid.attach(self.buttons['bl'], 1, 0, 1, 1)
if "fl" in screw_positions: if "fl" in screw_positions and fl:
bedgrid.attach(self.labels['fl'], 1, 2, 1, 1) bedgrid.attach(self.buttons['fl'], 1, 2, 1, 1)
if "fr" in screw_positions: if "fr" in screw_positions and fr:
bedgrid.attach(self.labels['fr'], 3, 2, 1, 1) bedgrid.attach(self.buttons['fr'], 3, 2, 1, 1)
if "br" in screw_positions: if "br" in screw_positions and br:
bedgrid.attach(self.labels['br'], 3, 0, 1, 1) bedgrid.attach(self.buttons['br'], 3, 0, 1, 1)
if "bm" in screw_positions: if "bm" in screw_positions and bm:
bedgrid.attach(self.labels['bm'], 2, 0, 1, 1) bedgrid.attach(self.buttons['bm'], 2, 0, 1, 1)
if "fm" in screw_positions: if "fm" in screw_positions and fm:
bedgrid.attach(self.labels['fm'], 2, 2, 1, 1) bedgrid.attach(self.buttons['fm'], 2, 2, 1, 1)
if "lm" in screw_positions: if "lm" in screw_positions and lm:
bedgrid.attach(self.labels['lm'], 1, 1, 1, 1) bedgrid.attach(self.buttons['lm'], 1, 1, 1, 1)
if "rm" in screw_positions: if "rm" in screw_positions and rm:
bedgrid.attach(self.labels['rm'], 3, 1, 1, 1) bedgrid.attach(self.buttons['rm'], 3, 1, 1, 1)
elif nscrews in (4, 6, 8): if "center" in screw_positions and center:
bedgrid.attach(self.labels['bl'], 1, 0, 1, 1) bedgrid.attach(self.buttons['center'], 2, 1, 1, 1)
bedgrid.attach(self.labels['fl'], 1, 2, 1, 1) self.buttons['center'].connect("clicked", self.go_to_position, center)
bedgrid.attach(self.labels['fr'], 3, 2, 1, 1)
bedgrid.attach(self.labels['br'], 3, 0, 1, 1)
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)
else: else:
label = Gtk.Label( label = Gtk.Label(
_("Bed screw configuration:") + f" {nscrews}\n\n" _("Bed screw configuration:") + f" {nscrews}\n\n"
@@ -169,14 +207,14 @@ class BedLevelPanel(ScreenPanel):
# fm bm # fm bm
# fr rm br # fr rm br
self.labels['bl'].connect("clicked", self.go_to_position, fl) self.buttons['bl'].connect("clicked", self.go_to_position, fl)
self.labels['bm'].connect("clicked", self.go_to_position, lm) self.buttons['bm'].connect("clicked", self.go_to_position, lm)
self.labels['br'].connect("clicked", self.go_to_position, bl) self.buttons['br'].connect("clicked", self.go_to_position, bl)
self.labels['rm'].connect("clicked", self.go_to_position, bm) self.buttons['rm'].connect("clicked", self.go_to_position, bm)
self.labels['fr'].connect("clicked", self.go_to_position, br) self.buttons['fr'].connect("clicked", self.go_to_position, br)
self.labels['fm'].connect("clicked", self.go_to_position, rm) self.buttons['fm'].connect("clicked", self.go_to_position, rm)
self.labels['fl'].connect("clicked", self.go_to_position, fr) self.buttons['fl'].connect("clicked", self.go_to_position, fr)
self.labels['lm'].connect("clicked", self.go_to_position, fm) self.buttons['lm'].connect("clicked", self.go_to_position, fm)
self.screw_dict = { self.screw_dict = {
'bl': fl, 'bl': fl,
'bm': lm, 'bm': lm,
@@ -191,14 +229,14 @@ class BedLevelPanel(ScreenPanel):
# fr fm fl # fr fm fl
# rm lm # rm lm
# br bm bl # br bm bl
self.labels['bl'].connect("clicked", self.go_to_position, fr) self.buttons['bl'].connect("clicked", self.go_to_position, fr)
self.labels['bm'].connect("clicked", self.go_to_position, fm) self.buttons['bm'].connect("clicked", self.go_to_position, fm)
self.labels['br'].connect("clicked", self.go_to_position, fl) self.buttons['br'].connect("clicked", self.go_to_position, fl)
self.labels['rm'].connect("clicked", self.go_to_position, lm) self.buttons['rm'].connect("clicked", self.go_to_position, lm)
self.labels['fr'].connect("clicked", self.go_to_position, bl) self.buttons['fr'].connect("clicked", self.go_to_position, bl)
self.labels['fm'].connect("clicked", self.go_to_position, bm) self.buttons['fm'].connect("clicked", self.go_to_position, bm)
self.labels['fl'].connect("clicked", self.go_to_position, br) self.buttons['fl'].connect("clicked", self.go_to_position, br)
self.labels['lm'].connect("clicked", self.go_to_position, rm) self.buttons['lm'].connect("clicked", self.go_to_position, rm)
self.screw_dict = { self.screw_dict = {
'bl': fr, 'bl': fr,
'bm': fm, 'bm': fm,
@@ -213,14 +251,14 @@ class BedLevelPanel(ScreenPanel):
# br rm fr # br rm fr
# bm fm # bm fm
# bl lm fl # bl lm fl
self.labels['bl'].connect("clicked", self.go_to_position, br) self.buttons['bl'].connect("clicked", self.go_to_position, br)
self.labels['bm'].connect("clicked", self.go_to_position, rm) self.buttons['bm'].connect("clicked", self.go_to_position, rm)
self.labels['br'].connect("clicked", self.go_to_position, fr) self.buttons['br'].connect("clicked", self.go_to_position, fr)
self.labels['rm'].connect("clicked", self.go_to_position, fm) self.buttons['rm'].connect("clicked", self.go_to_position, fm)
self.labels['fr'].connect("clicked", self.go_to_position, fl) self.buttons['fr'].connect("clicked", self.go_to_position, fl)
self.labels['fm'].connect("clicked", self.go_to_position, lm) self.buttons['fm'].connect("clicked", self.go_to_position, lm)
self.labels['fl'].connect("clicked", self.go_to_position, bl) self.buttons['fl'].connect("clicked", self.go_to_position, bl)
self.labels['lm'].connect("clicked", self.go_to_position, bm) self.buttons['lm'].connect("clicked", self.go_to_position, bm)
self.screw_dict = { self.screw_dict = {
'bl': br, 'bl': br,
'bm': rm, 'bm': rm,
@@ -235,14 +273,14 @@ class BedLevelPanel(ScreenPanel):
# bl bm br # bl bm br
# lm rm # lm rm
# fl fm fr # fl fm fr
self.labels['bl'].connect("clicked", self.go_to_position, bl) self.buttons['bl'].connect("clicked", self.go_to_position, bl)
self.labels['bm'].connect("clicked", self.go_to_position, bm) self.buttons['bm'].connect("clicked", self.go_to_position, bm)
self.labels['br'].connect("clicked", self.go_to_position, br) self.buttons['br'].connect("clicked", self.go_to_position, br)
self.labels['rm'].connect("clicked", self.go_to_position, rm) self.buttons['rm'].connect("clicked", self.go_to_position, rm)
self.labels['fr'].connect("clicked", self.go_to_position, fr) self.buttons['fr'].connect("clicked", self.go_to_position, fr)
self.labels['fm'].connect("clicked", self.go_to_position, fm) self.buttons['fm'].connect("clicked", self.go_to_position, fm)
self.labels['fl'].connect("clicked", self.go_to_position, fl) self.buttons['fl'].connect("clicked", self.go_to_position, fl)
self.labels['lm'].connect("clicked", self.go_to_position, lm) self.buttons['lm'].connect("clicked", self.go_to_position, lm)
self.screw_dict = { self.screw_dict = {
'bl': bl, 'bl': bl,
'bm': bm, 'bm': bm,
@@ -253,19 +291,24 @@ class BedLevelPanel(ScreenPanel):
'fl': fl, 'fl': fl,
'lm': lm 'lm': lm
} }
self.screw_dict['center'] = center
grid.attach(bedgrid, 1, 0, 3, 2) grid.attach(bedgrid, 1, 0, 3, 2)
self.content.add(grid) self.content.add(grid)
def activate(self): def activate(self):
for key, value in self.screw_dict.items(): for key, value in self.screw_dict.items():
self.labels[key].set_label(f"{value}") self.buttons[key].set_label(f"{value}")
if self._printer.config_section_exists("screws_tilt_adjust"):
self.labels['screws'].set_sensitive(True) def home(self):
# Test if all axes have been homed. Home if necessary.
if self._printer.get_stat("toolhead", "homed_axes") != "xyz":
self._screen._ws.klippy.gcode_script(KlippyGcodes.HOME)
# do Z_TILT_CALIBRATE if applicable.
if self._printer.config_section_exists("z_tilt"):
self._screen._ws.klippy.gcode_script(KlippyGcodes.Z_TILT)
def go_to_position(self, widget, position): def go_to_position(self, widget, position):
if self._screen.printer.get_stat("toolhead", "homed_axes") != "xyz": self.home()
self._screen._ws.klippy.gcode_script(KlippyGcodes.HOME)
logging.debug(f"Going to position: {position}") logging.debug(f"Going to position: {position}")
script = [ script = [
f"{KlippyGcodes.MOVE_ABSOLUTE}", f"{KlippyGcodes.MOVE_ABSOLUTE}",
@@ -283,13 +326,24 @@ class BedLevelPanel(ScreenPanel):
"M18" # Disable motors "M18" # Disable motors
) )
def process_update(self, action, data): def process_busy(self, busy):
for button in self.buttons:
if button == "screws":
self.buttons[button].set_sensitive(
self._printer.config_section_exists("screws_tilt_adjust")
and (not busy))
continue
self.buttons[button].set_sensitive((not busy))
def process_update(self, action, data):
if action == "notify_busy":
self.process_busy(data)
return
if action != "notify_gcode_response": if action != "notify_gcode_response":
return return
if data.startswith('!!'): if data.startswith('!!'):
self.response_count = 0 self.response_count = 0
self.labels['screws'].set_sensitive(True) self.buttons['screws'].set_sensitive(True)
return return
result = re.match( result = re.match(
"^// (.*) : [xX= ]+([\\-0-9\\.]+), [yY= ]+([\\-0-9\\.]+), [zZ= ]+[\\-0-9\\.]+ :" + "^// (.*) : [xX= ]+([\\-0-9\\.]+), [yY= ]+([\\-0-9\\.]+), [zZ= ]+[\\-0-9\\.]+ :" +
@@ -304,11 +358,11 @@ class BedLevelPanel(ScreenPanel):
for key, value in self.screw_dict.items(): for key, value in self.screw_dict.items():
if value and x == value[0] and y == value[1]: if value and x == value[0] and y == value[1]:
logging.debug(f"X: {x} Y: {y} Adjust: {result[5]} Pos: {key}") logging.debug(f"X: {x} Y: {y} Adjust: {result[5]} Pos: {key}")
self.labels[key].set_label(result[5]) self.buttons[key].set_label(result[5])
break break
self.response_count += 1 self.response_count += 1
if self.response_count >= len(self.screws) - 1: if self.response_count >= len(self.screws) - 1:
self.labels['screws'].set_sensitive(True) self.buttons['screws'].set_sensitive(True)
else: else:
result = re.match( result = re.match(
"^// (.*) : [xX= ]+([\\-0-9\\.]+), [yY= ]+([\\-0-9\\.]+), [zZ= ]+[\\-0-9\\.]", "^// (.*) : [xX= ]+([\\-0-9\\.]+), [yY= ]+([\\-0-9\\.]+), [zZ= ]+[\\-0-9\\.]",
@@ -323,11 +377,11 @@ class BedLevelPanel(ScreenPanel):
for key, value in self.screw_dict.items(): for key, value in self.screw_dict.items():
if value and x == value[0] and y == value[1]: if value and x == value[0] and y == value[1]:
logging.debug(f"X: {x} Y: {y} Pos: {key}") logging.debug(f"X: {x} Y: {y} Pos: {key}")
self.labels[key].set_label(_("Reference")) self.buttons[key].set_label(_("Reference"))
def _get_screws(self, config_section_name): def _get_screws(self, config_section_name):
screws = [] screws = []
config_section = self._screen.printer.get_config_section(config_section_name) config_section = self._printer.get_config_section(config_section_name)
for item in config_section: for item in config_section:
logging.debug(f"{config_section_name}: {config_section[item]}") logging.debug(f"{config_section_name}: {config_section[item]}")
result = re.match(r"([\-0-9\.]+)\s*,\s*([\-0-9\.]+)", config_section[item]) result = re.match(r"([\-0-9\.]+)\s*,\s*([\-0-9\.]+)", config_section[item])
@@ -338,17 +392,8 @@ class BedLevelPanel(ScreenPanel):
]) ])
return sorted(screws, key=lambda s: (float(s[1]), float(s[0]))) return sorted(screws, key=lambda s: (float(s[1]), float(s[0])))
def _get_offsets(self, section):
probe = self._screen.printer.get_config_section(section)
if "x_offset" in probe:
self.x_offset = round(float(probe['x_offset']), 1)
if "y_offset" in probe:
self.y_offset = round(float(probe['y_offset']), 1)
logging.debug(f"{section} offset X: {self.x_offset} Y: {self.y_offset}")
def screws_tilt_calculate(self, widget): def screws_tilt_calculate(self, widget):
if self._screen.printer.get_stat("toolhead", "homed_axes") != "xyz": self.home()
self._screen._ws.klippy.gcode_script(KlippyGcodes.HOME)
self.response_count = 0 self.response_count = 0
self.labels['screws'].set_sensitive(False) self.buttons['screws'].set_sensitive(False)
self._screen._ws.klippy.gcode_script("SCREWS_TILT_CALCULATE") self._screen._ws.klippy.gcode_script("SCREWS_TILT_CALCULATE")
+122 -221
View File
@@ -1,20 +1,14 @@
import gi
import logging import logging
import contextlib import contextlib
import numpy as np
import gi
gi.require_version("Gtk", "3.0") gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Pango from gi.repository import 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_gtk3agg import FigureCanvasGTK3Agg as FigureCanvas
from matplotlib.ticker import LinearLocator
from ks_includes.KlippyGcodes import KlippyGcodes from ks_includes.KlippyGcodes import KlippyGcodes
from ks_includes.screen_panel import ScreenPanel from ks_includes.screen_panel import ScreenPanel
from ks_includes.widgets.bedmap import BedMap
def create_panel(*args): def create_panel(*args):
@@ -23,110 +17,119 @@ def create_panel(*args):
class BedMeshPanel(ScreenPanel): class BedMeshPanel(ScreenPanel):
def __init__(self, screen, title, back=True): def __init__(self, screen, title):
super().__init__(screen, title, back) super().__init__(screen, title)
self.profiles = {}
self.show_create = False self.show_create = False
self.active_mesh = None self.active_mesh = None
self.profiles = {}
def initialize(self, panel_name): self.buttons = {
'add': self._gtk.Button("increase", " " + _("Add profile"), "color1", self.bts, Gtk.PositionType.LEFT, 1),
addprofile = self._gtk.ButtonImage("increase", " " + _("Add profile"), "color1", .66, Gtk.PositionType.LEFT, 1) 'calib': self._gtk.Button("refresh", " " + _("Calibrate"), "color3", self.bts, Gtk.PositionType.LEFT, 1),
addprofile.connect("clicked", self.show_create_profile) 'clear': self._gtk.Button("cancel", " " + _("Clear"), "color2", self.bts, Gtk.PositionType.LEFT, 1),
addprofile.set_hexpand(True) }
clear = self._gtk.ButtonImage("cancel", " " + _("Clear"), "color2", .66, Gtk.PositionType.LEFT, 1) self.buttons['add'].connect("clicked", self.show_create_profile)
clear.connect("clicked", self._clear_mesh) self.buttons['add'].set_hexpand(True)
clear.set_hexpand(True) self.buttons['clear'].connect("clicked", self.send_clear_mesh)
top_calibrate = self._gtk.ButtonImage("refresh", " " + _("Calibrate"), "color3", .66, Gtk.PositionType.LEFT, 1) self.buttons['clear'].set_hexpand(True)
top_calibrate.connect("clicked", self._send_calibrate) self.buttons['calib'].connect("clicked", self.calibrate_mesh)
top_calibrate.set_hexpand(True) self.buttons['calib'].set_hexpand(True)
topbar = Gtk.Box(spacing=5) topbar = Gtk.Box(spacing=5)
topbar.set_hexpand(True) topbar.set_hexpand(True)
topbar.set_vexpand(False) topbar.set_vexpand(False)
topbar.add(addprofile) topbar.add(self.buttons['add'])
topbar.add(clear) topbar.add(self.buttons['clear'])
topbar.add(top_calibrate) topbar.add(self.buttons['calib'])
# Create a grid for all profiles # Create a grid for all profiles
self.labels['profiles'] = Gtk.Grid() self.labels['profiles'] = Gtk.Grid()
self.labels['profiles'].get_style_context().add_class("frame-item")
self.labels['profiles'].set_valign(Gtk.Align.CENTER) self.labels['profiles'].set_valign(Gtk.Align.CENTER)
scroll = self._gtk.ScrolledWindow() scroll = self._gtk.ScrolledWindow()
scroll.add(self.labels['profiles']) scroll.add(self.labels['profiles'])
scroll.set_vexpand(True) scroll.set_vexpand(True)
# Create a box to contain all of the above
self.labels['main_box'] = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
self.labels['main_box'].set_vexpand(True)
self.labels['main_box'].pack_start(topbar, False, False, 0)
self.labels['main_box'].pack_end(scroll, True, True, 0)
self.load_meshes() self.load_meshes()
self.content.add(self.labels['main_box']) grid = self._gtk.HomogeneousGrid()
grid.set_row_homogeneous(False)
grid.attach(topbar, 0, 0, 2, 1)
self.labels['map'] = BedMap(self._gtk.font_size, self.active_mesh)
if self._screen.vertical_mode:
grid.attach(self.labels['map'], 0, 2, 2, 1)
grid.attach(scroll, 0, 3, 2, 1)
self.labels['map'].set_size_request(self._gtk.content_width, self._gtk.content_height * .4)
else:
grid.attach(self.labels['map'], 0, 2, 1, 1)
grid.attach(scroll, 1, 2, 1, 1)
self.labels['main_grid'] = grid
self.content.add(self.labels['main_grid'])
def activate(self): def activate(self):
for child in self.content.get_children(): self.load_meshes()
self.content.remove(child) with contextlib.suppress(KeyError):
self.content.add(self.labels['main_box']) self.activate_mesh(self._printer.get_stat("bed_mesh", "profile_name"))
self.activate_mesh(
self._screen.printer.get_stat("bed_mesh", "profile_name")
)
def activate_mesh(self, profile): def activate_mesh(self, profile):
if self.active_mesh is not None:
self.profiles[self.active_mesh]['name'].set_sensitive(True)
self.profiles[self.active_mesh]['name'].get_style_context().remove_class("button_active")
if profile == "": if profile == "":
profile = "default" logging.info("Clearing active profile")
self.active_mesh = None
logging.debug(f"Activating profile: {profile} Current: {self.active_mesh}") self.update_graph()
self.buttons['clear'].set_sensitive(False)
return
if profile not in self.profiles: if profile not in self.profiles:
self.add_profile(profile) self.add_profile(profile)
if self.active_mesh is not None and self.active_mesh in self.profiles: if self.active_mesh != profile:
a = self.profiles[self.active_mesh] logging.info(f"Active {self.active_mesh} changing to {profile}")
with contextlib.suppress(KeyError): self.profiles[profile]['name'].set_sensitive(False)
a['button_box'].remove(a['calibrate']) self.profiles[profile]['name'].get_style_context().add_class("button_active")
a['button_box'].pack_start(a['load'], False, False, 0)
logging.info(f"Active {self.active_mesh} changing to {profile}")
self.active_mesh = profile self.active_mesh = profile
self.update_graph(profile=profile)
self.buttons['clear'].set_sensitive(True)
if self.active_mesh is not None: def retrieve_bm(self, profile):
a = self.profiles[profile] if profile is None:
with contextlib.suppress(KeyError): return None
a['button_box'].remove(a['load']) if profile == self.active_mesh:
with contextlib.suppress(KeyError): bm = self._printer.get_stat("bed_mesh")
a['button_box'].remove(a['view']) if bm is None:
a['button_box'].pack_start(a['calibrate'], False, False, 0) logging.info(f"Unable to load active mesh: {profile}")
if self._printer.get_config_section(f"bed_mesh {profile}"): return None
a['button_box'].pack_end(a["view"], False, False, 0) matrix = 'probed_matrix'
self._screen.show_all() else:
bm = self._printer.get_config_section(f"bed_mesh {profile}")
if bm is False:
logging.info(f"Unable to load profile: {profile}")
self.remove_profile(profile)
return None
matrix = 'points'
return bm[matrix]
def update_graph(self, widget=None, profile=None):
self.labels['map'].update_bm(self.retrieve_bm(profile))
self.labels['map'].queue_draw()
def add_profile(self, profile): def add_profile(self, profile):
logging.debug(f"Adding Profile: {profile}")
logging.debug(f"Adding Profile: {profile} Current: {self.active_mesh}") name = self._gtk.Button(label=f"<big><b>{profile}</b></big>")
name = Gtk.Label() name.get_children()[0].set_use_markup(True)
name.set_markup(f"<big><b>{profile}</b></big>") name.get_children()[0].set_line_wrap(True)
name.set_hexpand(True) name.get_children()[0].set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
name.set_vexpand(False) name.set_vexpand(False)
name.set_halign(Gtk.Align.START) name.set_halign(Gtk.Align.START)
name.set_line_wrap(True) name.connect("clicked", self.send_load_mesh, profile)
name.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR) name.connect("clicked", self.update_graph, profile)
buttons = { buttons = {
"calibrate": self._gtk.ButtonImage("refresh", _("Calibrate"), "color4"), "save": self._gtk.Button("complete", None, "color4", self.bts),
"load": self._gtk.ButtonImage("load", _("Load"), "color2"), "delete": self._gtk.Button("cancel", None, "color2", self.bts),
"save": self._gtk.ButtonImage("complete", _("Save"), "color3"),
"delete": self._gtk.ButtonImage("cancel", _("Delete"), "color3"),
"view": self._gtk.ButtonImage("bed-level", _("View Mesh"), "color1"),
} }
buttons["calibrate"].connect("clicked", self.calibrate_mesh)
buttons["load"].connect("clicked", self.send_load_mesh, profile)
buttons["save"].connect("clicked", self.send_save_mesh, profile) buttons["save"].connect("clicked", self.send_save_mesh, profile)
buttons["delete"].connect("clicked", self.send_remove_mesh, profile) buttons["delete"].connect("clicked", self.send_remove_mesh, profile)
buttons["view"].connect("clicked", self.show_mesh, profile)
for b in buttons.values(): for b in buttons.values():
b.set_hexpand(False) b.set_hexpand(False)
@@ -134,30 +137,21 @@ class BedMeshPanel(ScreenPanel):
b.set_halign(Gtk.Align.END) b.set_halign(Gtk.Align.END)
button_box = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=5) button_box = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=5)
button_box.add(buttons["calibrate"])
if profile != "default": if profile != "default":
button_box.add(buttons["save"]) button_box.add(buttons["save"])
button_box.add(buttons["delete"]) button_box.add(buttons["delete"])
if self._printer.get_config_section(f"bed_mesh {profile}"):
button_box.add(buttons["load"])
button_box.add(buttons["view"])
box = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=5) box = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=5)
box.get_style_context().add_class("frame-item")
box.pack_start(name, True, True, 0) box.pack_start(name, True, True, 0)
box.pack_start(button_box, False, False, 0) box.pack_start(button_box, False, False, 0)
frame = Gtk.Frame()
frame.get_style_context().add_class("frame-item")
frame.add(box)
self.profiles[profile] = { self.profiles[profile] = {
"name": name,
"button_box": button_box, "button_box": button_box,
"row": frame, "row": box,
"calibrate": buttons["calibrate"],
"load": buttons["load"],
"save": buttons["save"], "save": buttons["save"],
"delete": buttons["delete"], "delete": buttons["delete"],
"view": buttons["view"],
} }
pl = list(self.profiles) pl = list(self.profiles)
@@ -177,12 +171,28 @@ class BedMeshPanel(ScreenPanel):
return False return False
def load_meshes(self): def load_meshes(self):
bm_profiles = self._screen.printer.get_config_section_list("bed_mesh ") bm_profiles = self._printer.get_stat("bed_mesh", "profiles")
logging.info(f"Bed profiles: {bm_profiles}")
for prof in bm_profiles: for prof in bm_profiles:
self.add_profile(prof[9:]) if prof not in self.profiles:
self.add_profile(prof)
for prof in self.profiles:
if prof not in bm_profiles:
self.remove_profile(prof)
def process_busy(self, busy):
for button in self.buttons:
if button == 'clear':
self.buttons[button].set_sensitive(self.active_mesh is not None)
continue
self.buttons[button].set_sensitive((not busy))
for profile in self.profiles:
self.profiles[profile]["save"].set_sensitive((not busy))
self.profiles[profile]["delete"].set_sensitive((not busy))
def process_update(self, action, data): def process_update(self, action, data):
if action == "notify_busy":
self.process_busy(data)
return
if action == "notify_status_update": if action == "notify_status_update":
with contextlib.suppress(KeyError): with contextlib.suppress(KeyError):
self.activate_mesh(data['bed_mesh']['profile_name']) self.activate_mesh(data['bed_mesh']['profile_name'])
@@ -196,7 +206,7 @@ class BedMeshPanel(ScreenPanel):
self.content.remove(child) self.content.remove(child)
self.show_create = False self.show_create = False
self.content.add(self.labels['main_box']) self.content.add(self.labels['main_grid'])
self.content.show() self.content.show()
def remove_profile(self, profile): def remove_profile(self, profile):
@@ -210,6 +220,10 @@ class BedMeshPanel(ScreenPanel):
pos = profiles.index(profile) + 1 if profile != "default" else 0 pos = profiles.index(profile) + 1 if profile != "default" else 0
self.labels['profiles'].remove_row(pos) self.labels['profiles'].remove_row(pos)
del self.profiles[profile] del self.profiles[profile]
if not self.profiles:
self.active_mesh = None
self.update_graph()
self.buttons['clear'].set_sensitive(False)
def show_create_profile(self, widget): def show_create_profile(self, widget):
@@ -223,10 +237,9 @@ class BedMeshPanel(ScreenPanel):
self.labels['profile_name'].set_text('') self.labels['profile_name'].set_text('')
self.labels['profile_name'].set_hexpand(True) self.labels['profile_name'].set_hexpand(True)
self.labels['profile_name'].connect("activate", self.create_profile) self.labels['profile_name'].connect("activate", self.create_profile)
self.labels['profile_name'].connect("focus-in-event", self._show_keyboard) self.labels['profile_name'].connect("focus-in-event", self._screen.show_keyboard)
self.labels['profile_name'].grab_focus_without_selecting()
save = self._gtk.ButtonImage("complete", _("Save"), "color3") save = self._gtk.Button("complete", _("Save"), "color3")
save.set_hexpand(False) save.set_hexpand(False)
save.connect("clicked", self.create_profile) save.connect("clicked", self.create_profile)
@@ -242,149 +255,37 @@ class BedMeshPanel(ScreenPanel):
self.labels['create_profile'].pack_start(box, True, True, 5) self.labels['create_profile'].pack_start(box, True, True, 5)
self.content.add(self.labels['create_profile']) self.content.add(self.labels['create_profile'])
self._show_keyboard() self.labels['profile_name'].grab_focus_without_selecting()
self.show_create = True self.show_create = True
def _show_keyboard(self, widget=None, event=None):
self._screen.show_keyboard(entry=self.labels['profile_name'])
def show_mesh(self, widget, profile):
bm = self._printer.get_config_section(f"bed_mesh {profile}")
if bm is False:
logging.info(f"Unable to load profile: {profile}")
return
if profile == self.active_mesh:
abm = self._printer.get_stat("bed_mesh")
if abm is None:
logging.info(f"Unable to load active mesh: {profile}")
return
x_range = [int(abm['mesh_min'][0]), int(abm['mesh_max'][0])]
y_range = [int(abm['mesh_min'][1]), int(abm['mesh_max'][1])]
minz_mesh = min(min(abm['mesh_matrix']))
maxz_mesh = max(max(abm['mesh_matrix']))
# Do not use a very small zscale, because that could be misleading
minz_mesh = min(minz_mesh, -0.5)
maxz_mesh = max(maxz_mesh, 0.5)
z_range = [minz_mesh, maxz_mesh]
counts = [len(abm['mesh_matrix'][0]), len(abm['mesh_matrix'])]
deltas = [(x_range[1] - x_range[0]) / (counts[0] - 1), (y_range[1] - y_range[0]) / (counts[1] - 1)]
x = [(i * deltas[0]) + x_range[0] for i in range(counts[0])]
y = [(i * deltas[0]) + y_range[0] for i in range(counts[1])]
x, y = np.meshgrid(x, y)
z = np.asarray(abm['mesh_matrix'])
else:
x_range = [int(bm['min_x']), int(bm['max_x'])]
y_range = [int(bm['min_y']), int(bm['max_y'])]
z_range = [min(min(bm['points'])), max(max(bm['points']))]
deltas = [(x_range[1] - x_range[0]) / (int(bm['x_count']) - 1),
(y_range[1] - y_range[0]) / (int(bm['y_count']) - 1)]
x = [(i * deltas[0]) + x_range[0] for i in range(bm['x_count'])]
y = [(i * deltas[0]) + y_range[0] for i in range(bm['y_count'])]
x, y = np.meshgrid(x, y)
z = np.asarray(bm['points'])
rc('axes', edgecolor="#e2e2e2", labelcolor="#e2e2e2")
rc(('xtick', 'ytick'), color="#e2e2e2")
fig = plt.figure(facecolor='#12121277')
ax = Axes3D(fig, azim=245, elev=23)
ax.set(title=profile, xlabel="X", ylabel="Y", facecolor='none')
ax.spines['bottom'].set_color("#e2e2e2")
fig.add_axes(ax)
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 * .92, chartbox.height])
ax.set_zlim(z_range[0], z_range[1])
ax.zaxis.set_major_locator(LinearLocator(5))
# A StrMethodFormatter is used automatically
ax.zaxis.set_major_formatter('{x:.02f}')
fig.colorbar(surf, shrink=0.7, aspect=5, pad=0.25)
box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
box.set_hexpand(True)
box.set_vexpand(True)
title = Gtk.Label()
title.set_markup(f"<b>{profile}</b>")
title.set_hexpand(True)
title.set_halign(Gtk.Align.CENTER)
canvas_box = Gtk.Box()
canvas_box.set_hexpand(True)
canvas_box.set_vexpand(True)
box.add(title)
box.add(canvas_box)
buttons = [
{"name": _("Close"), "response": Gtk.ResponseType.CANCEL}
]
self._gtk.Dialog(self._screen, buttons, box, self._close_dialog)
alloc = canvas_box.get_allocation()
canvas = FigureCanvas(fig)
canvas.set_size_request(alloc.width, self._screen.height / 3 * 2)
canvas_box.add(canvas)
canvas_box.show_all()
# Remove the "matplotlib-canvas" class which forces a white background.
# https://github.com/matplotlib/matplotlib/commit/3c832377fb4c4b32fcbdbc60fdfedb57296bc8c0
style_ctx = canvas.get_style_context()
for css_class in style_ctx.list_classes():
style_ctx.remove_class(css_class)
@staticmethod
def _close_dialog(widget, response):
widget.destroy()
def create_profile(self, widget): def create_profile(self, widget):
name = self.labels['profile_name'].get_text() name = self.labels['profile_name'].get_text()
if " " in name: if self.active_mesh is None:
name = f'"{name}"' self.calibrate_mesh(None)
self._screen._ws.klippy.gcode_script(f"BED_MESH_PROFILE SAVE={name}") self._screen._ws.klippy.gcode_script(f"BED_MESH_PROFILE SAVE={name}")
self.remove_create() self.remove_create()
def calibrate_mesh(self, widget): def calibrate_mesh(self, widget):
self._screen.show_popup_message(_("Calibrating"), level=1) self._screen.show_popup_message(_("Calibrating"), level=1)
if self._screen.printer.get_stat("toolhead", "homed_axes") != "xyz": if self._printer.get_stat("toolhead", "homed_axes") != "xyz":
self._screen._ws.klippy.gcode_script(KlippyGcodes.HOME) self._screen._ws.klippy.gcode_script(KlippyGcodes.HOME)
self._screen._ws.klippy.gcode_script( self._screen._ws.klippy.gcode_script("BED_MESH_CALIBRATE")
"BED_MESH_CALIBRATE"
)
# Load zcalibrate to do a manual mesh # Load zcalibrate to do a manual mesh
if not (self._printer.config_section_exists("probe") or self._printer.config_section_exists("bltouch")): if not self._printer.get_probe():
self.menu_item_clicked(widget, "refresh", {"name": "Mesh calibrate", "panel": "zcalibrate"}) self.menu_item_clicked(widget, "refresh", {"name": _("Mesh calibrate"), "panel": "zcalibrate"})
def _clear_mesh(self, widget): def send_clear_mesh(self, widget):
self._screen._ws.klippy.gcode_script( self._screen._ws.klippy.gcode_script("BED_MESH_CLEAR")
"BED_MESH_CLEAR"
)
def _send_calibrate(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"
)
def send_load_mesh(self, widget, profile): def send_load_mesh(self, widget, profile):
self._screen._ws.klippy.gcode_script( self._screen._ws.klippy.gcode_script(KlippyGcodes.bed_mesh_load(profile))
KlippyGcodes.bed_mesh_load(profile)
)
def send_save_mesh(self, widget, profile): def send_save_mesh(self, widget, profile):
self._screen._ws.klippy.gcode_script( self._screen._ws.klippy.gcode_script(KlippyGcodes.bed_mesh_save(profile))
KlippyGcodes.bed_mesh_save(profile)
)
def send_remove_mesh(self, widget, profile): def send_remove_mesh(self, widget, profile):
self._screen._ws.klippy.gcode_script( self._screen._ws.klippy.gcode_script(KlippyGcodes.bed_mesh_remove(profile))
KlippyGcodes.bed_mesh_remove(profile)
)
self.remove_profile(profile) self.remove_profile(profile)
+91
View File
@@ -0,0 +1,91 @@
import mpv
import logging
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Gdk
from ks_includes.screen_panel import ScreenPanel
def create_panel(*args):
return CameraPanel(*args)
class CameraPanel(ScreenPanel):
def __init__(self, screen, title):
super().__init__(screen, title)
self.mpv = None
self.da = Gtk.DrawingArea()
self.da.set_hexpand(True)
self.da.set_vexpand(True)
fs = self._gtk.Button("move", _("Fullscreen"), None, self.bts, Gtk.PositionType.LEFT, 1)
fs.connect("clicked", self.play)
fs.set_hexpand(True)
fs.set_vexpand(False)
box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
box.add(self.da)
box.add(fs)
self.content.add(box)
self.content.show_all()
self.url = self.ks_printer_cfg.get("camera_url", "http://127.0.0.1/webcam/?action=stream").replace('"', '')
# wayland has no primary monitor with that we can detect it
self.wayland = Gdk.Display.get_default().get_primary_monitor() is None
# gpu output driver doesn't work on a pi3 and the autoselected sdl doesn't size correctly
# consider adding a software switch to enable the gpu backend if set by the user
self.vo = 'wlshm' if self.wayland else 'x11'
logging.debug(f"Camera URL: {self.url} vo: {self.vo} wayland: {self.wayland}")
def activate(self):
self.play()
def deactivate(self):
if self.mpv:
self.mpv.terminate()
self.mpv = None
def play(self, fs=None):
if self.mpv:
self.mpv.terminate()
self.mpv = None
# Create mpv after show or the 'window' property will be None
try:
self.mpv = mpv.MPV(
log_handler=self.log,
vo=self.vo,
profile='sw-fast',
)
except ValueError:
self.mpv = mpv.MPV(
log_handler=self.log,
vo=self.vo,
)
# On wayland mpv cannot be embedded at least for now
# https://github.com/mpv-player/mpv/issues/9654
# if fs or self.wayland:
self.mpv.fullscreen = True
@self.mpv.on_key_press('MBTN_LEFT' or 'MBTN_LEFT_DBL')
def clicked():
self.mpv.quit(0)
# else:
# self.mpv.wid = f'{self.da.get_property("window").get_xid()}'
#
# @self.mpv.on_key_press('MBTN_LEFT' or 'MBTN_LEFT_DBL')
# def clicked():
# self._screen.show_popup_message(self.url, level=1)
self.mpv.play(self.url)
# if fs or self.wayland:
try:
self.mpv.wait_for_playback()
except mpv.ShutdownError:
logging.info('Exiting Fullscreen')
except Exception as e:
logging.exception(e)
self.mpv.terminate()
self.mpv = None
self._screen._menu_go_back()
@staticmethod
def log(loglevel, component, message):
logging.debug(f'[{loglevel}] {component}: {message}')
+31 -26
View File
@@ -1,7 +1,8 @@
import gi
import time import time
import re import re
import gi
gi.require_version("Gtk", "3.0") gi.require_version("Gtk", "3.0")
from gi.repository import Gtk from gi.repository import Gtk
@@ -23,41 +24,44 @@ COLORS = {
class ConsolePanel(ScreenPanel): class ConsolePanel(ScreenPanel):
def __init__(self, screen, title, back=True): def __init__(self, screen, title):
super().__init__(screen, title, back) super().__init__(screen, title)
self.autoscroll = True self.autoscroll = True
self.hidetemps = True self.hidetemps = True
def initialize(self, panel_name):
self._screen._ws.send_method("server.gcode_store", {"count": 100}, self.gcode_response)
o1_lbl = Gtk.Label(_("Auto-scroll")) o1_lbl = Gtk.Label(_("Auto-scroll"))
o1_lbl.set_halign(Gtk.Align.END)
o1_switch = Gtk.Switch() o1_switch = Gtk.Switch()
o1_switch.set_property("width-request", round(self._gtk.get_font_size() * 5))
o1_switch.set_property("height-request", round(self._gtk.get_font_size() * 2.5))
o1_switch.set_active(self.autoscroll) o1_switch.set_active(self.autoscroll)
o1_switch.connect("notify::active", self.set_autoscroll) o1_switch.connect("notify::active", self.set_autoscroll)
o2_lbl = Gtk.Label(_("Hide temp.")) o2_lbl = Gtk.Label(_("Hide temp."))
o2_lbl.set_halign(Gtk.Align.END)
o2_switch = Gtk.Switch() o2_switch = Gtk.Switch()
o2_switch.set_property("width-request", round(self._gtk.get_font_size() * 5))
o2_switch.set_property("height-request", round(self._gtk.get_font_size() * 2.5))
o2_switch.set_active(self.hidetemps) o2_switch.set_active(self.hidetemps)
o2_switch.connect("notify::active", self.hide_temps) o2_switch.connect("notify::active", self.hide_temps)
o3_button = self._gtk.ButtonImage("refresh", _('Clear') + " ", None, .66, Gtk.PositionType.RIGHT, 1) if self._screen.vertical_mode:
o1_lbl.set_halign(Gtk.Align.CENTER)
o2_lbl.set_halign(Gtk.Align.CENTER)
else:
o1_lbl.set_halign(Gtk.Align.END)
o2_lbl.set_halign(Gtk.Align.END)
o3_button = self._gtk.Button("refresh", _('Clear') + " ", None, self.bts, Gtk.PositionType.RIGHT, 1)
o3_button.connect("clicked", self.clear) o3_button.connect("clicked", self.clear)
options = Gtk.Box() options = Gtk.Grid()
options.set_hexpand(True)
options.set_vexpand(False) options.set_vexpand(False)
options.add(o1_lbl) if self._screen.vertical_mode:
options.pack_start(o1_switch, False, False, 5) options.attach(o1_lbl, 0, 0, 1, 1)
options.add(o2_lbl) options.attach(o1_switch, 0, 1, 1, 1)
options.pack_start(o2_switch, False, False, 5) options.attach(o2_lbl, 1, 0, 1, 1)
options.add(o3_button) options.attach(o2_switch, 1, 1, 1, 1)
options.attach(o3_button, 3, 0, 1, 2)
else:
options.attach(o1_lbl, 0, 0, 1, 1)
options.attach(o1_switch, 1, 0, 1, 1)
options.attach(o2_lbl, 2, 0, 1, 1)
options.attach(o2_switch, 3, 0, 1, 1)
options.attach(o3_button, 4, 0, 1, 1)
sw = Gtk.ScrolledWindow() sw = Gtk.ScrolledWindow()
sw.set_hexpand(True) sw.set_hexpand(True)
@@ -80,12 +84,12 @@ class ConsolePanel(ScreenPanel):
entry = Gtk.Entry() entry = Gtk.Entry()
entry.set_hexpand(True) entry.set_hexpand(True)
entry.set_vexpand(False) entry.set_vexpand(False)
entry.connect("button-press-event", self._show_keyboard) entry.connect("button-press-event", self._screen.show_keyboard)
entry.connect("focus-in-event", self._screen.show_keyboard) entry.connect("focus-in-event", self._screen.show_keyboard)
entry.connect("activate", self._send_command) entry.connect("activate", self._send_command)
entry.grab_focus_without_selecting() entry.grab_focus_without_selecting()
enter = self._gtk.ButtonImage("resume", " " + _('Send') + " ", None, .66, Gtk.PositionType.RIGHT, 1) enter = self._gtk.Button("resume", " " + _('Send') + " ", None, .66, Gtk.PositionType.RIGHT, 1)
enter.set_hexpand(False) enter.set_hexpand(False)
enter.connect("clicked", self._send_command) enter.connect("clicked", self._send_command)
@@ -105,10 +109,7 @@ class ConsolePanel(ScreenPanel):
content_box.pack_end(ebox, False, False, 0) content_box.pack_end(ebox, False, False, 0)
self.content.add(content_box) self.content.add(content_box)
def _show_keyboard(self, widget=None, event=None): def clear(self, widget=None):
self._screen.show_keyboard(entry=self.labels['entry'])
def clear(self, widget):
self.labels['tb'].set_text("") self.labels['tb'].set_text("")
def add_gcode(self, msgtype, msgtime, message): def add_gcode(self, msgtype, msgtime, message):
@@ -167,3 +168,7 @@ class ConsolePanel(ScreenPanel):
self.add_gcode("command", time.time(), cmd) self.add_gcode("command", time.time(), cmd)
self._screen._ws.klippy.gcode_script(cmd) self._screen._ws.klippy.gcode_script(cmd)
def activate(self):
self.clear()
self._screen._ws.send_method("server.gcode_store", {"count": 100}, self.gcode_response)
+2 -1
View File
@@ -11,7 +11,8 @@ def create_panel(*args):
class ExamplePanel(ScreenPanel): class ExamplePanel(ScreenPanel):
def initialize(self, panel_name): def __init__(self, screen, title):
super().__init__(screen, title)
# Create gtk items here # Create gtk items here
+76 -29
View File
@@ -1,11 +1,13 @@
import gi
import contextlib import contextlib
import logging import logging
import gi
gi.require_version("Gtk", "3.0") gi.require_version("Gtk", "3.0")
from gi.repository import Gtk from gi.repository import Gtk, Pango
from ks_includes.screen_panel import ScreenPanel from ks_includes.screen_panel import ScreenPanel
from ks_includes.widgets.objectmap import ObjectMap
def create_panel(*args): def create_panel(*args):
@@ -13,50 +15,70 @@ def create_panel(*args):
class ExcludeObjectPanel(ScreenPanel): class ExcludeObjectPanel(ScreenPanel):
def __init__(self, screen, title, back=True): def __init__(self, screen, title):
super().__init__(screen, title, back) super().__init__(screen, title)
self._screen = screen
self.object_list = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=0) self.object_list = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=0)
self.object_list.set_valign(Gtk.Align.CENTER) self.object_list.set_valign(Gtk.Align.CENTER)
self.object_list.set_halign(Gtk.Align.CENTER) self.object_list.set_halign(Gtk.Align.START)
self.buttons = {} self.buttons = {}
self.current_object = self._gtk.ButtonImage("extrude", "", scale=.66, self.current_object = self._gtk.Button("extrude", "", scale=self.bts, position=Gtk.PositionType.LEFT, lines=1)
position=Gtk.PositionType.LEFT, lines=1)
self.current_object.connect("clicked", self.exclude_current) self.current_object.connect("clicked", self.exclude_current)
self.current_object.set_hexpand(True)
self.current_object.set_vexpand(False) self.current_object.set_vexpand(False)
self.excluded_objects = self._printer.get_stat("exclude_object", "excluded_objects") self.excluded_objects = self._printer.get_stat("exclude_object", "excluded_objects")
logging.info(f'Excluded: {self.excluded_objects}') logging.info(f'Excluded: {self.excluded_objects}')
self.objects = self._printer.get_stat("exclude_object", "objects")
def initialize(self, panel_name): self.labels['map'] = None
objects = self._printer.get_stat("exclude_object", "objects") for obj in self.objects:
for obj in objects:
logging.info(f"Adding {obj['name']}") logging.info(f"Adding {obj['name']}")
self.add_object(obj["name"]) self.add_object(obj["name"])
scroll = self._gtk.ScrolledWindow() scroll = self._gtk.ScrolledWindow()
scroll.add(self.object_list) scroll.add(self.object_list)
scroll.set_halign(Gtk.Align.CENTER) scroll.set_halign(Gtk.Align.CENTER)
scroll.set_size_request(self._gtk.get_content_width(), 0)
grid = Gtk.Grid() grid = self._gtk.HomogeneousGrid()
grid.attach(self.current_object, 0, 0, 1, 1) grid.set_row_homogeneous(False)
grid.attach(Gtk.Separator(), 0, 1, 1, 1) grid.attach(self.current_object, 0, 0, 2, 1)
grid.attach(scroll, 0, 2, 1, 1) grid.attach(Gtk.Separator(), 0, 1, 2, 1)
if self.objects and "polygon" in self.objects[0]:
self.labels['map'] = ObjectMap(self._screen, self._printer, self._gtk.font_size)
if self._screen.vertical_mode:
grid.attach(self.labels['map'], 0, 2, 2, 1)
grid.attach(scroll, 0, 3, 2, 1)
scroll.set_size_request(self._gtk.content_width, -1)
else:
grid.attach(self.labels['map'], 0, 2, 1, 1)
grid.attach(scroll, 1, 2, 1, 1)
scroll.set_size_request((self._screen.width * .9) // 2, -1)
else:
grid.attach(scroll, 0, 2, 2, 1)
scroll.set_size_request(self._gtk.content_width, -1)
self.content.add(grid) self.content.add(grid)
self.content.show_all() self.content.show_all()
def add_object(self, name): def add_object(self, name):
if name not in self.buttons: if name not in self.buttons and name not in self.excluded_objects:
self.buttons[name] = self._gtk.ButtonImage("cancel", name, scale=.66, position=Gtk.PositionType.LEFT, self.buttons[name] = self._gtk.Button(label=name.replace("_", " "))
lines=1) self.buttons[name].get_children()[0].set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
self.buttons[name].get_children()[0].set_line_wrap(True)
self.buttons[name].connect("clicked", self.exclude_object, name) self.buttons[name].connect("clicked", self.exclude_object, name)
self.buttons[name].set_hexpand(True) self.buttons[name].get_style_context().add_class("frame-item")
if name in self.excluded_objects: self.object_list.add(self.buttons[name])
self.buttons[name].set_sensitive(False)
self.buttons[name].get_style_context().add_class("frame-item")
self.object_list.add(self.buttons[name])
def exclude_object(self, widget, name): def exclude_object(self, widget, name):
if len(self.excluded_objects) == len(self.objects) - 1:
# Do not exclude the last object, this is a workaround for a bug of klipper that starts
# to move the toolhead really fast skipping gcode until the file ends
# Remove this if they fix it.
self._screen._confirm_send_action(
widget,
_("Are you sure you wish to cancel this print?"),
"printer.print.cancel",
)
return
script = {"script": f"EXCLUDE_OBJECT NAME={name}"} script = {"script": f"EXCLUDE_OBJECT NAME={name}"}
self._screen._confirm_send_action( self._screen._confirm_send_action(
widget, widget,
@@ -71,13 +93,38 @@ class ExcludeObjectPanel(ScreenPanel):
def process_update(self, action, data): def process_update(self, action, data):
if action == "notify_status_update": if action == "notify_status_update":
with contextlib.suppress(KeyError): with contextlib.suppress(KeyError):
self.current_object.set_label(f'{data["exclude_object"]["current_object"]}') # Update objects
self.objects = data["exclude_object"]["objects"]
logging.info(f'Objects: {data["exclude_object"]["objects"]}')
for obj in self.buttons:
self.object_list.remove(self.buttons[obj])
self.buttons = {}
for obj in self.objects:
logging.info(f"Adding {obj['name']}")
self.add_object(obj["name"])
self.content.show_all()
with contextlib.suppress(KeyError): with contextlib.suppress(KeyError):
# Update current objects
if data["exclude_object"]["current_object"]:
self.current_object.set_label(f'{data["exclude_object"]["current_object"].replace("_", " ")}')
self.update_graph()
with contextlib.suppress(KeyError):
# Update excluded objects
logging.info(f'Excluded objects: {data["exclude_object"]["excluded_objects"]}') logging.info(f'Excluded objects: {data["exclude_object"]["excluded_objects"]}')
self.excluded_objects = data["exclude_object"]["excluded_objects"] self.excluded_objects = data["exclude_object"]["excluded_objects"]
for name in self.excluded_objects: for name in self.excluded_objects:
self.buttons[name].set_sensitive(False) if name in self.buttons:
with contextlib.suppress(KeyError): self.object_list.remove(self.buttons[name])
logging.info(f'Objects: {data["exclude_object"]["objects"]}') self.update_graph()
if len(self.excluded_objects) == len(self.objects):
self._screen._menu_go_back()
elif action == "notify_gcode_response" and "Excluding object" in data: elif action == "notify_gcode_response" and "Excluding object" in data:
self._screen.show_popup_message(data, level=1) self._screen.show_popup_message(data, level=1)
self.update_graph()
def activate(self):
self.update_graph()
def update_graph(self):
if self.labels['map']:
self.labels['map'].queue_draw()
+77 -82
View File
@@ -1,5 +1,7 @@
import gi
import logging import logging
import re
import gi
gi.require_version("Gtk", "3.0") gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Pango from gi.repository import Gtk, Pango
@@ -14,30 +16,41 @@ def create_panel(*args):
class ExtrudePanel(ScreenPanel): class ExtrudePanel(ScreenPanel):
def __init__(self, screen, title, back=True): def __init__(self, screen, title):
super().__init__(screen, title, back) super().__init__(screen, title)
self.current_extruder = self._printer.get_stat("toolhead", "extruder") self.current_extruder = self._printer.get_stat("toolhead", "extruder")
self.speeds = ['1', '2', '5', '25'] macros = self._printer.get_gcode_macros()
self.speed = 1
self.distances = ['5', '10', '15', '25']
self.distance = 5
macros = self._screen.printer.get_gcode_macros()
self.load_filament = any("LOAD_FILAMENT" in macro.upper() for macro in macros) self.load_filament = any("LOAD_FILAMENT" in macro.upper() for macro in macros)
self.unload_filament = any("UNLOAD_FILAMENT" in macro.upper() for macro in macros) self.unload_filament = any("UNLOAD_FILAMENT" in macro.upper() for macro in macros)
def initialize(self, panel_name): self.speeds = ['1', '2', '5', '25']
self.labels['extrude'] = self._gtk.ButtonImage("extrude", _("Extrude"), "color4") self.distances = ['5', '10', '15', '25']
self.labels['extrude'].connect("clicked", self.extrude, "+") if self.ks_printer_cfg is not None:
self.labels['load'] = self._gtk.ButtonImage("arrow-down", _("Load"), "color3") dis = self.ks_printer_cfg.get("extrude_distances", '5, 10, 15, 25')
if re.match(r'^[0-9,\s]+$', dis):
dis = [str(i.strip()) for i in dis.split(',')]
if 1 < len(dis) < 5:
self.distances = dis
vel = self.ks_printer_cfg.get("extrude_speeds", '1, 2, 5, 25')
if re.match(r'^[0-9,\s]+$', vel):
vel = [str(i.strip()) for i in vel.split(',')]
if 1 < len(vel) < 5:
self.speeds = vel
self.labels['load'].connect("clicked", self.load_unload, "+") self.distance = int(self.distances[1])
self.labels['unload'] = self._gtk.ButtonImage("arrow-up", _("Unload"), "color2") self.speed = int(self.speeds[1])
self.buttons = {
self.labels['unload'].connect("clicked", self.load_unload, "-") 'extrude': self._gtk.Button("extrude", _("Extrude"), "color4"),
self.labels['retract'] = self._gtk.ButtonImage("retract", _("Retract"), "color1") 'load': self._gtk.Button("arrow-down", _("Load"), "color3"),
self.labels['retract'].connect("clicked", self.extrude, "-") 'unload': self._gtk.Button("arrow-up", _("Unload"), "color2"),
self.labels['temperature'] = self._gtk.ButtonImage("heat-up", _("Temperature"), "color4") 'retract': self._gtk.Button("retract", _("Retract"), "color1"),
self.labels['temperature'].connect("clicked", self.menu_item_clicked, "temperature", { 'temperature': self._gtk.Button("heat-up", _("Temperature"), "color4"),
}
self.buttons['extrude'].connect("clicked", self.extrude, "+")
self.buttons['load'].connect("clicked", self.load_unload, "+")
self.buttons['unload'].connect("clicked", self.load_unload, "-")
self.buttons['retract'].connect("clicked", self.extrude, "-")
self.buttons['temperature'].connect("clicked", self.menu_item_clicked, "temperature", {
"name": "Temperature", "name": "Temperature",
"panel": "temperature" "panel": "temperature"
}) })
@@ -47,10 +60,9 @@ class ExtrudePanel(ScreenPanel):
i = 0 i = 0
for extruder in self._printer.get_tools(): for extruder in self._printer.get_tools():
if self._printer.extrudercount > 1: if self._printer.extrudercount > 1:
self.labels[extruder] = self._gtk.ButtonImage(f"extruder-{i}", self.labels[extruder] = self._gtk.Button(f"extruder-{i}", f"T{self._printer.get_tool_number(extruder)}")
f"T{self._printer.get_tool_number(extruder)}")
else: else:
self.labels[extruder] = self._gtk.ButtonImage("extruder", "") self.labels[extruder] = self._gtk.Button("extruder", "")
self.labels[extruder].connect("clicked", self.change_extruder, extruder) self.labels[extruder].connect("clicked", self.change_extruder, extruder)
if extruder == self.current_extruder: if extruder == self.current_extruder:
self.labels[extruder].get_style_context().add_class("button_active") self.labels[extruder].get_style_context().add_class("button_active")
@@ -58,11 +70,11 @@ class ExtrudePanel(ScreenPanel):
extgrid.attach(self.labels[extruder], i, 0, 1, 1) extgrid.attach(self.labels[extruder], i, 0, 1, 1)
i += 1 i += 1
if i < (limit - 1): if i < (limit - 1):
extgrid.attach(self.labels['temperature'], i + 1, 0, 1, 1) extgrid.attach(self.buttons['temperature'], i + 1, 0, 1, 1)
distgrid = Gtk.Grid() distgrid = Gtk.Grid()
for j, i in enumerate(self.distances): for j, i in enumerate(self.distances):
self.labels[f"dist{i}"] = self._gtk.ToggleButton(i) self.labels[f"dist{i}"] = self._gtk.Button(label=i)
self.labels[f"dist{i}"].connect("clicked", self.change_distance, int(i)) self.labels[f"dist{i}"].connect("clicked", self.change_distance, int(i))
ctx = self.labels[f"dist{i}"].get_style_context() ctx = self.labels[f"dist{i}"].get_style_context()
if ((self._screen.lang_ltr is True and j == 0) or if ((self._screen.lang_ltr is True and j == 0) or
@@ -73,14 +85,13 @@ class ExtrudePanel(ScreenPanel):
ctx.add_class("distbutton_bottom") ctx.add_class("distbutton_bottom")
else: else:
ctx.add_class("distbutton") ctx.add_class("distbutton")
if i == "5": if int(i) == self.distance:
ctx.add_class("distbutton_active") ctx.add_class("distbutton_active")
distgrid.attach(self.labels[f"dist{i}"], j, 0, 1, 1) distgrid.attach(self.labels[f"dist{i}"], j, 0, 1, 1)
self.labels["dist5"].set_active(True)
speedgrid = Gtk.Grid() speedgrid = Gtk.Grid()
for j, i in enumerate(self.speeds): for j, i in enumerate(self.speeds):
self.labels[f"speed{i}"] = self._gtk.ToggleButton(_(i)) self.labels[f"speed{i}"] = self._gtk.Button(label=i)
self.labels[f"speed{i}"].connect("clicked", self.change_speed, int(i)) self.labels[f"speed{i}"].connect("clicked", self.change_speed, int(i))
ctx = self.labels[f"speed{i}"].get_style_context() ctx = self.labels[f"speed{i}"].get_style_context()
if ((self._screen.lang_ltr is True and j == 0) or if ((self._screen.lang_ltr is True and j == 0) or
@@ -91,10 +102,9 @@ class ExtrudePanel(ScreenPanel):
ctx.add_class("distbutton_bottom") ctx.add_class("distbutton_bottom")
else: else:
ctx.add_class("distbutton") ctx.add_class("distbutton")
if i == "2": if int(i) == self.speed:
ctx.add_class("distbutton_active") ctx.add_class("distbutton_active")
speedgrid.attach(self.labels[f"speed{i}"], j, 0, 1, 1) speedgrid.attach(self.labels[f"speed{i}"], j, 0, 1, 1)
self.labels["speed2"].set_active(True)
distbox = Gtk.Box(orientation=Gtk.Orientation.VERTICAL) distbox = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
self.labels['extrude_dist'] = Gtk.Label(_("Distance (mm)")) self.labels['extrude_dist'] = Gtk.Label(_("Distance (mm)"))
@@ -124,17 +134,13 @@ class ExtrudePanel(ScreenPanel):
self.labels[x]['label'].set_halign(Gtk.Align.CENTER) self.labels[x]['label'].set_halign(Gtk.Align.CENTER)
self.labels[x]['label'].set_hexpand(True) self.labels[x]['label'].set_hexpand(True)
self.labels[x]['label'].set_ellipsize(Pango.EllipsizeMode.END) self.labels[x]['label'].set_ellipsize(Pango.EllipsizeMode.END)
self.labels[x]['switch'].set_property("width-request", round(self._gtk.get_font_size() * 2)) self.labels[x]['switch'].set_property("width-request", round(self._gtk.font_size * 2))
self.labels[x]['switch'].set_property("height-request", round(self._gtk.get_font_size())) self.labels[x]['switch'].set_property("height-request", round(self._gtk.font_size))
self.labels[x]['switch'].connect("notify::active", self.enable_disable_fs, name, x) self.labels[x]['switch'].connect("notify::active", self.enable_disable_fs, name, x)
self.labels[x]['box'].pack_start(self.labels[x]['label'], True, True, 5) self.labels[x]['box'].pack_start(self.labels[x]['label'], True, True, 5)
self.labels[x]['box'].pack_start(self.labels[x]['switch'], False, False, 5) self.labels[x]['box'].pack_start(self.labels[x]['switch'], False, False, 5)
self.labels[x]['box'].get_style_context().add_class("filament_sensor") self.labels[x]['box'].get_style_context().add_class("filament_sensor")
self.labels[x]['box'].set_hexpand(True) self.labels[x]['box'].set_hexpand(True)
if self._printer.get_dev_stat(x, "filament_detected"):
self.labels[x]['box'].get_style_context().add_class("filament_sensor_detected")
else:
self.labels[x]['box'].get_style_context().add_class("filament_sensor_empty")
sensors.attach(self.labels[x]['box'], s, 0, 1, 1) sensors.attach(self.labels[x]['box'], s, 0, 1, 1)
grid = Gtk.Grid() grid = Gtk.Grid()
@@ -142,33 +148,43 @@ class ExtrudePanel(ScreenPanel):
grid.attach(extgrid, 0, 0, 4, 1) grid.attach(extgrid, 0, 0, 4, 1)
if self._screen.vertical_mode: if self._screen.vertical_mode:
grid.attach(self.labels['extrude'], 0, 1, 2, 1) grid.attach(self.buttons['extrude'], 0, 1, 2, 1)
grid.attach(self.labels['retract'], 2, 1, 2, 1) grid.attach(self.buttons['retract'], 2, 1, 2, 1)
grid.attach(self.labels['load'], 0, 2, 2, 1) grid.attach(self.buttons['load'], 0, 2, 2, 1)
grid.attach(self.labels['unload'], 2, 2, 2, 1) grid.attach(self.buttons['unload'], 2, 2, 2, 1)
grid.attach(distbox, 0, 3, 4, 1) grid.attach(distbox, 0, 3, 4, 1)
grid.attach(speedbox, 0, 4, 4, 1) grid.attach(speedbox, 0, 4, 4, 1)
grid.attach(sensors, 0, 5, 4, 1) grid.attach(sensors, 0, 5, 4, 1)
else: else:
grid.attach(self.labels['extrude'], 0, 2, 1, 1) grid.attach(self.buttons['extrude'], 0, 2, 1, 1)
grid.attach(self.labels['load'], 1, 2, 1, 1) grid.attach(self.buttons['load'], 1, 2, 1, 1)
grid.attach(self.labels['unload'], 2, 2, 1, 1) grid.attach(self.buttons['unload'], 2, 2, 1, 1)
grid.attach(self.labels['retract'], 3, 2, 1, 1) grid.attach(self.buttons['retract'], 3, 2, 1, 1)
grid.attach(distbox, 0, 3, 2, 1) grid.attach(distbox, 0, 3, 2, 1)
grid.attach(speedbox, 2, 3, 2, 1) grid.attach(speedbox, 2, 3, 2, 1)
grid.attach(sensors, 0, 4, 4, 1) grid.attach(sensors, 0, 4, 4, 1)
self.content.add(grid) self.content.add(grid)
def process_busy(self, busy):
for button in self.buttons:
if button == "temperature":
continue
self.buttons[button].set_sensitive((not busy))
def process_update(self, action, data): def process_update(self, action, data):
if action == "notify_busy":
self.process_busy(data)
return
if action != "notify_status_update": if action != "notify_status_update":
return return
for x in self._printer.get_tools(): for x in self._printer.get_tools():
self.update_temp( self.update_temp(
x, x,
self._printer.get_dev_stat(x, "temperature"), self._printer.get_dev_stat(x, "temperature"),
self._printer.get_dev_stat(x, "target") self._printer.get_dev_stat(x, "target"),
self._printer.get_dev_stat(x, "power"),
lines=2,
) )
if ("toolhead" in data and "extruder" in data["toolhead"] and if ("toolhead" in data and "extruder" in data["toolhead"] and
@@ -183,32 +199,22 @@ class ExtrudePanel(ScreenPanel):
if 'enabled' in data[x]: if 'enabled' in data[x]:
self._printer.set_dev_stat(x, "enabled", data[x]['enabled']) self._printer.set_dev_stat(x, "enabled", data[x]['enabled'])
self.labels[x]['switch'].set_active(data[x]['enabled']) self.labels[x]['switch'].set_active(data[x]['enabled'])
logging.info(f"{x} Enabled: {data[x]['enabled']}")
if 'filament_detected' in data[x]: if 'filament_detected' in data[x]:
self._printer.set_dev_stat(x, "filament_detected", data[x]['filament_detected']) self._printer.set_dev_stat(x, "filament_detected", data[x]['filament_detected'])
if data[x]['filament_detected']: if self._printer.get_stat(x, "enabled"):
self.labels[x]['box'].get_style_context().remove_class("filament_sensor_empty") if data[x]['filament_detected']:
self.labels[x]['box'].get_style_context().add_class("filament_sensor_detected") self.labels[x]['box'].get_style_context().remove_class("filament_sensor_empty")
else: self.labels[x]['box'].get_style_context().add_class("filament_sensor_detected")
self.labels[x]['box'].get_style_context().remove_class("filament_sensor_detected") else:
self.labels[x]['box'].get_style_context().add_class("filament_sensor_empty") self.labels[x]['box'].get_style_context().remove_class("filament_sensor_detected")
logging.info(f"{x}: Filament detected: {data[x]['filament_detected']}") self.labels[x]['box'].get_style_context().add_class("filament_sensor_empty")
logging.info(f"{x}: {self._printer.get_stat(x)}")
def change_distance(self, widget, distance): def change_distance(self, widget, distance):
if self.distance == distance:
return
logging.info(f"### Distance {distance}") logging.info(f"### Distance {distance}")
self.labels[f"dist{self.distance}"].get_style_context().remove_class("distbutton_active")
ctx = self.labels[f"dist{self.distance}"].get_style_context() self.labels[f"dist{distance}"].get_style_context().add_class("distbutton_active")
ctx.remove_class("distbutton_active")
self.distance = distance self.distance = distance
ctx = self.labels[f"dist{self.distance}"].get_style_context()
ctx.add_class("distbutton_active")
for i in self.distances:
if i == self.distance:
continue
self.labels[f"dist{i}"].set_active(False)
def change_extruder(self, widget, extruder): def change_extruder(self, widget, extruder):
logging.info(f"Changing extruder to {extruder}") logging.info(f"Changing extruder to {extruder}")
@@ -219,18 +225,10 @@ class ExtrudePanel(ScreenPanel):
self._screen._ws.klippy.gcode_script(f"T{self._printer.get_tool_number(extruder)}") self._screen._ws.klippy.gcode_script(f"T{self._printer.get_tool_number(extruder)}")
def change_speed(self, widget, speed): def change_speed(self, widget, speed):
if self.speed == speed:
return
logging.info(f"### Speed {speed}") logging.info(f"### Speed {speed}")
self.labels[f"speed{self.speed}"].get_style_context().remove_class("distbutton_active") self.labels[f"speed{self.speed}"].get_style_context().remove_class("distbutton_active")
self.labels[f"speed{speed}"].get_style_context().add_class("distbutton_active")
self.speed = speed self.speed = speed
self.labels[f"speed{self.speed}"].get_style_context().add_class("distbutton_active")
for i in self.speeds:
if i == self.speed:
continue
self.labels[f"speed{i}"].set_active(False)
def extrude(self, widget, direction): def extrude(self, widget, direction):
self._screen._ws.klippy.gcode_script(KlippyGcodes.EXTRUDE_REL) self._screen._ws.klippy.gcode_script(KlippyGcodes.EXTRUDE_REL)
@@ -252,15 +250,12 @@ class ExtrudePanel(ScreenPanel):
if switch.get_active(): if switch.get_active():
self._printer.set_dev_stat(x, "enabled", True) self._printer.set_dev_stat(x, "enabled", True)
self._screen._ws.klippy.gcode_script(f"SET_FILAMENT_SENSOR SENSOR={name} ENABLE=1") self._screen._ws.klippy.gcode_script(f"SET_FILAMENT_SENSOR SENSOR={name} ENABLE=1")
if self._printer.get_stat(x, "filament_detected"):
self.labels[x]['box'].get_style_context().add_class("filament_sensor_detected")
else:
self.labels[x]['box'].get_style_context().add_class("filament_sensor_empty")
else: else:
self._printer.set_dev_stat(x, "enabled", False) self._printer.set_dev_stat(x, "enabled", False)
self._screen._ws.klippy.gcode_script(f"SET_FILAMENT_SENSOR SENSOR={name} ENABLE=0") self._screen._ws.klippy.gcode_script(f"SET_FILAMENT_SENSOR SENSOR={name} ENABLE=0")
self.labels[x]['box'].get_style_context().remove_class("filament_sensor_empty") self.labels[x]['box'].get_style_context().remove_class("filament_sensor_empty")
self.labels[x]['box'].get_style_context().remove_class("filament_sensor_detected") self.labels[x]['box'].get_style_context().remove_class("filament_sensor_detected")
def update_temp(self, dev, temp, target):
if dev in self.labels and temp is not None:
if target > 0:
self.labels[dev].set_label(f"{temp:.1f}°C\n({target:.0f})")
else:
self.labels[dev].set_label(f"{temp:.1f}°C")
+8 -15
View File
@@ -1,6 +1,7 @@
import gi
import logging import logging
import gi
gi.require_version("Gtk", "3.0") gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, GLib, Pango from gi.repository import Gtk, GLib, Pango
@@ -16,10 +17,9 @@ CHANGEABLE_FANS = ["fan", "fan_generic"]
class FanPanel(ScreenPanel): class FanPanel(ScreenPanel):
def __init__(self, screen, title):
def initialize(self, panel_name): super().__init__(screen, title)
self.fan_speed = {} self.fan_speed = {}
self.user_selecting = False
self.devices = {} self.devices = {}
# Create a grid for all devices # Create a grid for all devices
self.labels['devices'] = Gtk.Grid() self.labels['devices'] = Gtk.Grid()
@@ -38,7 +38,7 @@ class FanPanel(ScreenPanel):
for fan in self.devices: for fan in self.devices:
if fan in data and "speed" in data[fan]: if fan in data and "speed" in data[fan]:
self.update_fan_speed(None, fan, self._printer.get_fan_speed(fan, data[fan]["speed"])) self.update_fan_speed(None, fan, self._printer.get_fan_speed(fan))
def update_fan_speed(self, widget, fan, speed): def update_fan_speed(self, widget, fan, speed):
if fan not in self.devices: if fan not in self.devices:
@@ -72,10 +72,10 @@ class FanPanel(ScreenPanel):
name.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR) name.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
fan_col = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=5) fan_col = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=5)
stop_btn = self._gtk.ButtonImage("cancel", None, "color1", 1) stop_btn = self._gtk.Button("cancel", None, "color1")
stop_btn.set_hexpand(False) stop_btn.set_hexpand(False)
stop_btn.connect("clicked", self.update_fan_speed, fan, 0) stop_btn.connect("clicked", self.update_fan_speed, fan, 0)
max_btn = self._gtk.ButtonImage("fan-on", _("Max"), "color2", 1) max_btn = self._gtk.Button("fan-on", _("Max"), "color2")
max_btn.set_hexpand(False) max_btn.set_hexpand(False)
max_btn.connect("clicked", self.update_fan_speed, fan, 100) max_btn.connect("clicked", self.update_fan_speed, fan, 100)
@@ -103,10 +103,6 @@ class FanPanel(ScreenPanel):
fan_row.add(name) fan_row.add(name)
fan_row.add(fan_col) fan_row.add(fan_col)
frame = Gtk.Frame()
frame.get_style_context().add_class("frame-item")
frame.add(fan_row)
self.devices[fan] = { self.devices[fan] = {
"changeable": changeable, "changeable": changeable,
"scale": scale, "scale": scale,
@@ -123,7 +119,7 @@ class FanPanel(ScreenPanel):
pos = devices.index(fan) pos = devices.index(fan)
self.labels['devices'].insert_row(pos) self.labels['devices'].insert_row(pos)
self.labels['devices'].attach(frame, 0, pos, 1, 1) self.labels['devices'].attach(fan_row, 0, pos, 1, 1)
self.labels['devices'].show_all() self.labels['devices'].show_all()
def load_fans(self): def load_fans(self):
@@ -134,9 +130,6 @@ class FanPanel(ScreenPanel):
if name.startswith("_"): if name.startswith("_"):
continue continue
self.add_fan(fan) self.add_fan(fan)
frame = Gtk.Frame()
frame.set_vexpand(False)
self.labels['devices'].attach(frame, 0, -1, 1, 1)
def set_fan_speed(self, widget, event, fan): def set_fan_speed(self, widget, event, fan):
value = self.devices[fan]['scale'].get_value() value = self.devices[fan]['scale'].get_value()
+52 -84
View File
@@ -1,6 +1,8 @@
import gi
import logging import logging
import re import re
import contextlib
import gi
gi.require_version("Gtk", "3.0") gi.require_version("Gtk", "3.0")
from gi.repository import Gtk from gi.repository import Gtk
@@ -14,34 +16,28 @@ def create_panel(*args):
class FineTunePanel(ScreenPanel): class FineTunePanel(ScreenPanel):
user_selecting = False
bs = 0
bs_delta = "0.05"
bs_deltas = ["0.01", "0.05"] bs_deltas = ["0.01", "0.05"]
percent_delta = 1 bs_delta = bs_deltas[-1]
percent_deltas = ['1', '5', '10', '25'] percent_deltas = ['1', '5', '10', '25']
extrusion = 100 percent_delta = percent_deltas[-2]
speed = 100 speed = extrusion = 100
def initialize(self, panel_name): def __init__(self, screen, title):
super().__init__(screen, title)
logging.debug("FineTunePanel") if self.ks_printer_cfg is not None:
bs = self.ks_printer_cfg.get("z_babystep_values", "0.01, 0.05")
print_cfg = self._config.get_printer_config(self._screen.connected_printer)
if print_cfg is not None:
bs = print_cfg.get("z_babystep_values", "0.01, 0.05")
if re.match(r'^[0-9,\.\s]+$', bs): if re.match(r'^[0-9,\.\s]+$', bs):
bs = [str(i.strip()) for i in bs.split(',')] bs = [str(i.strip()) for i in bs.split(',')]
self.bs_deltas = bs if len(bs) <= 2 else [bs[0], bs[-1]] if 1 < len(bs) < 3:
self.bs_delta = self.bs_deltas[0] self.bs_deltas = bs
self.bs_delta = self.bs_deltas[-1]
# babystepping grid # babystepping grid
bsgrid = Gtk.Grid() bsgrid = Gtk.Grid()
for j, i in enumerate(self.bs_deltas): for j, i in enumerate(self.bs_deltas):
self.labels[i] = self._gtk.ToggleButton(i) self.labels[f"bdelta{i}"] = self._gtk.Button(label=i)
self.labels[i].connect("clicked", self.change_bs_delta, i) self.labels[f"bdelta{i}"].connect("clicked", self.change_bs_delta, float(i))
ctx = self.labels[i].get_style_context() ctx = self.labels[f"bdelta{i}"].get_style_context()
if j == 0: if j == 0:
ctx.add_class("distbutton_top") ctx.add_class("distbutton_top")
elif j == len(self.bs_deltas) - 1: elif j == len(self.bs_deltas) - 1:
@@ -50,70 +46,52 @@ class FineTunePanel(ScreenPanel):
ctx.add_class("distbutton") ctx.add_class("distbutton")
if i == self.bs_delta: if i == self.bs_delta:
ctx.add_class("distbutton_active") ctx.add_class("distbutton_active")
bsgrid.attach(self.labels[i], j, 0, 1, 1) bsgrid.attach(self.labels[f"bdelta{i}"], j, 0, 1, 1)
# Grid for percentage # Grid for percentage
deltgrid = Gtk.Grid() deltgrid = Gtk.Grid()
for j, i in enumerate(self.percent_deltas): for j, i in enumerate(self.percent_deltas):
self.labels[i] = self._gtk.ToggleButton(f"{i}%") self.labels[f"pdelta{i}"] = self._gtk.Button(label=f"{i}%")
self.labels[i].connect("clicked", self.change_percent_delta, i) self.labels[f"pdelta{i}"].connect("clicked", self.change_percent_delta, int(i))
ctx = self.labels[i].get_style_context() ctx = self.labels[f"pdelta{i}"].get_style_context()
if j == 0: if j == 0:
ctx.add_class("distbutton_top") ctx.add_class("distbutton_top")
elif j == len(self.percent_deltas) - 1: elif j == len(self.percent_deltas) - 1:
ctx.add_class("distbutton_bottom") ctx.add_class("distbutton_bottom")
else: else:
ctx.add_class("distbutton") ctx.add_class("distbutton")
if i == "1": if i == self.percent_delta:
ctx.add_class("distbutton_active") ctx.add_class("distbutton_active")
deltgrid.attach(self.labels[i], j, 0, 1, 1) deltgrid.attach(self.labels[f"pdelta{i}"], j, 0, 1, 1)
self.labels["1"].set_active(True)
grid = self._gtk.HomogeneousGrid() grid = self._gtk.HomogeneousGrid()
grid.set_row_homogeneous(False) grid.set_row_homogeneous(False)
self.labels['z+'] = self._gtk.Button("z-farther", "Z+", "color1")
self.labels['z-'] = self._gtk.Button("z-closer", "Z-", "color1")
self.labels['zoffset'] = self._gtk.Button("refresh", ' 0.00' + _("mm"),
"color1", self.bts, Gtk.PositionType.LEFT, 1)
self.labels['speed+'] = self._gtk.Button("speed+", _("Speed +"), "color3")
self.labels['speed-'] = self._gtk.Button("speed-", _("Speed -"), "color3")
self.labels['speedfactor'] = self._gtk.Button("refresh", " 100%",
"color3", self.bts, Gtk.PositionType.LEFT, 1)
self.labels['extrude+'] = self._gtk.Button("flow+", _("Extrusion +"), "color4")
self.labels['extrude-'] = self._gtk.Button("flow-", _("Extrusion -"), "color4")
self.labels['extrudefactor'] = self._gtk.Button("refresh", " 100%",
"color4", self.bts, Gtk.PositionType.LEFT, 1)
if self._screen.vertical_mode: 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, Gtk.PositionType.LEFT, 1)
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, Gtk.PositionType.LEFT, 1)
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, Gtk.PositionType.LEFT, 1)
grid.attach(self.labels['z+'], 0, 0, 1, 1) grid.attach(self.labels['z+'], 0, 0, 1, 1)
grid.attach(self.labels['z-'], 1, 0, 1, 1) grid.attach(self.labels['z-'], 1, 0, 1, 1)
grid.attach(self.labels['zoffset'], 2, 0, 1, 1) grid.attach(self.labels['zoffset'], 2, 0, 1, 1)
grid.attach(bsgrid, 0, 1, 3, 1) grid.attach(bsgrid, 0, 1, 3, 1)
grid.attach(self.labels['speed-'], 0, 2, 1, 1) grid.attach(self.labels['speed-'], 0, 2, 1, 1)
grid.attach(self.labels['speed+'], 1, 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['speedfactor'], 2, 2, 1, 1)
grid.attach(self.labels['extrude-'], 0, 3, 1, 1) grid.attach(self.labels['extrude-'], 0, 3, 1, 1)
grid.attach(self.labels['extrude+'], 1, 3, 1, 1) grid.attach(self.labels['extrude+'], 1, 3, 1, 1)
grid.attach(self.labels['extrudefactor'], 2, 3, 1, 1) grid.attach(self.labels['extrudefactor'], 2, 3, 1, 1)
grid.attach(deltgrid, 0, 4, 3, 1) grid.attach(deltgrid, 0, 4, 3, 1)
else: else:
self.labels['z+'] = self._gtk.ButtonImage("z-farther", _("Z+"), "color1")
self.labels['zoffset'] = self._gtk.ButtonImage("refresh", " 0.00" + _("mm"),
"color1", .6, Gtk.PositionType.LEFT, 1)
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, Gtk.PositionType.LEFT, 1)
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, Gtk.PositionType.LEFT, 1)
self.labels['extrude-'] = self._gtk.ButtonImage("flow-", _("Extrusion -"), "color4")
grid.attach(self.labels['zoffset'], 0, 0, 1, 1) grid.attach(self.labels['zoffset'], 0, 0, 1, 1)
grid.attach(self.labels['z+'], 0, 1, 1, 1) grid.attach(self.labels['z+'], 0, 1, 1, 1)
grid.attach(self.labels['z-'], 0, 2, 1, 1) grid.attach(self.labels['z-'], 0, 2, 1, 1)
@@ -147,33 +125,31 @@ class FineTunePanel(ScreenPanel):
if "homing_origin" in data["gcode_move"]: if "homing_origin" in data["gcode_move"]:
self.labels['zoffset'].set_label(f' {data["gcode_move"]["homing_origin"][2]:.2f}mm') self.labels['zoffset'].set_label(f' {data["gcode_move"]["homing_origin"][2]:.2f}mm')
if "extrude_factor" in data["gcode_move"]: if "extrude_factor" in data["gcode_move"]:
self.extrusion = int(round(data["gcode_move"]["extrude_factor"] * 100)) self.extrusion = round(float(data["gcode_move"]["extrude_factor"]) * 100)
self.labels['extrudefactor'].set_label(f" {self.extrusion:3}%") self.labels['extrudefactor'].set_label(f" {self.extrusion:3}%")
if "speed_factor" in data["gcode_move"]: if "speed_factor" in data["gcode_move"]:
self.speed = int(round(data["gcode_move"]["speed_factor"] * 100)) self.speed = round(float(data["gcode_move"]["speed_factor"]) * 100)
self.labels['speedfactor'].set_label(f" {self.speed:3}%") self.labels['speedfactor'].set_label(f" {self.speed:3}%")
def change_babystepping(self, widget, direction): def change_babystepping(self, widget, direction):
if direction == "reset": if direction == "reset":
self.labels['zoffset'].set_label(' 0.00mm')
self._screen._ws.klippy.gcode_script("SET_GCODE_OFFSET Z=0 MOVE=1") self._screen._ws.klippy.gcode_script("SET_GCODE_OFFSET Z=0 MOVE=1")
elif direction in ["+", "-"]: elif direction in ["+", "-"]:
with contextlib.suppress(KeyError):
z_offset = float(self._printer.data["gcode_move"]["homing_origin"][2])
if direction == "+":
z_offset += float(self.bs_delta)
else:
z_offset -= float(self.bs_delta)
self.labels['zoffset'].set_label(f' {round(z_offset, 2):.2f}mm')
self._screen._ws.klippy.gcode_script(f"SET_GCODE_OFFSET Z_ADJUST={direction}{self.bs_delta} MOVE=1") self._screen._ws.klippy.gcode_script(f"SET_GCODE_OFFSET Z_ADJUST={direction}{self.bs_delta} MOVE=1")
def change_bs_delta(self, widget, bs): def change_bs_delta(self, widget, bs):
if self.bs_delta == bs:
return
logging.info(f"### BabyStepping {bs}") logging.info(f"### BabyStepping {bs}")
self.labels[f"bdelta{self.bs_delta}"].get_style_context().remove_class("distbutton_active")
ctx = self.labels[f"{self.bs_delta}"].get_style_context() self.labels[f"bdelta{bs}"].get_style_context().add_class("distbutton_active")
ctx.remove_class("distbutton_active")
self.bs_delta = bs self.bs_delta = bs
ctx = self.labels[self.bs_delta].get_style_context()
ctx.add_class("distbutton_active")
for i in self.bs_deltas:
if i == self.bs_delta:
continue
self.labels[i].set_active(False)
def change_extrusion(self, widget, direction): def change_extrusion(self, widget, direction):
if direction == "+": if direction == "+":
@@ -184,6 +160,7 @@ class FineTunePanel(ScreenPanel):
self.extrusion = 100 self.extrusion = 100
self.extrusion = max(self.extrusion, 1) self.extrusion = max(self.extrusion, 1)
self.labels['extrudefactor'].set_label(f" {self.extrusion:3}%")
self._screen._ws.klippy.gcode_script(KlippyGcodes.set_extrusion_rate(self.extrusion)) self._screen._ws.klippy.gcode_script(KlippyGcodes.set_extrusion_rate(self.extrusion))
def change_speed(self, widget, direction): def change_speed(self, widget, direction):
@@ -195,20 +172,11 @@ class FineTunePanel(ScreenPanel):
self.speed = 100 self.speed = 100
self.speed = max(self.speed, 1) self.speed = max(self.speed, 1)
self.labels['speedfactor'].set_label(f" {self.speed:3}%")
self._screen._ws.klippy.gcode_script(KlippyGcodes.set_speed_rate(self.speed)) self._screen._ws.klippy.gcode_script(KlippyGcodes.set_speed_rate(self.speed))
def change_percent_delta(self, widget, delta): def change_percent_delta(self, widget, delta):
if self.percent_delta == delta:
return
logging.info(f"### Delta {delta}") logging.info(f"### Delta {delta}")
self.labels[f"pdelta{self.percent_delta}"].get_style_context().remove_class("distbutton_active")
ctx = self.labels[f"{self.percent_delta}"].get_style_context() self.labels[f"pdelta{delta}"].get_style_context().add_class("distbutton_active")
ctx.remove_class("distbutton_active")
self.percent_delta = delta self.percent_delta = delta
ctx = self.labels[self.percent_delta].get_style_context()
ctx.add_class("distbutton_active")
for i in self.percent_deltas:
if i == self.percent_delta:
continue
self.labels[f"{i}"].set_active(False)
+67 -66
View File
@@ -1,5 +1,6 @@
import gi
import logging import logging
import re
import gi
gi.require_version("Gtk", "3.0") gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, GLib, Pango from gi.repository import Gtk, GLib, Pango
@@ -12,29 +13,22 @@ def create_panel(*args):
class MacroPanel(ScreenPanel): class MacroPanel(ScreenPanel):
def __init__(self, screen, title, back=True): def __init__(self, screen, title):
super().__init__(screen, title, back) super().__init__(screen, title)
self.sort_reverse = False self.sort_reverse = False
self.sort_lbl = _("Name") self.sort_btn = self._gtk.Button("arrow-up", _("Name"), "color1", self.bts, Gtk.PositionType.RIGHT, 1)
self.sort_btn = self._gtk.ButtonImage("arrow-up", self.sort_lbl, "color1", .5, Gtk.PositionType.RIGHT, 1)
self.sort_btn.connect("clicked", self.change_sort) self.sort_btn.connect("clicked", self.change_sort)
self.sort_btn.set_hexpand(True) self.sort_btn.set_hexpand(True)
self.allmacros = {} self.options = {}
self.loaded_macros = []
self.macros = {} self.macros = {}
self.menu = ['macros_menu'] self.menu = ['macros_menu']
def initialize(self, panel_name): adjust = self._gtk.Button("settings", " " + _("Settings"), "color2", self.bts, Gtk.PositionType.LEFT, 1)
sort = Gtk.Label(_("Sort:")) adjust.connect("clicked", self.load_menu, 'options', _("Settings"))
sort.set_hexpand(False)
adjust = self._gtk.ButtonImage("settings", None, "color2", 1, Gtk.PositionType.LEFT, 1)
adjust.connect("clicked", self.load_menu, 'options')
adjust.set_hexpand(False) adjust.set_hexpand(False)
sbox = Gtk.Box() sbox = Gtk.Box()
sbox.set_vexpand(False) sbox.set_vexpand(False)
sbox.pack_start(sort, False, False, 5)
sbox.pack_start(self.sort_btn, True, True, 5) sbox.pack_start(self.sort_btn, True, True, 5)
sbox.pack_start(adjust, True, True, 5) sbox.pack_start(adjust, True, True, 5)
@@ -69,9 +63,9 @@ class MacroPanel(ScreenPanel):
name.set_halign(Gtk.Align.START) name.set_halign(Gtk.Align.START)
name.set_valign(Gtk.Align.CENTER) name.set_valign(Gtk.Align.CENTER)
name.set_line_wrap(True) name.set_line_wrap(True)
name.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR) name.set_line_wrap_mode(Pango.WrapMode.CHAR)
btn = self._gtk.ButtonImage("resume", style="color3") btn = self._gtk.Button("resume", style="color3")
btn.connect("clicked", self.run_gcode_macro, macro) btn.connect("clicked", self.run_gcode_macro, macro)
btn.set_hexpand(False) btn.set_hexpand(False)
btn.set_halign(Gtk.Align.END) btn.set_halign(Gtk.Align.END)
@@ -79,34 +73,53 @@ class MacroPanel(ScreenPanel):
labels = Gtk.Box(orientation=Gtk.Orientation.VERTICAL) labels = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
labels.add(name) labels.add(name)
dev = Gtk.Box(spacing=5) row = Gtk.Box(spacing=5)
dev.add(labels) row.get_style_context().add_class("frame-item")
dev.add(btn) row.add(labels)
row.add(btn)
frame = Gtk.Frame()
frame.get_style_context().add_class("frame-item")
frame.add(dev)
self.macros[macro] = { self.macros[macro] = {
"row": frame "row": row,
"params": {},
} }
pattern = r'params\.(?P<param>..*)\|default\((?P<default>..*)\).*'
gcode = self._printer.get_macro(macro)
if gcode and "gcode" in gcode:
gcode = gcode["gcode"].split("\n")
else:
logging.debug(f"Couldn't load {macro}\n{gcode}")
return
i = 0
for line in gcode:
if line.startswith("{") and "params." in line:
result = re.search(pattern, line)
if result:
result = result.groupdict()
default = result["default"] if "default" in result else ""
entry = Gtk.Entry()
entry.set_text(default)
self.macros[macro]["params"].update({result["param"]: entry})
macros = sorted(self.macros, reverse=self.sort_reverse, key=str.casefold) for param in self.macros[macro]["params"]:
pos = macros.index(macro) labels.add(Gtk.Label(param))
self.macros[macro]["params"][param].connect("focus-in-event", self._screen.show_keyboard)
self.loaded_macros.append(macro) self.macros[macro]["params"][param].connect("focus-out-event", self._screen.remove_keyboard)
self.labels['macros'].insert_row(pos) labels.add(self.macros[macro]["params"][param])
self.labels['macros'].attach(self.macros[macro]['row'], 0, pos, 1, 1)
def run_gcode_macro(self, widget, macro): def run_gcode_macro(self, widget, macro):
self._screen._ws.klippy.gcode_script(macro) params = ""
for param in self.macros[macro]["params"]:
value = self.macros[macro]["params"][param].get_text()
if value:
params += f'{param}={value} '
self._screen._ws.klippy.gcode_script(f"{macro} {params}")
def change_sort(self, widget): def change_sort(self, widget):
self.sort_reverse ^= True self.sort_reverse ^= True
if self.sort_reverse: if self.sort_reverse:
self.sort_btn.set_image(self._gtk.Image("arrow-down", .5)) self.sort_btn.set_image(self._gtk.Image("arrow-down", self.bts))
else: else:
self.sort_btn.set_image(self._gtk.Image("arrow-up", .5)) self.sort_btn.set_image(self._gtk.Image("arrow-up", self.bts))
self.sort_btn.show() self.sort_btn.show()
GLib.idle_add(self.reload_macros) GLib.idle_add(self.reload_macros)
@@ -114,40 +127,31 @@ class MacroPanel(ScreenPanel):
def reload_macros(self): def reload_macros(self):
self.labels['macros'].remove_column(0) self.labels['macros'].remove_column(0)
self.macros = {} self.macros = {}
self.loaded_macros = [] self.options = {}
self.allmacros = {}
self.labels['options'].remove_column(0) self.labels['options'].remove_column(0)
self.load_gcode_macros() self.load_gcode_macros()
def load_gcode_macros(self): def load_gcode_macros(self):
macros = self._screen.printer.get_gcode_macros() for macro in self._printer.get_gcode_macros():
section_name = f"displayed_macros {self._screen.connected_printer}" macro = macro[12:].strip()
logging.info(f"Macro section name [{section_name}]") if macro.startswith("_"): # Support for hiding macros by name
for x in macros:
macro = x[12:].strip()
if macro in self.loaded_macros:
continue continue
self.options[macro] = {
if (section_name not in self._config.get_config().sections() or
self._config.get_config().getboolean(section_name, macro.lower(), fallback=True)):
self.add_gcode_macro(macro)
for macro in self._printer.get_config_section_list("gcode_macro "):
macro = macro[12:]
# Support for hiding macros by name
if macro.startswith("_"):
continue
self.allmacros[macro] = {
"name": macro, "name": macro,
"section": f"displayed_macros {self._screen.connected_printer}", "section": f"displayed_macros {self._screen.connected_printer}",
} }
for macro in list(self.allmacros): show = self._config.get_config().getboolean(self.options[macro]["section"], macro.lower(), fallback=True)
self.add_option('options', self.allmacros, macro, self.allmacros[macro]) if macro not in self.macros and show:
self.add_gcode_macro(macro)
self.labels['macros'].show_all() for macro in list(self.options):
self.add_option('options', self.options, macro, self.options[macro])
macros = sorted(self.macros, reverse=self.sort_reverse, key=str.casefold)
for macro in macros:
pos = macros.index(macro)
self.labels['macros'].insert_row(pos)
self.labels['macros'].attach(self.macros[macro]['row'], 0, pos, 1, 1)
self.labels['macros'].show_all()
def add_option(self, boxname, opt_array, opt_name, option): def add_option(self, boxname, opt_array, opt_name, option):
name = Gtk.Label() name = Gtk.Label()
@@ -166,27 +170,24 @@ class MacroPanel(ScreenPanel):
switch.set_vexpand(False) switch.set_vexpand(False)
switch.set_active(self._config.get_config().getboolean(option['section'], opt_name, fallback=True)) switch.set_active(self._config.get_config().getboolean(option['section'], opt_name, fallback=True))
switch.connect("notify::active", self.switch_config_option, option['section'], opt_name) switch.connect("notify::active", self.switch_config_option, option['section'], opt_name)
switch.set_property("width-request", round(self._gtk.get_font_size() * 7)) switch.set_property("width-request", round(self._gtk.font_size * 7))
switch.set_property("height-request", round(self._gtk.get_font_size() * 3.5)) switch.set_property("height-request", round(self._gtk.font_size * 3.5))
box.add(switch) box.add(switch)
dev = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=5) dev = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=5)
dev.get_style_context().add_class("frame-item")
dev.set_hexpand(True) dev.set_hexpand(True)
dev.set_vexpand(False) dev.set_vexpand(False)
dev.set_valign(Gtk.Align.CENTER) dev.set_valign(Gtk.Align.CENTER)
dev.add(name) dev.add(name)
dev.add(box) dev.add(box)
frame = Gtk.Frame()
frame.get_style_context().add_class("frame-item")
frame.add(dev)
frame.show_all()
opt_array[opt_name] = { opt_array[opt_name] = {
"name": option['name'], "name": option['name'],
"row": frame "row": dev
} }
opts = sorted(self.allmacros, key=str.casefold) opts = sorted(self.options, key=str.casefold)
pos = opts.index(opt_name) pos = opts.index(opt_name)
self.labels[boxname].insert_row(pos) self.labels[boxname].insert_row(pos)
+41 -53
View File
@@ -1,6 +1,7 @@
import gi
import re import re
import gi
gi.require_version("Gtk", "3.0") gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Pango from gi.repository import Gtk, Pango
@@ -21,11 +22,11 @@ SHAPERS = ['zv', 'mzv', 'zvd', 'ei', '2hump_ei', '3hump_ei']
class InputShaperPanel(ScreenPanel): class InputShaperPanel(ScreenPanel):
def __init__(self, screen, title, back=True): def __init__(self, screen, title):
super().__init__(screen, title, back) super().__init__(screen, title)
self.freq_xy_adj = {} self.freq_xy_adj = {}
self.freq_xy_combo = {} self.freq_xy_combo = {}
self.calibrate_btn = self._gtk.ButtonImage("move", _('Finding ADXL'), "color1", lines=1) self.calibrate_btn = self._gtk.Button("move", _('Finding ADXL'), "color1", lines=1)
self.calibrate_btn.connect("clicked", self.on_popover_clicked) self.calibrate_btn.connect("clicked", self.on_popover_clicked)
self.calibrate_btn.set_sensitive(False) self.calibrate_btn.set_sensitive(False)
self.status = Gtk.Label("") self.status = Gtk.Label("")
@@ -34,11 +35,6 @@ class InputShaperPanel(ScreenPanel):
self.status.set_halign(Gtk.Align.START) self.status.set_halign(Gtk.Align.START)
self.status.set_ellipsize(Pango.EllipsizeMode.END) self.status.set_ellipsize(Pango.EllipsizeMode.END)
self.calibrating_axis = None self.calibrating_axis = None
self.has_sensor = False
def initialize(self, panel_name):
self.has_sensor = False
self.calibrating_axis = None self.calibrating_axis = None
auto_calibration_label = Gtk.Label() auto_calibration_label = Gtk.Label()
@@ -98,13 +94,13 @@ class InputShaperPanel(ScreenPanel):
self.content.add(box) self.content.add(box)
pobox = Gtk.Box(orientation=Gtk.Orientation.VERTICAL) pobox = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
test_x = self._gtk.Button(_("Measure X")) test_x = self._gtk.Button(label=_("Measure X"))
test_x.connect("clicked", self.start_calibration, "x") test_x.connect("clicked", self.start_calibration, "x")
pobox.pack_start(test_x, True, True, 5) pobox.pack_start(test_x, True, True, 5)
test_y = self._gtk.Button(_("Measure Y")) test_y = self._gtk.Button(label=_("Measure Y"))
test_y.connect("clicked", self.start_calibration, "y") test_y.connect("clicked", self.start_calibration, "y")
pobox.pack_start(test_y, True, True, 5) pobox.pack_start(test_y, True, True, 5)
test_both = self._gtk.Button(_("Measure Both")) test_both = self._gtk.Button(label=_("Measure Both"))
test_both.connect("clicked", self.start_calibration, "both") test_both.connect("clicked", self.start_calibration, "both")
pobox.pack_start(test_both, True, True, 5) pobox.pack_start(test_both, True, True, 5)
self.labels['popover'] = Gtk.Popover() self.labels['popover'] = Gtk.Popover()
@@ -117,7 +113,7 @@ class InputShaperPanel(ScreenPanel):
def start_calibration(self, widget, method): def start_calibration(self, widget, method):
self.labels['popover'].popdown() self.labels['popover'].popdown()
if self._screen.printer.get_stat("toolhead", "homed_axes") != "xyz": if self._printer.get_stat("toolhead", "homed_axes") != "xyz":
self._screen._ws.klippy.gcode_script(KlippyGcodes.HOME) self._screen._ws.klippy.gcode_script(KlippyGcodes.HOME)
self.calibrating_axis = method self.calibrating_axis = method
if method == "x": if method == "x":
@@ -127,7 +123,7 @@ class InputShaperPanel(ScreenPanel):
if method == "both": if method == "both":
self._screen._ws.klippy.gcode_script('SHAPER_CALIBRATE') self._screen._ws.klippy.gcode_script('SHAPER_CALIBRATE')
self.calibrate_btn.set_label(self.lang.gettext('Calibrating...')) self.calibrate_btn.set_label(_('Calibrating') + '...')
self.calibrate_btn.set_sensitive(False) self.calibrate_btn.set_sensitive(False)
def set_opt_value(self, widget, opt, *args): def set_opt_value(self, widget, opt, *args):
@@ -156,47 +152,39 @@ class InputShaperPanel(ScreenPanel):
def activate(self): def activate(self):
# This will return the current values # This will return the current values
self._screen._ws.klippy.gcode_script( self._screen._ws.klippy.gcode_script('SET_INPUT_SHAPER')
'SET_INPUT_SHAPER'
)
# Check for the accelerometer # Check for the accelerometer
self._screen._ws.klippy.gcode_script( self._screen._ws.klippy.gcode_script('ACCELEROMETER_QUERY')
'ACCELEROMETER_QUERY'
)
# Send at least two commands, with my accelerometer the first command after a reboot will fail # Send at least two commands, with my accelerometer the first command after a reboot will fail
self._screen._ws.klippy.gcode_script( self._screen._ws.klippy.gcode_script('MEASURE_AXES_NOISE')
'MEASURE_AXES_NOISE'
)
def process_update(self, action, data): def process_update(self, action, data):
if action != "notify_gcode_response":
if action == "notify_gcode_response": return
self.status.set_text(f"{data.replace('shaper_', '').replace('damping_', '')}") self.status.set_text(f"{data.replace('shaper_', '').replace('damping_', '')}")
data = data.lower() data = data.lower()
if 'got 0' in data: if 'got 0' in data:
self.calibrate_btn.set_label(_('Check ADXL Wiring')) self.calibrate_btn.set_label(_('Check ADXL Wiring'))
self.calibrate_btn.set_sensitive(False) self.calibrate_btn.set_sensitive(False)
if 'unknown command:"accelerometer_query"' in data: if 'unknown command:"accelerometer_query"' in data:
self.calibrate_btn.set_label(_('ADXL Not Configured')) self.calibrate_btn.set_label(_('ADXL Not Configured'))
self.calibrate_btn.set_sensitive(False) self.calibrate_btn.set_sensitive(False)
if 'adxl345 values' in data or 'axes noise' in data: if 'adxl345 values' in data or 'axes noise' in data:
self.has_sensor = True self.calibrate_btn.set_sensitive(True)
self.calibrate_btn.set_label(_('Auto-calibrate'))
# Recommended shaper_type_y = ei, shaper_freq_y = 48.4 Hz
if 'recommended shaper_type_' in data:
results = re.search(r'shaper_type_(?P<axis>[xy])\s*=\s*(?P<shaper_type>.*?), shaper_freq_.\s*=\s*('
r'?P<shaper_freq>[0-9.]+)', data).groupdict()
self.freq_xy_adj['shaper_freq_' + results['axis']].set_value(float(results['shaper_freq']))
self.freq_xy_combo['shaper_type_' + results['axis']].set_active(SHAPERS.index(results['shaper_type']))
if self.calibrating_axis == results['axis'] or (self.calibrating_axis == "both" and results['axis'] == 'y'):
self.calibrate_btn.set_sensitive(True) self.calibrate_btn.set_sensitive(True)
self.calibrate_btn.set_label(_('Auto-calibrate')) self.calibrate_btn.set_label(_('Calibrated'))
# Recommended shaper_type_y = ei, shaper_freq_y = 48.4 Hz self.save_config()
if 'recommended shaper_type_' in data: # shaper_type_y:ei shaper_freq_y:48.400 damping_ratio_y:0.100000
results = re.search(r'shaper_type_(?P<axis>[xy])\s*=\s*(?P<shaper_type>.*?), shaper_freq_.\s*=\s*(' if 'shaper_type_' in data:
r'?P<shaper_freq>[0-9.]+)', data).groupdict() results = re.search(r'shaper_type_(?P<axis>[xy]):(?P<shaper_type>.*?) shaper_freq_.:('
self.freq_xy_adj['shaper_freq_' + results['axis']].set_value(float(results['shaper_freq'])) r'?P<shaper_freq>[0-9.]+)', data).groupdict()
self.freq_xy_combo['shaper_type_' + results['axis']].set_active(SHAPERS.index(results['shaper_type'])) self.freq_xy_adj['shaper_freq_' + results['axis']].set_value(float(results['shaper_freq']))
if self.calibrating_axis == results['axis'] \ self.freq_xy_combo['shaper_type_' + results['axis']].set_active(SHAPERS.index(results['shaper_type']))
or (self.calibrating_axis == "both" and results['axis'] == 'y'):
self.calibrate_btn.set_sensitive(True)
self.calibrate_btn.set_label(_('Calibrated'))
self.save_config()
# shaper_type_y:ei shaper_freq_y:48.400 damping_ratio_y:0.100000
if 'shaper_type_' in data:
results = re.search(r'shaper_type_(?P<axis>[xy]):(?P<shaper_type>.*?) shaper_freq_.:('
r'?P<shaper_freq>[0-9.]+)', data).groupdict()
self.freq_xy_adj['shaper_freq_' + results['axis']].set_value(float(results['shaper_freq']))
self.freq_xy_combo['shaper_type_' + results['axis']].set_active(SHAPERS.index(results['shaper_type']))
Loaded 100 of 134 files, more files were not shown because too many files have changed in this diff. Show more