Compare commits

...
263 Commits
Author SHA1 Message Date
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
dependabot[bot] 5392b9337d build(deps): bump pygobject from 3.42.1 to 3.42.2 (#677)
Bumps [pygobject](https://pygobject.readthedocs.io) from 3.42.1 to 3.42.2.

---
updated-dependencies:
- dependency-name: pygobject
  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-02 20:09:04 -03:00
dependabot[bot] d2fccca2fc build(deps): bump websocket-client from 1.3.3 to 1.4.0 (#711)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.3.3 to 1.4.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.3.3...v1.4.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-02 20:08:50 -03:00
Nick Douma 89e89ae1b2 Change URL protocol to HTTPS and WSS when connecting to port 443 2022-09-02 19:58:53 -03:00
alfrix a599d667e9 docs:add wifi fix to troubleshooting 2022-09-02 19:58:35 -03:00
alfrix 09375c138c docs: fix command in troubleshooting 2022-09-02 19:58:35 -03:00
alfrix 28303573f9 print: shorter sort label (same as macros panel) 2022-09-02 19:58:35 -03:00
alfrix 54764be269 job_status: show acceleration as integer
usually is in the thousands, it shouldn't matter
2022-09-02 19:58:35 -03:00
alfrix 657f1b133f zcalibrate: fix wrong sign in new offset 2022-09-02 19:58:35 -03:00
alfrix 1704276c2d config: silently remove quotes from the api_key
This fixes a user error where it copies the quotes too
2022-09-02 19:58:35 -03:00
alfrix 97f170ba59 buttons: resize side images for better alignment 2022-09-02 19:58:35 -03:00
alfrix 553423e3d8 klippygtk: fix cases where wrap and ellipsize was not applied 2022-09-02 19:58:35 -03:00
alfrix de7b57f6b7 files: change reset to reinitialize 2022-09-02 19:58:35 -03:00
alfrix 2d8b5c1974 job_status: fix issue when checking the state too early 2022-09-02 19:58:35 -03:00
alfrix be2d5b040c temperature: do set temperature_fan to 0 when pressing cooldown 2022-09-02 19:58:35 -03:00
alfrix d1604c68d6 temp: do not change preheat selections while in the numpad
it's possible to just use one selection list and unselect the rest,
but i think that there is some benefit in usability keeping the selections separated
2022-09-02 19:58:35 -03:00
alfrix 2902e95068 temp: show the popover if name is pressed for 1 second (longpress) 2022-09-02 19:58:35 -03:00
alfrix 4cb17c18a9 main temp: add the ability to hide the graph 2022-09-02 19:58:35 -03:00
alfrix e140120b44 main temp: load the visibility of items 2022-09-02 19:58:35 -03:00
alfrix 0d2c1b013b graph: fix error on touch 2022-09-02 19:58:35 -03:00
alfrix 70e3091127 system: use separators 2022-09-02 19:58:35 -03:00
alfrix c57915ef19 temp: fix styling not updating when entering and exiting numpad 2022-09-02 19:58:35 -03:00
alfrix c604c25d71 system: simplify restart labels 2022-09-02 19:58:35 -03:00
alfrix e986e3cd8e fix PEP8 E303 and make the code check more strict 2022-09-02 19:58:35 -03:00
alfrix ce8762da19 installer: drop matchbox requirement and add an updater note 2022-09-02 19:58:35 -03:00
alfrix 4f959696bd gtk: remove newlines to properly wrap lines if needed
this fixes the issue caused by labels with a newlines detected as 1 line even if it has more than one
2022-09-02 19:58:35 -03:00
alfrix 64335b3fef docs: only list main configurations not changeable from the UI 2022-09-02 19:58:35 -03:00
alfrix 22081148fe screen: close dialogs when job_status is loaded 2022-09-02 19:58:35 -03:00
alfrix b1237ea75e config: add fallback values to booleans 2022-09-02 19:58:35 -03:00
alfrix c1f17b154c system: add shutdown and restart host 2022-09-02 19:58:35 -03:00
alfrix ea5c5afa5e gtk: do not try to ellipsize if the label is None 2022-09-02 19:58:35 -03:00
alfrix f60a878e7b main and temp: save visibility of items 2022-09-02 19:58:35 -03:00
alfrix 38ceea5204 gtk: improve wrapping of labels 2022-09-02 19:58:35 -03:00
alfrix 836e4a3aea screen: some models need blanking for dpms to work properly 2022-09-02 19:58:35 -03:00
alfrix 4124a67450 gtk: fix scrolling stuck on some cases 2022-09-02 19:58:35 -03:00
alfrix 6db43af8cb exclude: add exclude objects support 2022-09-02 19:58:35 -03:00
alfrix 3e5855d207 config: add validator 2022-09-02 19:58:35 -03:00
alfrix 2c8436500c base_panel: fix possible causes of error in show heaters fixes #706 2022-08-21 15:15:24 -03:00
AntoszHUN 5366df6e2c Hungarian Language Update (#703)
The Hungarian language package has been updated.

    I updated the words that were included earlier.
    I translated the words that were included earlier.
    I translated the most recently added words.
    Fixed other translation errors.

Signed-off-by: AntoszHUN zsikaiantal@gmail.com
2022-08-18 23:45:00 -03:00
Selim 036ba207ee Turkish Language Update (#696) 2022-08-11 14:57:45 -03:00
alfrix 6cebf6ad0d docs: create specific pages for some panels 2022-08-11 14:56:43 -03:00
alfrix 3847fea315 Update translation files 2022-08-10 12:02:07 -03:00
alfrix 200dca9dd3 dump more info during exceptions 2022-08-10 10:49:23 -03:00
Selim 6863d1c32e Turkish Update 8 (#694) 2022-08-10 10:48:59 -03:00
alfrix 737447939f main_menu: more direct temp input fix #626 2022-08-08 11:20:26 -03:00
alfrix 393586b191 pins: fix #689 2022-08-08 11:01:25 -03:00
alfrix 5a39e24230 docs: update configuration filter list for menu
close #374 this updates the available filter list
2022-08-07 06:48:51 -03:00
alfrix 054fc80006 bed_level: fix label rounding 2022-08-07 06:30:18 -03:00
alfrix 2d2605b526 scripts: add build_docs to test locally doc changes 2022-08-06 14:47:50 -03:00
alfrix 58bddd58a8 system: remove unneeded extra blank line 2022-08-06 14:46:18 -03:00
alfrix 79cef455af screen: make the error message more clear and provide more details 2022-08-06 14:39:31 -03:00
alfrix 6094d4b6c0 system: add autoscroll and improve how the list of changes look 2022-08-06 12:56:57 -03:00
alfrix be1b5228c1 bed_level: fix label rounding issues 2022-08-06 12:08:05 -03:00
alfrix 36225ed59f docs: add bed level 2022-08-06 09:41:48 -03:00
alfrix 835803d329 screen: do not ask to save unless printer is in standby close #692 2022-08-03 11:56:02 -03:00
alfrix 0ec2baf302 bed_level: fix for printers without name/config 2022-08-02 13:21:03 -03:00
alfrix c1b34839bc move: fix cannot move if the printer was not named 2022-08-02 12:18:08 -03:00
alfrix 83c6f87281 temperature: fix blank space if the special cooldown is not at the bottom of the config #688 2022-08-02 09:31:48 -03:00
alfrix 455cb9da99 temperature: fix cooldown after 207914a 2022-08-02 08:57:16 -03:00
alfrix f37a6b579f docs: add an alternative to calibration 2022-08-01 22:47:01 -03:00
alfrix e332ccc22a pins: assign initial value if configured fix #689 2022-08-01 21:27:19 -03:00
alfrix 207914a5b5 temperature: fix for users that want to have temps in cooldown fix #688 2022-08-01 21:11:37 -03:00
alfrix c06ca56ea0 job_status: fix #690 2022-08-01 20:44:04 -03:00
alfrix b1f149495d themes: update material-dark and material-darker 2022-08-01 17:25:13 -03:00
alfrix 16871f967e Add bed-mesh icon 2022-08-01 13:59:09 -03:00
alfrix 7ba83227bd system: autoclose popup 2022-08-01 12:59:52 -03:00
alfrix 6fee87fb18 Update translations 2022-08-01 12:34:11 -03:00
Franklyn Tackitt 4e701c88ad Make installation configurable
```sh
KLIPPERSCREEN_VENV=$HOME/.venvs/klipperscreen ./scripts/KlipperScreen-install.sh
```
2022-08-01 12:24:18 -03:00
alfrix a68a3df2e6 docs: use_dpms must be in main not in printer 2022-08-01 12:23:40 -03:00
alfrix af1ae9a0ec system: Add check for updates close #681 2022-08-01 12:23:40 -03:00
alfrix de84bd6597 only allow 1 confirm dialog 2022-08-01 12:23:40 -03:00
alfrix d5bc271788 close dialogs on klippy restart 2022-08-01 12:23:40 -03:00
alfrix e8e4555d46 temperature: Support specific preheat items close #428 2022-08-01 12:23:40 -03:00
alfrix af158a4279 bed_level: support 3 screws close #606 2022-08-01 12:23:40 -03:00
alfrix ad614e6734 fix macros shortcut not showing in the action_bar 2022-08-01 12:23:40 -03:00
alfrix eb17bb58ad screen_panel: remove unused parameters 2022-08-01 12:23:40 -03:00
alfrix 9c2b52009a built-in keyboard 2022-08-01 12:23:40 -03:00
alfrix 0d8746d3e3 bed_mesh: clear button calibrate button, fixed sizes cleanups 2022-08-01 12:23:40 -03:00
alfrix a0cff7ec56 simplify name spliting 2022-08-01 12:23:40 -03:00
alfrix 317f9df4b5 job_status: now works without extruders or fans 2022-08-01 12:23:40 -03:00
alfrix 422f5619be system: add webcamd to allowed services to restart 2022-08-01 12:23:40 -03:00
alfrix 88ca902a4b popups: wrap long messages, increase margins, touch anywhere to close 2022-08-01 12:23:40 -03:00
alfrix c047bed518 bed_level: hide the panel if bed_screws or screws_tilt_calculate are not defined
there are printers with fixed beds that don't need this panel
2022-08-01 12:23:40 -03:00
alfrix aa2bfcbaee print: add delete file
this is temporary, to delete a file click the thumbnail
TODO: context menu or other solution to be decided
2022-08-01 12:23:40 -03:00
alfrix 752e53ff56 screen: popups can be configured to not close #456 2022-08-01 12:23:40 -03:00
alfrix 5234a5dc15 main_menu: don't show the graph if there are no available devices 2022-08-01 12:23:40 -03:00
alfrix 3bae1a4da8 menu: show temp if there are only extruders, heater_pin in klipper is mandatory for extruders 2022-08-01 12:23:40 -03:00
alfrix fda5589531 screen: Always ask to save config if we detect it on responses 2022-08-01 12:23:40 -03:00
alfrix f9e6ac62b7 main menu and temp cleanups and tweaks 2022-08-01 12:23:40 -03:00
alfrix fcbe264d1a network: panel tweaks 2022-08-01 12:23:40 -03:00
alfrix 25e6110dab output_pin panel close #546 2022-08-01 12:23:40 -03:00
alfrix aa5f91a548 Wait more time to initialize 2022-08-01 12:23:40 -03:00
alfrix 6510b2ec6b Refactor
Use f-strings
Avoid unnecessary casts to str()bool()int()
Ensure file closure
Merge nested ifs
Simplify for-assigns-appends with comprehensions and internal functions
Avoid shadowing internal function names
Initialize variables
Return value directly instead of assign then return
Make some methods static
2022-08-01 12:23:40 -03:00
alfrix 68d4f9c534 keyboard: fix for long vertical screens 2022-08-01 12:23:40 -03:00
alfrix a44f8f7b13 job_status: fix issue with thumbnails in some resolutions 2022-07-19 11:39:13 -03:00
alfrix e1961db6e9 docs: add an alternative way of booting to console 2022-07-18 18:49:03 -03:00
alfrix 41f0a4c4ce fix matchbox-keyboard not opening on Buster fix #674 2022-07-18 18:42:04 -03:00
AntoszHUN fedb0a3387 Update Hungarian Language (#675) 2022-07-17 17:29:22 -03:00
fengz41 d69b0ac66a Update Chinese Translation (#676) 2022-07-17 17:29:07 -03:00
Selim 020e20db44 Turkish_update (#672) 2022-07-12 14:59:01 -03:00
AntoszHUN 050cc13e57 Update Hungarian Language (#669) 2022-07-08 08:45:16 -03:00
alfrix 37c10fc8b3 keyboard: fix for long vertical screens 2022-07-04 16:33:26 -03:00
alfrix e70c9d37e9 layout: fixes for long vertical screens
KS is not optimized for this aspect-ratio, but at least it shouldn't be broken
2022-07-04 16:23:21 -03:00
alfrix fd221bde86 docs: fix location of rotation guide 2022-07-04 14:39:20 -03:00
alfrix e616c842ed docs: add a screen rotation guide 2022-07-04 14:16:26 -03:00
alfrix f97bed826b style: deprecate active_device class 2022-07-04 13:46:04 -03:00
alfrix 9833b887ad screen: fix restart #667 2022-07-04 13:30:16 -03:00
alfrix 92335b78a0 docs: fix links 2022-07-04 10:58:53 -03:00
alfrix 6b88ac0558 base_panel: fix #666 2022-07-03 18:04:57 -03:00
alfrix 3babd0e02c job_status: fix issue with layer height 2022-07-03 15:57:02 -03:00
alfrix d295129fa0 docs: fix missing extension 2022-07-03 12:18:43 -03:00
dependabot[bot] a00d5a074c build(deps): bump requests from 2.27.1 to 2.28.1 (#663)
Bumps [requests](https://github.com/psf/requests) from 2.27.1 to 2.28.1.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.27.1...v2.28.1)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-03 12:08:48 -03:00
Alfredo Monclus 314379e2af Use moonraker to restart KS (#656) 2022-07-03 12:08:36 -03:00
dependabot[bot] 3b73acec37 build(deps): bump websocket-client from 1.3.2 to 1.3.3 (#653)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/websocket-client/websocket-client/releases)
- [Changelog](https://github.com/websocket-client/websocket-client/blob/master/ChangeLog)
- [Commits](https://github.com/websocket-client/websocket-client/compare/v1.3.2...v1.3.3)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-03 12:04:25 -03:00
alfrix d3cd4008a8 job_status and base_panel: safeguard against possible issues with temps 2022-07-03 12:03:50 -03:00
alfrix 784253ca77 extrude: use macro naming when there is no temp 2022-07-03 12:03:50 -03:00
alfrix 0feffff2ac translations: update all 2022-07-03 12:03:50 -03:00
alfrix bde7e8a886 docs: create an adb script 2022-07-03 12:03:50 -03:00
alfrix 71360b44ee docs: update Android guide to use the launcher 2022-07-03 12:03:50 -03:00
alfrix c20149ac25 docs: create an android guide 2022-07-03 12:03:50 -03:00
alfrix 92254942ef installer: restart KS if it's running 2022-07-03 12:03:50 -03:00
alfrix 3ed8142ab9 installer: overwrite the service unit 2022-07-03 12:03:50 -03:00
xcasxcursex 2fd5e6e89f Enable users to inject a custom script to start KlipperScreen (#660)
A helper script is included to ease migration
for the common Android XSDL use-case
2022-07-03 12:03:50 -03:00
alfrix 5e73fb03b5 base_panel: all action bar buttons should close the keyboard 2022-07-03 12:03:50 -03:00
alfrix 5ad82a64d4 Translations: install _() 2022-07-03 12:03:50 -03:00
alfrix 3bb470ded4 Fix keyboard size after being converted to a oriented Box 2022-07-03 12:03:50 -03:00
alfrix 831db2403d Fix potential issues with variables 2022-07-03 12:03:50 -03:00
alfrix b611491997 Optimize imports 2022-07-03 12:03:50 -03:00
alfrix 5c17656567 Remove some unneeded complexity in the macro shortcut 2022-07-03 12:03:50 -03:00
alfrix 06fceec84a Change the deprecated VBox and HBox to oriented Boxes 2022-07-03 12:03:50 -03:00
alfrix 12d90bcffa docs: keep the reqs updated 2022-07-03 12:03:50 -03:00
alfrix a445b89f13 config: deprecate get_main_config_option 2022-07-03 12:03:50 -03:00
alfrix 88ea416110 zcalibrate: fix issue with offset being a float 2022-07-03 12:03:50 -03:00
alfrix 5f1d239211 performance: do not use transparency 2022-07-03 12:03:50 -03:00
alfrix 312d131db5 use images for the sort order, drop freefont dependency 2022-07-03 12:03:50 -03:00
alfrix 5a02ac75ae basic support for extruder_stepper 2022-07-03 12:03:50 -03:00
alfrix c6df1b667c base_panel: fix keyboard not closing when clicking on macro shortcut 2022-07-03 12:03:50 -03:00
alfrix c18e2d148e layout: content margins in css
close #558 (use .action_bar{} and .content{} in a custom theme)
2022-07-03 12:03:50 -03:00
alfrix b76953ebfe theme: material darker use elevation and fix some colors 2022-07-03 12:03:50 -03:00
alfrix c4780fa56e performance: remove the background on default themes it can cause severe performance degradation and scrolling issues 2022-07-03 12:03:50 -03:00
alfrix faf997c7ae keyboard: improve layout and interactions on panels with entry 2022-07-03 12:03:50 -03:00
alfrix bd03a66dde screensaver: fix not having coverage in some situations 2022-07-03 12:03:50 -03:00
alfrix 431eb0058c system: remove unused function 2022-07-03 12:03:50 -03:00
Alfredo Monclus 6051e51f0e fan: add max and stop buttons 2022-07-03 12:03:50 -03:00
alfrix d3ce521bb0 keyboard: fix size while vertical 2022-07-03 12:03:50 -03:00
alfrix da26bf3143 base_panel: layout simplification 2022-07-03 12:03:50 -03:00
ZISQO 05b25cda15 Update ko_KR localization (#659) 2022-06-25 17:50:31 -03:00
alfrix eedf5448a0 docs: add another solution to seeing only console 2022-06-09 13:28:54 -03:00
Selim 8d83801b0e Turkish update (#637) 2022-06-05 23:30:39 -03:00
Adam Shanks 61c5bea9a0 Superscript (#635)
* Use superscript 2 and 3 as appropriate
2022-06-05 09:55:52 -03:00
alfrix 3775dbd44e extruder: fix issue with filament_sensors fixes #634 2022-06-04 11:43:52 -03:00
alfrix 880d4740e6 docs: moonraker update_manager needs managed_services 2022-06-04 11:00:13 -03:00
alfrix 511f715f7e retraction: allow higher limits fix #630 2022-06-03 14:39:15 -03:00
alfrix 9e800dd008 installer: add librsvg2-common as dependency fix #629 2022-06-03 13:38:22 -03:00
Andriy 6869514004 Update Ukrainian (#632) 2022-06-03 13:29:19 -03:00
Alfredo Monclus c6243e37fb Update issue templates 2022-06-03 13:26:45 -03:00
alfrix 73dbae7871 docs: update screenshots and add new panels 2022-06-02 16:20:37 -03:00
alfrix 2568a9262f docs: add DPMS to troubleshooting 2022-06-02 15:31:32 -03:00
alfrix 6bb712f970 Update translation files 2022-06-02 15:07:52 -03:00
Selim b8cf60bd2c Turkish Update (#631) 2022-06-02 12:14:59 -03:00
alfrix 5437eaead0 docs: fix build, re-skin and improve 2022-06-01 16:21:56 -03:00
dependabot[bot] 6b432c167f build(deps): bump pygobject from 3.42.0 to 3.42.1 (#589)
Bumps [pygobject](https://pygobject.readthedocs.io) from 3.42.0 to 3.42.1.

---
updated-dependencies:
- dependency-name: pygobject
  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>
2022-05-31 11:43:43 -03:00
dependabot[bot] 9d25836df4 build(deps): bump jinja2 from 3.1.1 to 3.1.2 (#605)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.1...3.1.2)

---
updated-dependencies:
- dependency-name: jinja2
  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>
2022-05-31 11:43:25 -03:00
alfrix 54fc0458e0 KlippyGtk: fix style arguments 2022-05-31 11:14:42 -03:00
alfrix 3361c243b7 docs: hardware fix links 2022-05-31 11:14:42 -03:00
alfrix 2da5a4df32 docs: improve install instructions 2022-05-31 11:14:42 -03:00
alfrix 0f4f56bb9f Fix paused state
close #607
fix #611
2022-05-31 11:14:42 -03:00
alfrix 33195f203f Simplify code 2022-05-31 11:14:42 -03:00
alfrix 3889fdbe4c console: remove // 2022-05-31 11:14:42 -03:00
alfrix 7b4a24d079 job_status: simplify timeouts because sometimes it didn't work, also do not autoclose by default because there may be offsets to be saved 2022-05-31 11:14:42 -03:00
alfrix c91deda220 settings: wider scale slider 2022-05-31 11:14:42 -03:00
alfrix cc755edeb2 wider scrollbar because it's hard to use on small screens 2022-05-31 11:14:42 -03:00
alfrix 5a36729b76 PEP8, typos and warnings fixes 2022-05-31 11:14:42 -03:00
alfrix fd2a717ece settings: remove options that are directly on the panels 2022-05-31 11:14:42 -03:00
alfrix 48860159e9 move: add options to the panel 2022-05-31 11:14:42 -03:00
alfrix 4ff63798c8 job_status: ask for confirmation, and show saved offset 2022-05-31 11:14:42 -03:00
alfrix ea3e7ad3d1 splash_screen: use moonraker for actions if connected, hide system panel if it isn't connected
use systemctl if moonraker isn't available close #615
2022-05-31 11:14:42 -03:00
alfrix 562e49b8d2 logging: exceptions can log more info 2022-05-31 11:14:42 -03:00
alfrix 7c8d4ea4d7 extrude: add filament sensor support 2022-05-31 11:14:42 -03:00
alfrix b77b7c0976 job_status: M117 without text clears the label fix #614 2022-05-31 11:14:42 -03:00
alfrix 8550cbcab6 retraction: add reset 2022-05-31 11:14:42 -03:00
alfrix ade8911ba6 limits: add reset, allow to set above the configured maximum but turn the slider red 2022-05-31 11:14:42 -03:00
alfrix b9036901e7 job_status: animate filename if it's too long 2022-05-31 11:14:42 -03:00
alfrix f88a5c8440 macros: put the hide options on the panel 2022-05-31 11:14:42 -03:00
alfrix 53bc6f25ff macros: allow reverse sorting 2022-05-31 11:14:42 -03:00
alfrix 21633b9302 files: fix local thumbnails 2022-05-31 11:14:42 -03:00
alfrix a0a222c386 print: use the smaller thumb for the list if available 2022-05-31 11:14:42 -03:00
Mikko Gozaloandalfrix fa0d696120 Add Input Shaper panel
Original panel by Mikko Gozalo

Modified layour to fit 16:9 screens
Auto-home
Ability to measure X and Y independently
Get the current active values not the values from the config
Ask for save
Other minor tweaks

close #301

Co-authored-by: alfrix <alfredomonclus@gmail.com>
2022-05-31 11:14:42 -03:00
alfrix 7e988b3f35 zcalibrate: show the saved offset and offset to be saved 2022-05-31 11:14:42 -03:00
alfrix f98ac0bfe4 Move korean fonts to the optional category 2022-05-31 11:13:56 -03:00
NStevenU a29da7e76c Add Korean language support (#625)
* Add Korean language support

* Add Korean Language Support Font Installation
2022-05-31 11:12:20 -03:00
Ruslan Sayfutdinov 794dbea14e Allow setting 0 in preheat options (#612) 2022-05-31 11:10:27 -03:00
Selim 432b12d67e Turkish Language (#610) 2022-05-16 18:39:14 -03:00
alfrix 8accce00a9 job_status: fix thumbnail issue #608 2022-05-04 09:56:24 -03:00
alfrix 35381beeb6 limits: fix typo in label 2022-05-03 08:38:58 -03:00
alfrix 1eaa82ba2d config: fix print estimate default 2022-05-02 14:08:03 -03:00
alfrix 35c4136bd5 Job_status: fix speed label, fix estimate default 2022-05-02 12:09:12 -03:00
Alfredo Monclus 31546f0020 Improve Job status (#592)
Adds heater_generic and/or temp_sensors besides extruder/bed (because of the limited space maybe only 1)
Temps are now buttons and act as a shortcut to the temp panel
Adds fan_generic to the fan label and it's now a shortcut to the fan panel
The colors and size of the progress circle were changed to be more subtle.
Margins between items were augmented, because they are buttons now
Adds 3 information pages: move, extrusion and time:

    move can be opened with speed or z buttons
    time with elapsed/remaining buttons
    extrusion with the extrude_factor / flowrate button
2022-05-01 12:22:58 -03:00
AntoszHUN aac58bd885 Update Hungarian Language 2022-04-30 23:14:31 -03:00
alfrix 7ca118de86 console: limit length close #602 2022-04-30 23:13:43 -03:00
Alfredo Monclus 7420f38b15 installer improvements (#601)
The installer now catchs apt errors
FBturbo is now optional and FBdev is used as fallback
install xserver-xorg-legacy but do not force it, it's usually required for a lot of screens, but not 100%
hide pip update warnings, the new version broke stuff.
more granularity and steps to what's being installed, should make it easier to debug if something goes wrong
2022-04-29 12:12:00 -03:00
alfrix 6aa7f56231 extruder: fix temp overlap multi-extruder 2022-04-25 13:33:20 -03:00
alfrix 504d395661 temperature: fix issue with the new cooldown preheat setting 2022-04-23 11:57:52 -03:00
alfrix a77134d63b fan: prevent crash when using unicode characters 2022-04-23 10:46:19 -03:00
alfrix c763bd5a5b fans: fix for machines without [fan] 2022-04-20 14:54:47 -03:00
eltacoloco 228994b2f2 Swedish locale (#588)
Created sv_SE (Swedish) locales
2022-04-17 17:33:14 -03:00
alfrix 3a5427c7f0 console: add top margin and make it easier to read 2022-04-17 06:20:09 -03:00
alfrix b42043bc79 job_status fix issue with delta printers fixes #587 2022-04-13 20:06:02 -03:00
alfrix b3268223bb base_panel: fix titlebar items not showing if ks is started while printing 2022-04-12 16:21:35 -03:00
alfrix 430284b7a1 limits: add units 2022-04-11 23:32:07 -03:00
alfrix 8ad21ab7cb zcalibrate: fix vertical mode not working fixes #576 2022-04-11 23:24:15 -03:00
alfrixandtonywright 8ba28fde1c Add firmware retraction panel close #101
Co-authored-by: tonywright
2022-04-11 23:04:29 -03:00
alfrix 7078e52a4f zcalibrate: fix issue with delta kinematics fix #583 2022-04-11 22:46:13 -03:00
alfrix b555768980 safeguard against trying to load a missing theme 2022-04-11 09:08:07 -03:00
alfrix 2c6a853a80 docs: add preheat cooldown 2022-04-11 08:35:45 -03:00
Julien Kohler 3ea0b09863 Add possibility to define custom code for cooling (#579)
These changes allow to define custom code to be run when using the cooldown preset.

Here an example in the configuration:
```
[preheat cooldown]
gcode: M107
```
2022-04-11 08:25:07 -03:00
alfrix 618c9ac0e8 docs: add note about octoprint 2022-04-11 08:09:06 -03:00
alfrix a84cb63f8b readme: add docs build status 2022-04-11 08:02:31 -03:00
alfrix 0a8e757054 docs: add requirements file to fix docs 2022-04-08 19:16:09 -03:00
alfrix 0fb2046615 docs: add another fix to Cannot open virtual console close #580 2022-04-08 14:03:19 -03:00
alfrix 583397ebeb job_status: add save z button to save babystepping 2022-04-06 08:20:22 -03:00
alfrix 4bace34847 zcalibrate: add manual delta_calibrate fix #575 2022-04-05 20:02:28 -03:00
alfrix dd72e7d46a base_panel: fix #572 2022-04-05 19:57:38 -03:00
alfrix 013b50985f network: remove duplicate netifaces close #571 2022-04-05 19:50:35 -03:00
alfrix dc9cf760db Splash_screen: fix power on button dissapearing 2022-04-05 18:12:48 -03:00
alfrix 979217502d console: hide temps, clear button, button icons 2022-04-05 17:22:07 -03:00
alfrix 1ff0616457 zcalibrate: fix issue when position is not defined 2022-04-03 06:15:22 -03:00
alfrix e09d72f12d main and temp: fix same color for heater_generics and sensors 2022-04-02 14:29:31 -03:00
alfrix ab38dab291 style: add heater_generic icon 2022-04-02 14:29:31 -03:00
alfrix c33659c6f7 gtk: cleanup andoptimize image handling, incomplete themes should now work 2022-04-02 09:59:12 -03:00
alfrix c81836542a dependencies: keep numpy 1.21.4, 1.21.5 should be the last version that supports python 3.7 but somehow on some system doesn't work
fixes #569
2022-04-02 09:56:30 -03:00
alfrix cdb57f73bb v0.2.1
Screen:
* The no DPMS option should now protect from the first touch,
and it should provide a way for screens that turn all white/random colors/no-signal to just be all black
Zcalibrate:
* Add selector if multiple options can be used
* Go to the middle of the bed if position is not configured
* Add an option to set the custom position per printer
Fine_tune:
* Add reset button for each of the 3 options
Network:
* Add reload button
* Show hidden SSIDs as Hidden instead of x00
System:
* Add full update option to update all items at once
Mesh:
* Fix graph getting a bit out of screen in vertical mode
Menu:
* Use scrollbars when there are too many items
* Fix vertical mode not arranging items correctly
Move:
* Show ??? if not homed
* Hide originXY for delta kinematics
Splash:
* Change buttons to local commands if not connected to moonraker
* Fix issues with power button if klipper is not connected
Misc:
* Keyboard now works on all the entry boxes, you can press enter on them to confirm.
* If there is only 1 extruder, then the nozzle icon is shown instead of the number
2022-04-01 20:16:41 -03:00
AntoszHUN 1e7c065ce4 Update Hungarian language (#562) 2022-03-28 16:51:26 -03:00
alfrix b7d58a7ffb docs: fix xwrapper extension 2022-03-25 15:55:52 -03:00
173 changed files with 12587 additions and 5408 deletions

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
---
name: Bug report
about: Create a report to help us improve
title: "[BUG]"
labels: ''
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Logfile**
Attach your [klipperscreen.log](https://klipperscreen.readthedocs.io/en/latest/Troubleshooting/)
+20
View File
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: "[FR]"
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
+2 -2
View File
@@ -2,7 +2,7 @@ name: test-code
on: [push, pull_request]
jobs:
lint-python-code:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: ricardochaves/python-lint@v1.4.0
@@ -14,4 +14,4 @@ jobs:
use-black: false
use-mypy: false
use-isort: false
extra-pycodestyle-options: "--ignore=E226,E301,E302,E303,E402,W503,W504 --max-line-length=120 --max-doc-length=120"
extra-pycodestyle-options: "--ignore=E402,W503,W504 --max-line-length=120 --max-doc-length=120"
+3 -6
View File
@@ -2,17 +2,14 @@
KlipperScreen is a touchscreen GUI that interfaces with [Klipper](https://github.com/kevinOConnor/klipper) via [Moonraker](https://github.com/arksine/moonraker). It can switch between multiple printers to access them from a single location, and it doesn't even need to run on the same host, you can install it on another device and configure the IP address to access the printer.
### Documentation
### Documentation [![Documentation Status](https://readthedocs.org/projects/klipperscreen/badge/?version=latest)](https://klipperscreen.readthedocs.io/en/latest/?badge=latest)
[Click here to access the documentation.](https://klipperscreen.readthedocs.io/en/latest/)
### Inspiration
KlipperScreen was inspired by [OctoScreen](https://github.com/Z-Bolt/OctoScreen/) and the need for a touchscreen GUI that
will natively work with [Klipper](https://github.com/kevinOConnor/klipper) and [Moonraker](https://github.com/arksine/moonraker).
[![Main Menu](docs/img/panels/main_panel.png)](https://klipperscreen.readthedocs.io/en/latest/Panels/)
![Main Menu](docs/img/panels/main_panel.png)
[More Screenshots](https://klipperscreen.readthedocs.io/en/latest/Panels/)
[More Screenshots](https://klipperscreen.readthedocs.io/en/latest/Panels/)
+94
View File
@@ -0,0 +1,94 @@
# Android
This article describes how to use KlipperScreen from an android device
!!! important
The experience may not be equal to run KlipperScreen natively,
depending on the device there maybe performance degradation or other issues
1. [First installl KlipperScreen on the Pi](Installation.md)
2. Install [XServer-XSDL](https://play.google.com/store/apps/details?id=x.org.server) on the android device
3. Choose [USB(ADB)](#adb) or [WIFI](#wifi)
### ADB
!!! warning
Leaving the phone always connected it's not recommended, remove the battery to avoid issues.
* Install ADB on the Pi
```bash
sudo apt-get install android-tools-adb
```
* Put your Android phone/tablet in Debug mode.
Usually it involves enabling developer mode and "USB debugging" but this varies on different vendors and versions of the device
search "how to enable android debugging on device-model-and-brand"
* Copy the launcher script
```bash
cd ~/KlipperScreen/scripts
cp android-adb.sh launch_KlipperScreen.sh
chmod +x launch_KlipperScreen.sh
```
* Go to [Startup](#startup)
### WIFI
* Create a launcher script
```bash
cd ~/KlipperScreen/scripts
touch launch_KlipperScreen.sh
chmod +x launch_KlipperScreen.sh
nano launch_KlipperScreen.sh
```
* Paste this into the script (edit the IP for example: 192.168.1.2:0)
```bash
DISPLAY=(ip address from blue screen):0 $KS_XCLIENT
```
!!! important
It's recommended to use a static address, because if the address changes your connection will stop working.
* Go to [Startup](#startup)
## Startup
Start Xserver-XSDL On the android device
On the splash-screen of the app go to:
```
“CHANGE DEVICE CONFIGURATION”
└──Mouse Emulation Modde
└──Desktop, No Emulation
```
if you missed it, restart the app.
on the Pi
```bash
sudo service KlipperScreen stop
sudo service KlipperScreen start
```
## Migration from other tutorials
KlipperScreen says error option "service" is not supported anymore.
Stop the other service and Remove it, for example if the service is `KlippyScreenAndroid`:
```bash
sudo service KlippyScreenAndroid stop
sudo rm /etc/systemd/system/KlippyScreenAndroid.service
```
Follow this guide on how to setup the new launcher script with [USB(ADB)](#adb) or [WIFI](#wifi) and restart KS.
## Help
[The Discourse thread has old instructions but you may get some help if needed](https://klipper.discourse.group/t/how-to-klipperscreen-on-android-smart-phones/1196)
[#klipper-screen channel on Discord](https://discord.klipper3d.org/)
+53 -44
View File
@@ -6,49 +6,37 @@ create a blank file in `~/klipper_config/KlipperScreen.conf`, if the file alread
Write in the file only the options that need to be changed, and restart KlipperScreen.
## Include files
```
```py
[include conf.d/*.conf]
# Include another configuration file. Wildcards (*) will expand to match anything.
```
## Main Options
```
The options listed here are not changeable from within the ui.
```py
[main]
# Invert axis in move panel. Default is False. Change to true to invert
invert_x: False
invert_y: False
invert_z: False
# Time in seconds before the Job Status page closes itself after a successful job/print
# 0 means disabled
job_complete_timeout: 0
# Time (seconds) before the Job Status page reverts to main menu after a successful job
job_complete_timeout: 30
# Time (seconds) before the Job Status page reverts to main menu after a successful job.
# If this option is 0, the user must click on a button to go back to the main menu.
# Time in seconds before the Job Status closes itself if an error is encountered
job_error_timeout: 0
# Specify the language
# The language can be specified here instead of using the system default language.
language: en
# Allows the cursor to be displayed on the screen
show_cursor: False
# Allows to define custom systemctl command for restart like xrdp
service: KlipperScreen
# If multiple printers are defined, this can be set the name of the one to show at startup.
default_printer: Ender 3 Pro
# To define a full set of custom menues (instead of merging user entries with default entries)
# set this to False. See Menu section below.
use_default_menu: True
```
## Printer Options
Multiple printers can be defined
```
```py
# Define printer and name. Name is anything after the first printer word
[printer Ender 3 Pro]
# Define the moonraker host/port if different from 127.0.0.1 and 7125
@@ -84,34 +72,40 @@ titlebar_name_type: None
calibrate_x_position: 100
calibrate_y_position: 100
# Screen DPMS
# By default DPMS is used to turn off the screen, this should prevent burn-in and save power.
# However if you find that your screen doesn't turn off because it doesn't support it
# Setting this to false will just turn the screen black.
use_dpms: True
# Bed Screws
# 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
# they correspond to back-left, back-right, back-middle, front-left, front-right, front-middle, left-middle, left-right
screw_positions: ""
# Rotation is useful if the screen is not directly in front of the machine.
# Valid values are 0 90 180 270
screw_rotation: 0
```
## Preheat Options
```
```py
[preheat my_temp_setting]
# Temperature for the heated bed
bed: 40
# Temperature for the tools
extruder: 195
# Temperature for generic heaters
heater_generic: 40
# Temperature controlled fans (temperature_fan in klipper config)
extruder1: 60
heater_bed: 40
# Use the name
chamber: 60
# or the full name
heater_generic chamber: 60
# or for example apply the same temp to devices of the same type
temperature_fan: 40
heater_generic: 60
# optional GCode to run when the option is selected
gcode: MY_HEATSOAK_MACRO
```
## Bed Screws
```
[bed_screws]
# Rotation is useful if the screen is not directly in front of the machine.
# Valid values are 0 90 180 270
rotation: 0
There is a special preheat setting named cooldown to do additional things when the _cooldown_ button is pressed
for example:
```py
[preheat cooldown]
gcode: M107
```
## Menu
@@ -121,7 +115,7 @@ button press. There are two menus available in KlipperScreen, __main and __print
printer is idle. The __print menu is accessible from the printing status page.
A menu item is configured as follows:
```
```py
[menu __main my_menu_item]
# To build a sub-menu of this menu item, you would next use [menu __main my_menu_item sub_menu_item]
name: Item Name
@@ -140,18 +134,33 @@ enable: {{ printer.power_devices.count > 0 }}
Available panels are listed here: [docs/panels.md](Panels.md)
Certain variables are available for conditional testing of the enable statement:
```
printer.bltouch # Available if bltouch section defined in config
```py
printer.extruders.count # Number of extruders
printer.temperature_devices.count # Number of temperature related devices that are not extruders
printer.fans.count # Number of fans
printer.power_devices.count # Number of power devices configured in Moonraker
printer.gcode_macros.count # Number of gcode macros
printer.output_pins.count # Number of fans
printer.bltouch # Available if bltouch section defined in config
printer.probe # Available if probe section defined in config
printer.bed_mesh # Available if bed_mesh section defined in config
printer.quad_gantry_level # Available if quad_gantry_level section defined in config
printer.z_tilt # Available if z_tilt section defined in config
printer.firmware_retraction # True if defined in config
printer.input_shaper # True if defined in config
printer.bed_screws # True if defined in config
printer.screws_tilt_adjust # True if defined in config
printer.idle_timeout # Idle timeout section
printer.pause_resume # Pause resume section of Klipper
printer.probe # Available if probe section defined in config
printer.power_devices.count # Number of power devices configured in Moonraker
```
A sample configuration of a main menu would be as follows:
```
```py
[menu __main homing]
name: Homing
icon: home
+1 -3
View File
@@ -8,6 +8,4 @@ You may submit a GitHub issue request for any problems you are having.
## Klipper Community Discord
The invite link: https://discord.klipper3d.org/
Look for the channel `#klipper-screen`
[Look for the channel `#klipper-screen`](https://discord.klipper3d.org/)
+67 -13
View File
@@ -11,27 +11,61 @@ There are no recommended screens, but the minimum supported resolution is 480x32
* [3.5" RPi Display](http://www.lcdwiki.com/3.5inch_RPi_Display)
* [5" HDMI Display-B](http://lcdwiki.com/5inch_HDMI_Display-B)
* [VoCore](https://klipper.discourse.group/t/hardware-known-to-work-with-klipperscreen/35/7)
* [Android Phone](https://klipper.discourse.group/t/how-to-klipperscreen-on-android-smart-phones/1196)
* [WAVESHARE 4.3 inch DSI LCD](https://www.waveshare.com/4.3inch-dsi-lcd.htm)
* [DFrobot DFR0550](https://wiki.dfrobot.com/5%27%27TFT-Display_with_Touchscreen_V1.0_SKU_DFR0550)
* [Android phone](Android.md)
* [More known hardware in the klipper discourse](https://klipper.discourse.group/t/hardware-known-to-work-with-klipperscreen/35)
#### Configuration
### Configuration
Follow the manufacturer instructions on how to install your screen. In general if you see a white screen, then it's not properly installed, ensure that you at least see a console, Then ![install](Installation.md) KlipperScreen, if you are having troubles refer to the ![troubleshooting page](Troubleshooting.md) for further information.
Follow the manufacturer instructions on how to install your screen. In general if you see a white screen, then it's not properly installed, ensure that you at least see a console, Then [install](Installation.md) KlipperScreen, if you are having troubles refer to the [troubleshooting page](Troubleshooting.md) for further information.
## Screen rotation
Currently there is no support for rotation at runtime, do not use xrandr to rotate the screen.
Configure the server to start in the desired orientation, there are many ways to achieve this, here is one:
#### Touchscreen touch rotation
Create /usr/share/X11/xorg.conf.d/90-monitor.conf
```bash
sudo nano /usr/share/X11/xorg.conf.d/90-monitor.conf
```
Paste this section modifying the options to suit your needs:
```
Section "Monitor"
Identifier "DPI-1"
# This identifier would be the same as the name of the connector printed by xrandr.
# it can be "HDMI-0" "DisplayPort-0", "DSI-0", "DVI-0", "DPI-0" etc
Option "Rotate" "left"
# Valid rotation options are normal,inverted,left,right
Option "PreferredMode" "1920x1080"
# May be necesary if you are not getting your prefered resolution.
EndSection
```
Save the file and restart KlipperScreen.
```bash
sudo service KlipperScreen restart
```
## Touchscreen touch rotation
If your touchscreen isn't registering touches properly after the screen has been rotated, you will need to apply a
transformation matrix.
First you will need your device name.
First you will need your device name, on a terminal run:
Run: `DISPLAY=:0 xinput`
Output
```sh
DISPLAY=:0 xinput
```
Output:
```sh
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ ADS7846 Touchscreen id=6 [slave pointer (2)]
@@ -42,7 +76,9 @@ In this case the device is the ADS7846 Touchscreen, yours may be different
You can test a change by running:
`DISPLAY=:0 xinput set-prop "<device name>" 'Coordinate Transformation Matrix' <matrix>`
```sh
DISPLAY=:0 xinput set-prop "<device name>" 'Coordinate Transformation Matrix' <matrix>
```
Where the matrix can be one of the following options:
@@ -55,14 +91,32 @@ Where the matrix can be one of the following options:
For example:
`DISPLAY=:0 xinput set-prop "ADS7846 Touchscreen" 'Coordinate Transformation Matrix' -1 0 1 0 -1 1 0 0 1`
```sh
DISPLAY=:0 xinput set-prop "ADS7846 Touchscreen" 'Coordinate Transformation Matrix' -1 0 1 0 -1 1 0 0 1
```
To make this permanent, modify the file `/etc/udev/rules.d/51-touchscreen.rules` and add following line:
```
```sh
ACTION=="add", ATTRS{name}=="<device name>", ENV{LIBINPUT_CALIBRATION_MATRIX}="<matrix>"
```
As an alternative if the above doesn't work:
edit /usr/share/X11/xorg.conf.d/40-libinput.conf
for example:
```sh
Section "InputClass"
Identifier "libinput touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "TransformationMatrix" "0 -1 1 1 0 0 0 0 1"
EndSection
```
More info about input transformation can be found in:
* [Ubuntu wiki InputCoordinateTransformation]("https://wiki.ubuntu.com/X/InputCoordinateTransformation")
* [Libinput docs]("https://wayland.freedesktop.org/libinput/doc/1.9.0/absolute_axes.html")
* [Ubuntu wiki InputCoordinateTransformation](https://wiki.ubuntu.com/X/InputCoordinateTransformation)
* [Libinput docs](https://wayland.freedesktop.org/libinput/doc/1.9.0/absolute_axes.html)
+54 -34
View File
@@ -1,44 +1,40 @@
# Installation
#### Setup Raspberry Pi
This install process is meant for Raspbian non-desktop version aka Raspbian Lite.
## First steps
If you have installed it on the GUI version, then use `sudo raspi-config` to set boot to console by choosing the following options in order:
Install the screen, following the instructions provided by the manufacturer, Some screens don't neeed extra software but some need to be installed with a script.
It's strongly recommended to test it and ensure your hardware is working with Raspbian, Ubuntu or any distro you like.
Once you stablished that the screen is working, then proceed installing KlipperScreen.
* 1 System Options
* S5 Boot / Auto Login
* B1 Console
## Setup
This install process is meant for a non-desktop version of the OS for example Raspbian Lite, but it should work on other versions.
#### Klipper and Moonraker Installation
If you want to use it on a desktop (GUI version), then do `sudo systemctl set-default multi-user.target`
if it's a Raspberry Pi, you can use `sudo raspi-config` to set boot to console by choosing the following options in order:
Follow the instructions to install Klipper and Moonraker.
* klipper: https://www.klipper3d.org/Installation.html
* moonraker: https://moonraker.readthedocs.io/en/latest/installation/
In moonraker.conf ensure that 127.0.0.1 is a trusted client for moonraker, such as in this example:
```
[authorization]
trusted_clients:
127.0.0.1
```sh
1System Options
└──S5 Boot / Auto Login
└──B1 Console
```
Note: `force_logins: true` requires the moonraker api key in [KlipperScreen.conf](Configuration.md)
## Auto install
If you wish to use the update manager feature of moonraker for KlipperScreen, add the following block into the moonraker
configuration:
```
[update_manager KlipperScreen]
type: git_repo
path: ~/KlipperScreen
origin: https://github.com/jordanruthe/KlipperScreen.git
env: ~/.KlipperScreen-env/bin/python
requirements: scripts/KlipperScreen-requirements.txt
install_script: scripts/KlipperScreen-install.sh
```
[KIAUH](https://github.com/th33xitus/kiauh) is a tool that helps you install or upgrade Klipper, Moonraker, Mainsail, and other extensions.
#### KlipperScreen Installation
![Screenshot](img/install/KIAUH.png)
You can visit [KIAUH on GitHub](https://github.com/th33xitus/kiauh) to learn more and view its documentation.
## Manual Install
First install [Klipper](https://www.klipper3d.org/Installation.html) and [Moonraker](https://moonraker.readthedocs.io/en/latest/installation/).
### KlipperScreen Installation
Execute the following commands:
```
```sh
cd ~/
git clone https://github.com/jordanruthe/KlipperScreen.git
cd ~/KlipperScreen
@@ -46,12 +42,36 @@ cd ~/KlipperScreen
```
This script will install packages that are listed under manual install, create a python virtual environment at
~/.KlipperScreen-env and install a systemd service file.
`~/.KlipperScreen-env` and install a systemd service file.
If you need a custom location for the configuration file, you can add -c or --configfile to the systemd file and specify
the location of your configuration file.
If your screen needs additional software, proceed with the manufacturer instructions if they are provided
and check out the [hardware page](Hardware.md)
At this point KlipperScreen should be working, if it doesn't start then go to the [troubleshooting page](Troubleshooting.md)
## Moonraker configuration
In moonraker.conf ensure that 127.0.0.1 is a trusted client:
```py
[authorization]
trusted_clients:
127.0.0.1
```
!!! warning
`force_logins: true` requires the moonraker api key in [KlipperScreen.conf](Configuration.md)
If you wish to use the update manager feature of moonraker for KlipperScreen, add the following block to the moonraker.conf:
```py
[update_manager KlipperScreen]
type: git_repo
path: ~/KlipperScreen
origin: https://github.com/jordanruthe/KlipperScreen.git
env: ~/.KlipperScreen-env/bin/python
requirements: scripts/KlipperScreen-requirements.txt
install_script: scripts/KlipperScreen-install.sh
managed_services: KlipperScreen
```
!!! note
If you see warnings in other UIs ignore them until KlipperScreen finishes installing.
+28
View File
@@ -0,0 +1,28 @@
# Job Status
Also known as "Print Status" or the "printing panel" shows the relevant information of the current print.
![Screenshot](img/panels/job_status.png)
!!! tip
the third row shows the LCD message (`M117`)
This panel has more information than it shows by default, just click/tap the corresponding the status buttons to access the extra information
## Position info
![speed_screenshot](img/panels/job_status_speed.png)
!!! note
Layer is calculated from object height, it may not be accurate if variable layer is used
If that is the case use the Layer Progress method described in the [Quicktips](Quicktips.md#layer-progress)
## Extrusion info
![extrusion_screenshot](img/panels/job_status_extrusion.png)
## Time info
![time_screenshot](img/panels/job_status_time.png)
## Extra temperature items
By default only extruder and bed temperatures will be available but additional items can be defined
using ["titlebar_items" in the config](Configuration.md#printer-options)
+73 -51
View File
@@ -3,97 +3,119 @@
### Main Menu
![Main Menu](img/panels/main_panel.png)
### Job Status
### [Job Status](Job_status.md)
```py
panel: job_status
```
![Job Status](img/panels/job_status.png)
### Bed Level
type: bed_level
### [Bed Level](Screws.md)
```py
panel: bed_level
```
![Bed Level](img/panels/bed_level.png)
The bed level panel has the ability to have preset locations from Klipper. Please see documentation on the following
Klipper Sections:
* [bed_screws](https://www.klipper3d.org/Config_Reference.html#bed_screws)
* [screws_tilt_adjust](https://www.klipper3d.org/Config_Reference.html#screws_tilt_adjust)
_Important Note: Due to Klipper using the bltouch/probe offsets in screws_tilt_adjust, if a bltouch/probe is enabled_
_KlipperScreen will add the offset to the defined screw values. This will not occur if bed_screws section is used._
This panel will favor screws_tilt_adjust over the bed_screws section. If screws_tilt_adjust is defined, an extra button
for _Screws Calibrate_ will appear. This button runs the SCREWS_TILT_CALCULATE command and shows the results on the
panel.
### Bed Mesh
type: bed_mesh theme:material-dark
```py
panel: bed_mesh
```
![Bed Mesh](img/panels/bed_mesh.png)
### Extrude
type: extrude theme:material-dark
### Console
```py
panel: console
```
![Console](img/panels/console.png)
### Extrude
```py
panel: extrude theme:material-dark
```
![Extrude](img/panels/extrude.png)
### Fan
type: fan
```py
panel: fan
```
![Fan](img/panels/fan.png)
### Fine Tune
type: fine_tune theme:custom
```py
panel: fine_tune
```
![Fine Tune Panel](img/panels/fine_tune.png)
### Gcode Macros
type: gcode_macros theme: material-darker
```py
panel: gcode_macros
```
![Gcode Macros Panel](img/panels/gcode_macros.png)
### Menu
type: menu
### Input Shapers
```py
panel: input_shaper
```
![Limits](img/panels/input_shaper.png)
### Limits
```py
panel: limits
```
![Limits](img/panels/limits.png)
### Menu
![Menu Panel](img/panels/menu.png)
### Move
type: move
```py
panel: move
```
![Move Panel](img/panels/move.png)
### Network
type: network
```py
panel: network
```
![Network Panel](img/panels/network.png)
### Power
type: power
```py
panel: power
```
![Power](img/panels/power.png)
### Print
type: print
```py
panel: print
```
![Print Panel](img/panels/print.png)
### Settings
type: settings theme:colorized
### Retraction
```py
panel: retraction
```
![Limits](img/panels/retraction.png)
### Settings
```py
panel: settings
```
![Settings](img/panels/settings.png)
### System
type: system
```py
panel: system
```
![System Panel](img/panels/system.png)
### Temperature
type: temperature theme:custom
### [Temperature](Temperature.md)
```py
panel: temperature
```
![Temperature](img/panels/temperature.png)
### Z Calibrate
type: zcalibrate
### [Z Calibrate](Zcalibrate.md)
```py
panel: zcalibrate
```
![Z Calibrate](img/panels/zcalibrate.png)
### Limits
type: limits theme: material-dark
![Limits](img/panels/limits.png)
+3 -39
View File
@@ -6,7 +6,7 @@ quick tips, without much explanation
As you probably already noticed, you can show and hide the gcode macros in the interface settings,
but you can also hide gcode macros by prefixing the name with an underscore.
```
```py
[gcode_macro MY_AWESOME_GCODE]
gcode:
_MY_HELPER_CODE
@@ -21,7 +21,7 @@ Another example:
Lets hide a temperature_fan:
```
```py
[temperature_fan fan1]
[temperature_fan _fan2]
```
@@ -30,44 +30,8 @@ fan1 will show in the interface, but _fan2 will be hidden.
## Thumbnails
KlipperScreen can display thumbnails in the file browser and as previews in the print status.
![Job Status](img/panels/job_status.png)
* [PrusaSlicer](#prusaslicer)
* [SuperSlicer](#superslicer)
* [Cura](#cura)
* [ideaMaker](#ideamaker)
### PrusaSlicer
In “Expert” mode PrusaSlicer has an option in the “Printer Settings” tab to activate previews.
Under General / Firmware.
![PrusaSlicer](img/quicktips/PrusaSlicer-thumbnails.png)
### SuperSlicer
In “Expert” mode SuperSlicer has some very convenient options in the “Printer Settings” tab to activate and customize the previews.
![SuperSlicer](img/quicktips/SuperSlicer-thumbnails.png)
### Cura
The Cura plugin [“Cura2Moonraker”](https://github.com/emtrax-ltd/Cura2MoonrakerPlugin) is required for this.
![Cura](img/quicktips/Cura-thumbnails.png)
### ideaMaker
To enable thumbnails, open the Advanced tab in the printer settings, enable the GCode Thumbnails for Octoprint and Mainsail option and enter your prefered square format image size in the Resolution fields (e.g. 400 X 400). It’s necessary that the thumbnail width and height resolution is equal.
![ideaMaker](img/quicktips/IdeaMaker-thumbnails.png)
Moved to [Thumbnails](Thumbnails.md)
## Layer Progress
+43
View File
@@ -0,0 +1,43 @@
# Bed level
![Bed Level](img/panels/bed_level.png)
For this panel to appear in the menu `[bed_screws]` or `[screws_tilt_adjust]` need to be defined in Klipper config (printer.cfg)
!!! Important
* `[bed_screws]` uses nozzle positions (nozzle above the screw) [Read Klipper doc entry](https://www.klipper3d.org/Config_Reference.html#bed_screws)
* `[screws_tilt_adjust]` uses probe positions (probe above the screw) [Read Klipper doc entry](https://www.klipper3d.org/Config_Reference.html#screws_tilt_adjust)
The corner buttons in KlipperScreen place the nozzle above the screw to do the ["paper test"](https://www.klipper3d.org/Bed_Level.html?h=paper#the-paper-test).
When `[screws_tilt_adjust]` is defined a couple of things happen:
* A button named "Screws adjust" appears, it runs `SCREWS_TILT_CALCULATE` when is pressed,
and reports the amount to be adjusted into the labels of the corner buttons.
* `[bed_screws]` is now ignored by KlipperScreen. (explained below)
* The corner buttons are now `[screws_tilt_adjust]` coordinates with the probe offset applied. (explained below)
### Why `[bed_screws]` are ignored/not used?
Because if the probe offset is changed or the difference between `[bed_screws]` and `[screws_tilt_adjust]` wasn't calculated correctly,
the "Screws adjust" button stops working.
### Why the probe offset is applied to `[screws_tilt_adjust]`?
Because the corner buttons in KlipperScreen should place the nozzle above the screw to do the ["paper test"](https://www.klipper3d.org/Bed_Level.html?h=paper#the-paper-test). It doesn't affect the function of `SCREWS_TILT_CALCULATE`, which will go to the defined positions.
## Not supported for auto-detection
This message will appear if you are using 3 or 5 screws and didn't define them in KlipperScreen.conf.
See "screw_positions" in the [printer options](https://klipperscreen.readthedocs.io/en/latest/Configuration/#printer-options)
## Limitations
The panel doesn't support more than 8 screws or screws that directly in the center of the bed.
## Is there an alternative?
If you have a reliable probe, define `[bed_mesh]` in Klipper config, remove the springs
and use some thread-locker or locking nuts to fix the bed to the gantry, let the probe do a mesh save it and forget about this.
+23
View File
@@ -0,0 +1,23 @@
# Temperature
This panel is available when there is at least one device with a temperature sensor asociated,
this includes extruders, heaters, sensors and temperature_fans.
There are 3 main modes of operation:
## Preheat
[Define profiles](Configuration.md#preheat-options) to quickly change the target temperature of multiple selected devices.
This is the default mode when not printing.
![Preheat_screenshot](img/panels/temperature.png)
## Delta adjust
Change the target of the selected devices, the amount is selectable.
This is the default mode while printing
![Delta_screenshot](img/panels/temperature_delta.png)
## Direct input with keypad
Allows to set the exact temperature using the keypad.
![Keypad_screenshot](img/panels/temperature_keypad.png)
+2 -2
View File
@@ -8,7 +8,7 @@ To edit colors and styles, create a css file named `style.css` you can use the c
### Example 1
```
```sh
cd ~/KlipperScreen/styles
mkdir -p mytheme/images
cd mytheme
@@ -24,7 +24,7 @@ At this point `mytheme` should be on the list of themes, and when you select it
Creating a custom background from Mainsail sidebar and this css using Z-bolt icons
```
```css
window { background-image: url("/home/pi/mainsail/img/background.svg");}
button {background-color: rgba(0,0,0,0); border-radius:2em;}
```
+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)
+6 -4
View File
@@ -1,6 +1,6 @@
## Create Translations
You can use a editor such as [poedit](https://poedit.net/) to assist in translations. This guide will assume that you
You can use an editor such as [poedit](https://poedit.net/) to assist in translations. This guide will assume that you
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
@@ -14,6 +14,8 @@ have set your pi up for your preferred language.
* Save the file as `ks_includes/locales/{LANGUAGE DESIGNATION}/KlipperScreen.po`.
* Select `File -> Compile to MO`. Save this file as `ks_includes/locales/{LANGUAGE DESIGNATION}/KlipperScreen.mo`
Once you have followed those steps, as long as your pi is set up for your preferred language, KlipperScreen will
automatically use the translations provided in the file. KlipperScreen currently does not detect RTL languages, but
support for RTL is planned in the near future.
Once you have followed those steps, restart KlipperScreen, and select it from the list in the settings.
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.
[Attach your translation on a GitHub issue or create a PR](Contact.md)
+86 -22
View File
@@ -15,46 +15,74 @@ If that file is non-existent, run `journalctl -xe -u KlipperScreen`
Check the file `/var/log/Xorg.0.log` where you can find issues with the X server.
## Cannot open virtual Console
```
If you see this line in the logs:
```sh
xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
```
* Check /etc/X11/Xwrapper.conf
Run `cat /etc/X11/Xwrapper.conf`
* Run `cat /etc/X11/Xwrapper.config`
This should have the line `allowed_users=anybody` in it
* Check /etc/group
Run `cat /etc/group | grep tty`
* Run `cat /etc/group | grep tty`
If your username is not listed under that line, you need to add it with the following command:
`usermod -a -G tty pi` (if your username is not 'pi' change 'pi' to your username)
```sh
usermod -a -G tty pi
```
(if your username is not 'pi' change 'pi' to your username)
If it's still failing, try: `sudo apt install xserver-xorg-legacy`
You may also need:
```sh
sudo apt install xserver-xorg-legacy
```
Restart KlipperScreen:
```sh
sudo service KlipperScreen restart
```
If it's still failing as a last resort add `needs_root_rights=yes` to `/etc/X11/Xwrapper.config`:
```sh
sudo bash -c "echo needs_root_rights=yes>>/etc/X11/Xwrapper.config"
```
restart KS.
## Screen shows console instead of KlipperScreen
If you have multiple framebuffers, you may need to fix the X11 configuration.
If you have multiple framebuffers, you may need to fix the X11 configuration,
list the available framebuffers and check the current one:
```sh
ls /dev/fb*
cat /usr/share/X11/xorg.conf.d/99-fbturbo.conf | grep /dev/fb
```
`ls /dev/fb*` will list the available framebuffers
`cat /usr/share/X11/xorg.conf.d/99-fbturbo.conf | grep /dev/fb` will show you the current one
If you have another fb, try changing it:
`sudo nano /usr/share/X11/xorg.conf.d/99-fbturbo.conf`
If you more than one, try changing it:
```sh
sudo nano /usr/share/X11/xorg.conf.d/99-fbturbo.conf
```
for example: change `/dev/fb0` to `/dev/fb1`
Once you have saved that file, restart KlipperScreen and it should show up on your display.
Once you have saved that file, restart KlipperScreen.
```sh
sudo service KlipperScreen restart
```
If you have multiple hdmi ports try the other one
## Screen is all white or blank or no signal
If the screen never shows the console even during startup, Then it's tipically an improperly installed screen,
follow the manufacturer instructions on how to physically connect the screen and install the proper drivers.
## The screen starts flashing colors or stays all blue/white or shows 'No signal' when idle
In KliperScreen settings find 'Screen DPMS' and turn it off.
Your screen doesn't seem to support turning off via software, the best you can do is to turn it all black.
## Touch not working on debian Bullseye
Some dsi screens have issues where touch doesn't work with debian bullseye, the current fix
@@ -64,18 +92,54 @@ Run `raspi-config` > go to Advanced > GL Driver > select G2 and reboot.
![config](img/troubleshooting/gldriver.png)
Or manually edit `/boot/config.txt` and change:
*Or*:
`dtoverlay=vc4-kms-v3d`
manually edit `/boot/config.txt` and change:
```sh
dtoverlay=vc4-kms-v3d
```
to:
`dtoverlay=vc4-fkms-v3d`
```sh
dtoverlay=vc4-fkms-v3d
```
and reboot, that should make the touch work, if your screen is rotated 180 degrees, then you may need to adjust
[the touch rotation](Hardware.md) as described in the Hardware page.
## OctoPrint
KlipperScreen was never intended to be used with OctoPrint, and there is no support for it.
## WiFi networks not listed
This can be caused because of the user is not allowed to control the interface
* Edit `/etc/wpa_supplicant/wpa_supplicant.conf` and add this line if it's not there:
```
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
```
* Run `cat /etc/group | grep netdev`
If your username is not listed under that line, you need to add it with the following command:
```sh
usermod -a -G netdev pi
```
(if your username is not 'pi' change 'pi' to your username)
Then reboot the machine:
```
systemctl reboot
```
!!! tip
It's possible to just restart KlipperScreen and networking
## Other issues
If you found an issue not listed here, or can't make it work, please provide all the log files
a description of your hw, and a description of the issue when asking for support.
a description of your hw, and a description of the issue when asking for support.
+44
View File
@@ -0,0 +1,44 @@
# Zcalibrate
This panel supports various modes of operation to assist in the calibration of the Z axis of the machine.
It's strongly suggested to read Klipper documentation about [Bed level](https://www.klipper3d.org/Bed_Level.html)
![Screenshot](img/panels/zcalibrate.png)
## Buttons
* "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.
* Accept will send `ACCEPT`
* Abort will send `ABORT`
## Calibration methods
### Endstop (`Z_ENDSTOP_CALIBRATE`)
Available when an physical endstop is defined for `[stepper_z]`
See Klipper documentation: [Calibrating a Z endstop](https://www.klipper3d.org/Manual_Level.html#calibrating-a-z-endstop)
### Probe (`PROBE_CALIBRATE`)
Available when a probe is defined. (BL-Touch is a probe)
See Klipper documentation: [Calibrating probe Z offset](https://www.klipper3d.org/Probe_Calibrate.html#calibrating-probe-z-offset)
### Bed mesh (`BED_MESH_CALIBRATE`)
Available when a probe is not defined and `[bed_mesh]` is defined
this mode lets you create a mesh leveling bed using the paper test in various points.
!!! warning
DO NOT adjust the bed screws while using this mode.
Adjust the screws using the [bed screws](Screws.md) panel before running this tool.
### Delta Automatic/Manual (`DELTA_CALIBRATE`)
Available when the kinematics are defined as delta.
See Klipper documentation: [Delta calibration](https://www.klipper3d.org/Delta_Calibrate.html)
!!! note
KlipperScreen will automatically Home(`G28`) if needed
Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 6.5 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: 14 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 19 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.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

+1 -1
View File
@@ -6,7 +6,7 @@ KlipperScreen is a touchscreen GUI that interfaces with [Klipper](https://github
KlipperScreen should run on any touchscreen that you can connect to a host (Raspberry, PC, Tablet), but not screens that connect directly to the printer MCU board.
A physical touchscreen is not strictly required, for example you may install a remote desktop server like tigervnc-scraping-server and connect from a client device, ![check out the hardware page for further information.](Hardware.md)
A physical touchscreen is not strictly required, for example you may install a remote desktop server like tigervnc-scraping-server and connect from a client device, [check out the hardware page for further information.](Hardware.md)
### Sample Panels
+4 -4
View File
@@ -7,7 +7,7 @@ Load and Unload Filament macros are used in the Extrude-Panel if it is available
The selected speed is transferred to this macro.
The following example macros show how this can be used in the macro.
```
```py
[gcode_macro LOAD_FILAMENT]
gcode:
{% set speed = params.SPEED|default(500) %}
@@ -16,7 +16,7 @@ gcode:
G1 E50 F{speed}
G92
```
```
```py
[gcode_macro UNLOAD_FILAMENT]
gcode:
{% set speed = params.SPEED|default(500) %}
@@ -28,7 +28,7 @@ gcode:
this could be interesting to tweak the purge speed, this would be one Example Macro from alfrix:
```
```py
[gcode_macro LOAD_FILAMENT]
gcode:
{% set speed = params.SPEED|default(300) %}
@@ -42,7 +42,7 @@ gcode:
M300
```
```
```py
[gcode_macro UNLOAD_FILAMENT]
gcode:
{% set speed = params.SPEED|default(300) %}
+2
View File
@@ -0,0 +1,2 @@
mkdocs>=1.3.0
mkdocs-material>=8.2.16
+11 -14
View File
@@ -1,5 +1,4 @@
class KlippyGcodes:
HOME = "G28"
HOME_X = "G28 X"
HOME_Y = "G28 Y"
@@ -33,35 +32,33 @@ class KlippyGcodes:
RESTART = "RESTART"
FIRMWARE_RESTART = "FIRMWARE_RESTART"
@staticmethod
def set_bed_temp(temp):
return "%s S%s" % (KlippyGcodes.SET_BED_TEMP, str(temp))
return f"{KlippyGcodes.SET_BED_TEMP} S{temp}"
@staticmethod
def set_ext_temp(temp, tool=0):
return "%s T%s S%s" % (KlippyGcodes.SET_EXT_TEMP, str(tool), str(temp))
return f"{KlippyGcodes.SET_EXT_TEMP} T{tool} S{temp}"
@staticmethod
def set_heater_temp(heater, temp):
return 'SET_HEATER_TEMPERATURE heater="%s" target=%s' % (heater, str(temp))
return f'SET_HEATER_TEMPERATURE heater="{heater}" target={temp}'
@staticmethod
def set_temp_fan_temp(temp_fan, temp):
return 'SET_TEMPERATURE_FAN_TARGET temperature_fan="%s" target=%s' % (temp_fan, str(temp))
return f'SET_TEMPERATURE_FAN_TARGET temperature_fan="{temp_fan}" target={temp}'
@staticmethod
def set_fan_speed(speed):
speed = str(int(float(int(speed) % 101)/100*255))
return "%s S%s" % (KlippyGcodes.SET_FAN_SPEED, speed)
return f"{KlippyGcodes.SET_FAN_SPEED} S{speed * 2.55:.0f}"
@staticmethod
def set_extrusion_rate(rate):
return "%s S%s" % (KlippyGcodes.SET_EXT_FACTOR, rate)
return f"{KlippyGcodes.SET_EXT_FACTOR} S{rate}"
@staticmethod
def set_speed_rate(rate):
return "%s S%s" % (KlippyGcodes.SET_SPD_FACTOR, rate)
return f"{KlippyGcodes.SET_SPD_FACTOR} S{rate}"
@staticmethod
def testz_move(dist):
@@ -69,16 +66,16 @@ class KlippyGcodes:
@staticmethod
def extrude(dist, speed=500):
return "%s E%s F%s" % (KlippyGcodes.MOVE, dist, speed)
return f"{KlippyGcodes.MOVE} E{dist} F{speed}"
@staticmethod
def bed_mesh_load(profile):
return "BED_MESH_PROFILE LOAD='%s'" % profile
return f"BED_MESH_PROFILE LOAD='{profile}'"
@staticmethod
def bed_mesh_remove(profile):
return "BED_MESH_PROFILE REMOVE='%s'" % profile
return f"BED_MESH_PROFILE REMOVE='{profile}'"
@staticmethod
def bed_mesh_save(profile):
return "BED_MESH_PROFILE SAVE='%s'" % profile
return f"BED_MESH_PROFILE SAVE='{profile}'"
+88 -156
View File
@@ -7,11 +7,9 @@ import pathlib
gi.require_version("Gtk", "3.0")
from gi.repository import Gdk, GdkPixbuf, Gio, Gtk, Pango
klipperscreendir = pathlib.Path(__file__).parent.resolve().parent
class KlippyGtk:
labels = {}
keyboard_ratio = .22
width_ratio = 16
height_ratio = 9.375
@@ -19,20 +17,19 @@ class KlippyGtk:
self.screen = screen
self.width = width
self.height = height
self.theme = theme
if self.screen.vertical_mode:
self.font_ratio = [33, 49]
else:
self.font_ratio = [43, 29]
self.themedir = os.path.join(pathlib.Path(__file__).parent.resolve().parent, "styles", theme, "images")
self.font_ratio = [33, 49] if self.screen.vertical_mode else [43, 29]
self.font_size = int(min(
self.width / self.font_ratio[0],
self.height / self.font_ratio[1]
))
if fontsize_type == "small":
self.font_size = round(self.font_size * 0.91)
elif (fontsize_type == "large"):
elif fontsize_type == "large":
self.font_size = round(self.font_size * 1.09)
self.header_size = int(round((self.width / self.width_ratio) / 1.33))
self.titlebar_height = self.font_size * 2
self.img_width = int(round(self.width / self.width_ratio))
self.img_height = int(round(self.height / self.height_ratio))
if self.screen.vertical_mode:
@@ -47,10 +44,10 @@ class KlippyGtk:
for key in self.color_list:
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
logging.debug("img width: %s height: %s" % (self.img_width, self.img_height))
logging.debug(f"img width: {self.img_width} height: {self.img_height}")
def get_action_bar_width(self):
return self.action_bar_width
@@ -62,11 +59,17 @@ class KlippyGtk:
return self.width - self.action_bar_width
def get_content_height(self):
return self.height - self.header_size
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
@@ -77,7 +80,11 @@ class KlippyGtk:
return self.img_height
def get_keyboard_height(self):
return (self.width - self.get_action_bar_width()) * self.keyboard_ratio
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):
# logging.debug("Color list %s" % self.color_list)
@@ -89,106 +96,60 @@ class KlippyGtk:
if self.color_list[device]['state'] > 0:
rgb[1] = rgb[1] + self.color_list[device]['hsplit'] * self.color_list[device]['state']
self.color_list[device]['state'] += 1
color = '{:02X}{:02X}{:02X}'.format(rgb[0], rgb[1], rgb[2])
rgb = [x/255 for x in rgb]
# logging.debug("Assigning color: %s %s %s" % (device, rgb, color))
rgb = [x / 255 for x in rgb]
# logging.debug(f"Assigning color: {device} {rgb}")
else:
colors = self.color_list[device]['colors']
if self.color_list[device]['state'] >= len(colors):
self.color_list[device]['state'] = 0
color = colors[self.color_list[device]['state'] % len(colors)]
rgb = [int(color[i:i+2], 16)/255 for i in range(0, 6, 2)]
rgb = [int(color[i:i + 2], 16) / 255 for i in range(0, 6, 2)]
self.color_list[device]['state'] += 1
# logging.debug("Assigning color: %s %s %s" % (device, rgb, color))
return rgb, color
# logging.debug(f"Assigning color: {device} {rgb} {color}")
return rgb
def reset_temp_color(self):
for key in self.color_list:
self.color_list[key]['state'] = 0
def Label(self, label, style=None):
@staticmethod
def Label(label, style=None):
la = Gtk.Label(label)
if style is not None and style is not False:
if style is not None:
la.get_style_context().add_class(style)
return la
def ImageLabel(self, image_name, text, size=20, style=False, width_scale=.32, height_scale=.32):
box1 = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=15)
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(
os.path.join(klipperscreendir, "styles", self.theme, "images", str(image_name) + ".svg"),
int(round(self.img_width * width_scale)), int(round(self.img_height * height_scale)), True)
def Image(self, image_name, scale=1.0):
filename = os.path.join(self.themedir, f"{image_name}.svg")
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()
image = Gtk.Image.new_from_pixbuf(pixbuf)
def PixbufFromFile(self, filename, width_scale=1, height_scale=1):
return GdkPixbuf.Pixbuf.new_from_file_at_scale(
filename,
int(round(self.img_width * width_scale)),
int(round(self.img_height * height_scale)),
True
)
label = Gtk.Label()
label.set_markup(text)
box1.add(image)
box1.add(label)
if style is not False:
ctx = box1.get_style_context()
ctx.add_class(style)
return {"l": label, "b": box1}
def ImageMenuButton(self, image_name, text, size=20, style=False, width_scale=.32, height_scale=.32, popover=False):
box1 = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=15)
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(
os.path.join(klipperscreendir, "styles", self.theme, "images", str(image_name) + ".svg"),
int(round(self.img_width * width_scale)), int(round(self.img_height * height_scale)), True)
image = Gtk.Image.new_from_pixbuf(pixbuf)
mb = Gtk.MenuButton(label="", popover=popover)
label = mb.get_label()
box1.add(image)
box1.add(mb)
if style is not False:
ctx = box1.get_style_context()
ctx.add_class(style)
return {"l": label, "mb": mb, "b": box1}
def Image(self, image_name, style=False, width_scale=1, height_scale=1):
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(
os.path.join(klipperscreendir, "styles", self.theme, "images", str(image_name)),
int(round(self.img_width * width_scale)), int(round(self.img_height * height_scale)), True)
return Gtk.Image.new_from_pixbuf(pixbuf)
def ImageFromFile(self, filename, style=False, width_scale=1, height_scale=1):
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(
filename, int(round(self.img_width * width_scale)), int(round(self.img_height * height_scale)), True)
return Gtk.Image.new_from_pixbuf(pixbuf)
def PixbufFromFile(self, filename, style=False, width_scale=1, height_scale=1):
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(
filename, int(round(self.img_width * width_scale)), int(round(self.img_height * height_scale)), True)
return pixbuf
def PixbufFromHttp(self, resource, style=False, width_scale=1, height_scale=1):
def PixbufFromHttp(self, resource, width_scale=1, height_scale=1):
response = self.screen.apiclient.get_thumbnail_stream(resource)
if response is False:
return None
stream = Gio.MemoryInputStream.new_from_data(response, None)
pixbuf = GdkPixbuf.Pixbuf.new_from_stream_at_scale(
stream, int(round(self.img_width * width_scale)), int(round(self.img_height * height_scale)), True)
return pixbuf
def ProgressBar(self, style=False):
bar = Gtk.ProgressBar()
if style is not False:
ctx = bar.get_style_context()
ctx.add_class(style)
return bar
return GdkPixbuf.Pixbuf.new_from_stream_at_scale(
stream,
int(round(self.img_width * width_scale)),
int(round(self.img_height * height_scale)),
True
)
def Button(self, label=None, style=None):
b = Gtk.Button(label=label)
@@ -202,40 +163,35 @@ class KlippyGtk:
b.connect("clicked", self.screen.reset_screensaver_timeout)
return b
def ButtonImage(self, image_name, label=None, style=None, width_scale=1.38, height_scale=1.38,
position=Gtk.PositionType.TOP, word_wrap=True):
filename = os.path.join(klipperscreendir, "styles", self.theme, "images", str(image_name) + ".svg")
if not os.path.exists(filename):
logging.error("Unable to find button image (theme, image): (%s, %s)" % (self.theme, str(image_name)))
filename = os.path.join(klipperscreendir, "styles", self.theme, "images", "warning.svg")
b = Gtk.Button(label=label)
if os.path.exists(filename):
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(
filename,
int(round(self.img_width * width_scale)),
int(round(self.img_height * height_scale)),
True
)
img = Gtk.Image.new_from_pixbuf(pixbuf)
b.set_image(img)
def ButtonImage(self, image_name=None, label=None, style=None, scale=1.38, position=Gtk.PositionType.TOP, lines=2):
b = Gtk.Button()
if label is not None:
b.set_label(label.replace("\n", " "))
b.set_hexpand(True)
b.set_vexpand(True)
b.set_can_focus(False)
if image_name is not None:
b.set_image(self.Image(image_name, scale))
b.set_image_position(position)
b.set_always_show_image(True)
b.props.relief = Gtk.ReliefStyle.NONE
if word_wrap is True:
if label is not None:
try:
# Get the label object
child = b.get_children()[0].get_children()[0].get_children()[1]
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)
except Exception:
pass
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:
b.get_style_context().add_class(style)
@@ -254,7 +210,7 @@ class KlippyGtk:
button = dialog.get_children()[0].get_children()[0].get_children()[0].get_children()[i]
button.get_child().set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
button.get_child().set_line_wrap(True)
button.set_size_request((screen.width-30)/3, screen.height/5)
button.set_size_request((screen.width - 30) / 3, screen.height / 5)
dialog.connect("response", callback, *args)
dialog.get_style_context().add_class("dialog")
@@ -273,37 +229,28 @@ class KlippyGtk:
else:
dialog.get_window().set_cursor(Gdk.Cursor(Gdk.CursorType.BLANK_CURSOR))
self.screen.dialogs.append(dialog)
return dialog
def ToggleButtonImage(self, image_name, label, style=False, width_scale=1.38, height_scale=1.38):
filename = os.path.join(klipperscreendir, "styles", self.theme, "images", str(image_name) + ".svg")
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(
filename,
int(round(self.img_width * width_scale)),
int(round(self.img_height * height_scale)),
True
)
img = Gtk.Image.new_from_pixbuf(pixbuf)
def ToggleButtonImage(self, image_name, label, style=None, scale=1.38):
b = Gtk.ToggleButton(label=label)
b.set_image(img)
b.set_hexpand(True)
b.set_vexpand(True)
b.set_can_focus(False)
b.set_image(self.Image(image_name, scale))
b.set_image_position(Gtk.PositionType.TOP)
b.set_always_show_image(True)
b.props.relief = Gtk.ReliefStyle.NONE
if style is not False:
if style is not None:
ctx = b.get_style_context()
ctx.add_class(style)
b.connect("clicked", self.screen.reset_screensaver_timeout)
return b
def HomogeneousGrid(self, width=None, height=None):
@staticmethod
def HomogeneousGrid(width=None, height=None):
g = Gtk.Grid()
g.set_row_homogeneous(True)
g.set_column_homogeneous(True)
@@ -319,28 +266,13 @@ class KlippyGtk:
b.connect("clicked", self.screen.reset_screensaver_timeout)
return b
def formatFileName(self, name):
name = name.split('/')[-1] if "/" in name else name
name = name.split('.gcod')[0] if ".gcode" in name else name
if len(name) > 25:
return name[0:25] + "\n" + name[25:50]
return name
def formatTimeString(self, seconds):
time = int(seconds)
text = ""
if int(time/86400) != 0:
text += str(int(time/86400))+"d "
if int(time/3600) != 0:
text += str(int(time/3600) % 24)+"h "
if int(time/60) != 0:
text += str(int(time/60) % 60)+"m "
else:
text = str(time % 60)+"s"
return text
def formatTemperatureString(self, temp, target):
if (target > temp-2 and target < temp+2) or round(target, 0) == 0:
return str(round(temp, 1)) + "°C" # °C →"
return str(round(temp)) + " °C\n(" + str(round(target)) + ")"
@staticmethod
def ScrolledWindow():
scroll = Gtk.ScrolledWindow()
scroll.set_property("overlay-scrolling", False)
scroll.set_vexpand(True)
scroll.add_events(Gdk.EventMask.BUTTON_PRESS_MASK |
Gdk.EventMask.TOUCH_MASK |
Gdk.EventMask.BUTTON_RELEASE_MASK)
scroll.set_kinetic_scrolling(True)
return scroll
+17 -6
View File
@@ -2,12 +2,20 @@ import json
import requests
import logging
class KlippyRest:
def __init__(self, ip, port=7125, api_key=False):
self.ip = ip
self.port = port
self.api_key = api_key
@property
def endpoint(self):
protocol = "http"
if int(self.port) == 443:
protocol = "https"
return f"{protocol}://{self.ip}:{self.port}"
def get_server_info(self):
return self.send_request("server/info")
@@ -21,7 +29,8 @@ class KlippyRest:
return self.send_request("printer/info")
def get_thumbnail_stream(self, thumbnail):
url = "http://%s:%s/server/files/gcodes/%s" % (self.ip, self.port, thumbnail)
url = f"{self.endpoint}/server/files/gcodes/{thumbnail}"
response = requests.get(url, stream=True)
if response.status_code == 200:
response.raw.decode_content = True
@@ -29,12 +38,13 @@ class KlippyRest:
return False
def send_request(self, method):
url = "http://%s:%s/%s" % (self.ip, self.port, method)
logging.debug("Sending request to %s" % url)
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}
try:
r = requests.get(url, headers=headers)
except Exception:
except Exception as e:
logging.critical(e, exc_info=True)
return False
if r.status_code != 200:
return False
@@ -42,8 +52,9 @@ class KlippyRest:
# TODO: Try/except
try:
data = json.loads(r.content)
except Exception:
logging.exception("Unable to parse response from moonraker:\n %s" % 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
+55 -36
View File
@@ -26,6 +26,7 @@ api = {
}
}
class KlippyWebsocket(threading.Thread):
_req_id = 0
connected = False
@@ -35,18 +36,31 @@ class KlippyWebsocket(threading.Thread):
def __init__(self, screen, callback, host, port):
threading.Thread.__init__(self)
self._wst = None
self.ws_url = None
self._screen = screen
self._callback = callback
self.klippy = MoonrakerApi(self)
self.closing = False
self.ws = None
self._url = "%s:%s" % (host, port)
self.host = host
self.port = port
@property
def _url(self):
return f"{self.host}:{self.port}"
@property
def ws_proto(self):
if int(self.port) == 443:
return "wss"
return "ws"
def initial_connect(self):
# 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(3, self.reconnect)
self.reconnect_timeout = GLib.timeout_add_seconds(6, self.reconnect)
self.connect()
def connect(self):
@@ -69,16 +83,18 @@ class KlippyWebsocket(threading.Thread):
if state is False:
if self.reconnect_count > 3:
self._screen.panels['splash_screen'].update_text(
_("Cannot connect to Moonraker") +
("\n\n%s\n\n") % self._url +
_("Retry #%s") % self.reconnect_count)
_("Cannot connect to Moonraker")
+ f'\n\n{self._url}\n\n'
+ _("Retrying") + f' #{self.reconnect_count}'
)
return False
token = self._screen.apiclient.get_oneshot_token()
except Exception:
except Exception as e:
logging.critical(e, exc_info=True)
logging.debug("Unable to get oneshot token")
return False
self.ws_url = "ws://%s/websocket?token=%s" % (self._url, token)
self.ws_url = f"{self.ws_proto}://{self._url}/websocket?token={token}"
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)
@@ -86,7 +102,8 @@ class KlippyWebsocket(threading.Thread):
try:
logging.debug("Starting websocket thread")
self._wst.start()
except Exception:
except Exception as e:
logging.critical(e, exc_info=True)
logging.debug("Error starting web socket")
def close(self):
@@ -99,18 +116,17 @@ class KlippyWebsocket(threading.Thread):
def on_message(self, ws, message):
response = json.loads(message)
if "id" in response:
if response['id'] in self.callback_table:
Gdk.threads_add_idle(
GLib.PRIORITY_HIGH_IDLE,
self.callback_table[response['id']][0],
response,
self.callback_table[response['id']][1],
self.callback_table[response['id']][2],
*self.callback_table[response['id']][3]
)
self.callback_table.pop(response['id'])
return
if "id" in response and response['id'] in self.callback_table:
Gdk.threads_add_idle(
GLib.PRIORITY_HIGH_IDLE,
self.callback_table[response['id']][0],
response,
self.callback_table[response['id']][1],
self.callback_table[response['id']][2],
*self.callback_table[response['id']][3]
)
self.callback_table.pop(response['id'])
return
if "method" in response and "on_message" in self._callback:
Gdk.threads_add_idle(
@@ -121,7 +137,9 @@ class KlippyWebsocket(threading.Thread):
)
return
def send_method(self, method, params={}, callback=None, *args):
def send_method(self, method, params=None, callback=None, *args):
if params is None:
params = {}
if self.is_connected() is False:
return False
@@ -140,7 +158,7 @@ class KlippyWebsocket(threading.Thread):
def on_open(self, ws):
logging.info("Moonraker Websocket Open")
logging.info("Self.connected = %s" % self.is_connected())
logging.info(f"Self.connected = {self.is_connected()}")
self.connected = True
self.reconnect_count = 0
if self.reconnect_timeout is not None:
@@ -170,7 +188,7 @@ class KlippyWebsocket(threading.Thread):
logging.info("Moonraker Websocket Closed")
self.connected = False
if self.reconnect_timeout is None:
self.reconnect_timeout = GLib.timeout_add_seconds(3, self.reconnect)
self.reconnect_timeout = GLib.timeout_add_seconds(9, self.reconnect)
if "on_close" in self._callback:
Gdk.threads_add_idle(
@@ -190,8 +208,10 @@ class KlippyWebsocket(threading.Thread):
self.connect()
return True
def on_error(self, ws, error):
logging.debug("Websocket error: %s" % error)
@staticmethod
def on_error(ws, error):
logging.debug(f"Websocket error: {error}")
class MoonrakerApi:
def __init__(self, ws):
@@ -204,7 +224,7 @@ class MoonrakerApi:
)
def gcode_script(self, script, callback=None, *args):
logging.debug("Sending printer.gcode.script: %s", script)
logging.debug(f"Sending printer.gcode.script: {script}")
return self._ws.send_method(
"printer.gcode.script",
{"script": script},
@@ -239,14 +259,14 @@ class MoonrakerApi:
)
def object_subscription(self, updates):
logging.debug("Sending printer.objects.subscribe: %s", str(updates))
logging.debug(f"Sending printer.objects.subscribe: {updates}")
return self._ws.send_method(
"printer.objects.subscribe",
updates
)
def power_device_off(self, device, callback=None, *args):
logging.debug("Sending machine.device_power.off: %s" % device)
logging.debug(f"Sending machine.device_power.off: {device}")
return self._ws.send_method(
"machine.device_power.off",
{device: False},
@@ -255,7 +275,7 @@ class MoonrakerApi:
)
def power_device_on(self, device, callback=None, *args):
logging.debug("Sending machine.device_power.on %s" % device)
logging.debug("Sending machine.device_power.on {device}")
return self._ws.send_method(
"machine.device_power.on",
{device: False},
@@ -303,7 +323,7 @@ class MoonrakerApi:
def temperature_set(self, heater, target, callback=None, *args):
if heater == "heater_bed":
logging.debug("Sending printer.gcode.script: %s", KlippyGcodes.set_bed_temp(target))
logging.debug(f"Sending printer.gcode.script: {KlippyGcodes.set_bed_temp(target)}")
return self._ws.send_method(
"printer.gcode.script",
{
@@ -314,8 +334,7 @@ class MoonrakerApi:
)
else:
logging.debug(
"Sending printer.gcode.script: %s",
KlippyGcodes.set_ext_temp(target, heater.replace("tool", "")))
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",
@@ -327,7 +346,7 @@ class MoonrakerApi:
)
def set_bed_temp(self, target, callback=None, *args):
logging.debug("Sending set_bed_temp: %s", KlippyGcodes.set_bed_temp(target))
logging.debug(f"Sending set_bed_temp: {KlippyGcodes.set_bed_temp(target)}")
return self._ws.send_method(
"printer.gcode.script",
{
@@ -338,7 +357,7 @@ class MoonrakerApi:
)
def set_heater_temp(self, heater, target, callback=None, *args):
logging.debug("Sending heater %s to temp: %s", heater, target)
logging.debug(f"Sending heater {heater} to temp: {target}")
return self._ws.send_method(
"printer.gcode.script",
{
@@ -349,7 +368,7 @@ class MoonrakerApi:
)
def set_temp_fan_temp(self, temp_fan, target, callback=None, *args):
logging.debug("Sending temperature fan %s to temp: %s", temp_fan, target)
logging.debug(f"Sending temperature fan {temp_fan} to temp: {target}")
return self._ws.send_method(
"printer.gcode.script",
{
@@ -360,7 +379,7 @@ class MoonrakerApi:
)
def set_tool_temp(self, tool, target, callback=None, *args):
logging.debug("Sending set_tool_temp: %s", KlippyGcodes.set_ext_temp(target, tool))
logging.debug(f"Sending set_tool_temp: {KlippyGcodes.set_ext_temp(target, tool)}")
return self._ws.send_method(
"printer.gcode.script",
{
+203 -134
View File
@@ -12,19 +12,21 @@ from io import StringIO
from os import path
SCREEN_BLANKING_OPTIONS = [
"300", # 5 Minutes
"900", # 15 Minutes
"1800", # 30 Minutes
"3600", # 1 Hour
"7200", # 2 Hours
"14400", # 4 Hours
300, # 5 Minutes
900, # 15 Minutes
1800, # 30 Minutes
3600, # 1 Hour
7200, # 2 Hours
14400, # 4 Hours
]
klipperscreendir = pathlib.Path(__file__).parent.resolve().parent
class ConfigError(Exception):
pass
class KlipperScreenConfig:
config = None
configfile_name = "KlipperScreen.conf"
@@ -32,10 +34,11 @@ class KlipperScreenConfig:
do_not_edit_prefix = "#~#"
def __init__(self, configfile, screen=None):
self.errors = []
self.default_config_path = os.path.join(klipperscreendir, "ks_includes", "defaults.conf")
self.config = configparser.ConfigParser()
self.config_path = self.get_config_file_location(configfile)
logging.debug("Config path location: %s" % self.config_path)
logging.debug(f"Config path location: {self.config_path}")
self.defined_config = None
try:
@@ -55,32 +58,40 @@ class KlipperScreenConfig:
self.config.read_string(user_def)
if saved_def is not None:
self.config.read_string(saved_def)
logging.info("====== Saved Def ======\n%s\n=======================" % saved_def)
# This is the final config
# self.log_config(self.config)
except KeyError:
raise ConfigError(f"Error reading config: {self.config_path}")
except Exception:
logging.exception("Unknown error with config")
logging.info(f"====== Saved Def ======\n{saved_def}\n=======================")
# This is the final config
# self.log_config(self.config)
if self.validate_config():
logging.info('Configuration validated succesfuly')
else:
logging.error('Invalid configuration detected !!!')
logging.info('Loading default config')
self.config = configparser.ConfigParser()
self.config.read(self.default_config_path)
except KeyError as Kerror:
msg = f"Error reading config: {self.config_path}\n{Kerror}"
logging.exception(msg)
self.errors.append(msg)
raise ConfigError(msg) from Kerror
except ValueError as Verror:
msg = f"Invalid Value in the config:\n{Verror}"
logging.exception(msg)
self.errors.append(msg)
except Exception as e:
msg = f"Unknown error with the config:\n{e}"
logging.exception(msg)
self.errors.append(msg)
printers = sorted([i for i in self.config.sections() if i.startswith("printer ")])
self.printers = []
for printer in printers:
self.printers.append({
printer[8:]: {
"moonraker_host": self.config.get(printer, "moonraker_host", fallback="127.0.0.1"),
"moonraker_port": self.config.get(printer, "moonraker_port", fallback="7125"),
"moonraker_api_key": self.config.get(printer, "moonraker_api_key", fallback=False)
}
})
if len(printers) <= 0:
self.printers.append({
"Printer": {
"moonraker_host": self.config.get("main", "moonraker_host", fallback="127.0.0.1"),
"moonraker_port": self.config.get("main", "moonraker_port", fallback="7125"),
"moonraker_api_key": self.config.get("main", "moonraker_api_key", fallback="")
}
})
if len(printers) == 0:
printers.append("Printer Printer")
self.printers = [
{printer[8:]: {
"moonraker_host": self.config.get(printer, "moonraker_host", fallback="127.0.0.1"),
"moonraker_port": self.config.get(printer, "moonraker_port", fallback="7125"),
"moonraker_api_key": self.config.get(printer, "moonraker_api_key", fallback="").replace('"', '')
}} for printer in printers
]
conf_printers_debug = copy.deepcopy(self.printers)
for printer in conf_printers_debug:
@@ -88,38 +99,107 @@ class KlipperScreenConfig:
item = conf_printers_debug[conf_printers_debug.index(printer)]
if item[name]['moonraker_api_key'] != "":
item[name]['moonraker_api_key'] = "redacted"
logging.debug("Configured printers: %s" % json.dumps(conf_printers_debug, indent=2))
logging.debug(f"Configured printers: {json.dumps(conf_printers_debug, indent=2)}")
lang = self.get_main_config_option("language", None)
lang = self.get_main_config().get("language", None)
lang = [lang] if lang is not None and lang != "default" else None
logging.info("Detected language: %s" % lang)
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)
def validate_config(self):
valid = True
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':
bools = (
'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',
'show_heater_power'
)
strs = (
'default_printer', 'language', 'print_sort_dir', 'theme', 'screen_blanking', 'font_size',
'print_estimate_method', 'screen_blanking'
)
numbers = (
'job_complete_timeout', 'job_error_timeout', 'move_speed_xy', 'move_speed_z',
'print_estimate_compensation'
)
elif section.startswith('printer '):
bools = (
'invert_x', 'invert_y', 'invert_z',
)
strs = (
'moonraker_api_key', 'moonraker_host', 'language', 'titlebar_name_type',
'screw_positions', 'power_devices', 'titlebar_items', 'z_babystep_values',
)
numbers = (
'moonraker_port', 'move_speed_xy', 'move_speed_z',
'calibrate_x_position', 'calibrate_y_position',
)
elif section.startswith('preheat '):
strs = ('gcode', '')
numbers = [f'{option}' for option in self.config[section] if option != 'gcode']
elif section.startswith('menu '):
strs = ('name', 'icon', 'panel', 'method', 'params', 'enable', 'confirm')
elif section == 'bed_screws':
# This section may be deprecated in favor of moving this options under the printer section
numbers = ('rotation', '')
strs = ('screw_positions', '')
elif section.startswith('graph') or section.startswith('displayed_macros'):
bools = [f'{option}' for option in self.config[section]]
elif section.startswith('z_calibrate_position'):
# This section may be deprecated in favor of moving this options under the printer section
numbers = ('calibrate_x_position', 'calibrate_y_position')
else:
self.errors.append(f'Section [{section}] not recognized')
for key in self.config[section]:
if key not in bools and key not in strs and key not in numbers:
msg = f'Option "{key}" not recognized for section "[{section}]"'
self.errors.append(msg)
# This most probably is not a big issue, continue to load the config
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"]:
msg = (
f'Unable to parse "{key}" from [{section}]\n'
f'Expected a {"number" if key in numbers else "boolean"} but got: {self.config[section][key]}'
)
self.errors.append(msg)
valid = False
return valid
@staticmethod
def is_float(element):
try:
float(element)
return True
except ValueError:
return False
def get_errors(self):
return "".join(f'{error}\n\n' for error in self.errors)
def _create_configurable_options(self, screen):
_ = self.lang.gettext
_n = self.lang.ngettext
self.configurable_options = [
{"invert_x": {"section": "main", "name": _("Invert X"), "type": "binary", "value": "False"}},
{"invert_y": {"section": "main", "name": _("Invert Y"), "type": "binary", "value": "False"}},
{"invert_z": {"section": "main", "name": _("Invert Z"), "type": "binary", "value": "False"}},
{"language": {"section": "main", "name": _("Language"), "type": "dropdown", "value": "system_lang",
"callback": screen.restart_warning, "options": [
{"name": _("System") + " " + _("(default)"), "value": "system_lang"}
]}},
{"move_speed_xy": {
"section": "main", "name": _("XY Move Speed (mm/s)"), "type": "scale", "value": "20",
"range": [5, 200], "step": 1}},
{"move_speed_z": {
"section": "main", "name": _("Z Move Speed (mm/s)"), "type": "scale", "value": "20",
"range": [5, 200], "step": 1}},
{"print_sort_dir": {"section": "main", "type": None, "value": "name_asc"}},
{"language": {
"section": "main", "name": _("Language"), "type": "dropdown", "value": "system_lang",
"callback": screen.restart_warning, "options": [
{"name": _("System") + " " + _("(default)"), "value": "system_lang"}]}},
{"theme": {
"section": "main", "name": _("Icon Theme"), "type": "dropdown",
"value": "z-bolt", "callback": screen.restart_warning, "options": [
{"name": "Z-bolt" + " " + _("(default)"), "value": "z-bolt"}]}},
{"print_estimate_method": {
"section": "main", "name": _("Estimated Time Method"), "type": "dropdown",
"value": "file", "options": [
"value": "auto", "options": [
{"name": _("Auto") + " " + _("(default)"), "value": "auto"},
{"name": _("File"), "value": "file"},
{"name": _("Filament Used"), "value": "filament"},
@@ -129,10 +209,6 @@ class KlipperScreenConfig:
"value": "3600", "callback": screen.set_screenblanking_timeout, "options": [
{"name": _("Off"), "value": "off"}]
}},
{"theme": {
"section": "main", "name": _("Icon Theme"), "type": "dropdown",
"value": "z-bolt", "callback": screen.restart_warning, "options": [
{"name": "Z-bolt" + " " + _("(default)"), "value": "z-bolt"}]}},
{"24htime": {"section": "main", "name": _("24 Hour Time"), "type": "binary", "value": "True"}},
{"side_macro_shortcut": {
"section": "main", "name": _("Macro shortcut on sidebar"), "type": "binary",
@@ -146,19 +222,35 @@ class KlipperScreenConfig:
{"confirm_estop": {"section": "main", "name": _("Confirm Emergency Stop"), "type": "binary",
"value": "False"}},
{"only_heaters": {"section": "main", "name": _("Hide sensors in Temp."), "type": "binary",
"value": "False", "callback": screen.restart_warning}},
"value": "False", "callback": screen.reload_panels}},
{"use_dpms": {"section": "main", "name": _("Screen DPMS"), "type": "binary",
"value": "True", "callback": screen.set_dpms}},
{"print_estimate_compensation": {
"section": "main", "name": _("Slicer Time correction (%)"), "type": "scale", "value": "100",
"range": [50, 150], "step": 1}},
{"autoclose_popups": {"section": "main", "name": _("Auto-close notifications"), "type": "binary",
"value": "True"}},
{"show_heater_power": {"section": "main", "name": _("Show Heater Power"), "type": "binary",
"value": "False", "callback": screen.reload_panels}},
# {"": {"section": "main", "name": _(""), "type": ""}}
]
# Options that are in panels and shouldn't be added to the main settings
panel_options = [
{"invert_x": {"section": "main", "name": _("Invert X"), "type": None, "value": "False"}},
{"invert_y": {"section": "main", "name": _("Invert Y"), "type": None, "value": "False"}},
{"invert_z": {"section": "main", "name": _("Invert Z"), "type": None, "value": "False"}},
{"move_speed_xy": {"section": "main", "name": _("XY Move Speed (mm/s)"), "type": None, "value": "50"}},
{"move_speed_z": {"section": "main", "name": _("Z Move Speed (mm/s)"), "type": None, "value": "10"}},
{"print_sort_dir": {"section": "main", "type": None, "value": "name_asc"}},
]
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[3]['language']['options']
lang_opt = self.configurable_options[0]['language']['options']
for lang in langs:
lang_opt.append({"name": lang, "value": lang})
@@ -166,7 +258,7 @@ class KlipperScreenConfig:
t_path = os.path.join(klipperscreendir, 'styles')
themes = [d for d in os.listdir(t_path) if (not os.path.isfile(os.path.join(t_path, d)) and d != "z-bolt")]
themes.sort()
theme_opt = self.configurable_options[9]['theme']['options']
theme_opt = self.configurable_options[1]['theme']['options']
for theme in themes:
theme_opt.append({"name": theme, "value": theme})
@@ -174,14 +266,14 @@ class KlipperScreenConfig:
index = self.configurable_options.index(
[i for i in self.configurable_options if list(i)[0] == "screen_blanking"][0])
for num in SCREEN_BLANKING_OPTIONS:
hour = int(int(num)/3600)
hour = num // 3600
if hour > 0:
name = str(hour) + " " + _n("hour", "hours", hour)
name = f'{hour} ' + ngettext("hour", "hours", hour)
else:
name = str(int(int(num)/60)) + " " + _("minutes")
name = f'{num / 60:.0f} ' + _("minutes")
self.configurable_options[index]['screen_blanking']['options'].append({
"name": name,
"value": num
"value": f"{num}"
})
for item in self.configurable_options:
@@ -196,9 +288,7 @@ class KlipperScreenConfig:
exclude_list = ['preheat']
if not self.defined_config.getboolean('main', "use_default_menu", fallback=True):
logging.info("Using custom menu, removing default menu entries.")
exclude_list.append('menu __main')
exclude_list.append('menu __print')
exclude_list.append('menu __splashscreen')
exclude_list.extend(('menu __main', 'menu __print', 'menu __splashscreen'))
for i in exclude_list:
for j in config.sections():
if j.startswith(i):
@@ -206,28 +296,27 @@ class KlipperScreenConfig:
if k.startswith(i):
del self.config[k]
def _include_config(self, dir, path):
full_path = path if path[0] == "/" else "%s/%s" % (dir, path)
def _include_config(self, directory, filepath):
full_path = filepath if filepath[0] == "/" else f"{directory}/{filepath}"
parse_files = []
if "*" in full_path:
parent_dir = "/".join(full_path.split("/")[:-1])
file = full_path.split("/")[-1]
if not os.path.exists(parent_dir):
logging.info("Config Error: Directory %s does not exist" % parent_dir)
logging.info(f"Config Error: Directory {parent_dir} does not exist")
return
files = os.listdir(parent_dir)
regex = "^%s$" % file.replace('*', '.*')
for file in files:
if re.match(regex, file):
parse_files.append(os.path.join(parent_dir, file))
regex = f"^{file.replace('*', '.*')}$"
parse_files.extend(os.path.join(parent_dir, file) for file in files if re.match(regex, file))
else:
if not os.path.exists(os.path.join(full_path)):
logging.info("Config Error: %s does not exist" % full_path)
logging.info(f"Config Error: {full_path} does not exist")
return
parse_files.append(full_path)
logging.info("Parsing files: %s" % parse_files)
logging.info(f"Parsing files: {parse_files}")
for file in parse_files:
config = configparser.ConfigParser()
config.read(file)
@@ -240,7 +329,7 @@ class KlipperScreenConfig:
def separate_saved_config(self, config_path):
user_def = []
saved_def = None
saved_def = []
found_saved = False
if not path.exists(config_path):
return [None, None]
@@ -253,13 +342,12 @@ class KlipperScreenConfig:
continue
if found_saved is False:
user_def.append(line.replace('\n', ''))
else:
if line.startswith(self.do_not_edit_prefix):
saved_def.append(line[(len(self.do_not_edit_prefix)+1):])
elif line.startswith(self.do_not_edit_prefix):
saved_def.append(line[(len(self.do_not_edit_prefix) + 1):])
return ["\n".join(user_def), None if saved_def is None else "\n".join(saved_def)]
def get_config_file_location(self, file):
logging.info("Passed config file: %s" % file)
logging.info(f"Passed config file: {file}")
if not path.exists(file):
file = os.path.join(klipperscreendir, self.configfile_name)
if not path.exists(file):
@@ -272,7 +360,7 @@ class KlipperScreenConfig:
if not path.exists(file):
file = self.default_config_path
logging.info("Found configuration file at: %s" % file)
logging.info(f"Found configuration file at: {file}")
return file
def get_config(self):
@@ -287,13 +375,10 @@ class KlipperScreenConfig:
def get_main_config(self):
return self.config['main']
def get_main_config_option(self, option, default=None):
return self.config['main'].get(option, default)
def get_menu_items(self, menu="__main", subsection=""):
if subsection != "":
subsection = subsection + " "
index = "menu %s %s" % (menu, subsection)
subsection = f"{subsection} "
index = f"menu {menu} {subsection}"
items = [i[len(index):] for i in self.config.sections() if i.startswith(index)]
menu_items = []
for item in items:
@@ -304,25 +389,25 @@ class KlipperScreenConfig:
return menu_items
def get_menu_name(self, menu="__main", subsection=""):
name = ("menu %s %s" % (menu, subsection)) if subsection != "" else ("menu %s" % menu)
name = f"menu {menu} {subsection}" if subsection != "" else f"menu {menu}"
if name not in self.config:
return False
return self.config[name].get('name')
def get_preheat_options(self):
index = "preheat "
items = [i[len(index):] for i in self.config.sections() if i.startswith(index)]
return {item: self._build_preheat_item(index + item) for item in items}
preheat_options = {}
for item in items:
preheat_options[item] = self._build_preheat_item(index + item)
return preheat_options
def _build_preheat_item(self, name):
if name not in self.config:
return False
cfg = self.config[name]
return {opt: cfg.get("gcode", None) if opt == "gcode" else cfg.getfloat(opt, None) for opt in cfg}
def get_printer_config(self, name):
if not name.startswith("printer "):
name = "printer %s" % name
name = f"printer {name}"
if name not in self.config:
return None
@@ -334,10 +419,6 @@ class KlipperScreenConfig:
def get_printers(self):
return self.printers
def get_user_saved_config(self):
if self.config_path != self.default_config_path:
print("Get")
def save_user_config_options(self):
save_config = configparser.ConfigParser()
for item in self.configurable_options:
@@ -351,21 +432,22 @@ class KlipperScreenConfig:
save_config.add_section(opt['section'])
save_config.set(opt['section'], name, str(curval))
macro_sections = [i for i in self.config.sections() if i.startswith("displayed_macros")]
for macro_sec in macro_sections:
for item in self.config.options(macro_sec):
value = self.config[macro_sec].getboolean(item, fallback=True)
extra_sections = [i for i in self.config.sections() if i.startswith("displayed_macros")]
extra_sections.extend([i for i in self.config.sections() if i.startswith("graph")])
for section in extra_sections:
for item in self.config.options(section):
value = self.config[section].getboolean(item, fallback=True)
if value is False or (self.defined_config is not None and
macro_sec in self.defined_config.sections() and
self.defined_config[macro_sec].getboolean(item, fallback=True) is False and
self.defined_config[macro_sec].getboolean(item, fallback=True) != value):
if macro_sec not in save_config.sections():
save_config.add_section(macro_sec)
save_config.set(macro_sec, item, str(value))
section in self.defined_config.sections() and
self.defined_config[section].getboolean(item, fallback=True) is False and
self.defined_config[section].getboolean(item, fallback=True) != value):
if section not in save_config.sections():
save_config.add_section(section)
save_config.set(section, item, str(value))
save_output = self._build_config_string(save_config).split("\n")
for i in range(len(save_output)):
save_output[i] = "%s %s" % (self.do_not_edit_prefix, save_output[i])
save_output[i] = f"{self.do_not_edit_prefix} {save_output[i]}"
if self.config_path == self.default_config_path:
user_def = ""
@@ -379,21 +461,20 @@ class KlipperScreenConfig:
self.do_not_edit_prefix)
if self.config_path != self.default_config_path:
path = self.config_path
filepath = self.config_path
else:
path = os.path.expanduser("~/")
klipper_config = os.path.join(path, "klipper_config")
filepath = os.path.expanduser("~/")
klipper_config = os.path.join(filepath, "klipper_config")
if os.path.exists(klipper_config):
path = os.path.join(klipper_config, "KlipperScreen.conf")
filepath = os.path.join(klipper_config, "KlipperScreen.conf")
else:
path = os.path.join(path, "KlipperScreen.conf")
filepath = os.path.join(filepath, "KlipperScreen.conf")
try:
file = open(path, 'w')
file.write(contents)
file.close()
except Exception:
logging.error("Error writing configuration file in %s" % path)
with open(filepath, 'w') as file:
file.write(contents)
except Exception as e:
logging.error(f"Error writing configuration file in {filepath}:\n{e}")
def set(self, section, name, value):
self.config.set(section, name, value)
@@ -411,7 +492,8 @@ class KlipperScreenConfig:
]
logging.info("\n".join(lines))
def _build_config_string(self, config):
@staticmethod
def _build_config_string(config):
sfile = StringIO()
config.write(sfile)
sfile.seek(0)
@@ -432,21 +514,8 @@ class KlipperScreenConfig:
try:
item["params"] = json.loads(cfg.get("params", "{}"))
except Exception:
logging.debug("Unable to parse parameters for [%s]" % name)
except Exception as e:
logging.exception(f"Unable to parse parameters for [{name}]:\n{e}")
item["params"] = {}
return {name[(len(menu) + 6):]: item}
def _build_preheat_item(self, name):
if name not in self.config:
return False
cfg = self.config[name]
item = {
"extruder": cfg.getint("extruder", 0),
"bed": cfg.getint("bed", 0),
"heater_generic": cfg.getint("heater_generic", 0),
"temperature_fan": cfg.getint("temperature_fan", 0),
"gcode": cfg.get("gcode", None)
}
return item
+36 -5
View File
@@ -1,5 +1,4 @@
[main]
service: KlipperScreen
[preheat PLA]
bed = 40
@@ -28,7 +27,7 @@ icon: home
name: {{ gettext('Temperature') }}
icon: heat-up
panel: temperature
enable: {{ printer.temperature_devices.count > 0 }}
enable: {{ (printer.temperature_devices.count > 0) or (printer.extruders.count > 0)}}
[menu __main actions]
name: {{ gettext('Actions') }}
@@ -111,6 +110,12 @@ icon: custom-script
panel: gcode_macros
enable: {{ printer.gcode_macros.count > 0 }}
[menu __main actions pins]
name: {{ gettext('Pins') }}
icon: fine-tune
panel: pins
enable: {{ printer.output_pins.count > 0 }}
[menu __main actions power]
name: {{ gettext('Power') }}
icon: shutdown
@@ -132,10 +137,11 @@ panel: console
name: {{ gettext('Bed Level') }}
icon: bed-level
panel: bed_level
enable: {{ printer.bed_screws or printer.screws_tilt_adjust}}
[menu __main config bedmesh]
name: {{ gettext('Bed Mesh') }}
icon: bed-level
icon: bed-mesh
panel: bed_mesh
enable: {{ printer.bed_mesh is defined }}
@@ -154,6 +160,12 @@ name: {{ gettext('Network') }}
icon: network
panel: network
[menu __main config retraction]
name: {{ gettext('Retraction') }}
icon: retract
panel: retraction
enable: {{ printer.firmware_retraction }}
[menu __main config system]
name: {{ gettext('System') }}
icon: info
@@ -165,7 +177,7 @@ icon: complete
method: printer.gcode.script
params: {"script":"SAVE_CONFIG"}
confirm:
{{ gettext('Save configuration') }}
{{ gettext('Save configuration?') }}
{{ gettext('Klipper will reboot') }}
@@ -174,6 +186,12 @@ name: {{ gettext('Settings') }}
icon: settings
panel: settings
[menu __main config input_shaper]
name: {{ gettext('Input Shaper') }}
icon: move
panel: input_shaper
enable: {{ printer.input_shaper }}
[menu __print]
name: {{ gettext('Print Control') }}
@@ -181,7 +199,7 @@ name: {{ gettext('Print Control') }}
name: {{ gettext('Temperature') }}
icon: heat-up
panel: temperature
enable: {{ printer.temperature_devices.count > 0 }}
enable: {{ (printer.temperature_devices.count > 0) or (printer.extruders.count > 0)}}
[menu __print fan]
name: {{ gettext('Fan') }}
@@ -189,6 +207,12 @@ icon: fan
panel: fan
enable: {{ printer.fans.count > 0 }}
[menu __print move]
name: {{ gettext('Move') }}
icon: move
panel: move
enable: {{ (printer.pause_resume.is_paused == True) }}
[menu __print extrude]
name: {{ gettext('Extrude') }}
icon: filament
@@ -222,6 +246,12 @@ name: {{ gettext('Network') }}
icon: network
panel: network
[menu __print retraction]
name: {{ gettext('Retraction') }}
icon: retract
panel: retraction
enable: {{ printer.firmware_retraction }}
[menu __print system]
name: {{ gettext('System') }}
icon: info
@@ -250,6 +280,7 @@ panel: network
name: {{ gettext('System') }}
icon: info
panel: system
enable: {{ moonraker_connected }}
[menu __splashscreen settings]
name: {{ gettext('Settings') }}
+34 -36
View File
@@ -2,20 +2,17 @@ import logging
import os
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import GLib
class KlippyFiles():
class KlippyFiles:
def __init__(self, screen):
self._screen = screen
self.callbacks = []
self.files = {}
self.filelist = []
self.thumbnail_dir = "/tmp/.KS-thumbnails"
if not os.path.exists(self.thumbnail_dir):
os.makedirs(self.thumbnail_dir)
self.gcodes_path = None
def initialize(self):
@@ -23,17 +20,11 @@ class KlippyFiles():
if "virtual_sdcard" in self._screen.printer.get_config_section_list():
vsd = self._screen.printer.get_config_section("virtual_sdcard")
if "path" in vsd:
self.gcodes_path = vsd['path']
logging.info("Gcodes path: %s" % self.gcodes_path)
self.gcodes_path = os.path.expanduser(vsd['path'])
logging.info(f"Gcodes path: {self.gcodes_path}")
def reset(self):
self.run_callbacks()
self.callbacks = None
self.files = None
self.filelist = None
self.thumbnail_dir = None
self.gcodes_path = None
self._screen = None
self.__init__(self._screen)
def _callback(self, result, method, params):
if method == "server.files.list":
@@ -48,7 +39,7 @@ class KlippyFiles():
newfiles.append(file)
self.add_file(item, False)
if len(newfiles) > 0 or len(deletedfiles) > 0:
if newfiles or len(deletedfiles) > 0:
self.run_callbacks(newfiles, deletedfiles)
if len(deletedfiles) > 0:
@@ -56,27 +47,27 @@ class KlippyFiles():
self.remove_file(file)
elif method == "server.files.directory":
if "result" in result:
dir = params['path'][7:] if params['path'].startswith('gcodes/') else params['path']
if dir[-1] == '/':
dir = dir[:-1]
directory = params['path'][7:] if params['path'].startswith('gcodes/') else params['path']
if directory[-1] == '/':
directory = directory[:-1]
newfiles = []
for file in result['result']['files']:
fullpath = "%s/%s" % (dir, file['filename'])
fullpath = f"{directory}/{file['filename']}"
if fullpath not in self.filelist:
newfiles.append(fullpath)
if len(newfiles) > 0:
if newfiles:
self.run_callbacks(newfiles)
elif method == "server.files.metadata":
if "error" in result.keys():
logging.debug("Error in getting metadata for %s. Retrying in 6 seconds" % (params['filename']))
logging.debug(f"Error in getting metadata for {params['filename']}. Retrying in 6 seconds")
return
for x in result['result']:
self.files[params['filename']][x] = result['result'][x]
if "thumbnails" in self.files[params['filename']]:
self.files[params['filename']]['thumbnails'].sort(key=lambda x: x['size'], reverse=True)
self.files[params['filename']]['thumbnails'].sort(key=lambda y: y['size'], reverse=True)
for thumbnail in self.files[params['filename']]['thumbnails']:
thumbnail['local'] = False
@@ -94,12 +85,12 @@ class KlippyFiles():
def add_file(self, item, notify=True):
if 'filename' not in item and 'path' not in item:
logging.info("Error adding item, unknown filename or path: %s" % item)
logging.info(f"Error adding item, unknown filename or path: {item}")
return
filename = item['path'] if "path" in item else item['filename']
if filename in self.filelist:
logging.info("File already exists: %s" % filename)
logging.info(f"File already exists: {filename}")
self.request_metadata(filename)
GLib.timeout_add_seconds(1, self.run_callbacks, mods=[filename])
return
@@ -116,15 +107,15 @@ class KlippyFiles():
def add_file_callback(self, callback):
try:
self.callbacks.append(callback)
except Exception:
logging.debug("Callback not found: %s" % callback)
except Exception as e:
logging.debug(f"Callback not found: {callback}:\n{e}")
def process_update(self, data):
if 'item' in data and data['item']['root'] != 'gcodes':
return
if data['action'] == "create_dir":
self._screen._ws.klippy.get_file_dir("gcodes/%s" % data['item']['path'], self._callback)
self._screen._ws.klippy.get_file_dir(f"gcodes/{data['item']['path']}", self._callback)
elif data['action'] == "create_file":
self.add_file(data['item'])
elif data['action'] == "delete_file":
@@ -141,7 +132,7 @@ class KlippyFiles():
self.callbacks.pop(self.callbacks.index(callback))
def file_exists(self, filename):
return True if filename in self.filelist else False
return filename in self.filelist
def file_metadata_exists(self, filename):
if not self.file_exists(filename):
@@ -150,11 +141,12 @@ class KlippyFiles():
return True
return False
def get_thumbnail_location(self, filename):
if not self.has_thumbnail(filename):
return None
thumb = self.files[filename]['thumbnails'][0]
def get_thumbnail_location(self, filename, small=False):
if small and len(self.files[filename]['thumbnails']) > 1 \
and self.files[filename]['thumbnails'][0]['width'] > self.files[filename]['thumbnails'][1]['width']:
thumb = self.files[filename]['thumbnails'][1]
else:
thumb = self.files[filename]['thumbnails'][0]
if thumb['local'] is False:
return ['http', thumb['path']]
return ['file', thumb['path']]
@@ -183,10 +175,16 @@ class KlippyFiles():
self.run_callbacks(deletedfiles=[filename])
def ret_file_data(self, filename):
print("Getting file info for %s" % (filename))
logging.info(f"Getting file info for {filename}")
self._screen._ws.klippy.get_file_metadata(filename, self._callback)
def run_callbacks(self, newfiles=[], deletedfiles=[], mods=[]):
def run_callbacks(self, newfiles=None, deletedfiles=None, mods=None):
if mods is None:
mods = []
if deletedfiles is None:
deletedfiles = []
if newfiles is None:
newfiles = []
if len(self.callbacks) <= 0:
return False
for cb in self.callbacks:
+20 -7
View File
@@ -35,8 +35,8 @@ try:
dummy1_i_p = ctypes.create_string_buffer(8)
dummy2_i_p = ctypes.create_string_buffer(8)
if display.value:
if libXext.DPMSQueryExtension(display, dummy1_i_p, dummy2_i_p)\
and libXext.DPMSCapable(display):
if libXext.DPMSQueryExtension(display, dummy1_i_p, dummy2_i_p) \
and libXext.DPMSCapable(display):
onoff_p = ctypes.create_string_buffer(1)
state_p = ctypes.create_string_buffer(2)
if libXext.DPMSInfo(display, state_p, onoff_p):
@@ -45,14 +45,17 @@ try:
state = struct.unpack('H', state_p.raw)[0]
libXext.XCloseDisplay(display)
return state
dpms_loaded = True
except Exception:
pass
def get_network_interfaces():
stream = os.popen("ip addr | grep ^'[0-9]' | cut -d ' ' -f 2 | grep -o '[a-zA-Z0-9\\.]*'")
return [i for i in stream.read().strip().split('\n') if not i.startswith('lo')]
def get_wireless_interfaces():
p = subprocess.Popen(["which", "iwconfig"], stdout=subprocess.PIPE)
@@ -64,17 +67,19 @@ def get_wireless_interfaces():
try:
p = subprocess.Popen(["iwconfig"], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
result = p.stdout.read().decode('ascii').split('\n')
except Exception:
except Exception as e:
logging.critical(e, exc_info=True)
logging.info("Error with running iwconfig command")
return None
interfaces = []
for line in result:
match = re.search('^(\\S+)\\s+.*$', line)
if match:
interfaces.append(match.group(1))
interfaces.append(match[1])
return interfaces
def get_software_version():
prog = ('git', '-C', os.path.dirname(__file__), 'describe', '--always',
'--tags', '--long', '--dirty')
@@ -94,6 +99,7 @@ def get_software_version():
logging.exception("Error runing git describe")
return "?"
def patch_threading_excepthook():
"""Installs our exception handler into the threading modules Thread object
Inspired by https://bugs.python.org/issue1230540
@@ -111,15 +117,18 @@ def patch_threading_excepthook():
raise
except Exception:
sys.excepthook(*sys.exc_info(), thread_identifier=threading.get_ident())
self.run = run_with_excepthook
threading.Thread.__init__ = new_init
# Timed rotating file handler based on Klipper and Moonraker's implementation
class KlipperScreenLoggingHandler(logging.handlers.TimedRotatingFileHandler):
def __init__(self, software_version, filename, **kwargs):
super(KlipperScreenLoggingHandler, self).__init__(filename, **kwargs)
self.rollover_info = {
'header': f"{'-'*20}KlipperScreen Log Start{'-'*20}",
'header': f"{'-' * 20}KlipperScreen Log Start{'-' * 20}",
'version': f"Git Version: {software_version}",
}
lines = [line for line in self.rollover_info.values() if line]
@@ -135,6 +144,7 @@ class KlipperScreenLoggingHandler(logging.handlers.TimedRotatingFileHandler):
if self.stream is not None:
self.stream.write("\n".join(lines) + "\n")
# Logging based on Arksine's logging setup
def setup_logging(log_file, software_version):
root_logger = logging.getLogger()
@@ -161,9 +171,12 @@ def setup_logging(log_file, software_version):
queue, stdout_hdlr)
listener.start()
def logging_exception_handler(type, value, tb, thread_identifier=None):
def logging_exception_handler(ex_type, value, tb, thread_identifier=None):
logging.exception(
"Uncaught exception %s: %s\nTraceback: %s" % (type, value, "\n".join(traceback.format_tb(tb))))
f'Uncaught exception {ex_type}: {value}\n'
f'Traceback: {traceback.format_tb(tb)}'
)
sys.excepthook = logging_exception_handler
logging.captureWarnings(True)
+175 -32
View File
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"POT-Creation-Date: 2022-08-18 23:05-0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -31,9 +31,15 @@ msgstr ""
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr ""
msgid "ADXL Not Configured"
msgstr ""
msgid "Abort"
msgstr ""
msgid "Acceleration:"
msgstr ""
msgid "Accept"
msgstr ""
@@ -43,7 +49,18 @@ msgstr ""
msgid "Add Printer"
msgstr ""
msgid "Add bed mesh profile"
msgid "Add profile"
msgstr ""
msgid "Apply"
msgstr ""
#, python-format
msgid "Apply %.2f offset to Endstop?"
msgstr ""
#, python-format
msgid "Apply %s%.2f offset to Probe?"
msgstr ""
msgid "Are you sure you want to run Emergency Stop?"
@@ -64,6 +81,12 @@ msgstr ""
msgid "Auto"
msgstr ""
msgid "Auto-calibrate"
msgstr ""
msgid "Auto-close notifications"
msgstr ""
msgid "Auto-scroll"
msgstr ""
@@ -73,15 +96,24 @@ msgstr ""
msgid "Bed Mesh"
msgstr ""
msgid "Bltouch found applied offset"
msgid "Bed screw configuration:"
msgstr ""
msgid "Calibrate"
msgstr ""
msgid "Calibrated"
msgstr ""
msgid "Calibrated, save configuration to make it permanent"
msgstr ""
msgid "Calibrating"
msgstr ""
msgid "Calibrating..."
msgstr ""
msgid "Can't set above the maximum:"
msgstr ""
@@ -103,9 +135,13 @@ msgstr ""
msgid "Channel"
msgstr ""
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgid "Check ADXL Wiring"
msgstr ""
msgid "Checking for updates, please wait..."
msgstr ""
msgid "Clear"
msgstr ""
msgid "Close"
@@ -145,6 +181,9 @@ msgstr ""
msgid "Delete"
msgstr ""
msgid "Delete File?"
msgstr ""
msgid "Deselect"
msgstr ""
@@ -154,9 +193,6 @@ msgstr ""
msgid "Disable XY"
msgstr ""
msgid "Displayed Macros"
msgstr ""
msgid "Distance (mm)"
msgstr ""
@@ -173,6 +209,9 @@ msgstr ""
msgid "Estimated Time Method"
msgstr ""
msgid "Exclude Object"
msgstr ""
msgid "Extrude"
msgstr ""
@@ -191,31 +230,51 @@ 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 ""
msgid "Fine Tuning"
msgstr ""
msgid "Finish"
msgstr ""
msgid ""
"Firmware\n"
"Restart"
msgid "Firmware Restart"
msgstr ""
msgid "Flow:"
msgstr ""
msgid "Flowrate:"
msgstr ""
msgid "Font Size"
msgstr ""
msgid ""
"Full\n"
"Update"
msgid "Full Update"
msgstr ""
msgid "Go Back"
msgstr ""
msgid "Height:"
msgstr ""
msgid "Hidden"
msgstr ""
@@ -225,6 +284,9 @@ msgstr ""
msgid "Hide sensors in Temp."
msgstr ""
msgid "Hide temp."
msgstr ""
msgid "Home"
msgstr ""
@@ -246,6 +308,9 @@ msgstr ""
msgid "Homing"
msgstr ""
msgid "Host"
msgstr ""
msgid "Hostname"
msgstr ""
@@ -261,6 +326,9 @@ msgstr ""
msgid "Initializing printer..."
msgstr ""
msgid "Input Shaper"
msgstr ""
msgid "Interface"
msgstr ""
@@ -276,9 +344,7 @@ msgstr ""
msgid "Invert Z"
msgstr ""
msgid ""
"Klipper\n"
"Restart"
msgid "Klipper Restart"
msgstr ""
msgid "Klipper has disconnected"
@@ -302,6 +368,9 @@ msgstr ""
msgid "Large"
msgstr ""
msgid "Layer:"
msgstr ""
msgid "Left:"
msgstr ""
@@ -314,6 +383,9 @@ msgstr ""
msgid "Lower Nozzle"
msgstr ""
msgid "Machine"
msgstr ""
msgid "Macro shortcut on sidebar"
msgstr ""
@@ -323,7 +395,10 @@ msgstr ""
msgid "Main Menu"
msgstr ""
msgid "Max Accelation"
msgid "Max"
msgstr ""
msgid "Max Acceleration"
msgstr ""
msgid "Max Acceleration to Deceleration"
@@ -332,6 +407,15 @@ msgstr ""
msgid "Max Velocity"
msgstr ""
msgid "Measure Both"
msgstr ""
msgid "Measure X"
msgstr ""
msgid "Measure Y"
msgstr ""
msgid "Medium"
msgstr ""
@@ -356,6 +440,14 @@ msgstr ""
msgid "Network"
msgstr ""
msgid "New"
msgstr ""
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
msgstr ""
msgid "Nothing selected"
msgstr ""
@@ -374,6 +466,9 @@ msgid_plural "Packages will be updated"
msgstr[0] ""
msgstr[1] ""
msgid "Part Fan"
msgstr ""
msgid "Password saved"
msgstr ""
@@ -386,6 +481,9 @@ msgstr ""
msgid "Perform a full upgrade?"
msgstr ""
msgid "Pins"
msgstr ""
msgid "Please recompile and flash the micro-controller."
msgstr ""
@@ -395,6 +493,9 @@ msgstr ""
msgid "Power On Printer"
msgstr ""
msgid "Pressure Advance:"
msgstr ""
msgid "Print"
msgstr ""
@@ -410,7 +511,7 @@ msgstr ""
msgid "Printing"
msgstr ""
msgid "Probe found applied offset"
msgid "Probe Offset"
msgstr ""
msgid "Profile Name:"
@@ -431,6 +532,9 @@ msgstr ""
msgid "Reference"
msgstr ""
msgid "Refresh"
msgstr ""
msgid "Restart"
msgstr ""
@@ -440,17 +544,39 @@ msgstr ""
msgid "Retract"
msgstr ""
msgid "Retraction"
msgstr ""
msgid "Retraction Length"
msgstr ""
msgid "Retraction Speed"
msgstr ""
#, python-format
msgid "Retry #%s"
msgstr ""
msgid "Retrying"
msgstr ""
msgid "Save"
msgstr ""
msgid "Save Config"
msgstr ""
msgid "Save configuration"
msgid "Save Z"
msgstr ""
msgid "Save configuration?"
msgstr ""
msgid "Saved"
msgstr ""
#, python-format
msgid "Saved offset: %s"
msgstr ""
msgid "Screen DPMS"
@@ -490,12 +616,18 @@ msgstr ""
msgid "Slicer Time correction (%)"
msgstr ""
msgid "Slicer:"
msgstr ""
msgid "Small"
msgstr ""
msgid "Sort by: "
msgstr ""
msgid "Sort:"
msgstr ""
msgid "Speed (mm/s)"
msgstr ""
@@ -505,6 +637,9 @@ msgstr ""
msgid "Speed -"
msgstr ""
msgid "Speed:"
msgstr ""
msgid "Square Corner Velocity"
msgstr ""
@@ -523,14 +658,10 @@ msgstr ""
msgid "System"
msgstr ""
msgid ""
"System\n"
"Restart"
msgid "System Restart"
msgstr ""
msgid ""
"System\n"
"Shutdown"
msgid "System Shutdown"
msgstr ""
msgid "Temp (°C)"
@@ -543,18 +674,24 @@ msgstr ""
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr ""
msgid "Tool"
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 ""
@@ -579,6 +716,9 @@ msgstr ""
msgid "XY Move Speed (mm/s)"
msgstr ""
msgid "XY Speed (mm/s)"
msgstr ""
msgid "Y+"
msgstr ""
@@ -591,12 +731,15 @@ msgstr ""
msgid "Z Move Speed (mm/s)"
msgstr ""
msgid "Z Position"
msgid "Z Speed (mm/s)"
msgstr ""
msgid "Z Tilt"
msgstr ""
msgid "Z offset:"
msgstr ""
msgid "Z+"
msgstr ""
@@ -625,5 +768,5 @@ msgstr ""
msgid "mm/s"
msgstr ""
msgid "mm/s^2"
msgid "mm/s²"
msgstr ""
Binary file not shown.
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"POT-Creation-Date: 2022-08-18 23:05-0300\n"
"PO-Revision-Date: \n"
"Last-Translator: SRBJ\n"
"Language-Team: \n"
@@ -26,9 +26,15 @@ msgstr "24-timers visning"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "En FIRMWARE_RESTART kan løse problemet."
msgid "ADXL Not Configured"
msgstr ""
msgid "Abort"
msgstr "Annuller"
msgid "Acceleration:"
msgstr "Acceleration:"
msgid "Accept"
msgstr "OK"
@@ -38,8 +44,19 @@ msgstr "Muligheder"
msgid "Add Printer"
msgstr "Tilføj printer"
msgid "Add bed mesh profile"
msgstr "Tilføj \"bed-mesh\" profil"
msgid "Add profile"
msgstr ""
msgid "Apply"
msgstr ""
#, python-format
msgid "Apply %.2f offset to Endstop?"
msgstr ""
#, python-format
msgid "Apply %s%.2f offset to Probe?"
msgstr ""
msgid "Are you sure you want to run Emergency Stop?"
msgstr "Er du sikker på, at du vil køre nødstop?"
@@ -59,6 +76,12 @@ msgstr "Er du sikker på du vil lukke systemet?"
msgid "Auto"
msgstr "Auto"
msgid "Auto-calibrate"
msgstr "Automatisk kalibrering"
msgid "Auto-close notifications"
msgstr ""
msgid "Auto-scroll"
msgstr "Auto-scroll"
@@ -68,15 +91,24 @@ msgstr "Bed-Level"
msgid "Bed Mesh"
msgstr "Bed-mesh"
msgid "Bltouch found applied offset"
msgstr "Bltouch fundet anvendt offset"
msgid "Bed screw configuration:"
msgstr ""
msgid "Calibrate"
msgstr "Kalibrér"
msgid "Calibrated"
msgstr "Kalibreret"
msgid "Calibrated, save configuration to make it permanent"
msgstr "Kalibreret, gem konfiguration for at gøre den permanent"
msgid "Calibrating"
msgstr ""
msgid "Calibrating..."
msgstr "Kalibrerer..."
msgid "Can't set above the maximum:"
msgstr "Kan ikke indstilles over maksimum:"
@@ -98,12 +130,14 @@ msgstr "Kan ikke oprette forbindelse til Moonraker"
msgid "Channel"
msgstr "Kanal"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgid "Check ADXL Wiring"
msgstr ""
msgid "Checking for updates, please wait..."
msgstr ""
msgid "Clear"
msgstr ""
"Tjek /tmp/KlipperScreen.log for mere information.\n"
"Indsend venligst et \"Issue\" på GitHub for hjælp."
msgid "Close"
msgstr "Luk"
@@ -142,6 +176,9 @@ msgstr "Formindsk"
msgid "Delete"
msgstr "Slet"
msgid "Delete File?"
msgstr ""
msgid "Deselect"
msgstr "Fravælg"
@@ -151,9 +188,6 @@ msgstr "Deaktivér motorer"
msgid "Disable XY"
msgstr "Deaktivér XY"
msgid "Displayed Macros"
msgstr "Viste makroer"
msgid "Distance (mm)"
msgstr "Længde (mm)"
@@ -170,6 +204,9 @@ msgstr "Fejl"
msgid "Estimated Time Method"
msgstr "Metode til beregning af tid"
msgid "Exclude Object"
msgstr ""
msgid "Extrude"
msgstr "Ekstrudér"
@@ -188,35 +225,51 @@ msgstr "Blæser"
msgid "Filament Used"
msgstr "Filament forbrug"
msgid "Filament total:"
msgstr "Filament i alt:"
msgid "Filament used:"
msgstr "Filament brugt:"
msgid "Filament:"
msgstr "Filament:"
msgid "File"
msgstr "Fil"
msgid "File:"
msgstr "Fil:"
msgid "Finding ADXL"
msgstr "At finde ADXL"
msgid "Fine Tuning"
msgstr "Finjustering"
msgid "Finish"
msgstr "Færdig"
msgid ""
"Firmware\n"
"Restart"
msgid "Firmware Restart"
msgstr "Firmware Genstart"
msgid "Flow:"
msgstr ""
msgid "Flowrate:"
msgstr ""
"Firmware\n"
"Genstart"
msgid "Font Size"
msgstr "Skriftstørrelse"
msgid ""
"Full\n"
"Update"
msgstr ""
"Fuld\n"
"Opdatering"
msgid "Full Update"
msgstr "Fuld Opdatering"
msgid "Go Back"
msgstr "Gå tilbage"
msgid "Height:"
msgstr ""
msgid "Hidden"
msgstr "Skjult"
@@ -226,6 +279,9 @@ msgstr "Skjule"
msgid "Hide sensors in Temp."
msgstr "Skjul sensorer i Temp."
msgid "Hide temp."
msgstr ""
msgid "Home"
msgstr "Home"
@@ -247,6 +303,9 @@ msgstr "Home Z"
msgid "Homing"
msgstr "Homing"
msgid "Host"
msgstr ""
msgid "Hostname"
msgstr "Værtsnavn"
@@ -262,6 +321,9 @@ msgstr "Initialiserer"
msgid "Initializing printer..."
msgstr "Initialiserer printer..."
msgid "Input Shaper"
msgstr ""
msgid "Interface"
msgstr "Interface"
@@ -277,12 +339,8 @@ msgstr "Invertér Y"
msgid "Invert Z"
msgstr "Invertér Z"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"Klipper\n"
"Genstart"
msgid "Klipper Restart"
msgstr "Klipper Genstart"
msgid "Klipper has disconnected"
msgstr "Klipper er frokoblet"
@@ -305,6 +363,9 @@ msgstr "Sprog"
msgid "Large"
msgstr "Stor"
msgid "Layer:"
msgstr ""
msgid "Left:"
msgstr "Resterende:"
@@ -317,6 +378,9 @@ msgstr "Indlæs"
msgid "Lower Nozzle"
msgstr "Sænk Nozzle"
msgid "Machine"
msgstr ""
msgid "Macro shortcut on sidebar"
msgstr "Makrogenvej på sidelinjen"
@@ -326,8 +390,11 @@ msgstr "Makroer"
msgid "Main Menu"
msgstr "Hovedmenu"
msgid "Max Accelation"
msgstr "Maks. acceleration"
msgid "Max"
msgstr ""
msgid "Max Acceleration"
msgstr "Maks. Acceleration"
msgid "Max Acceleration to Deceleration"
msgstr "Maks. acceleration til decceleration"
@@ -335,6 +402,15 @@ msgstr "Maks. acceleration til decceleration"
msgid "Max Velocity"
msgstr "Maks. hastighed"
msgid "Measure Both"
msgstr ""
msgid "Measure X"
msgstr ""
msgid "Measure Y"
msgstr ""
msgid "Medium"
msgstr "Mellem"
@@ -359,6 +435,14 @@ msgstr "Navn"
msgid "Network"
msgstr "Netværk"
msgid "New"
msgstr "Ny"
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
msgstr ""
msgid "Nothing selected"
msgstr "Intet valgt"
@@ -377,6 +461,9 @@ msgid_plural "Packages will be updated"
msgstr[0] "Pakken vil blive opdateret"
msgstr[1] "Pakker vil blive opdateret"
msgid "Part Fan"
msgstr ""
msgid "Password saved"
msgstr "Adgangskode gemt"
@@ -389,6 +476,9 @@ msgstr "På pause"
msgid "Perform a full upgrade?"
msgstr "Vil du udføre en fuld opgradering?"
msgid "Pins"
msgstr ""
msgid "Please recompile and flash the micro-controller."
msgstr "Genkompilér og flash mikrocontrolleren."
@@ -398,6 +488,9 @@ msgstr "Strømstyring"
msgid "Power On Printer"
msgstr "Tænd printer"
msgid "Pressure Advance:"
msgstr ""
msgid "Print"
msgstr "Print"
@@ -413,8 +506,8 @@ msgstr "Printer forbindelser"
msgid "Printing"
msgstr "Printer"
msgid "Probe found applied offset"
msgstr "Probe fundet anvendt offset"
msgid "Probe Offset"
msgstr ""
msgid "Profile Name:"
msgstr "Profilnavn:"
@@ -434,6 +527,9 @@ msgstr "Nulstil"
msgid "Reference"
msgstr "Reference"
msgid "Refresh"
msgstr ""
msgid "Restart"
msgstr "Genstart"
@@ -443,19 +539,41 @@ msgstr "Genoptag"
msgid "Retract"
msgstr "Retract"
msgid "Retraction"
msgstr ""
msgid "Retraction Length"
msgstr ""
msgid "Retraction Speed"
msgstr ""
#, python-format
msgid "Retry #%s"
msgstr "Prøv igen #%s"
msgid "Retrying"
msgstr ""
msgid "Save"
msgstr "Gem"
msgid "Save Config"
msgstr "Gem Konfiguration"
msgid "Save configuration"
msgid "Save Z"
msgstr "Gem Z"
msgid "Save configuration?"
msgstr "Gem Konfiguration"
msgid "Saved"
msgstr "Gemt"
#, python-format
msgid "Saved offset: %s"
msgstr ""
msgid "Screen DPMS"
msgstr "Skærm DPMS"
@@ -493,12 +611,18 @@ msgstr "Slicer"
msgid "Slicer Time correction (%)"
msgstr "Slicer Tidskorrektion (%)"
msgid "Slicer:"
msgstr ""
msgid "Small"
msgstr "Lille"
msgid "Sort by: "
msgstr "Sortér efter: "
msgid "Sort:"
msgstr "Sortere: "
msgid "Speed (mm/s)"
msgstr "Hastighed (mm/s)"
@@ -508,6 +632,9 @@ msgstr "Hastighed +"
msgid "Speed -"
msgstr "Hastighed -"
msgid "Speed:"
msgstr "Hastighed"
msgid "Square Corner Velocity"
msgstr "Hastighed for 90° hjørne"
@@ -526,19 +653,11 @@ msgstr "Opdaterer"
msgid "System"
msgstr "System"
msgid ""
"System\n"
"Restart"
msgstr ""
"Genstart\n"
"system"
msgid "System Restart"
msgstr "Genstart system"
msgid ""
"System\n"
"Shutdown"
msgstr ""
"Luk\n"
"system ned"
msgid "System Shutdown"
msgstr "Luk system ned"
msgid "Temp (°C)"
msgstr "Temp (°C)"
@@ -550,18 +669,24 @@ msgstr "Temperatur"
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "KlipperScreen skal genstartes for at anvende %s"
msgid "Tool"
msgstr "Ekstruder"
msgid "Total:"
msgstr "Total:"
msgid "Unknown Heater"
msgstr "Ukendt varmelegeme"
msgid "Unknown screw position"
msgstr ""
msgid "Unload"
msgstr "Tilbagetræk"
msgid "Unretract Extra Length"
msgstr ""
msgid "Unretract Speed"
msgstr ""
msgid "Up To Date"
msgstr "Up-to-Date"
@@ -586,6 +711,9 @@ msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "XY Flyt hastighed (mm/s)"
msgid "XY Speed (mm/s)"
msgstr "XY Hastighed (mm/s)"
msgid "Y+"
msgstr "Y+"
@@ -598,12 +726,15 @@ msgstr "Kalibrér Z"
msgid "Z Move Speed (mm/s)"
msgstr "Z Flyt hastighed (mm/s)"
msgid "Z Position"
msgstr "Z-position"
msgid "Z Speed (mm/s)"
msgstr "Z Hastighed (mm/s)"
msgid "Z Tilt"
msgstr "Z-tilt"
msgid "Z offset:"
msgstr ""
msgid "Z+"
msgstr "Z+"
@@ -632,8 +763,30 @@ msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
msgid "mm/s²"
msgstr "mm/s²"
#~ msgid "Bltouch found applied offset"
#~ msgstr "Bltouch fundet anvendt offset"
#~ msgid ""
#~ "Check /tmp/KlipperScreen.log for more information.\n"
#~ "Please submit an issue on GitHub for help."
#~ msgstr ""
#~ "Tjek /tmp/KlipperScreen.log for mere information.\n"
#~ "Indsend venligst et \"Issue\" på GitHub for hjælp."
#~ msgid "Probe found applied offset"
#~ msgstr "Probe fundet anvendt offset"
#~ msgid "Tool"
#~ msgstr "Ekstruder"
#~ msgid "Displayed Macros"
#~ msgstr "Viste makroer"
#~ msgid "Z Position"
#~ msgstr "Z-position"
#~ msgid "IPv4"
#~ msgstr "IPv4"
@@ -641,9 +794,6 @@ msgstr "mm/s^2"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "Z-offset"
#~ msgid "Unknown Heater "
#~ msgstr "Ukendt varmelegeme "
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"POT-Creation-Date: 2022-08-18 23:05-0300\n"
"PO-Revision-Date: 2022-03-31 10:43-0300\n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -31,9 +31,15 @@ msgstr "24h-Zeit"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "Ein FIRMWARE_RESTART kann das Problem beheben."
msgid "ADXL Not Configured"
msgstr ""
msgid "Abort"
msgstr "Abbrechen"
msgid "Acceleration:"
msgstr "Beschleunigung:"
msgid "Accept"
msgstr "OK"
@@ -43,8 +49,19 @@ msgstr "Aktionen"
msgid "Add Printer"
msgstr "Drucker hinzufügen"
msgid "Add bed mesh profile"
msgstr "Mesh-Level Profil hinzufügen"
msgid "Add profile"
msgstr ""
msgid "Apply"
msgstr ""
#, python-format
msgid "Apply %.2f offset to Endstop?"
msgstr ""
#, python-format
msgid "Apply %s%.2f offset to Probe?"
msgstr ""
msgid "Are you sure you want to run Emergency Stop?"
msgstr "Sind Sie sicher, dass Sie Not-Aus ausführen möchten?"
@@ -64,6 +81,12 @@ msgstr "Möchten Sie das System wirklich herunterfahren?"
msgid "Auto"
msgstr "Auto"
msgid "Auto-calibrate"
msgstr "Automatisch kalibrieren"
msgid "Auto-close notifications"
msgstr ""
msgid "Auto-scroll"
msgstr "Auto-scroll"
@@ -73,15 +96,24 @@ msgstr "Druckbett leveln"
msgid "Bed Mesh"
msgstr "Druckbett Mesh-Level"
msgid "Bltouch found applied offset"
msgstr "Bltouch hat angewendeten Offset gefunden"
msgid "Bed screw configuration:"
msgstr ""
msgid "Calibrate"
msgstr "Höheneinstellung"
msgid "Calibrated"
msgstr "Kalibriert"
msgid "Calibrated, save configuration to make it permanent"
msgstr "Kalibriert, Konfiguration speichern, um sie dauerhaft zu machen"
msgid "Calibrating"
msgstr ""
msgid "Calibrating..."
msgstr "Kalibrieren..."
msgid "Can't set above the maximum:"
msgstr "Kann nicht über dem Maximum eingestellt werden:"
@@ -103,12 +135,14 @@ msgstr "Es kann keine Verbindung zu Moonraker hergestellt werden"
msgid "Channel"
msgstr "Kanal"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgid "Check ADXL Wiring"
msgstr ""
msgid "Checking for updates, please wait..."
msgstr ""
msgid "Clear"
msgstr ""
"Prüfe /tmp/KlipperScreen.log für weitere Informationen.\n"
"Bitte eröffne einen Fehlerbericht auf https://git.io/JLNn4 für Hilfe."
msgid "Close"
msgstr "Schließen"
@@ -147,6 +181,9 @@ msgstr "Verringern"
msgid "Delete"
msgstr "Löschen"
msgid "Delete File?"
msgstr ""
msgid "Deselect"
msgstr "Abwählen"
@@ -156,9 +193,6 @@ msgstr "Motoren deaktivieren"
msgid "Disable XY"
msgstr "Achse XY deaktivieren"
msgid "Displayed Macros"
msgstr "Aktive Macros"
msgid "Distance (mm)"
msgstr "Entfernung (mm)"
@@ -175,6 +209,9 @@ msgstr "Fehler"
msgid "Estimated Time Method"
msgstr "Druckzeit"
msgid "Exclude Object"
msgstr ""
msgid "Extrude"
msgstr "Filament fördern"
@@ -193,35 +230,51 @@ msgstr "Lüfter"
msgid "Filament Used"
msgstr "Filamentverbrauch"
msgid "Filament total:"
msgstr "Filament insgesamt:"
msgid "Filament used:"
msgstr "Filamentverbrauch:"
msgid "Filament:"
msgstr "Filament:"
msgid "File"
msgstr "Datei"
msgid "File:"
msgstr "Datei:"
msgid "Finding ADXL"
msgstr "ADXL finden"
msgid "Fine Tuning"
msgstr "Feintuning"
msgid "Finish"
msgstr "Ziel"
msgid ""
"Firmware\n"
"Restart"
msgid "Firmware Restart"
msgstr "Firmware Neu starten"
msgid "Flow:"
msgstr ""
msgid "Flowrate:"
msgstr ""
"Firmware\n"
"Neu starten"
msgid "Font Size"
msgstr "Schriftgröße"
msgid ""
"Full\n"
"Update"
msgstr ""
"Voll\n"
"Aktualisieren"
msgid "Full Update"
msgstr "Voll Aktualisieren"
msgid "Go Back"
msgstr "Zurück"
msgid "Height:"
msgstr ""
msgid "Hidden"
msgstr "Versteckt"
@@ -231,37 +284,33 @@ msgstr "Verstecken"
msgid "Hide sensors in Temp."
msgstr "Sensoren in Temp ausblenden."
msgid "Hide temp."
msgstr ""
msgid "Home"
msgstr "Grundposition"
msgid "Home All"
msgstr ""
"Alle Achsen\n"
"zurücksetzen"
msgstr "Alle Achsen zurücksetzen"
msgid "Home X"
msgstr ""
"Achse X\n"
"zurücksetzen"
msgstr "Achse X zurücksetzen"
msgid "Home XY"
msgstr ""
"Achse XY\n"
"zurücksetzen"
msgstr "Achse XY zurücksetzen"
msgid "Home Y"
msgstr ""
"Achse Y\n"
"zurücksetzen"
msgstr "Achse Y zurücksetzen"
msgid "Home Z"
msgstr ""
"Achse Z\n"
"zurücksetzen"
msgstr "Achse Z zurücksetzen"
msgid "Homing"
msgstr "Grundposition"
msgid "Host"
msgstr ""
msgid "Hostname"
msgstr "Hostname"
@@ -277,6 +326,9 @@ msgstr "Startvorgang"
msgid "Initializing printer..."
msgstr "Drucker wird initialisiert..."
msgid "Input Shaper"
msgstr ""
msgid "Interface"
msgstr "Interface"
@@ -292,12 +344,8 @@ msgstr "Achse Y invertieren"
msgid "Invert Z"
msgstr "Achse Z invertieren"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"Klipper\n"
"Neu starten"
msgid "Klipper Restart"
msgstr "Klipper Neu starten"
msgid "Klipper has disconnected"
msgstr "Klipper nicht verbunden"
@@ -320,6 +368,9 @@ msgstr "Sprache"
msgid "Large"
msgstr "Groß"
msgid "Layer:"
msgstr ""
msgid "Left:"
msgstr "Restzeit:"
@@ -332,6 +383,9 @@ msgstr "Laden"
msgid "Lower Nozzle"
msgstr "Düse absenken"
msgid "Machine"
msgstr ""
msgid "Macro shortcut on sidebar"
msgstr "Makro Verknüpfung in Sidebar"
@@ -341,7 +395,10 @@ msgstr "Makros"
msgid "Main Menu"
msgstr "Hauptmenü"
msgid "Max Accelation"
msgid "Max"
msgstr ""
msgid "Max Acceleration"
msgstr "Max Beschleunigung"
msgid "Max Acceleration to Deceleration"
@@ -350,6 +407,15 @@ msgstr "Max Verzögerung"
msgid "Max Velocity"
msgstr "Max Geschwindigkeit"
msgid "Measure Both"
msgstr ""
msgid "Measure X"
msgstr ""
msgid "Measure Y"
msgstr ""
msgid "Medium"
msgstr "Mittel"
@@ -374,6 +440,14 @@ msgstr "Name"
msgid "Network"
msgstr "Netzwerk"
msgid "New"
msgstr "Neu"
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
msgstr ""
msgid "Nothing selected"
msgstr "Nichts ausgewählt"
@@ -392,6 +466,9 @@ msgid_plural "Packages will be updated"
msgstr[0] "Paket wird aktualisiert"
msgstr[1] "Pakete werden aktualisiert"
msgid "Part Fan"
msgstr ""
msgid "Password saved"
msgstr "Passwort gespeichert"
@@ -404,6 +481,9 @@ msgstr "Pausiert"
msgid "Perform a full upgrade?"
msgstr "Vollständiges Upgrade durchführen?"
msgid "Pins"
msgstr ""
msgid "Please recompile and flash the micro-controller."
msgstr "Please recompile and flash the micro-controller."
@@ -413,6 +493,9 @@ msgstr "Ein"
msgid "Power On Printer"
msgstr "Drucker einschalten"
msgid "Pressure Advance:"
msgstr ""
msgid "Print"
msgstr "Druck"
@@ -428,8 +511,8 @@ msgstr "Drucker Verbindungen"
msgid "Printing"
msgstr "Drucken"
msgid "Probe found applied offset"
msgstr "Probe hat angewendeten Offset gefunden"
msgid "Probe Offset"
msgstr ""
msgid "Profile Name:"
msgstr "Profilname:"
@@ -440,19 +523,18 @@ msgstr "Quad Gantry Level"
msgid "Raise Nozzle"
msgstr "Düse anheben"
# Respect the number of characters!
# english text barely fits in small screens
msgid "Recover Hard"
msgstr "Rücksetzen Hard"
# Respect the number of characters!
# english text barely fits in small screens
msgid "Recover Soft"
msgstr "Rücksetzen Soft"
msgid "Reference"
msgstr "Referenz"
msgid "Refresh"
msgstr ""
msgid "Restart"
msgstr "Neustart"
@@ -462,18 +544,40 @@ msgstr "Fortsetzen"
msgid "Retract"
msgstr "Zurückziehen"
msgid "Retraction"
msgstr "Rückzug"
msgid "Retraction Length"
msgstr "Rückzugslänge"
msgid "Retraction Speed"
msgstr "Rückzugsgeschwindigkeit"
#, python-format
msgid "Retry #%s"
msgstr "Wiederholen #%s"
msgid "Retrying"
msgstr ""
msgid "Save"
msgstr "Speichern"
msgid "Save Config"
msgstr "Einstellungen speichern"
msgid "Save configuration"
msgstr "Speichere Einstellungen"
msgid "Save Z"
msgstr "Speichern Sie Z"
msgid "Save configuration?"
msgstr "Konfiguration speichern?"
msgid "Saved"
msgstr "Gerettet"
#, python-format
msgid "Saved offset: %s"
msgstr ""
msgid "Screen DPMS"
msgstr "Bildschirm-DPMS"
@@ -512,12 +616,18 @@ msgstr "Slicer"
msgid "Slicer Time correction (%)"
msgstr "Slicer-Zeitkorrektur (%)"
msgid "Slicer:"
msgstr ""
msgid "Small"
msgstr "Klein"
msgid "Sort by: "
msgstr "Sortierung: "
msgid "Sort:"
msgstr "Sortieren: "
msgid "Speed (mm/s)"
msgstr "Geschwindigkeit (mm/s)"
@@ -527,6 +637,9 @@ msgstr "Geschwindigkeit +"
msgid "Speed -"
msgstr "Geschwindigkeit -"
msgid "Speed:"
msgstr "Geschwindigkeit:"
msgid "Square Corner Velocity"
msgstr "Eckgeschwindigkeit"
@@ -545,19 +658,11 @@ msgstr "Starte Update für"
msgid "System"
msgstr "System"
msgid ""
"System\n"
"Restart"
msgstr ""
"Drucker\n"
"Neustarten"
msgid "System Restart"
msgstr "Drucker Neustarten"
msgid ""
"System\n"
"Shutdown"
msgstr ""
"Drucker\n"
"Ausschalten"
msgid "System Shutdown"
msgstr "Drucker Ausschalten"
msgid "Temp (°C)"
msgstr "Temp (°C)"
@@ -569,18 +674,24 @@ msgstr "Temperatur"
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "Zum Übernehmen von %s benötigt Klipperscreen einen Neustart"
msgid "Tool"
msgstr "Druckkopf"
msgid "Total:"
msgstr "Gesamt:"
msgid "Unknown Heater"
msgstr "Unbekannte Heizung"
msgid "Unknown screw position"
msgstr ""
msgid "Unload"
msgstr "Entladen"
msgid "Unretract Extra Length"
msgstr ""
msgid "Unretract Speed"
msgstr ""
# Respect the number of characters
# english text barely fits in small screens
msgid "Up To Date"
@@ -607,6 +718,9 @@ msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "XY Bewegungsgeschwindigkeit (mm/s)"
msgid "XY Speed (mm/s)"
msgstr "XY Geschwindigkeit (mm/s)"
msgid "Y+"
msgstr "Y+"
@@ -619,12 +733,15 @@ msgstr "Höhe Kalibrieren"
msgid "Z Move Speed (mm/s)"
msgstr "Z Bewegungsgeschwindigkeit (mm/s)"
msgid "Z Position"
msgstr "Z-Position"
msgid "Z Speed (mm/s)"
msgstr "Z Geschwindigkeit (mm/s)"
msgid "Z Tilt"
msgstr "Z-Achse ausrichten"
msgid "Z offset:"
msgstr "Z Offset:"
msgid "Z+"
msgstr "Z+"
@@ -653,8 +770,30 @@ msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
msgid "mm/s²"
msgstr "mm/s²"
#~ msgid "Bltouch found applied offset"
#~ msgstr "Bltouch hat angewendeten Offset gefunden"
#~ msgid ""
#~ "Check /tmp/KlipperScreen.log for more information.\n"
#~ "Please submit an issue on GitHub for help."
#~ msgstr ""
#~ "Prüfe /tmp/KlipperScreen.log für weitere Informationen.\n"
#~ "Bitte eröffne einen Fehlerbericht auf https://git.io/JLNn4 für Hilfe."
#~ msgid "Probe found applied offset"
#~ msgstr "Probe hat angewendeten Offset gefunden"
#~ msgid "Tool"
#~ msgstr "Druckkopf"
#~ msgid "Displayed Macros"
#~ msgstr "Aktive Macros"
#~ msgid "Z Position"
#~ msgstr "Z-Position"
#~ msgid "IPv4"
#~ msgstr "IPv4"
@@ -662,9 +801,6 @@ msgstr "mm/s^2"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "Z Offset"
#~ msgid "Unknown Heater "
#~ msgstr "Unbekannte Heizung "
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"POT-Creation-Date: 2022-08-18 23:05-0300\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -26,9 +26,15 @@ msgstr ""
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr ""
msgid "ADXL Not Configured"
msgstr ""
msgid "Abort"
msgstr ""
msgid "Acceleration:"
msgstr ""
msgid "Accept"
msgstr ""
@@ -38,7 +44,18 @@ msgstr ""
msgid "Add Printer"
msgstr ""
msgid "Add bed mesh profile"
msgid "Add profile"
msgstr ""
msgid "Apply"
msgstr ""
#, python-format
msgid "Apply %.2f offset to Endstop?"
msgstr ""
#, python-format
msgid "Apply %s%.2f offset to Probe?"
msgstr ""
msgid "Are you sure you want to run Emergency Stop?"
@@ -59,6 +76,12 @@ msgstr ""
msgid "Auto"
msgstr ""
msgid "Auto-calibrate"
msgstr ""
msgid "Auto-close notifications"
msgstr ""
msgid "Auto-scroll"
msgstr ""
@@ -68,15 +91,24 @@ msgstr ""
msgid "Bed Mesh"
msgstr ""
msgid "Bltouch found applied offset"
msgid "Bed screw configuration:"
msgstr ""
msgid "Calibrate"
msgstr ""
msgid "Calibrated"
msgstr ""
msgid "Calibrated, save configuration to make it permanent"
msgstr ""
msgid "Calibrating"
msgstr ""
msgid "Calibrating..."
msgstr ""
msgid "Can't set above the maximum:"
msgstr ""
@@ -98,9 +130,13 @@ msgstr ""
msgid "Channel"
msgstr ""
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgid "Check ADXL Wiring"
msgstr ""
msgid "Checking for updates, please wait..."
msgstr ""
msgid "Clear"
msgstr ""
msgid "Close"
@@ -140,6 +176,9 @@ msgstr ""
msgid "Delete"
msgstr ""
msgid "Delete File?"
msgstr ""
msgid "Deselect"
msgstr ""
@@ -149,9 +188,6 @@ msgstr ""
msgid "Disable XY"
msgstr ""
msgid "Displayed Macros"
msgstr ""
msgid "Distance (mm)"
msgstr ""
@@ -168,6 +204,9 @@ msgstr ""
msgid "Estimated Time Method"
msgstr ""
msgid "Exclude Object"
msgstr ""
msgid "Extrude"
msgstr ""
@@ -186,31 +225,51 @@ 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 ""
msgid "Fine Tuning"
msgstr ""
msgid "Finish"
msgstr ""
msgid ""
"Firmware\n"
"Restart"
msgid "Firmware Restart"
msgstr ""
msgid "Flow:"
msgstr ""
msgid "Flowrate:"
msgstr ""
msgid "Font Size"
msgstr ""
msgid ""
"Full\n"
"Update"
msgid "Full Update"
msgstr ""
msgid "Go Back"
msgstr ""
msgid "Height:"
msgstr ""
msgid "Hidden"
msgstr ""
@@ -220,6 +279,9 @@ msgstr ""
msgid "Hide sensors in Temp."
msgstr ""
msgid "Hide temp."
msgstr ""
msgid "Home"
msgstr ""
@@ -241,6 +303,9 @@ msgstr ""
msgid "Homing"
msgstr ""
msgid "Host"
msgstr ""
msgid "Hostname"
msgstr ""
@@ -256,6 +321,9 @@ msgstr ""
msgid "Initializing printer..."
msgstr ""
msgid "Input Shaper"
msgstr ""
msgid "Interface"
msgstr ""
@@ -271,9 +339,7 @@ msgstr ""
msgid "Invert Z"
msgstr ""
msgid ""
"Klipper\n"
"Restart"
msgid "Klipper Restart"
msgstr ""
msgid "Klipper has disconnected"
@@ -297,6 +363,9 @@ msgstr ""
msgid "Large"
msgstr ""
msgid "Layer:"
msgstr ""
msgid "Left:"
msgstr ""
@@ -309,6 +378,9 @@ msgstr ""
msgid "Lower Nozzle"
msgstr ""
msgid "Machine"
msgstr ""
msgid "Macro shortcut on sidebar"
msgstr ""
@@ -318,7 +390,10 @@ msgstr ""
msgid "Main Menu"
msgstr ""
msgid "Max Accelation"
msgid "Max"
msgstr ""
msgid "Max Acceleration"
msgstr ""
msgid "Max Acceleration to Deceleration"
@@ -327,6 +402,15 @@ msgstr ""
msgid "Max Velocity"
msgstr ""
msgid "Measure Both"
msgstr ""
msgid "Measure X"
msgstr ""
msgid "Measure Y"
msgstr ""
msgid "Medium"
msgstr ""
@@ -351,6 +435,14 @@ msgstr ""
msgid "Network"
msgstr ""
msgid "New"
msgstr ""
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
msgstr ""
msgid "Nothing selected"
msgstr ""
@@ -369,6 +461,9 @@ msgid_plural "Packages will be updated"
msgstr[0] ""
msgstr[1] ""
msgid "Part Fan"
msgstr ""
msgid "Password saved"
msgstr ""
@@ -381,6 +476,9 @@ msgstr ""
msgid "Perform a full upgrade?"
msgstr ""
msgid "Pins"
msgstr ""
msgid "Please recompile and flash the micro-controller."
msgstr ""
@@ -390,6 +488,9 @@ msgstr ""
msgid "Power On Printer"
msgstr ""
msgid "Pressure Advance:"
msgstr ""
msgid "Print"
msgstr ""
@@ -405,7 +506,7 @@ msgstr ""
msgid "Printing"
msgstr ""
msgid "Probe found applied offset"
msgid "Probe Offset"
msgstr ""
msgid "Profile Name:"
@@ -426,6 +527,9 @@ msgstr ""
msgid "Reference"
msgstr ""
msgid "Refresh"
msgstr ""
msgid "Restart"
msgstr ""
@@ -435,17 +539,39 @@ msgstr ""
msgid "Retract"
msgstr ""
msgid "Retraction"
msgstr ""
msgid "Retraction Length"
msgstr ""
msgid "Retraction Speed"
msgstr ""
#, python-format
msgid "Retry #%s"
msgstr ""
msgid "Retrying"
msgstr ""
msgid "Save"
msgstr ""
msgid "Save Config"
msgstr ""
msgid "Save configuration"
msgid "Save Z"
msgstr ""
msgid "Save configuration?"
msgstr ""
msgid "Saved"
msgstr ""
#, python-format
msgid "Saved offset: %s"
msgstr ""
msgid "Screen DPMS"
@@ -485,12 +611,18 @@ msgstr ""
msgid "Slicer Time correction (%)"
msgstr ""
msgid "Slicer:"
msgstr ""
msgid "Small"
msgstr ""
msgid "Sort by: "
msgstr ""
msgid "Sort:"
msgstr ""
msgid "Speed (mm/s)"
msgstr ""
@@ -500,6 +632,9 @@ msgstr ""
msgid "Speed -"
msgstr ""
msgid "Speed:"
msgstr ""
msgid "Square Corner Velocity"
msgstr ""
@@ -518,14 +653,10 @@ msgstr ""
msgid "System"
msgstr ""
msgid ""
"System\n"
"Restart"
msgid "System Restart"
msgstr ""
msgid ""
"System\n"
"Shutdown"
msgid "System Shutdown"
msgstr ""
msgid "Temp (°C)"
@@ -538,18 +669,24 @@ msgstr ""
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr ""
msgid "Tool"
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 ""
@@ -574,6 +711,9 @@ msgstr ""
msgid "XY Move Speed (mm/s)"
msgstr ""
msgid "XY Speed (mm/s)"
msgstr ""
msgid "Y+"
msgstr ""
@@ -586,12 +726,15 @@ msgstr ""
msgid "Z Move Speed (mm/s)"
msgstr ""
msgid "Z Position"
msgid "Z Speed (mm/s)"
msgstr ""
msgid "Z Tilt"
msgstr ""
msgid "Z offset:"
msgstr ""
msgid "Z+"
msgstr ""
@@ -620,5 +763,5 @@ msgstr ""
msgid "mm/s"
msgstr ""
msgid "mm/s^2"
msgid "mm/s²"
msgstr ""
Binary file not shown.
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: 2022-03-31 10:46-0300\n"
"POT-Creation-Date: 2022-08-18 23:05-0300\n"
"PO-Revision-Date: 2022-08-10 12:01-0300\n"
"Last-Translator: alfrix\n"
"Language-Team: \n"
"Language: es\n"
@@ -16,7 +16,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.0.1\n"
"X-Generator: Poedit 3.1\n"
#, python-format
msgid "%s will be updated to version"
@@ -31,9 +31,15 @@ msgstr "Formato 24 Horas"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "Un FIRMWARE_RESTART puede solucionar el problema."
msgid "ADXL Not Configured"
msgstr "ADXL No Configurado"
msgid "Abort"
msgstr "Cancelar"
msgid "Acceleration:"
msgstr "Aceleración:"
msgid "Accept"
msgstr "Aceptar"
@@ -43,27 +49,44 @@ msgstr "Acciones"
msgid "Add Printer"
msgstr "Agregar impresora"
msgid "Add bed mesh profile"
msgstr "Agregar pefil de malla de cama"
msgid "Add profile"
msgstr "Agregar perfil"
msgid "Apply"
msgstr "Aplicar"
#, python-format
msgid "Apply %.2f offset to Endstop?"
msgstr "Aplicar %.2f desfase al final de carrera?"
#, python-format
msgid "Apply %s%.2f offset to Probe?"
msgstr "Aplicar %s%.2f desfase al sensor?"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "¿Parada de emergencia?"
msgid "Are you sure you wish to cancel this print?"
msgstr "Está seguro que desea cancelar esta impresión?"
msgstr "¿Está seguro que desea cancelar esta impresión?"
msgid "Are you sure you wish to disable motors?"
msgstr "¿Está seguro que desea desactivar los motores?"
msgid "Are you sure you wish to reboot the system?"
msgstr "Está seguro que desea reiniciar el sistema?"
msgstr "¿Está seguro que desea reiniciar el sistema?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "Está seguro que desea apagar el sistema?"
msgstr "¿Está seguro que desea apagar el sistema?"
msgid "Auto"
msgstr "Auto"
msgid "Auto-calibrate"
msgstr "Auto-Calibrar"
msgid "Auto-close notifications"
msgstr "Auto-cerrar notificaciones"
msgid "Auto-scroll"
msgstr "Auto-scroll"
@@ -73,15 +96,24 @@ msgstr "Nivelar cama"
msgid "Bed Mesh"
msgstr "Malla de cama"
msgid "Bltouch found applied offset"
msgstr "Encontrado Bltouch aplicado desfase"
msgid "Bed screw configuration:"
msgstr "Configuración de tornillos:"
msgid "Calibrate"
msgstr "Calibrar"
msgid "Calibrated"
msgstr "Calibrado"
msgid "Calibrated, save configuration to make it permanent"
msgstr "Calibrado, guarde su configuración para hacerlo permanente"
msgid "Calibrating"
msgstr "Calibrando"
msgid "Calibrating..."
msgstr "Calibrando..."
msgid "Can't set above the maximum:"
msgstr "Error: Valor sobre el máximo:"
@@ -103,12 +135,14 @@ msgstr "No se puede conectar a Moonraker"
msgid "Channel"
msgstr "Canal"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgstr ""
"Revise /tmp/KlipperScreen.log para mas información.\n"
"Por favor crear un 'issue' en GitHub para ser ayudado."
msgid "Check ADXL Wiring"
msgstr "Verificar cableado del ADXL"
msgid "Checking for updates, please wait..."
msgstr "Buscando actualizaciones, espere por favor..."
msgid "Clear"
msgstr "Limpiar"
msgid "Close"
msgstr "Cerrar"
@@ -147,6 +181,9 @@ msgstr "Disminuir"
msgid "Delete"
msgstr "Borrar"
msgid "Delete File?"
msgstr "¿Borrar archivo?"
msgid "Deselect"
msgstr "Deseleccionar"
@@ -156,9 +193,6 @@ msgstr "Desactivar Motores"
msgid "Disable XY"
msgstr "Desactivar XY"
msgid "Displayed Macros"
msgstr "Macros mostrados"
msgid "Distance (mm)"
msgstr "Distancia (mm)"
@@ -167,7 +201,7 @@ msgid "Do you want to recover %s?"
msgstr "Desea recuperar %s?"
msgid "Elapsed:"
msgstr "Tiempo:"
msgstr "Transcurrido:"
msgid "Error"
msgstr "Error"
@@ -175,6 +209,9 @@ msgstr "Error"
msgid "Estimated Time Method"
msgstr "Método para estimar tiempo"
msgid "Exclude Object"
msgstr "Excluir Objeto"
msgid "Extrude"
msgstr "Extruir"
@@ -193,35 +230,51 @@ msgstr "Ventilador"
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 "Archivo"
msgid "File:"
msgstr "Archivo:"
msgid "Finding ADXL"
msgstr "Buscando ADXL"
msgid "Fine Tuning"
msgstr "Ajuste Fino"
msgid "Finish"
msgstr "Cerrar"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
"Reiniciar\n"
"Firmware"
msgid "Firmware Restart"
msgstr "Reiniciar Firmware"
msgid "Flow:"
msgstr "Flujo:"
msgid "Flowrate:"
msgstr "Flujo:"
msgid "Font Size"
msgstr "Tamaño del texto"
msgid ""
"Full\n"
"Update"
msgstr ""
"Actualizar\n"
"Todo"
msgid "Full Update"
msgstr "Actualizar Todo"
msgid "Go Back"
msgstr "Volver"
msgid "Height:"
msgstr "Alto:"
msgid "Hidden"
msgstr "Oculto"
@@ -231,6 +284,9 @@ msgstr "Ocultar"
msgid "Hide sensors in Temp."
msgstr "Ocultar sensores en Temp."
msgid "Hide temp."
msgstr "Ocultar temp."
msgid "Home"
msgstr "Inicio"
@@ -252,6 +308,9 @@ msgstr "Origen Z"
msgid "Homing"
msgstr "Origen"
msgid "Host"
msgstr "Anfitrión"
msgid "Hostname"
msgstr "Hostname"
@@ -267,6 +326,9 @@ msgstr "Iniciando"
msgid "Initializing printer..."
msgstr "Iniciando Impresora..."
msgid "Input Shaper"
msgstr "Corrección de Resonancias"
msgid "Interface"
msgstr "Interfaz"
@@ -282,12 +344,8 @@ msgstr "Invertir Y"
msgid "Invert Z"
msgstr "Invertir Z"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"Reiniciar\n"
"Klipper"
msgid "Klipper Restart"
msgstr "Reiniciar Klipper"
msgid "Klipper has disconnected"
msgstr "Klipper se desconectó"
@@ -310,6 +368,9 @@ msgstr "Idioma"
msgid "Large"
msgstr "Grande"
msgid "Layer:"
msgstr "Capa:"
msgid "Left:"
msgstr "Restante:"
@@ -322,6 +383,9 @@ msgstr "Cargar"
msgid "Lower Nozzle"
msgstr "Bajar Boquilla"
msgid "Machine"
msgstr "Máquina"
msgid "Macro shortcut on sidebar"
msgstr "Atajo a Macros en el lateral"
@@ -331,8 +395,11 @@ msgstr "Macros"
msgid "Main Menu"
msgstr "Menú"
msgid "Max Accelation"
msgstr "Max. Aceleración"
msgid "Max"
msgstr "Max"
msgid "Max Acceleration"
msgstr "Aceleración Máxima"
msgid "Max Acceleration to Deceleration"
msgstr "Max. Aceleración a Desaceleración"
@@ -340,6 +407,15 @@ msgstr "Max. Aceleración a Desaceleración"
msgid "Max Velocity"
msgstr "Max. Velocidad"
msgid "Measure Both"
msgstr "Medir Ambos"
msgid "Measure X"
msgstr "Medir X"
msgid "Measure Y"
msgstr "Medir Y"
msgid "Medium"
msgstr "Medio"
@@ -364,6 +440,16 @@ msgstr "Nombre"
msgid "Network"
msgstr "Red"
msgid "New"
msgstr "Nuevo"
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
msgstr ""
"No soportado para la detección automatica, necesita configurarlo en "
"klipperscreen.conf"
msgid "Nothing selected"
msgstr "Nada seleccionado"
@@ -382,6 +468,9 @@ msgid_plural "Packages will be updated"
msgstr[0] "Paquete será actualizado"
msgstr[1] "Paquetes serán actualizados"
msgid "Part Fan"
msgstr "Ventilador de parte"
msgid "Password saved"
msgstr "Contraseña guardada"
@@ -392,7 +481,10 @@ msgid "Paused"
msgstr "Pausado"
msgid "Perform a full upgrade?"
msgstr " ¿Actualizar Todo?"
msgstr "¿Actualizar Todo?"
msgid "Pins"
msgstr "Pines"
msgid "Please recompile and flash the micro-controller."
msgstr "Por favor recompile y flashee el micro-controlador."
@@ -403,6 +495,9 @@ msgstr "Energía"
msgid "Power On Printer"
msgstr "Encender Impresora"
msgid "Pressure Advance:"
msgstr "Avance de presión:"
msgid "Print"
msgstr "Imprimir"
@@ -418,8 +513,8 @@ msgstr "Conexiones a impresoras"
msgid "Printing"
msgstr "Imprimiendo"
msgid "Probe found applied offset"
msgstr "Encontrado Probe aplicado desfase"
msgid "Probe Offset"
msgstr "Desfase del sensor"
msgid "Profile Name:"
msgstr "Nombre del perfil:"
@@ -439,6 +534,9 @@ msgstr "Recuperar Soft"
msgid "Reference"
msgstr "Referencia"
msgid "Refresh"
msgstr "Actualizar"
msgid "Restart"
msgstr "Reiniciar"
@@ -448,18 +546,40 @@ msgstr "Continuar"
msgid "Retract"
msgstr "Retraer"
msgid "Retraction"
msgstr "Retracción"
msgid "Retraction Length"
msgstr "Largo de Retracción"
msgid "Retraction Speed"
msgstr "Velocidad de Retracción"
#, python-format
msgid "Retry #%s"
msgstr "Intento #%s"
msgid "Retrying"
msgstr "Reintentando"
msgid "Save"
msgstr "Guardar"
msgid "Save Config"
msgstr "Guardar Config"
msgid "Save configuration"
msgstr "Guardar Configuración"
msgid "Save Z"
msgstr "Guardar Z"
msgid "Save configuration?"
msgstr "Guardar Configuración?"
msgid "Saved"
msgstr "Guardado"
#, python-format
msgid "Saved offset: %s"
msgstr "Desfase Guardado: %s"
msgid "Screen DPMS"
msgstr "Pantalla DPMS"
@@ -498,12 +618,18 @@ msgstr "Slicer"
msgid "Slicer Time correction (%)"
msgstr "Corrección del tiempo del Slicer (%)"
msgid "Slicer:"
msgstr "Slicer:"
msgid "Small"
msgstr "Pequeño"
msgid "Sort by: "
msgstr "Ordenar por: "
msgid "Sort:"
msgstr "Ordenar:"
msgid "Speed (mm/s)"
msgstr "Velocidad (mm/s)"
@@ -513,6 +639,9 @@ msgstr "Velocidad +"
msgid "Speed -"
msgstr "Velocidad -"
msgid "Speed:"
msgstr "Velocidad:"
msgid "Square Corner Velocity"
msgstr "Velocidad de esquina"
@@ -531,19 +660,11 @@ msgstr "Iniciando actualización de"
msgid "System"
msgstr "Sistema"
msgid ""
"System\n"
"Restart"
msgstr ""
"Reiniciar\n"
"Sistema"
msgid "System Restart"
msgstr "Reiniciar Sistema"
msgid ""
"System\n"
"Shutdown"
msgstr ""
"Apagar\n"
"Sistema"
msgid "System Shutdown"
msgstr "Apagar Sistema"
msgid "Temp (°C)"
msgstr "Temp (°C)"
@@ -555,18 +676,24 @@ msgstr "Temperatura"
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "Para aplicar %s KlipperScreen necesita reiniciarse"
msgid "Tool"
msgstr "Herrmienta"
msgid "Total:"
msgstr "Total:"
msgid "Unknown Heater"
msgstr "Calentador Desconocido"
msgid "Unknown screw position"
msgstr "Posición de tornillo desconocida"
msgid "Unload"
msgstr "Descargar"
msgid "Unretract Extra Length"
msgstr "Distancia extra al desretraer"
msgid "Unretract Speed"
msgstr "Velocidad de Desretracción"
msgid "Up To Date"
msgstr "Actualizado"
@@ -591,6 +718,9 @@ msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "Velocidad XY (mm/s)"
msgid "XY Speed (mm/s)"
msgstr "XY Velocidad (mm/s)"
msgid "Y+"
msgstr "Y+"
@@ -603,12 +733,15 @@ msgstr "Calibrar Z"
msgid "Z Move Speed (mm/s)"
msgstr "Velocidad Z (mm/s)"
msgid "Z Position"
msgstr "Posición Z"
msgid "Z Speed (mm/s)"
msgstr "Z Velocidad (mm/s)"
msgid "Z Tilt"
msgstr "Inclinación Z"
msgid "Z offset:"
msgstr "Desfase Z:"
msgid "Z+"
msgstr "Z+"
@@ -637,8 +770,30 @@ msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
msgid "mm/s²"
msgstr "mm/s²"
#~ msgid "Bltouch found applied offset"
#~ msgstr "Encontrado Bltouch aplicado desfase"
#~ msgid ""
#~ "Check /tmp/KlipperScreen.log for more information.\n"
#~ "Please submit an issue on GitHub for help."
#~ msgstr ""
#~ "Revise /tmp/KlipperScreen.log para mas información.\n"
#~ "Por favor crear un 'issue' en GitHub para ser ayudado."
#~ msgid "Probe found applied offset"
#~ msgstr "Encontrado Probe aplicado desfase"
#~ msgid "Tool"
#~ msgstr "Herrmienta"
#~ msgid "Displayed Macros"
#~ msgstr "Macros mostrados"
#~ msgid "Z Position"
#~ msgstr "Posición Z"
#~ msgid "IPv4"
#~ msgstr "IPv4"
@@ -646,9 +801,6 @@ msgstr "mm/s^2"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "Desfase Z"
#~ msgid "Unknown Heater "
#~ msgstr "Calentador Desconocido "
@@ -717,9 +869,6 @@ msgstr "mm/s^2"
#~ msgid "Fast"
#~ msgstr "Rápido"
#~ msgid "Set Speed"
#~ msgstr "Establecer"
#~ msgid "Slow"
#~ msgstr "Lento"
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"POT-Creation-Date: 2022-08-18 23:05-0300\n"
"PO-Revision-Date: 2022-03-31 10:50-0300\n"
"Last-Translator: O. Robardet\n"
"Language-Team: \n"
@@ -31,9 +31,15 @@ msgstr "Format 24 heures"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "Un FIRMWARE_RESTART peut résoudre le problème."
msgid "ADXL Not Configured"
msgstr ""
msgid "Abort"
msgstr "Annuler"
msgid "Acceleration:"
msgstr "Accélération:"
msgid "Accept"
msgstr "Accepter"
@@ -43,8 +49,19 @@ msgstr "Actions"
msgid "Add Printer"
msgstr "Ajouter une imprimante"
msgid "Add bed mesh profile"
msgstr "Ajouter un profil de maillage"
msgid "Add profile"
msgstr ""
msgid "Apply"
msgstr ""
#, python-format
msgid "Apply %.2f offset to Endstop?"
msgstr ""
#, python-format
msgid "Apply %s%.2f offset to Probe?"
msgstr ""
msgid "Are you sure you want to run Emergency Stop?"
msgstr "Êtes-vous sûr de vouloir exécuter l'arrêt d'urgence?"
@@ -64,6 +81,12 @@ msgstr "Êtes-vous sûr de vouloir arrêter le système?"
msgid "Auto"
msgstr "Auto"
msgid "Auto-calibrate"
msgstr "Calibrage automatique"
msgid "Auto-close notifications"
msgstr ""
msgid "Auto-scroll"
msgstr "Auto-scroll"
@@ -73,15 +96,24 @@ msgstr "Nivelage du plateau"
msgid "Bed Mesh"
msgstr "Maillage du plateau"
msgid "Bltouch found applied offset"
msgstr "Bltouch a trouvé le décalage appliqué"
msgid "Bed screw configuration:"
msgstr ""
msgid "Calibrate"
msgstr "Étalonner"
msgid "Calibrated"
msgstr "Calibré"
msgid "Calibrated, save configuration to make it permanent"
msgstr "Calibré, enregistrez la configuration pour la rendre permanente"
msgid "Calibrating"
msgstr ""
msgid "Calibrating..."
msgstr "Calibrage..."
msgid "Can't set above the maximum:"
msgstr "Impossible de définir au-dessus du maximum:"
@@ -103,12 +135,14 @@ msgstr "Impossible de se connecter à Moonraker"
msgid "Channel"
msgstr "Canal"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgid "Check ADXL Wiring"
msgstr ""
msgid "Checking for updates, please wait..."
msgstr ""
msgid "Clear"
msgstr ""
"Vérifiez /tmp/KlipperScreen.log pour plus d'informations.\n"
"SVP envoyez une requête sur GitHub pour obtenir de l'aide."
msgid "Close"
msgstr "Fermer"
@@ -147,6 +181,9 @@ msgstr "Diminuer"
msgid "Delete"
msgstr "Effacer"
msgid "Delete File?"
msgstr ""
msgid "Deselect"
msgstr "Désélectionner"
@@ -156,9 +193,6 @@ msgstr "Désactiver les moteurs"
msgid "Disable XY"
msgstr "Désactiver XY"
msgid "Displayed Macros"
msgstr "Macros affichées"
msgid "Distance (mm)"
msgstr "Distance (mm)"
@@ -175,6 +209,9 @@ msgstr "Erreur"
msgid "Estimated Time Method"
msgstr "Méthode d'estimation du temps"
msgid "Exclude Object"
msgstr ""
msgid "Extrude"
msgstr "Extruder"
@@ -193,35 +230,51 @@ msgstr "Ventilateur"
msgid "Filament Used"
msgstr "Filament utilisé"
msgid "Filament total:"
msgstr "Total de filaments:"
msgid "Filament used:"
msgstr "Filament utilisé:"
msgid "Filament:"
msgstr "Filament:"
msgid "File"
msgstr "Fichier"
msgid "File:"
msgstr "Fichier:"
msgid "Finding ADXL"
msgstr ""
msgid "Fine Tuning"
msgstr "Réglages fins"
msgid "Finish"
msgstr "Fin"
msgid ""
"Firmware\n"
"Restart"
msgid "Firmware Restart"
msgstr "Micrologiciel Redémarrage"
msgid "Flow:"
msgstr ""
msgid "Flowrate:"
msgstr ""
"Micrologiciel\n"
"Redémarrage"
msgid "Font Size"
msgstr "Taille de police"
msgid ""
"Full\n"
"Update"
msgstr ""
"Plein\n"
"Mettre à jour"
msgid "Full Update"
msgstr "Plein Mettre à jour"
msgid "Go Back"
msgstr "Retourner"
msgid "Height:"
msgstr ""
msgid "Hidden"
msgstr "Caché"
@@ -231,6 +284,9 @@ msgstr "Cacher"
msgid "Hide sensors in Temp."
msgstr "Masquer les capteurs dans Temp."
msgid "Hide temp."
msgstr ""
msgid "Home"
msgstr "Accueil"
@@ -252,6 +308,9 @@ msgstr "Origine Z"
msgid "Homing"
msgstr "Origine"
msgid "Host"
msgstr ""
msgid "Hostname"
msgstr "Hostname"
@@ -267,6 +326,9 @@ msgstr "Initialisation"
msgid "Initializing printer..."
msgstr "Démarrage de l'imprimante..."
msgid "Input Shaper"
msgstr ""
msgid "Interface"
msgstr "Interface"
@@ -282,12 +344,8 @@ msgstr "Inverser Y"
msgid "Invert Z"
msgstr "Inverser Z"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"Klipper\n"
"Redémarrage"
msgid "Klipper Restart"
msgstr "Klipper Redémarrage"
msgid "Klipper has disconnected"
msgstr "Klipper s'est déconnecté"
@@ -310,6 +368,9 @@ msgstr "Langue"
msgid "Large"
msgstr "Grand"
msgid "Layer:"
msgstr ""
msgid "Left:"
msgstr "Restant:"
@@ -322,6 +383,9 @@ msgstr "Charger"
msgid "Lower Nozzle"
msgstr "Rapprocher la buse"
msgid "Machine"
msgstr ""
msgid "Macro shortcut on sidebar"
msgstr "Raccourci macro sur la barre latérale"
@@ -331,8 +395,11 @@ msgstr "Macros"
msgid "Main Menu"
msgstr "Menu principal"
msgid "Max Accelation"
msgstr "Accélération maximale"
msgid "Max"
msgstr ""
msgid "Max Acceleration"
msgstr "Accélération Max"
msgid "Max Acceleration to Deceleration"
msgstr "Accélération maximale à décélération"
@@ -340,6 +407,15 @@ msgstr "Accélération maximale à décélération"
msgid "Max Velocity"
msgstr "Vélocité maximale"
msgid "Measure Both"
msgstr ""
msgid "Measure X"
msgstr ""
msgid "Measure Y"
msgstr ""
msgid "Medium"
msgstr "Moyen"
@@ -364,6 +440,14 @@ msgstr "Nom"
msgid "Network"
msgstr "Réseau"
msgid "New"
msgstr "Nouveau"
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
msgstr ""
msgid "Nothing selected"
msgstr "Rien de sélectionné"
@@ -382,6 +466,9 @@ msgid_plural "Packages will be updated"
msgstr[0] "Le paquet sera mis à jour"
msgstr[1] "Forfaits seront mis à jour"
msgid "Part Fan"
msgstr ""
msgid "Password saved"
msgstr "Mot de passe enregistré"
@@ -394,6 +481,9 @@ msgstr "En pause"
msgid "Perform a full upgrade?"
msgstr "Effectuer une mise à jour complète ?"
msgid "Pins"
msgstr ""
msgid "Please recompile and flash the micro-controller."
msgstr "Veuillez recompiler et flasher le microcontrôleur."
@@ -403,6 +493,9 @@ msgstr "Alimentation"
msgid "Power On Printer"
msgstr "Allumer l'imprimante"
msgid "Pressure Advance:"
msgstr ""
msgid "Print"
msgstr "Imprimer"
@@ -418,8 +511,8 @@ msgstr "Connexions aux imprimantes"
msgid "Printing"
msgstr "Impression"
msgid "Probe found applied offset"
msgstr "Probe a trouvé le décalage appliqué"
msgid "Probe Offset"
msgstr ""
msgid "Profile Name:"
msgstr "Nom de profil:"
@@ -439,6 +532,9 @@ msgstr "Récupérer \"--soft\""
msgid "Reference"
msgstr "Référence"
msgid "Refresh"
msgstr ""
msgid "Restart"
msgstr "Redémarrer"
@@ -448,18 +544,40 @@ msgstr "Reprendre"
msgid "Retract"
msgstr "Rétracter"
msgid "Retraction"
msgstr "Rétraction"
msgid "Retraction Length"
msgstr "Longueur de rétraction"
msgid "Retraction Speed"
msgstr "Vitesse de rétraction"
#, python-format
msgid "Retry #%s"
msgstr "Réessayez #%s"
msgid "Retrying"
msgstr ""
msgid "Save"
msgstr "Enregistrer"
msgid "Save Config"
msgstr "Enregistrer la config"
msgid "Save configuration"
msgstr "Enregistrer la configuration"
msgid "Save Z"
msgstr "Enregistrer Z"
msgid "Save configuration?"
msgstr "Enregistrer la configuration?"
msgid "Saved"
msgstr "Enregistré"
#, python-format
msgid "Saved offset: %s"
msgstr ""
msgid "Screen DPMS"
msgstr "Écran DPMS"
@@ -498,12 +616,18 @@ msgstr "Trancheur"
msgid "Slicer Time correction (%)"
msgstr "Correction du temps de trancheuse (%)"
msgid "Slicer:"
msgstr ""
msgid "Small"
msgstr "Petit"
msgid "Sort by: "
msgstr "Trier par: "
msgid "Sort:"
msgstr "Trier:"
msgid "Speed (mm/s)"
msgstr "Vitesse de déplacement (mm/s)"
@@ -513,6 +637,9 @@ msgstr "Vitesse +"
msgid "Speed -"
msgstr "Vitesse -"
msgid "Speed:"
msgstr "Vitesse:"
msgid "Square Corner Velocity"
msgstr "Vélocité des angles droits"
@@ -531,16 +658,10 @@ msgstr "Démarrage de la mise à jour pour"
msgid "System"
msgstr "Système"
msgid ""
"System\n"
"Restart"
msgstr ""
"Redémarrer\n"
"le système"
msgid "System Restart"
msgstr "Redémarrer le système"
msgid ""
"System\n"
"Shutdown"
msgid "System Shutdown"
msgstr "Arrêt du Système"
msgid "Temp (°C)"
@@ -553,25 +674,30 @@ msgstr "Température"
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "Pour appliquer %s KlipperScreen doit être redémarré"
msgid "Tool"
msgstr "Outil"
msgid "Total:"
msgstr "Total:"
msgid "Unknown Heater"
msgstr "Chauffage inconnu"
msgid "Unknown screw position"
msgstr ""
msgid "Unload"
msgstr "Décharger"
msgid "Unretract Extra Length"
msgstr ""
msgid "Unretract Speed"
msgstr ""
msgid "Up To Date"
msgstr "À jour"
msgid "Update"
msgstr "Mise à jour"
#, fuzzy
msgid "Updating"
msgstr "Mise à jour"
@@ -590,6 +716,9 @@ msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "Vitesse de déplacement XY (mm/s)"
msgid "XY Speed (mm/s)"
msgstr "Vitesse XY (mm/s)"
msgid "Y+"
msgstr "Y+"
@@ -602,12 +731,15 @@ msgstr "Calibration Z"
msgid "Z Move Speed (mm/s)"
msgstr "Vitesse de déplacement Z (mm/s)"
msgid "Z Position"
msgstr "Position Z"
msgid "Z Speed (mm/s)"
msgstr "Vitesse Z (mm/s)"
msgid "Z Tilt"
msgstr "Z Tilt"
msgid "Z offset:"
msgstr "Décalage Z"
msgid "Z+"
msgstr "Z+"
@@ -636,8 +768,30 @@ msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
msgid "mm/s²"
msgstr "mm/s²"
#~ msgid "Bltouch found applied offset"
#~ msgstr "Bltouch a trouvé le décalage appliqué"
#~ msgid ""
#~ "Check /tmp/KlipperScreen.log for more information.\n"
#~ "Please submit an issue on GitHub for help."
#~ msgstr ""
#~ "Vérifiez /tmp/KlipperScreen.log pour plus d'informations.\n"
#~ "SVP envoyez une requête sur GitHub pour obtenir de l'aide."
#~ msgid "Probe found applied offset"
#~ msgstr "Probe a trouvé le décalage appliqué"
#~ msgid "Tool"
#~ msgstr "Outil"
#~ msgid "Displayed Macros"
#~ msgstr "Macros affichées"
#~ msgid "Z Position"
#~ msgstr "Position Z"
#~ msgid "IPv4"
#~ msgstr "IPv4"
@@ -645,9 +799,6 @@ msgstr "mm/s^2"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "Décalage Z"
#~ msgid "Unknown Heater "
#~ msgstr "Chauffage inconnu "
@@ -716,9 +867,6 @@ msgstr "mm/s^2"
#~ msgid "Fast"
#~ msgstr "Rapide"
#~ msgid "Set Speed"
#~ msgstr "Définir"
#~ msgid "Slow"
#~ msgstr "Lent"
@@ -749,9 +897,6 @@ msgstr "mm/s^2"
#~ msgid "Fan -"
#~ msgstr "Ventilateur-"
#~ msgid "Speed"
#~ msgstr "Vitesse"
#~ msgid "System Information"
#~ msgstr "Info systeme"
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Klipperscreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"POT-Creation-Date: 2022-08-18 23:05-0300\n"
"PO-Revision-Date: 2022-03-31 10:54-0300\n"
"Last-Translator: Emanuel Sharvit <manu7irl@gmail.com>\n"
"Language-Team: \n"
@@ -33,9 +33,15 @@ msgstr "זמן 24 שעות"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "FIRMWARE_RESTART עשוי לפתור את הבעיה."
msgid "ADXL Not Configured"
msgstr ""
msgid "Abort"
msgstr "בטל"
msgid "Acceleration:"
msgstr ""
msgid "Accept"
msgstr "אשר"
@@ -45,8 +51,19 @@ msgstr "פעולות"
msgid "Add Printer"
msgstr "הוסף מדפסת"
msgid "Add bed mesh profile"
msgstr "הוסף פרופיל רשת למיטה"
msgid "Add profile"
msgstr ""
msgid "Apply"
msgstr ""
#, python-format
msgid "Apply %.2f offset to Endstop?"
msgstr ""
#, python-format
msgid "Apply %s%.2f offset to Probe?"
msgstr ""
msgid "Are you sure you want to run Emergency Stop?"
msgstr ""
@@ -67,6 +84,12 @@ msgstr "האם אתה בטוח שברצונך לסגור את המערכת?"
msgid "Auto"
msgstr "אוטומטי"
msgid "Auto-calibrate"
msgstr ""
msgid "Auto-close notifications"
msgstr ""
msgid "Auto-scroll"
msgstr "גלילה אוטומטית"
@@ -76,15 +99,24 @@ msgstr "פילוס מיטה"
msgid "Bed Mesh"
msgstr "מיפוי מיטה"
msgid "Bltouch found applied offset"
msgstr "Bltouch נמצא היסט מוחל"
msgid "Bed screw configuration:"
msgstr ""
msgid "Calibrate"
msgstr "לְדַרֵג"
msgid "Calibrated"
msgstr ""
msgid "Calibrated, save configuration to make it permanent"
msgstr "מכויל, שמור את התצורה כדי שהיא תהיה קבועה"
msgid "Calibrating"
msgstr ""
msgid "Calibrating..."
msgstr ""
msgid "Can't set above the maximum:"
msgstr "לא ניתן להגדיר מעל המקסימום:"
@@ -106,12 +138,14 @@ msgstr "לא ניתן להתחבר ל-Moonraker"
msgid "Channel"
msgstr "עָרוּץ"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgid "Check ADXL Wiring"
msgstr ""
msgid "Checking for updates, please wait..."
msgstr ""
msgid "Clear"
msgstr ""
"בדוק KlipperScreen.log, בתיקית tmp ליותר פרטים.\n"
"אנא שלח דוח תקלה ב- GITHUB, לעזרה."
msgid "Close"
msgstr "סגור"
@@ -150,6 +184,9 @@ msgstr "לְהַקְטִין"
msgid "Delete"
msgstr "לִמְחוֹק"
msgid "Delete File?"
msgstr ""
msgid "Deselect"
msgstr "בטל את הבחירה"
@@ -159,9 +196,6 @@ msgstr "השבת מנועים"
msgid "Disable XY"
msgstr "השבת את XY"
msgid "Displayed Macros"
msgstr "מוצגים מאקרו"
msgid "Distance (mm)"
msgstr "מרחק (מ\"מ)"
@@ -178,6 +212,9 @@ msgstr "שְׁגִיאָה"
msgid "Estimated Time Method"
msgstr "שיטת זמן משוערת"
msgid "Exclude Object"
msgstr ""
msgid "Extrude"
msgstr "אקסטרוזיה"
@@ -196,28 +233,45 @@ 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 ""
msgid "Fine Tuning"
msgstr "כוונון עדין"
msgid "Finish"
msgstr "סיים"
msgid ""
"Firmware\n"
"Restart"
msgid "Firmware Restart"
msgstr ""
"קושחה\n"
"איתחול"
msgid "Flow:"
msgstr ""
msgid "Flowrate:"
msgstr ""
msgid "Font Size"
msgstr "גודל טקסט"
msgid ""
"Full\n"
"Update"
msgid "Full Update"
msgstr ""
"מלא\n"
"עדכון"
@@ -225,6 +279,9 @@ msgstr ""
msgid "Go Back"
msgstr "חזרה"
msgid "Height:"
msgstr ""
msgid "Hidden"
msgstr "מוּסתָר"
@@ -234,6 +291,9 @@ msgstr "להתחבא"
msgid "Hide sensors in Temp."
msgstr "הסתר חיישנים בטמפ'."
msgid "Hide temp."
msgstr ""
msgid "Home"
msgstr "איפוס"
@@ -255,6 +315,9 @@ msgstr "איפוס Z"
msgid "Homing"
msgstr "איפוס צירים"
msgid "Host"
msgstr ""
msgid "Hostname"
msgstr "Hostname"
@@ -270,6 +333,9 @@ msgstr "מאתחל"
msgid "Initializing printer..."
msgstr "מאתחל מדפסת..."
msgid "Input Shaper"
msgstr ""
msgid "Interface"
msgstr "מִמְשָׁק"
@@ -285,9 +351,7 @@ msgstr "הפוך את Y"
msgid "Invert Z"
msgstr "הפוך את Z"
msgid ""
"Klipper\n"
"Restart"
msgid "Klipper Restart"
msgstr ""
"קליפר\n"
"איתחול"
@@ -313,6 +377,9 @@ msgstr "שפה"
msgid "Large"
msgstr "גָדוֹל"
msgid "Layer:"
msgstr ""
msgid "Left:"
msgstr "זמן שנותר:"
@@ -325,6 +392,9 @@ msgstr "לִטעוֹן"
msgid "Lower Nozzle"
msgstr "הנמך דיזה"
msgid "Machine"
msgstr ""
msgid "Macro shortcut on sidebar"
msgstr "קיצור מקרו בסרגל הצד"
@@ -334,8 +404,11 @@ msgstr "מקרואים"
msgid "Main Menu"
msgstr "תפריט ראשי"
msgid "Max Accelation"
msgstr "האצה מרבית"
msgid "Max"
msgstr ""
msgid "Max Acceleration"
msgstr ""
msgid "Max Acceleration to Deceleration"
msgstr "האצה מרבית להאטה"
@@ -343,6 +416,15 @@ msgstr "האצה מרבית להאטה"
msgid "Max Velocity"
msgstr "מהירות מרבית"
msgid "Measure Both"
msgstr ""
msgid "Measure X"
msgstr ""
msgid "Measure Y"
msgstr ""
msgid "Medium"
msgstr "ממוצע"
@@ -367,6 +449,14 @@ msgstr "שֵׁם"
msgid "Network"
msgstr "רשת"
msgid "New"
msgstr ""
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
msgstr ""
msgid "Nothing selected"
msgstr "שום דבר לא נבחר"
@@ -387,6 +477,9 @@ msgstr[1] "חבילות יעודכנו"
msgstr[2] "חבילות יעודכנו"
msgstr[3] "חבילות יעודכנו"
msgid "Part Fan"
msgstr ""
msgid "Password saved"
msgstr "הסיסמה נשמרה"
@@ -399,6 +492,9 @@ msgstr "מושהה"
msgid "Perform a full upgrade?"
msgstr "לבצע שדרוג מלא?"
msgid "Pins"
msgstr ""
msgid "Please recompile and flash the micro-controller."
msgstr "אנא הידור מחדש והבזק את המיקרו-בקר."
@@ -408,6 +504,9 @@ msgstr "הפעלה"
msgid "Power On Printer"
msgstr "הפעל מדפסת"
msgid "Pressure Advance:"
msgstr ""
msgid "Print"
msgstr "הדפס"
@@ -423,8 +522,8 @@ msgstr "חיבורי מדפסת"
msgid "Printing"
msgstr "מדפיס"
msgid "Probe found applied offset"
msgstr "Probe נמצא היסט מוחל"
msgid "Probe Offset"
msgstr ""
msgid "Profile Name:"
msgstr "שם פרופיל:"
@@ -444,6 +543,9 @@ msgstr "לְהַחלִים Soft"
msgid "Reference"
msgstr "התייחסות"
msgid "Refresh"
msgstr ""
msgid "Restart"
msgstr "אתחל"
@@ -453,18 +555,40 @@ msgstr "המשך"
msgid "Retract"
msgstr "שיחול לאחור"
msgid "Retraction"
msgstr ""
msgid "Retraction Length"
msgstr ""
msgid "Retraction Speed"
msgstr ""
#, python-format
msgid "Retry #%s"
msgstr "נסה שוב #%s"
msgid "Retrying"
msgstr ""
msgid "Save"
msgstr "להציל"
msgid "Save Config"
msgstr "שמור קונפיג"
msgid "Save configuration"
msgstr "שמור תצורה"
msgid "Save Z"
msgstr ""
msgid "Save configuration?"
msgstr ""
msgid "Saved"
msgstr ""
#, python-format
msgid "Saved offset: %s"
msgstr ""
msgid "Screen DPMS"
msgstr "DPMS מסך"
@@ -503,12 +627,18 @@ msgstr "Slicer"
msgid "Slicer Time correction (%)"
msgstr "תיקון זמן פריסה (%)"
msgid "Slicer:"
msgstr ""
msgid "Small"
msgstr "קָטָן"
msgid "Sort by: "
msgstr "מיין לפי: "
msgid "Sort:"
msgstr ""
msgid "Speed (mm/s)"
msgstr "מהירות (מ\"מ/שניות)"
@@ -518,6 +648,9 @@ msgstr "מהירות +"
msgid "Speed -"
msgstr "מהירות -"
msgid "Speed:"
msgstr ""
msgid "Square Corner Velocity"
msgstr "מהירות פינה מרובעת"
@@ -536,16 +669,12 @@ msgstr "מתחיל עדכון עבור"
msgid "System"
msgstr "מערכת"
msgid ""
"System\n"
"Restart"
msgid "System Restart"
msgstr ""
"מערכת\n"
"אתחול"
msgid ""
"System\n"
"Shutdown"
msgid "System Shutdown"
msgstr ""
"מערכת\n"
"לכבות"
@@ -560,18 +689,24 @@ msgstr "טמפרטורה"
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "כדי ליישם %s צריך להפעיל מחדש את KlipperScreen"
msgid "Tool"
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 "עדכני"
@@ -596,6 +731,9 @@ msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "מהירות תנועה XY (מ\"מ/שנייה)"
msgid "XY Speed (mm/s)"
msgstr ""
msgid "Y+"
msgstr "Y+"
@@ -608,12 +746,15 @@ msgstr "כיול Z"
msgid "Z Move Speed (mm/s)"
msgstr "מהירות תנועה Z (מ\"מ/שניות)"
msgid "Z Position"
msgstr "מיקום Z"
msgid "Z Speed (mm/s)"
msgstr ""
msgid "Z Tilt"
msgstr "הטיה Z"
msgid "Z offset:"
msgstr ""
msgid "Z+"
msgstr "Z+"
@@ -646,8 +787,30 @@ msgstr "מ''מ"
msgid "mm/s"
msgstr "מ\"מ/ש"
msgid "mm/s^2"
msgstr "mm/s^2"
msgid "mm/s²"
msgstr "mm/s²"
#~ msgid "Bltouch found applied offset"
#~ msgstr "Bltouch נמצא היסט מוחל"
#~ msgid ""
#~ "Check /tmp/KlipperScreen.log for more information.\n"
#~ "Please submit an issue on GitHub for help."
#~ msgstr ""
#~ "בדוק KlipperScreen.log, בתיקית tmp ליותר פרטים.\n"
#~ "אנא שלח דוח תקלה ב- GITHUB, לעזרה."
#~ msgid "Probe found applied offset"
#~ msgstr "Probe נמצא היסט מוחל"
#~ msgid "Tool"
#~ msgstr "כלי"
#~ msgid "Displayed Macros"
#~ msgstr "מוצגים מאקרו"
#~ msgid "Z Position"
#~ msgstr "מיקום Z"
#~ msgid "IPv4"
#~ msgstr "IPv4"
@@ -655,9 +818,6 @@ msgstr "mm/s^2"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "הפרז גובה Z"
#~ msgid "Unknown Heater "
#~ msgstr "מחמם לא ידוע "
@@ -720,9 +880,6 @@ msgstr "mm/s^2"
#~ msgid "Fast"
#~ msgstr "מהיר"
#~ msgid "Set Speed"
#~ msgstr "קבע מהירות"
#~ msgid "Slow"
#~ msgstr "האט"
@@ -753,9 +910,6 @@ msgstr "mm/s^2"
#~ msgid "Fan -"
#~ msgstr "מאוורר -"
#~ msgid "Speed"
#~ msgstr "מהירות"
#~ msgid "System Information"
#~ msgstr "מידע אודות המערכת"
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"POT-Creation-Date: 2022-09-11 11:38-0300\n"
"PO-Revision-Date: \n"
"Last-Translator: AntoszHUN\n"
"Language-Team: \n"
@@ -26,9 +26,15 @@ msgstr "24 Órás Idő"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "A FIRMWARE_RESTART javíthatja a problémát."
msgid "ADXL Not Configured"
msgstr "ADXL nincs konfigurálva"
msgid "Abort"
msgstr "Megszakít"
msgid "Acceleration:"
msgstr "Gyorsulás:"
msgid "Accept"
msgstr "Elfogad"
@@ -38,8 +44,19 @@ msgstr "Műveletek"
msgid "Add Printer"
msgstr "Nyomtató hozzáadása"
msgid "Add bed mesh profile"
msgstr "Ágyháló profil hozzáadása"
msgid "Add profile"
msgstr "Profil hozzáadása"
msgid "Apply"
msgstr "Alkalmaz"
#, python-format
msgid "Apply %.2f offset to Endstop?"
msgstr "Alkalmaz %.2f eltolást az Endstopra?"
#, python-format
msgid "Apply %s%.2f offset to Probe?"
msgstr "Alkalmaz %s%.2f eltolást a szondára?"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "Biztosan Vészleállítást végez?"
@@ -59,6 +76,12 @@ msgstr "Biztos, hogy le szeretné állítani a rendszert?"
msgid "Auto"
msgstr "Auto"
msgid "Auto-calibrate"
msgstr "Automatikus kalibrálás"
msgid "Auto-close notifications"
msgstr "Értesítések automatikus bezárása"
msgid "Auto-scroll"
msgstr "Automatikus görgetés"
@@ -68,15 +91,24 @@ msgstr "Ágyszint"
msgid "Bed Mesh"
msgstr "Ágyháló"
msgid "Bltouch found applied offset"
msgstr "A Bltouch alkalmazott eltolást talált"
msgid "Bed screw configuration:"
msgstr "Az ágycsavar konfigurációja:"
msgid "Calibrate"
msgstr "Kalibrálás"
msgid "Calibrated"
msgstr "Kalibrálva"
msgid "Calibrated, save configuration to make it permanent"
msgstr "Kalibrálva! Mentse el a konfigurációt, hogy az állandó legyen"
msgid "Calibrating"
msgstr "Kalibrálás"
msgid "Calibrating..."
msgstr "Kalibrálás..."
msgid "Can't set above the maximum:"
msgstr "Nem állítható a maximum fölé:"
@@ -98,12 +130,14 @@ msgstr "Nem lehet csatlakozni a Moonrakerhez"
msgid "Channel"
msgstr "Csatorna"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgstr ""
"Nézd a /tmp/KlipperScreen.log további információért.\n"
"Segítségért küldj be egy hibajegyet a GitHubon."
msgid "Check ADXL Wiring"
msgstr "Ellenőrizze az ADXL kábelezést"
msgid "Checking for updates, please wait..."
msgstr "Frissítések keresése, kérjük, várjon..."
msgid "Clear"
msgstr "Tiszta"
msgid "Close"
msgstr "Bezárás"
@@ -142,6 +176,9 @@ msgstr "Csökkent"
msgid "Delete"
msgstr "Töröl"
msgid "Delete File?"
msgstr "Fájl törlése?"
msgid "Deselect"
msgstr "Kijelölés törlése"
@@ -151,9 +188,6 @@ msgstr "Motorok letiltása"
msgid "Disable XY"
msgstr "XY Letiltása"
msgid "Displayed Macros"
msgstr "Megjelenített makrók"
msgid "Distance (mm)"
msgstr "Távolság (mm)"
@@ -170,6 +204,9 @@ msgstr "Hiba"
msgid "Estimated Time Method"
msgstr "Becsült idő módszer"
msgid "Exclude Object"
msgstr "Objektum kizárása"
msgid "Extrude"
msgstr "Száladagolás"
@@ -188,34 +225,50 @@ msgstr "Hűtés"
msgid "Filament Used"
msgstr "Használt nyomtatószál"
msgid "Filament total:"
msgstr "Összes nyomtatószál:"
msgid "Filament used:"
msgstr "Használt nyomtatószál:"
msgid "Filament:"
msgstr "Nyomtatószál:"
msgid "File"
msgstr "Fájl"
msgid "File:"
msgstr "Fájl:"
msgid "Finding ADXL"
msgstr "ADXL keresése"
msgid "Fine Tuning"
msgstr "Finomhangolás"
msgid "Finish"
msgstr "Befejezve"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
"Firmware\n"
"Újrakezd"
msgid "Firmware Restart"
msgstr "Firmware Újraindítása"
msgid "Flow:"
msgstr "Folyam:"
msgid "Flowrate:"
msgstr "Áramlás:"
msgid "Font Size"
msgstr "Betűméret"
msgid ""
"Full\n"
"Update"
msgstr ""
"Teljes\n"
"Frissítés"
msgid "Full Update"
msgstr "Teljes Frissítés"
msgid "Go Back"
msgstr "Menj vissza"
msgstr "Visszalépés"
msgid "Height:"
msgstr "Magasság:"
msgid "Hidden"
msgstr "Rejtett"
@@ -226,6 +279,9 @@ msgstr "Elrejt"
msgid "Hide sensors in Temp."
msgstr "Szenzorok elrejtése Hőfok."
msgid "Hide temp."
msgstr "Hőfok elrejtése"
msgid "Home"
msgstr "Kezdőpontok"
@@ -247,6 +303,9 @@ msgstr "Z kezdőpont"
msgid "Homing"
msgstr "Kezdőpont"
msgid "Host"
msgstr "Gazda"
msgid "Hostname"
msgstr "Gazdanév"
@@ -262,6 +321,9 @@ msgstr "Inicializálás"
msgid "Initializing printer..."
msgstr "Nyomtató inicializálása..."
msgid "Input Shaper"
msgstr "Bemeneti alakító"
msgid "Interface"
msgstr "Felület"
@@ -277,12 +339,8 @@ msgstr "Fordított Y"
msgid "Invert Z"
msgstr "Fordított Z"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"Klipper\n"
"Újrakezd"
msgid "Klipper Restart"
msgstr "Klipper Újraindítása"
msgid "Klipper has disconnected"
msgstr "Klipper szétkapcsolt"
@@ -305,6 +363,9 @@ msgstr "Nyelv"
msgid "Large"
msgstr "Nagy"
msgid "Layer:"
msgstr "Réteg:"
msgid "Left:"
msgstr "Bal:"
@@ -317,6 +378,9 @@ msgstr "Betöltés"
msgid "Lower Nozzle"
msgstr "Fúvóka le"
msgid "Machine"
msgstr "Gép"
msgid "Macro shortcut on sidebar"
msgstr "Makró parancsikon az oldalsávon"
@@ -326,7 +390,10 @@ msgstr "Makrók"
msgid "Main Menu"
msgstr "Főmenü"
msgid "Max Accelation"
msgid "Max"
msgstr "Max"
msgid "Max Acceleration"
msgstr "Max gyorsulás"
msgid "Max Acceleration to Deceleration"
@@ -335,6 +402,15 @@ msgstr "Lassulás max gyorsulása"
msgid "Max Velocity"
msgstr "Max sebesség"
msgid "Measure Both"
msgstr "Mindkettő mérése"
msgid "Measure X"
msgstr "X mérése"
msgid "Measure Y"
msgstr "Y mérése"
msgid "Medium"
msgstr "Közepes"
@@ -359,6 +435,16 @@ msgstr "Név"
msgid "Network"
msgstr "Hálózat"
msgid "New"
msgstr "Új"
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
msgstr ""
"Az automatikus felismerés nem támogatott, a klipperscreenben kell beállítani."
"conf"
msgid "Nothing selected"
msgstr "Nincs kiválasztva"
@@ -377,6 +463,9 @@ msgid_plural "Packages will be updated"
msgstr[0] "A csomag frissítésre kerül"
msgstr[1] "Csomag frissül"
msgid "Part Fan"
msgstr "Tárgyhűtő"
msgid "Password saved"
msgstr "Jelszó mentve"
@@ -389,6 +478,9 @@ msgstr "Szüneteltetve"
msgid "Perform a full upgrade?"
msgstr "Teljes frissítést hajt végre?"
msgid "Pins"
msgstr "Kimenetek"
msgid "Please recompile and flash the micro-controller."
msgstr "Fordítsa újra és frissítse a mikrovezérlőt."
@@ -398,6 +490,9 @@ msgstr "Bekapcsolás"
msgid "Power On Printer"
msgstr "Nyomtató bekapcsolása"
msgid "Pressure Advance:"
msgstr "Nyomás előtolás:"
msgid "Print"
msgstr "Nyomtatás"
@@ -413,8 +508,8 @@ msgstr "Nyomtató csatlakozások"
msgid "Printing"
msgstr "Nyomtatás"
msgid "Probe found applied offset"
msgstr "A szonda alkalmazott eltolást talált"
msgid "Probe Offset"
msgstr "Szonda eltolás"
msgid "Profile Name:"
msgstr "Profil név:"
@@ -434,6 +529,9 @@ msgstr "Program visszaállítása"
msgid "Reference"
msgstr "Referencia"
msgid "Refresh"
msgstr "Frissítés"
msgid "Restart"
msgstr "Újraindítás"
@@ -443,18 +541,40 @@ msgstr "Folytat"
msgid "Retract"
msgstr "Visszahúz"
msgid "Retraction"
msgstr "Visszahúzás"
msgid "Retraction Length"
msgstr "Visszahúzási hossz"
msgid "Retraction Speed"
msgstr "Visszahúzási sebesség"
#, python-format
msgid "Retry #%s"
msgstr "Újra #%s"
msgid "Retrying"
msgstr "Újrapróbálkozás"
msgid "Save"
msgstr "Mentés"
msgid "Save Config"
msgstr "Konfiguráció mentése"
msgid "Save configuration"
msgstr "Konfiguráció mentése"
msgid "Save Z"
msgstr "Z mentése"
msgid "Save configuration?"
msgstr "Menti a konfigurációt?"
msgid "Saved"
msgstr "Mentve"
#, python-format
msgid "Saved offset: %s"
msgstr "Eltolás mentve: %s"
msgid "Screen DPMS"
msgstr "Képernyő DPMS"
@@ -491,7 +611,10 @@ msgid "Slicer"
msgstr "Szeletelő"
msgid "Slicer Time correction (%)"
msgstr "Szeletelő idő korrekciója (%)"
msgstr "Szeletelő idő javítása (%)"
msgid "Slicer:"
msgstr "Szeletelő:"
msgid "Small"
msgstr "Kicsi"
@@ -499,6 +622,9 @@ msgstr "Kicsi"
msgid "Sort by: "
msgstr "Sorrend: "
msgid "Sort:"
msgstr "Fajta:"
msgid "Speed (mm/s)"
msgstr "Sebesség (mm/s)"
@@ -508,6 +634,9 @@ msgstr "Sebesség +"
msgid "Speed -"
msgstr "Sebesség -"
msgid "Speed:"
msgstr "Sebesség:"
msgid "Square Corner Velocity"
msgstr "Sebesség a sarkokban"
@@ -526,19 +655,11 @@ msgstr "Frissítés indítása"
msgid "System"
msgstr "Rendszer"
msgid ""
"System\n"
"Restart"
msgstr ""
"Rendszer\n"
"Újraindítása"
msgid "System Restart"
msgstr "Rendszer Újraindítása"
msgid ""
"System\n"
"Shutdown"
msgstr ""
"Rendszer\n"
"Leállitás"
msgid "System Shutdown"
msgstr "Rendszer Leállitás"
msgid "Temp (°C)"
msgstr "Hőmérséklet (°C)"
@@ -550,25 +671,30 @@ msgstr "Hőfok"
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "A %s KlipperScreen alkalmazásához újra kell indítani"
msgid "Tool"
msgstr "Eszköz"
msgid "Total:"
msgstr "Teljes:"
msgid "Unknown Heater"
msgstr "Ismeretlen melegítő"
msgid "Unknown screw position"
msgstr "Ismeretlen csavarhelyzet"
msgid "Unload"
msgstr "Kiadás"
msgid "Unretract Extra Length"
msgstr "Extra hossz visszahúzása"
msgid "Unretract Speed"
msgstr "Visszahúzási sebesség"
msgid "Up To Date"
msgstr "Naprakész"
msgid "Update"
msgstr "Frissítés"
msgstr "Frissít"
#, fuzzy
msgid "Updating"
msgstr "Frissítés"
@@ -587,6 +713,9 @@ msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "XY Mozgási seb. (mm/s)"
msgid "XY Speed (mm/s)"
msgstr "XY Sebesség (mm/s)"
msgid "Y+"
msgstr "Y+"
@@ -599,11 +728,14 @@ msgstr "Z Kalibrálás"
msgid "Z Move Speed (mm/s)"
msgstr "Z Mozgási seb. (mm/s)"
msgid "Z Position"
msgstr "Z Pozíció"
msgid "Z Speed (mm/s)"
msgstr "Z Sebesség (mm/s)"
msgid "Z Tilt"
msgstr "Z Dönt"
msgstr "Z Dőlés"
msgid "Z offset:"
msgstr "Z eltolás:"
msgid "Z+"
msgstr "Z+"
@@ -613,8 +745,8 @@ msgstr "Z-"
msgid "commit"
msgid_plural "commits"
msgstr[0] "változás"
msgstr[1] "változás"
msgstr[0] "ajánlás"
msgstr[1] "ajánlások"
msgid "dBm"
msgstr "dBm"
@@ -622,7 +754,7 @@ msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "óra"
msgstr[1] "óra"
msgstr[1] "órák"
msgid "minutes"
msgstr "perc"
@@ -633,43 +765,18 @@ msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
msgid "mm/s²"
msgstr "mm/s²"
#~ msgid "IPv4"
#~ msgstr "IPv4"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "Z Eltolás"
#~ msgid "Unknown Heater "
#~ msgstr "Ismeretlen melegítő "
#~ msgid "Disconnect"
#~ msgstr "Leválasztás"
#~ msgid "Duration Only"
#~ msgstr "Csak időtartam"
#~ msgid "Klipper Version"
#~ msgstr "Klipper verzió"
#~ msgid "Bltouch found applied offset"
#~ msgstr "A Bltouch alkalmazott eltolást talált"
#~ msgid ""
#~ "Klipper has encountered an error with the micro-controller.\n"
#~ "Please recompile and flash."
#~ "Check /tmp/KlipperScreen.log for more information.\n"
#~ "Please submit an issue on GitHub for help."
#~ msgstr ""
#~ "A Klipper hibát észlelt a mikrovezérlővel kapcsolatban.\n"
#~ "Fordítsa újra és töltse fel."
#~ "Nézd a /tmp/KlipperScreen.log további információért.\n"
#~ "Segítségért küldj be egy hibajegyet a GitHubon."
#~ msgid ""
#~ "Klipper has encountered an error.\n"
#~ "Issue a FIRMWARE_RESTART to attempt fixing the issue."
#~ msgstr ""
#~ "A Klipper hibát észlelt.\n"
#~ "A probléma megoldásához küldjön ki egy FIRMWARE_RESTART-ot."
#~ msgid "KlipperScreen Version"
#~ msgstr "KlipperScreen verzió"
#~ msgid "Probe found applied offset"
#~ msgstr "A szonda alkalmazott eltolást talált"
Binary file not shown.
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"POT-Creation-Date: 2022-08-18 23:05-0300\n"
"PO-Revision-Date: \n"
"Last-Translator: pappicio\n"
"Language-Team: \n"
@@ -26,9 +26,15 @@ msgstr "24H"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "Un FIRMWARE_RESTART potrebbe risolvere il problema."
msgid "ADXL Not Configured"
msgstr ""
msgid "Abort"
msgstr "Annulla"
msgid "Acceleration:"
msgstr ""
msgid "Accept"
msgstr "Accetta"
@@ -38,8 +44,19 @@ msgstr "Azioni"
msgid "Add Printer"
msgstr "Aggiungi Stampante"
msgid "Add bed mesh profile"
msgstr "Aggiungi Profilo Mesh"
msgid "Add profile"
msgstr ""
msgid "Apply"
msgstr ""
#, python-format
msgid "Apply %.2f offset to Endstop?"
msgstr ""
#, python-format
msgid "Apply %s%.2f offset to Probe?"
msgstr ""
msgid "Are you sure you want to run Emergency Stop?"
msgstr "Sei sicuro di voler eseguire l'arresto di emergenza?"
@@ -59,6 +76,12 @@ msgstr "Spegnere il Sistema?"
msgid "Auto"
msgstr "Auto"
msgid "Auto-calibrate"
msgstr ""
msgid "Auto-close notifications"
msgstr ""
msgid "Auto-scroll"
msgstr "Auto-scroll"
@@ -68,15 +91,24 @@ msgstr "Livello del letto"
msgid "Bed Mesh"
msgstr "Rete letto"
msgid "Bltouch found applied offset"
msgstr "Bltouch ha trovato l'offset applicato"
msgid "Bed screw configuration:"
msgstr ""
msgid "Calibrate"
msgstr "Calibra"
msgid "Calibrated"
msgstr ""
msgid "Calibrated, save configuration to make it permanent"
msgstr "Calibrato, salva la configurazione per renderla permanente"
msgid "Calibrating"
msgstr ""
msgid "Calibrating..."
msgstr ""
msgid "Can't set above the maximum:"
msgstr "Impossibile impostare al di sopra del massimo:"
@@ -98,12 +130,14 @@ msgstr "Impossibile connettersi a Moonraker"
msgid "Channel"
msgstr "Canale"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgid "Check ADXL Wiring"
msgstr ""
msgid "Checking for updates, please wait..."
msgstr ""
msgid "Clear"
msgstr ""
"Verifica /tmp/KlipperScreen.log per info.\n"
"Aggiungi un problema sul GitHub."
msgid "Close"
msgstr "Chiudi"
@@ -142,6 +176,9 @@ msgstr "Diminuisci"
msgid "Delete"
msgstr "Elimina"
msgid "Delete File?"
msgstr ""
msgid "Deselect"
msgstr "Deseleziona"
@@ -151,9 +188,6 @@ msgstr "Disab. Motori"
msgid "Disable XY"
msgstr "Disab. XY"
msgid "Displayed Macros"
msgstr "Mostra/Nascondi Macros"
msgid "Distance (mm)"
msgstr "Distanza (mm)"
@@ -170,6 +204,9 @@ msgstr "Errore"
msgid "Estimated Time Method"
msgstr "Metodo Tempo stimato"
msgid "Exclude Object"
msgstr ""
msgid "Extrude"
msgstr "Estrudi"
@@ -188,35 +225,51 @@ msgstr "Ventola"
msgid "Filament Used"
msgstr "Filamento Usato"
msgid "Filament total:"
msgstr ""
msgid "Filament used:"
msgstr ""
msgid "Filament:"
msgstr ""
msgid "File"
msgstr "File"
msgid "File:"
msgstr ""
msgid "Finding ADXL"
msgstr ""
msgid "Fine Tuning"
msgstr "Messa a Punto"
msgid "Finish"
msgstr "Finito"
msgid ""
"Firmware\n"
"Restart"
msgid "Firmware Restart"
msgstr "Firmware Riavvio"
msgid "Flow:"
msgstr ""
msgid "Flowrate:"
msgstr ""
"Firmware\n"
"Riavvio"
msgid "Font Size"
msgstr "Dimensione del testo"
msgid ""
"Full\n"
"Update"
msgstr ""
"Completo\n"
"Aggiornare"
msgid "Full Update"
msgstr "Completo Aggiornare"
msgid "Go Back"
msgstr "Indietro"
msgid "Height:"
msgstr ""
msgid "Hidden"
msgstr "Nascosto"
@@ -226,6 +279,9 @@ msgstr "Nascondere"
msgid "Hide sensors in Temp."
msgstr "Nascondi sensori in Temp."
msgid "Hide temp."
msgstr ""
msgid "Home"
msgstr "Inizio"
@@ -247,6 +303,9 @@ msgstr "Home Z"
msgid "Homing"
msgstr "Homing"
msgid "Host"
msgstr ""
msgid "Hostname"
msgstr "Hostname"
@@ -262,6 +321,9 @@ msgstr "Inizializzo"
msgid "Initializing printer..."
msgstr "Inizializzo stampante..."
msgid "Input Shaper"
msgstr ""
msgid "Interface"
msgstr "Interfaccia"
@@ -277,12 +339,8 @@ msgstr "Inverti Y"
msgid "Invert Z"
msgstr "Inverti Z"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"Klipper\n"
"Riavvio"
msgid "Klipper Restart"
msgstr "Klipper Riavvio"
msgid "Klipper has disconnected"
msgstr "Klipper è disconnesso"
@@ -305,6 +363,9 @@ msgstr "Lingua"
msgid "Large"
msgstr "Grande"
msgid "Layer:"
msgstr ""
msgid "Left:"
msgstr "Restante:"
@@ -317,6 +378,9 @@ msgstr "Carica"
msgid "Lower Nozzle"
msgstr "Abbassa ugello"
msgid "Machine"
msgstr ""
msgid "Macro shortcut on sidebar"
msgstr "Macros sulla barra laterale"
@@ -326,8 +390,11 @@ msgstr "Macros"
msgid "Main Menu"
msgstr "Menu Principale"
msgid "Max Accelation"
msgstr "Acceleraz. Massima"
msgid "Max"
msgstr ""
msgid "Max Acceleration"
msgstr ""
msgid "Max Acceleration to Deceleration"
msgstr "Da acceleraz. Massima a Deceleraz. Massima"
@@ -335,6 +402,15 @@ msgstr "Da acceleraz. Massima a Deceleraz. Massima"
msgid "Max Velocity"
msgstr "Velocità Massima"
msgid "Measure Both"
msgstr ""
msgid "Measure X"
msgstr ""
msgid "Measure Y"
msgstr ""
msgid "Medium"
msgstr "Medio"
@@ -359,6 +435,14 @@ msgstr "Nome"
msgid "Network"
msgstr "Rete"
msgid "New"
msgstr ""
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
msgstr ""
msgid "Nothing selected"
msgstr "Niente selezionato"
@@ -377,6 +461,9 @@ msgid_plural "Packages will be updated"
msgstr[0] "Pacchetto verrà aggiornato"
msgstr[1] "I pacchetti verranno aggiornati"
msgid "Part Fan"
msgstr ""
msgid "Password saved"
msgstr "Password salvata"
@@ -389,6 +476,9 @@ msgstr "In Pausa"
msgid "Perform a full upgrade?"
msgstr "Eseguire un aggiornamento completo?"
msgid "Pins"
msgstr ""
msgid "Please recompile and flash the micro-controller."
msgstr "Si prega di ricompilare e flashare il microcontrollore."
@@ -398,6 +488,9 @@ msgstr "Power"
msgid "Power On Printer"
msgstr "Accendi Stampante"
msgid "Pressure Advance:"
msgstr ""
msgid "Print"
msgstr "Stampa"
@@ -413,8 +506,8 @@ msgstr "Connessioni Stampante"
msgid "Printing"
msgstr "In Stampa"
msgid "Probe found applied offset"
msgstr "Probe ha trovato l'offset applicato"
msgid "Probe Offset"
msgstr ""
msgid "Profile Name:"
msgstr "Nome Profilo:"
@@ -434,6 +527,9 @@ msgstr "Recuperare Soft"
msgid "Reference"
msgstr "Riferimento"
msgid "Refresh"
msgstr ""
msgid "Restart"
msgstr "Riavvia"
@@ -443,18 +539,40 @@ msgstr "Riprendi"
msgid "Retract"
msgstr "Ritrai"
msgid "Retraction"
msgstr ""
msgid "Retraction Length"
msgstr ""
msgid "Retraction Speed"
msgstr ""
#, python-format
msgid "Retry #%s"
msgstr "Riprova #%s"
msgid "Retrying"
msgstr ""
msgid "Save"
msgstr "Salva"
msgid "Save Config"
msgstr "Salva Config"
msgid "Save configuration"
msgstr "Salva configurazione"
msgid "Save Z"
msgstr ""
msgid "Save configuration?"
msgstr ""
msgid "Saved"
msgstr ""
#, python-format
msgid "Saved offset: %s"
msgstr ""
msgid "Screen DPMS"
msgstr "Schermo DPMS"
@@ -493,12 +611,18 @@ msgstr "Slicer"
msgid "Slicer Time correction (%)"
msgstr "Affettatrice Correzione del tempo (%)"
msgid "Slicer:"
msgstr ""
msgid "Small"
msgstr "Piccola"
msgid "Sort by: "
msgstr "Ordine: "
msgid "Sort:"
msgstr ""
msgid "Speed (mm/s)"
msgstr "Velocità (mm/s)"
@@ -508,6 +632,9 @@ msgstr "Velocità+"
msgid "Speed -"
msgstr "Velocità-"
msgid "Speed:"
msgstr ""
msgid "Square Corner Velocity"
msgstr "Velocità Square Corner"
@@ -526,19 +653,11 @@ msgstr "Avvio aggiornamento per"
msgid "System"
msgstr "Sistema"
msgid ""
"System\n"
"Restart"
msgstr ""
"Riavvia\n"
"Sistema"
msgid "System Restart"
msgstr "Riavvia Sistema"
msgid ""
"System\n"
"Shutdown"
msgstr ""
"Spegni\n"
"Sistema"
msgid "System Shutdown"
msgstr "Spegni Sistema"
msgid "Temp (°C)"
msgstr "Temp (°C)"
@@ -550,18 +669,24 @@ msgstr "Temperatura"
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "Riavvia KlipperScreen per applicare %s"
msgid "Tool"
msgstr "Strumenti"
msgid "Total:"
msgstr "Totale:"
msgid "Unknown Heater"
msgstr "Riscaldatore sconosciuto"
msgid "Unknown screw position"
msgstr ""
msgid "Unload"
msgstr "Scaricare"
msgid "Unretract Extra Length"
msgstr ""
msgid "Unretract Speed"
msgstr ""
msgid "Up To Date"
msgstr "Aggiornato"
@@ -586,6 +711,9 @@ msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "Velocità di spostamento XY (mm/s)"
msgid "XY Speed (mm/s)"
msgstr ""
msgid "Y+"
msgstr "Y+"
@@ -598,12 +726,15 @@ msgstr "Calibra Z"
msgid "Z Move Speed (mm/s)"
msgstr "Velocità di spostamento Z (mm/s)"
msgid "Z Position"
msgstr "Posizione Z"
msgid "Z Speed (mm/s)"
msgstr ""
msgid "Z Tilt"
msgstr "Z Tilt"
msgid "Z offset:"
msgstr ""
msgid "Z+"
msgstr "Z+"
@@ -632,8 +763,30 @@ msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
msgid "mm/s²"
msgstr "mm/s²"
#~ msgid "Bltouch found applied offset"
#~ msgstr "Bltouch ha trovato l'offset applicato"
#~ msgid ""
#~ "Check /tmp/KlipperScreen.log for more information.\n"
#~ "Please submit an issue on GitHub for help."
#~ msgstr ""
#~ "Verifica /tmp/KlipperScreen.log per info.\n"
#~ "Aggiungi un problema sul GitHub."
#~ msgid "Probe found applied offset"
#~ msgstr "Probe ha trovato l'offset applicato"
#~ msgid "Tool"
#~ msgstr "Strumenti"
#~ msgid "Displayed Macros"
#~ msgstr "Mostra/Nascondi Macros"
#~ msgid "Z Position"
#~ msgstr "Posizione Z"
#~ msgid "IPv4"
#~ msgstr "IPv4"
@@ -641,9 +794,6 @@ msgstr "mm/s^2"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "Offset Z"
#~ msgid "Unknown Heater "
#~ msgstr "Riscaldatore sconosciuto "
+16 -20
View File
@@ -69,12 +69,6 @@
</key>
</row>
<row>
<key obey-caps='true'>
<default display="Caps" action="modifier:caps" />
<shifted display="Caps" action="modifier:caps" />
<mod1 display="@" />
<mod2 display="£" />
</key>
<key obey-caps='true'>
<default display="a" />
<shifted display="A" />
@@ -129,10 +123,16 @@
<mod1 display="/" />
<mod2 display="\" />
</key>
<key obey-caps='true'>
<default display="ñ" />
<shifted display="Ñ" />
<mod1 display="@" />
<mod2 display="£" />
</key>
</row>
<row>
<key obey-caps='true'>
<default display="↑" action="modifier:shift" />
<key obey-caps='true' fill="true">
<default display="Shift" action="modifier:shift" />
</key>
<key obey-caps='true'>
<default display="z" />
@@ -162,7 +162,7 @@
<default display="b" />
<shifted display="B" />
<mod1 display=";" />
<mod2 display="✓" />
<mod2 display="¿" />
</key>
<key obey-caps='true'>
<default display="n" />
@@ -177,31 +177,27 @@
<mod2 display="]" />
</key>
<key obey-caps='true'>
<default display="⌫" action="backspace" />
<default display="&lt;x" action="backspace" />
</key>
</row>
<row>
<key>
<default display="?123" action="modifier:mod1" />
<key width="2000" fill="false">
<default display="123" action="modifier:mod1" />
</key>
<key>
<key width="2000" fill="false">
<default display="=\&lt;" action="modifier:mod2" />
</key>
<key>
<key fill="false">
<default display="," />
<mod2 display="&lt;" />
</key>
<key width="6000" fill="true">
<key width="3000" fill="true">
<default display=" " action="space" />
</key>
<key>
<key fill="false">
<default display="." />
<mod2 display="&gt;" />
</key>
<key width="1000">
<!-- <default display="◀┛" action="return"/> -->
<default display="◀┛" action="return"/>
</key>
</row>
</layout>
@@ -0,0 +1,786 @@
msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-08-18 23:05-0300\n"
"PO-Revision-Date: \n"
"Last-Translator: NSteven\n"
"Language-Team: NSteven\n"
"Language: ko_KR\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.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 "가속도계 설정이 없습니다"
msgid "Abort"
msgstr "취소"
msgid "Acceleration:"
msgstr "가속도:"
msgid "Accept"
msgstr "확인"
msgid "Actions"
msgstr "툴 헤드 제어"
msgid "Add Printer"
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 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 "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 "문래커에 연결할 수 없음"
msgid "Channel"
msgstr "채널"
msgid "Check ADXL Wiring"
msgstr "가속도계 배선을 확인해 주세요"
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"
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 "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 "가속도계 찾는 중.."
msgid "Fine Tuning"
msgstr "미세 조정"
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"
msgstr "홈"
msgid "Home All"
msgstr "전체 홈"
msgid "Home X"
msgstr "X축 홈"
msgid "Home XY"
msgstr "XY축 홈"
msgid "Home Y"
msgstr "Y축 홈"
msgid "Home Z"
msgstr "Z축 홈"
msgid "Homing"
msgstr "툴 헤드 위치 초기화"
msgid "Host"
msgstr ""
msgid "Hostname"
msgstr "호스트 이름"
msgid "Icon Theme"
msgstr "아이콘 테마"
msgid "Increase"
msgstr "높이기"
msgid "Initializing"
msgstr "초기화 중.."
msgid "Initializing printer..."
msgstr "프린터 초기화 중.."
msgid "Input Shaper"
msgstr "인풋 셰이퍼"
msgid "Interface"
msgstr "인터페이스"
msgid "Invalid"
msgstr "존재하지 않음"
msgid "Invert X"
msgstr "X축 반전"
msgid "Invert Y"
msgstr "Y축 반전"
msgid "Invert Z"
msgstr "Z축 반전"
msgid "Klipper Restart"
msgstr "클리퍼 재시작"
msgid "Klipper has disconnected"
msgstr "클리퍼와 연결이 끊어졌습니다"
msgid "Klipper has encountered an error."
msgstr "클리퍼에 오류가 발생했습니다"
msgid "Klipper has shutdown"
msgstr "클리퍼가 종료되었습니다"
msgid "Klipper is attempting to start"
msgstr "클리퍼 시작하는 중"
msgid "Klipper will reboot"
msgstr "클리퍼를 다시 시작합니다"
msgid "Language"
msgstr "언어"
msgid "Large"
msgstr "크게"
msgid "Layer:"
msgstr "레이어:"
msgid "Left:"
msgstr "남음:"
msgid "Limits"
msgstr "가속도 설정"
msgid "Load"
msgstr "필라 넣기"
msgid "Lower Nozzle"
msgstr "노즐 낮춤"
msgid "Machine"
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 "Measure Both"
msgstr "XY축 모두 측정"
msgid "Measure X"
msgstr "X축 측정"
msgid "Measure Y"
msgstr "Y축 측정"
msgid "Medium"
msgstr "중간"
msgid "Menu"
msgstr "메뉴"
msgid "Modified"
msgstr "수정됨"
msgid "Moonraker: connected"
msgstr "문래커: 연결됨"
msgid "Move"
msgstr "툴 헤드 이동"
msgid "Move Distance (mm)"
msgstr "이동 거리 (mm)"
msgid "Name"
msgstr "이름"
msgid "Network"
msgstr "네트워크"
msgid "New"
msgstr "신규"
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
msgstr ""
msgid "Nothing selected"
msgstr "아무것도 선택하지 않ㅇ"
msgid "Off"
msgstr "끄기"
#, python-format
msgid "Outdated by %d"
msgstr "%d 보다 오래됨"
msgid "PSK for"
msgstr "PSK 키 값(비밀번호)"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "패키지가 업데이트 됩니다"
msgid "Part Fan"
msgstr ""
msgid "Password saved"
msgstr "비밀번호 저장됨"
msgid "Pause"
msgstr "일시정지"
msgid "Paused"
msgstr "일시정지됨"
msgid "Perform a full upgrade?"
msgstr "전체 업그레이드를 실행합니까?"
msgid "Pins"
msgstr ""
msgid "Please recompile and flash the micro-controller."
msgstr "MCU 펌웨어를 다시 컴파일 한 다음 플래싱 해주세요"
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 Connections"
msgstr "프린터 연결"
msgid "Printing"
msgstr "출력중"
msgid "Probe Offset"
msgstr "프로브 오프셋"
msgid "Profile Name:"
msgstr "프로파일 이름:"
msgid "Quad Gantry Level"
msgstr "쿼드 갠트리 레벨"
msgid "Raise Nozzle"
msgstr "노즐 높임"
msgid "Recover Hard"
msgstr "강화 복구 모드"
msgid "Recover Soft"
msgstr "일반 복구 모드"
msgid "Reference"
msgstr "참조"
msgid "Refresh"
msgstr ""
msgid "Restart"
msgstr "재시작"
msgid "Resume"
msgstr "재개"
msgid "Retract"
msgstr "퇴출"
msgid "Retraction"
msgstr "필라 퇴출"
msgid "Retraction Length"
msgstr "퇴추 길이"
msgid "Retraction Speed"
msgstr "퇴출 속도"
#, python-format
msgid "Retry #%s"
msgstr "재시도 #%s"
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 "저장된 옵세: %s"
msgid "Screen DPMS"
msgstr "화면 DPMS"
msgid "Screen Power Off Time"
msgstr "화면 절전 시간"
msgid "Screws Adjust"
msgstr "베드 스크류 조정"
msgid "Select"
msgstr "선택"
msgid "Send"
msgstr "보내기"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "전원 켜기 신호 송신 ㅈ: %s"
msgid "Set Temp"
msgstr "온도 설정"
msgid "Settings"
msgstr "설정"
msgid "Show"
msgstr "보기"
msgid "Size"
msgstr "크기"
msgid "Slicer"
msgstr "슬라이서"
msgid "Slicer Time correction (%)"
msgstr "슬라이서 시간 보정(%)"
msgid "Slicer:"
msgstr "슬라이서:"
msgid "Small"
msgstr "작은"
msgid "Sort by: "
msgstr "분류 기준: "
msgid "Sort:"
msgstr "종류:"
msgid "Speed (mm/s)"
msgstr "속도 (mm/s)"
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 "온도 제어"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "%s을(를) 적용하려면 클리퍼 스크린을 다시 시작해야 합니다"
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 "View Mesh"
msgstr "메쉬 프로파일 보기"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "XY 이동 속도 (mm/s)"
msgid "XY Speed (mm/s)"
msgstr "XY 속도 (mm/s)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate"
msgstr "Z 옵셋 교정"
msgid "Z Move Speed (mm/s)"
msgstr "Z 이동 속도 (mm/s)"
msgid "Z Speed (mm/s)"
msgstr "Z 속도 (mm/s)"
msgid "Z Tilt"
msgstr "Z 기울기"
msgid "Z offset:"
msgstr "Z 옵셋:"
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit"
msgid_plural "commits"
msgstr[0] "커밋"
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "시간"
msgid "minutes"
msgstr "분"
msgid "mm"
msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s²"
msgstr "mm/s²"
#~ msgid "Bltouch found applied offset"
#~ msgstr "Bltouch가 적용된 오프셋"
#~ msgid ""
#~ "Check /tmp/KlipperScreen.log for more information.\n"
#~ "Please submit an issue on GitHub for help."
#~ msgstr ""
#~ "자세한 내용은 /tmp/KlipperScreen.log를 참조하십시오.\n"
#~ "GitHub에 현재 발생한 이슈를 제출하여 도움을 요청해 주세요"
#~ msgid "Probe found applied offset"
#~ msgstr "프로브가 오프셋을 찾았습니다"
#~ msgid "Tool"
#~ msgstr "툴"
#~ msgid "Displayed Macros"
#~ msgstr "표시할 매크로"
#~ msgid "Z Position"
#~ msgstr "Z 위치"
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"POT-Creation-Date: 2022-08-18 23:05-0300\n"
"PO-Revision-Date: 2022-03-31 11:06-0300\n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -32,9 +32,15 @@ msgstr "Zegar 24-godzinny"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "FIRMWARE_RESTART może rozwiązać problem."
msgid "ADXL Not Configured"
msgstr ""
msgid "Abort"
msgstr "Odwołaj"
msgid "Acceleration:"
msgstr ""
msgid "Accept"
msgstr "Akceptuj"
@@ -44,8 +50,19 @@ msgstr "Akcje"
msgid "Add Printer"
msgstr "Dodaj drukarkę"
msgid "Add bed mesh profile"
msgstr "Dodaj profil siatki stołu"
msgid "Add profile"
msgstr ""
msgid "Apply"
msgstr ""
#, python-format
msgid "Apply %.2f offset to Endstop?"
msgstr ""
#, python-format
msgid "Apply %s%.2f offset to Probe?"
msgstr ""
msgid "Are you sure you want to run Emergency Stop?"
msgstr "Czy na pewno chcesz Awaryjnie Zatrzymać?"
@@ -65,6 +82,12 @@ msgstr "Czy na pewno chcesz wyłączyć system?"
msgid "Auto"
msgstr "Automatyczny"
msgid "Auto-calibrate"
msgstr ""
msgid "Auto-close notifications"
msgstr ""
msgid "Auto-scroll"
msgstr "Auto-scroll"
@@ -74,15 +97,24 @@ msgstr "Poziom stołu"
msgid "Bed Mesh"
msgstr "Poziom siatki stołu"
msgid "Bltouch found applied offset"
msgstr "Bltouch znalazł zastosowane przesunięcie"
msgid "Bed screw configuration:"
msgstr ""
msgid "Calibrate"
msgstr "Kalibracja"
msgid "Calibrated"
msgstr ""
msgid "Calibrated, save configuration to make it permanent"
msgstr "Skalibrowano, zapisz konfigurację aby została na stałe"
msgid "Calibrating"
msgstr ""
msgid "Calibrating..."
msgstr ""
msgid "Can't set above the maximum:"
msgstr "Nie można ustawić powyżej maksymum:"
@@ -104,12 +136,14 @@ msgstr "Nie można połączyć się z Moonrakerem"
msgid "Channel"
msgstr "Kanał"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgid "Check ADXL Wiring"
msgstr ""
msgid "Checking for updates, please wait..."
msgstr ""
msgid "Clear"
msgstr ""
"Sprawdź /tmp/KlipperScreen.log aby uzyskać więcej informacji.\n"
"Proszę zgłosić usterkę na GitHub by uzyskać pomoc."
msgid "Close"
msgstr "Zamknij"
@@ -148,6 +182,9 @@ msgstr "Obniż"
msgid "Delete"
msgstr "Skasuj"
msgid "Delete File?"
msgstr ""
msgid "Deselect"
msgstr "Odznacz"
@@ -157,9 +194,6 @@ msgstr "Wyłącz Silniki"
msgid "Disable XY"
msgstr "Odłącz XY"
msgid "Displayed Macros"
msgstr "Wyświetlone Makra"
msgid "Distance (mm)"
msgstr "Dystans (mm)"
@@ -176,6 +210,9 @@ msgstr "Błąd"
msgid "Estimated Time Method"
msgstr "Sposób Oszacowania Czasu"
msgid "Exclude Object"
msgstr ""
msgid "Extrude"
msgstr "Extruduj"
@@ -194,34 +231,51 @@ msgstr "Wentylator"
msgid "Filament Used"
msgstr "Filament w Użytku"
msgid "Filament total:"
msgstr ""
msgid "Filament used:"
msgstr ""
msgid "Filament:"
msgstr ""
msgid "File"
msgstr "Plik"
msgid "File:"
msgstr ""
msgid "Finding ADXL"
msgstr ""
msgid "Fine Tuning"
msgstr "Regulacja Precyzyjna"
msgid "Finish"
msgstr "Zakończ"
#, fuzzy
msgid ""
"Firmware\n"
"Restart"
msgstr "Firmware Restart"
msgid "Firmware Restart"
msgstr ""
msgid "Flow:"
msgstr ""
msgid "Flowrate:"
msgstr ""
msgid "Font Size"
msgstr "Rozmiar trzcionki"
msgid ""
"Full\n"
"Update"
msgstr ""
"Pełny\n"
"Aktualizacja"
msgid "Full Update"
msgstr "Pełny Aktualizacja"
msgid "Go Back"
msgstr "Powróć"
msgid "Height:"
msgstr ""
msgid "Hidden"
msgstr "Ukryty"
@@ -231,6 +285,9 @@ msgstr "Schowaj"
msgid "Hide sensors in Temp."
msgstr "Ukryj czujniki w Temp."
msgid "Hide temp."
msgstr ""
msgid "Home"
msgstr "Baza"
@@ -252,6 +309,9 @@ msgstr "Baza Z"
msgid "Homing"
msgstr "Bazowanie"
msgid "Host"
msgstr ""
msgid "Hostname"
msgstr "Nazwa hosta"
@@ -267,6 +327,9 @@ msgstr "Startowanie"
msgid "Initializing printer..."
msgstr "Drukarka Startuje..."
msgid "Input Shaper"
msgstr ""
msgid "Interface"
msgstr "Interfejs"
@@ -282,11 +345,8 @@ msgstr "Odwróć Y"
msgid "Invert Z"
msgstr "Odwróć Z"
#, fuzzy
msgid ""
"Klipper\n"
"Restart"
msgstr "Restart Klippera"
msgid "Klipper Restart"
msgstr ""
msgid "Klipper has disconnected"
msgstr "Klipper się rozłączył"
@@ -309,6 +369,9 @@ msgstr "Język"
msgid "Large"
msgstr "Duży"
msgid "Layer:"
msgstr ""
msgid "Left:"
msgstr "Lewo:"
@@ -321,6 +384,9 @@ msgstr "Ładuj"
msgid "Lower Nozzle"
msgstr "Obniż dyszę"
msgid "Machine"
msgstr ""
msgid "Macro shortcut on sidebar"
msgstr "Skrót do makr na pasku bocznym"
@@ -330,8 +396,11 @@ msgstr "Makro"
msgid "Main Menu"
msgstr "Główne Menu"
msgid "Max Accelation"
msgstr "Maks akceleracja"
msgid "Max"
msgstr ""
msgid "Max Acceleration"
msgstr ""
msgid "Max Acceleration to Deceleration"
msgstr "Maks Przyśpieszenie i Opóźnienie"
@@ -339,6 +408,15 @@ msgstr "Maks Przyśpieszenie i Opóźnienie"
msgid "Max Velocity"
msgstr "Maks Prędkość"
msgid "Measure Both"
msgstr ""
msgid "Measure X"
msgstr ""
msgid "Measure Y"
msgstr ""
msgid "Medium"
msgstr "Średni"
@@ -363,6 +441,14 @@ msgstr "Nazwa"
msgid "Network"
msgstr "Sieć"
msgid "New"
msgstr ""
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
msgstr ""
msgid "Nothing selected"
msgstr "Nic nie wybrano"
@@ -382,6 +468,9 @@ msgstr[0] "Pakiet zostanie zaktualizowany"
msgstr[1] "Pakiety zostaną zaktualizowane"
msgstr[2] "Pakiety zostaną zaktualizowane"
msgid "Part Fan"
msgstr ""
msgid "Password saved"
msgstr "Hasło zostało zapisane"
@@ -394,6 +483,9 @@ msgstr "Zapauzowane"
msgid "Perform a full upgrade?"
msgstr "Przeprowadzić pełną aktualizację?"
msgid "Pins"
msgstr ""
msgid "Please recompile and flash the micro-controller."
msgstr "Proszę przekompilować i sflashować mikrokontroler."
@@ -403,6 +495,9 @@ msgstr "Zasilanie"
msgid "Power On Printer"
msgstr "Zasilanie włączone"
msgid "Pressure Advance:"
msgstr ""
msgid "Print"
msgstr "Drukuj"
@@ -418,8 +513,8 @@ msgstr "Połączenia Drukarki"
msgid "Printing"
msgstr "Drukujemy"
msgid "Probe found applied offset"
msgstr "Probe znalazł zastosowane przesunięcie"
msgid "Probe Offset"
msgstr ""
msgid "Profile Name:"
msgstr "Nazwa Profilu:"
@@ -439,6 +534,9 @@ msgstr "Odzyskaj Miękko"
msgid "Reference"
msgstr "Sprawdzenie"
msgid "Refresh"
msgstr ""
msgid "Restart"
msgstr "Restartuj"
@@ -448,18 +546,40 @@ msgstr "Dokończ"
msgid "Retract"
msgstr "Cofnij"
msgid "Retraction"
msgstr ""
msgid "Retraction Length"
msgstr ""
msgid "Retraction Speed"
msgstr ""
#, python-format
msgid "Retry #%s"
msgstr "Spróbuj ponownie #%s"
msgid "Retrying"
msgstr ""
msgid "Save"
msgstr "Zapisz"
msgid "Save Config"
msgstr "Zapisz Konfigurację"
msgid "Save configuration"
msgstr "Zapisz konfigurację"
msgid "Save Z"
msgstr ""
msgid "Save configuration?"
msgstr ""
msgid "Saved"
msgstr ""
#, python-format
msgid "Saved offset: %s"
msgstr ""
msgid "Screen DPMS"
msgstr "Ekran DPMS"
@@ -498,12 +618,18 @@ msgstr "Slicer"
msgid "Slicer Time correction (%)"
msgstr "Korekta czasu krajalnicy (%)"
msgid "Slicer:"
msgstr ""
msgid "Small"
msgstr "Mały"
msgid "Sort by: "
msgstr "Sortuj wg: "
msgid "Sort:"
msgstr ""
msgid "Speed (mm/s)"
msgstr "Prędkość (mm/s)"
@@ -513,6 +639,9 @@ msgstr "Prędkość +"
msgid "Speed -"
msgstr "Prędkość -"
msgid "Speed:"
msgstr ""
msgid "Square Corner Velocity"
msgstr "Prędkość w narożniku kwadratowym"
@@ -531,19 +660,11 @@ msgstr "Zacznij uaktualnienie dla"
msgid "System"
msgstr "System"
msgid ""
"System\n"
"Restart"
msgstr ""
"Restart\n"
"Systemu"
msgid "System Restart"
msgstr "Restart Systemu"
msgid ""
"System\n"
"Shutdown"
msgstr ""
"Wyłączanie\n"
" systemu"
msgid "System Shutdown"
msgstr "Wyłączanie systemu"
msgid "Temp (°C)"
msgstr "Temp (°C)"
@@ -555,18 +676,24 @@ msgstr "Temperatura"
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "Aby zastosować %s KlipperScreen musi zostać ponownie uruchomiony"
msgid "Tool"
msgstr "Narzędzie"
msgid "Total:"
msgstr "Całkowity:"
msgid "Unknown Heater"
msgstr "Nieznany Podgrzewacz"
msgid "Unknown screw position"
msgstr ""
msgid "Unload"
msgstr "Wyładuj"
msgid "Unretract Extra Length"
msgstr ""
msgid "Unretract Speed"
msgstr ""
msgid "Up To Date"
msgstr "Aktualne"
@@ -591,6 +718,9 @@ msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "Prędkość ruchu XY (mm/s)"
msgid "XY Speed (mm/s)"
msgstr ""
msgid "Y+"
msgstr "Y+"
@@ -603,12 +733,15 @@ msgstr "Kalibracja Z"
msgid "Z Move Speed (mm/s)"
msgstr "Prędkość ruchu Z (mm/s)"
msgid "Z Position"
msgstr "Pozycja Z"
msgid "Z Speed (mm/s)"
msgstr ""
msgid "Z Tilt"
msgstr "Przechył Z"
msgid "Z offset:"
msgstr ""
msgid "Z+"
msgstr "Z+"
@@ -637,10 +770,32 @@ msgid "mm"
msgstr "mm"
msgid "mm/s"
msgstr "mm/s^2"
msgstr "mm/s²"
msgid "mm/s^2"
msgstr "mm/s^2"
msgid "mm/s²"
msgstr "mm/s²"
#~ msgid "Bltouch found applied offset"
#~ msgstr "Bltouch znalazł zastosowane przesunięcie"
#~ msgid ""
#~ "Check /tmp/KlipperScreen.log for more information.\n"
#~ "Please submit an issue on GitHub for help."
#~ msgstr ""
#~ "Sprawdź /tmp/KlipperScreen.log aby uzyskać więcej informacji.\n"
#~ "Proszę zgłosić usterkę na GitHub by uzyskać pomoc."
#~ msgid "Probe found applied offset"
#~ msgstr "Probe znalazł zastosowane przesunięcie"
#~ msgid "Tool"
#~ msgstr "Narzędzie"
#~ msgid "Displayed Macros"
#~ msgstr "Wyświetlone Makra"
#~ msgid "Z Position"
#~ msgstr "Pozycja Z"
#~ msgid "IPv4"
#~ msgstr "IPv4"
@@ -648,9 +803,6 @@ msgstr "mm/s^2"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "Przesunięcie Z"
#~ msgid "Unknown Heater "
#~ msgstr "Nieznany Podgrzewacz "
@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: 2022-03-31 11:10-0300\n"
"POT-Creation-Date: 2022-08-18 23:05-0300\n"
"PO-Revision-Date: 2022-06-03 20:25-0500\n"
"Last-Translator: Jakob Kais <schpuntik@freenet.de>\n"
"Language-Team: \n"
"Language: ru_RU\n"
@@ -32,9 +32,15 @@ msgstr "24-часовой формат"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "FIRMWARE_RESTART может решить проблему."
msgid "ADXL Not Configured"
msgstr "ADXL не настроен"
msgid "Abort"
msgstr "Отменить"
msgid "Acceleration:"
msgstr "Ускорение:"
msgid "Accept"
msgstr "Применить"
@@ -44,8 +50,19 @@ msgstr "Действия"
msgid "Add Printer"
msgstr "Добавить принтер"
msgid "Add bed mesh profile"
msgstr "Добавить профиль сетки стола"
msgid "Add profile"
msgstr ""
msgid "Apply"
msgstr "Применить"
#, python-format
msgid "Apply %.2f offset to Endstop?"
msgstr "Применить смещение %.2f к Endstop?"
#, python-format
msgid "Apply %s%.2f offset to Probe?"
msgstr "Применить смещение %s%.2f к зонду?"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "Вы уверены, что хотите запустить аварийную остановку?"
@@ -65,6 +82,12 @@ msgstr "Вы хотите выключить принтер?"
msgid "Auto"
msgstr "Авто"
msgid "Auto-calibrate"
msgstr "Автоматическая калибровка"
msgid "Auto-close notifications"
msgstr ""
msgid "Auto-scroll"
msgstr "Автопрокрутка"
@@ -74,15 +97,24 @@ msgstr "Уровень стола"
msgid "Bed Mesh"
msgstr "Сетка стола"
msgid "Bltouch found applied offset"
msgstr "Bltouch обнаружил примененное смещение"
msgid "Bed screw configuration:"
msgstr ""
msgid "Calibrate"
msgstr "Калибровка"
msgid "Calibrated"
msgstr "Откалиброванный"
msgid "Calibrated, save configuration to make it permanent"
msgstr "Откалибровано, сохраните конфигурацию, чтобы сделать ее постоянной"
msgid "Calibrating"
msgstr "Калибровка"
msgid "Calibrating..."
msgstr "Калибровка..."
msgid "Can't set above the maximum:"
msgstr "Невозможно установить выше максимума:"
@@ -104,12 +136,14 @@ msgstr "Не могу подключиться к Moonraker"
msgid "Channel"
msgstr "Канал"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgid "Check ADXL Wiring"
msgstr "Проверьте проводку ADXL"
msgid "Checking for updates, please wait..."
msgstr ""
"Проверьте /tmp/KlipperScreen.log для дополнитольной информации.\n"
"Создайте issues на GitHub что-бы получить помощь."
msgid "Clear"
msgstr "Очистить"
msgid "Close"
msgstr "Закрыть"
@@ -148,6 +182,9 @@ msgstr "Уменьшить"
msgid "Delete"
msgstr "Удалить"
msgid "Delete File?"
msgstr ""
msgid "Deselect"
msgstr "Отменить выбор"
@@ -157,9 +194,6 @@ msgstr "Откл. моторы"
msgid "Disable XY"
msgstr "Отключить XY"
msgid "Displayed Macros"
msgstr "Показать макросы"
msgid "Distance (mm)"
msgstr "Расстояние (mm)"
@@ -176,6 +210,9 @@ msgstr "Ошибка"
msgid "Estimated Time Method"
msgstr "Расчётное время"
msgid "Exclude Object"
msgstr ""
msgid "Extrude"
msgstr "Заправить"
@@ -194,35 +231,51 @@ 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 "Точная настройка"
msgid "Finish"
msgstr "Конец"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
"Прошивка\n"
"Рестарт"
msgid "Firmware Restart"
msgstr "Прошивка Рестарт"
msgid "Flow:"
msgstr "Поток:"
msgid "Flowrate:"
msgstr "Расход:"
msgid "Font Size"
msgstr "Размер шрифта"
msgid ""
"Full\n"
"Update"
msgstr ""
"Полный\n"
"Обновлять"
msgid "Full Update"
msgstr "Полный Обновлять"
msgid "Go Back"
msgstr "Назад"
msgid "Height:"
msgstr "Высота:"
msgid "Hidden"
msgstr "Скрытый"
@@ -232,6 +285,9 @@ msgstr "Скрывать"
msgid "Hide sensors in Temp."
msgstr "Скрыть датчики в Temp."
msgid "Hide temp."
msgstr "Скрыть температуру."
msgid "Home"
msgstr "Парковка"
@@ -253,6 +309,9 @@ msgstr "Парковать Z"
msgid "Homing"
msgstr "Парковка"
msgid "Host"
msgstr ""
msgid "Hostname"
msgstr "Имя хоста"
@@ -268,6 +327,9 @@ msgstr "Запуск"
msgid "Initializing printer..."
msgstr "Принтер стартует..."
msgid "Input Shaper"
msgstr "Входной шейпер"
msgid "Interface"
msgstr "Интерфейс"
@@ -283,12 +345,8 @@ msgstr "Инверсия Y"
msgid "Invert Z"
msgstr "Инверсия Z"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"Klipper\n"
"Рестарт"
msgid "Klipper Restart"
msgstr "Klipper Рестарт"
msgid "Klipper has disconnected"
msgstr "Нет связи с Klipper"
@@ -311,6 +369,9 @@ msgstr "Язык"
msgid "Large"
msgstr "Большой"
msgid "Layer:"
msgstr "Слой:"
msgid "Left:"
msgstr "Осталось:"
@@ -323,6 +384,9 @@ msgstr "Загрузить"
msgid "Lower Nozzle"
msgstr "Опустить сопло"
msgid "Machine"
msgstr ""
msgid "Macro shortcut on sidebar"
msgstr "Показать макросы в панели"
@@ -332,8 +396,11 @@ msgstr "Макросы"
msgid "Main Menu"
msgstr "Главное меню"
msgid "Max Accelation"
msgstr "Ускорения"
msgid "Max"
msgstr ""
msgid "Max Acceleration"
msgstr "Максимальное ускорение"
msgid "Max Acceleration to Deceleration"
msgstr "Ускорения торможения"
@@ -341,6 +408,15 @@ msgstr "Ускорения торможения"
msgid "Max Velocity"
msgstr "Скорость"
msgid "Measure Both"
msgstr "Измерьте и то, и другое"
msgid "Measure X"
msgstr "Измерьте X"
msgid "Measure Y"
msgstr "Измерьте Y"
msgid "Medium"
msgstr "Среднее"
@@ -365,6 +441,14 @@ msgstr "Имя"
msgid "Network"
msgstr "Сеть"
msgid "New"
msgstr "Новый"
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
msgstr ""
msgid "Nothing selected"
msgstr "Ничего не выбрано"
@@ -384,6 +468,9 @@ msgstr[0] "Пакет будет обновлен"
msgstr[1] "Пакеты будут обновляться"
msgstr[2] "Пакеты будут обновляться"
msgid "Part Fan"
msgstr ""
msgid "Password saved"
msgstr "Пароль сохранен"
@@ -396,6 +483,9 @@ msgstr "Приостановлено"
msgid "Perform a full upgrade?"
msgstr "Выполнить полное обновление?"
msgid "Pins"
msgstr ""
msgid "Please recompile and flash the micro-controller."
msgstr "Пожалуйста, перекомпилируйте и прошейте микроконтроллер."
@@ -405,6 +495,9 @@ msgstr "Включено"
msgid "Power On Printer"
msgstr "Включить принтер"
msgid "Pressure Advance:"
msgstr "Повышение давления:"
msgid "Print"
msgstr "Печать"
@@ -420,8 +513,8 @@ msgstr "Подключение принтера"
msgid "Printing"
msgstr "Печатается"
msgid "Probe found applied offset"
msgstr "Probe обнаружил примененное смещение"
msgid "Probe Offset"
msgstr "Смещение зонда"
msgid "Profile Name:"
msgstr "Имя профиля:"
@@ -441,6 +534,9 @@ msgstr "Восстановить Soft"
msgid "Reference"
msgstr "Ссылка"
msgid "Refresh"
msgstr ""
msgid "Restart"
msgstr "Перезагрузка"
@@ -450,18 +546,40 @@ msgstr "Продолжить"
msgid "Retract"
msgstr "Втянуть"
msgid "Retraction"
msgstr "Ретракт"
msgid "Retraction Length"
msgstr "Длина ретракта"
msgid "Retraction Speed"
msgstr "Скорость ретракта"
#, python-format
msgid "Retry #%s"
msgstr "Повторить #%s"
msgid "Retrying"
msgstr ""
msgid "Save"
msgstr "Сохранить"
msgid "Save Config"
msgstr "Сохр. Конфиг"
msgid "Save configuration"
msgstr "Настройки сохраняются"
msgid "Save Z"
msgstr "Сохранить Z"
msgid "Save configuration?"
msgstr "Сохранить конфигурацию?"
msgid "Saved"
msgstr "Сохранено"
#, python-format
msgid "Saved offset: %s"
msgstr "Сохраненный офсет: %s"
msgid "Screen DPMS"
msgstr "Экран DPMS"
@@ -500,12 +618,18 @@ msgstr "Слайсер"
msgid "Slicer Time correction (%)"
msgstr "Коррекция времени слайсера (%)"
msgid "Slicer:"
msgstr ""
msgid "Small"
msgstr "Маленький"
msgid "Sort by: "
msgstr "Орден: "
msgid "Sort:"
msgstr "Сортировать:"
msgid "Speed (mm/s)"
msgstr "Скорость (мм/с)"
@@ -515,6 +639,9 @@ msgstr "Скорость +"
msgid "Speed -"
msgstr "Скорость -"
msgid "Speed:"
msgstr ""
msgid "Square Corner Velocity"
msgstr "Квадратная угловая скорость"
@@ -533,16 +660,10 @@ msgstr "Запуск обновления для"
msgid "System"
msgstr "Система"
msgid ""
"System\n"
"Restart"
msgstr ""
"Рестарт\n"
"Системы"
msgid "System Restart"
msgstr "Рестарт Системы"
msgid ""
"System\n"
"Shutdown"
msgid "System Shutdown"
msgstr "Выключить"
msgid "Temp (°C)"
@@ -555,18 +676,24 @@ msgstr "Tемпература"
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "Чтобы применить %s необходимо перезапустить KlipperScreen"
msgid "Tool"
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 "Обновлено"
@@ -591,6 +718,9 @@ msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "Скорость перемещения по осям XY (мм/с)"
msgid "XY Speed (mm/s)"
msgstr ""
msgid "Y+"
msgstr "Y+"
@@ -603,12 +733,15 @@ msgstr "Калибр. Z"
msgid "Z Move Speed (mm/s)"
msgstr "Скорость перемещения по оси Z (мм/с)"
msgid "Z Position"
msgstr "Позиция Z"
msgid "Z Speed (mm/s)"
msgstr ""
msgid "Z Tilt"
msgstr "Z Наклон"
msgid "Z offset:"
msgstr ""
msgid "Z+"
msgstr "Z+"
@@ -639,8 +772,30 @@ msgstr "мм"
msgid "mm/s"
msgstr "мм/с"
msgid "mm/s^2"
msgstr "мм/с^2"
msgid "mm/s²"
msgstr "мм/с²"
#~ msgid "Bltouch found applied offset"
#~ msgstr "Bltouch обнаружил примененное смещение"
#~ msgid ""
#~ "Check /tmp/KlipperScreen.log for more information.\n"
#~ "Please submit an issue on GitHub for help."
#~ msgstr ""
#~ "Проверьте /tmp/KlipperScreen.log для дополнитольной информации.\n"
#~ "Создайте issues на GitHub что-бы получить помощь."
#~ msgid "Probe found applied offset"
#~ msgstr "Probe обнаружил примененное смещение"
#~ msgid "Tool"
#~ msgstr "Инструмент"
#~ msgid "Displayed Macros"
#~ msgstr "Показать макросы"
#~ msgid "Z Position"
#~ msgstr "Позиция Z"
#~ msgid "IPv4"
#~ msgstr "IPv4"
@@ -648,9 +803,6 @@ msgstr "мм/с^2"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "Офсет Z"
#~ msgid "Unknown Heater "
#~ msgstr "Неизвестный обогреватель "
@@ -719,9 +871,6 @@ msgstr "мм/с^2"
#~ msgid "Fast"
#~ msgstr "Быстро"
#~ msgid "Set Speed"
#~ msgstr "Скорость"
#~ msgid "Slow"
#~ msgstr "Mедленно"
@@ -0,0 +1,791 @@
# 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-08-18 23:05-0300\n"
"PO-Revision-Date: 2022-04-15 17:25+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: sv_SE\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.0.1\n"
#, python-format
msgid "%s will be updated to version"
msgstr "%s uppdateras till version"
msgid "(default)"
msgstr "(standard)"
msgid "24 Hour Time"
msgstr "24 timmars tid"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "En FIRMWARE_RESTART kan lösa problemet."
msgid "ADXL Not Configured"
msgstr ""
msgid "Abort"
msgstr "Avbryt"
msgid "Acceleration:"
msgstr ""
msgid "Accept"
msgstr "Godkänn"
msgid "Actions"
msgstr "Åtgärder"
msgid "Add Printer"
msgstr "Lägg till skrivare"
msgid "Add profile"
msgstr ""
msgid "Apply"
msgstr ""
#, python-format
msgid "Apply %.2f offset to Endstop?"
msgstr ""
#, python-format
msgid "Apply %s%.2f offset to Probe?"
msgstr ""
msgid "Are you sure you want to run Emergency Stop?"
msgstr "Är du säker på att du vill köra Nödstopp?"
msgid "Are you sure you wish to cancel this print?"
msgstr "Är du säker på att du vill avbryta denna utskrift?"
msgid "Are you sure you wish to disable motors?"
msgstr "Är du säker på att du vill inaktivera motorer?"
msgid "Are you sure you wish to reboot the system?"
msgstr "Är du säker på att du vill starta om systemet?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "Är du säker på att du vill stänga av systemet?"
msgid "Auto"
msgstr "Automatisk"
msgid "Auto-calibrate"
msgstr ""
msgid "Auto-close notifications"
msgstr ""
msgid "Auto-scroll"
msgstr "Auto-scrolla"
msgid "Bed Level"
msgstr ""
msgid "Bed Mesh"
msgstr ""
msgid "Bed screw configuration:"
msgstr ""
msgid "Calibrate"
msgstr "Kalibrera"
msgid "Calibrated"
msgstr ""
msgid "Calibrated, save configuration to make it permanent"
msgstr "Kalibrerad, spara konfiguration för att göra den permanent"
msgid "Calibrating"
msgstr ""
msgid "Calibrating..."
msgstr ""
msgid "Can't set above the maximum:"
msgstr "Kan inte ställa in över maxgränsen:"
msgid "Cancel"
msgstr "Avbryt"
msgid "Cancel Print"
msgstr "Avbryt utskrift"
msgid "Cancelled"
msgstr "Avbruten"
msgid "Cancelling"
msgstr "Avbryter"
msgid "Cannot connect to Moonraker"
msgstr "Kan inte ansluta till Moonraker"
msgid "Channel"
msgstr ""
msgid "Check ADXL Wiring"
msgstr ""
msgid "Checking for updates, please wait..."
msgstr ""
msgid "Clear"
msgstr ""
msgid "Close"
msgstr "Stäng"
msgid "Complete"
msgstr "Färdig"
msgid "Configuration"
msgstr "Konfiguration"
msgid "Confirm Emergency Stop"
msgstr "Bekräfta nödstopp"
msgid "Connected"
msgstr "Ansluten"
#, python-format
msgid "Connecting to %s"
msgstr "Ansluter till %s"
msgid "Console"
msgstr "Konsol"
msgid "Continue"
msgstr "Fortsätt"
msgid "Cooldown"
msgstr "Nedkylning"
msgid "Date"
msgstr "Datum"
msgid "Decrease"
msgstr "Minska"
msgid "Delete"
msgstr "Radera"
msgid "Delete File?"
msgstr ""
msgid "Deselect"
msgstr "Avmarkera"
msgid "Disable Motors"
msgstr "Inaktivera motorer"
msgid "Disable XY"
msgstr "Inaktivera XY"
msgid "Distance (mm)"
msgstr "Avstånd (mm)"
#, python-format
msgid "Do you want to recover %s?"
msgstr "Vill du återställa %s?"
msgid "Elapsed:"
msgstr "Förfluten:"
msgid "Error"
msgstr "Fel"
msgid "Estimated Time Method"
msgstr ""
msgid "Exclude Object"
msgstr ""
msgid "Extrude"
msgstr "Extrudera"
msgid "Extrusion +"
msgstr "Extrudering +"
msgid "Extrusion -"
msgstr "Extrudering -"
msgid "Failed, adjust position first"
msgstr "Misslyckades, justera positionen först"
msgid "Fan"
msgstr "Fläkt"
msgid "Filament Used"
msgstr ""
msgid "Filament total:"
msgstr ""
msgid "Filament used:"
msgstr ""
msgid "Filament:"
msgstr ""
msgid "File"
msgstr "Fil"
msgid "File:"
msgstr ""
msgid "Finding ADXL"
msgstr ""
msgid "Fine Tuning"
msgstr "Finjustering"
msgid "Finish"
msgstr "Slutför"
msgid "Firmware Restart"
msgstr "Firmware Omstart"
msgid "Flow:"
msgstr ""
msgid "Flowrate:"
msgstr ""
msgid "Font Size"
msgstr "Textstorlek"
msgid "Full Update"
msgstr "Fullständig Uppdatering"
msgid "Go Back"
msgstr "Gå tillbaka"
msgid "Height:"
msgstr ""
msgid "Hidden"
msgstr "Dold"
msgid "Hide"
msgstr "Dölj"
msgid "Hide sensors in Temp."
msgstr "Dölj sensorer i Temp."
msgid "Hide temp."
msgstr ""
msgid "Home"
msgstr "Hem"
msgid "Home All"
msgstr "Hem Alla"
msgid "Home X"
msgstr "Hem X"
msgid "Home XY"
msgstr "Hem XY"
msgid "Home Y"
msgstr "Hem Y"
msgid "Home Z"
msgstr "Hem Z"
msgid "Homing"
msgstr ""
msgid "Host"
msgstr ""
msgid "Hostname"
msgstr "Värdnamn"
msgid "Icon Theme"
msgstr "Ikon tema"
msgid "Increase"
msgstr "Öka"
msgid "Initializing"
msgstr "Initierar"
msgid "Initializing printer..."
msgstr "Initierar skrivaren..."
msgid "Input Shaper"
msgstr ""
msgid "Interface"
msgstr "Gränssnitt"
msgid "Invalid"
msgstr "Ogiltig"
msgid "Invert X"
msgstr "Invertera X"
msgid "Invert Y"
msgstr "Invertera Y"
msgid "Invert Z"
msgstr "Invertera Z"
msgid "Klipper Restart"
msgstr "Klipper Omstart"
msgid "Klipper has disconnected"
msgstr ""
msgid "Klipper has encountered an error."
msgstr "Klipper har stött på ett fel."
msgid "Klipper has shutdown"
msgstr "Klipper har stängts av"
msgid "Klipper is attempting to start"
msgstr "Klipper försöker starta"
msgid "Klipper will reboot"
msgstr "Klipper kommer att starta om"
msgid "Language"
msgstr "Språk"
msgid "Large"
msgstr "Stor"
msgid "Layer:"
msgstr ""
msgid "Left:"
msgstr "Återstående:"
msgid "Limits"
msgstr "Begränsningar"
msgid "Load"
msgstr "Ladda"
msgid "Lower Nozzle"
msgstr "Sänk munstycket"
msgid "Machine"
msgstr ""
msgid "Macro shortcut on sidebar"
msgstr "Makro genväg på sidofältet"
msgid "Macros"
msgstr "Makron"
msgid "Main Menu"
msgstr "Huvudmeny"
msgid "Max"
msgstr ""
msgid "Max Acceleration"
msgstr ""
msgid "Max Acceleration to Deceleration"
msgstr ""
msgid "Max Velocity"
msgstr ""
msgid "Measure Both"
msgstr ""
msgid "Measure X"
msgstr ""
msgid "Measure Y"
msgstr ""
msgid "Medium"
msgstr "Medium"
msgid "Menu"
msgstr "Meny"
msgid "Modified"
msgstr "Ändrad"
msgid "Moonraker: connected"
msgstr "Moonraker: ansluten"
msgid "Move"
msgstr "Flytta"
msgid "Move Distance (mm)"
msgstr "Förflyttningsavstånd (mm)"
msgid "Name"
msgstr "Namn"
msgid "Network"
msgstr "Nätverk"
msgid "New"
msgstr ""
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
msgstr ""
msgid "Nothing selected"
msgstr "Inget valt"
msgid "Off"
msgstr "Avstängd"
#, python-format
msgid "Outdated by %d"
msgstr ""
msgid "PSK for"
msgstr "PSK för"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "Paketet kommer att uppdateras"
msgstr[1] "Paketen kommer att uppdateras"
msgid "Part Fan"
msgstr ""
msgid "Password saved"
msgstr "Lösenordet har sparats"
msgid "Pause"
msgstr "Pausa"
msgid "Paused"
msgstr "Pausad"
msgid "Perform a full upgrade?"
msgstr "Utför en fullständig uppgradering?"
msgid "Pins"
msgstr ""
msgid "Please recompile and flash the micro-controller."
msgstr "Vänligen kompilera om och flasha mikrokontrollern."
msgid "Power"
msgstr "Ström"
msgid "Power On Printer"
msgstr "Slå på skrivaren"
msgid "Pressure Advance:"
msgstr ""
msgid "Print"
msgstr "Skriv ut"
msgid "Print Control"
msgstr "Utskriftskontroll"
msgid "Print Time"
msgstr ""
msgid "Printer Connections"
msgstr ""
msgid "Printing"
msgstr "Skriver ut"
msgid "Probe Offset"
msgstr ""
msgid "Profile Name:"
msgstr "Profilens namn:"
msgid "Quad Gantry Level"
msgstr ""
msgid "Raise Nozzle"
msgstr ""
msgid "Recover Hard"
msgstr ""
msgid "Recover Soft"
msgstr ""
msgid "Reference"
msgstr "Referens"
msgid "Refresh"
msgstr ""
msgid "Restart"
msgstr "Starta om"
msgid "Resume"
msgstr "Återuppta"
msgid "Retract"
msgstr ""
msgid "Retraction"
msgstr ""
msgid "Retraction Length"
msgstr ""
msgid "Retraction Speed"
msgstr ""
#, python-format
msgid "Retry #%s"
msgstr ""
msgid "Retrying"
msgstr ""
msgid "Save"
msgstr "Spara"
msgid "Save Config"
msgstr "Spara konfiguration"
msgid "Save Z"
msgstr ""
msgid "Save configuration?"
msgstr ""
msgid "Saved"
msgstr ""
#, python-format
msgid "Saved offset: %s"
msgstr ""
msgid "Screen DPMS"
msgstr ""
msgid "Screen Power Off Time"
msgstr "Avstängningstid för skärmen"
msgid "Screws Adjust"
msgstr ""
msgid "Select"
msgstr "Välj"
msgid "Send"
msgstr "Skicka"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "Skickar ström PÅ-signal till: %s"
msgid "Set Temp"
msgstr ""
msgid "Settings"
msgstr "Inställningar"
msgid "Show"
msgstr "Visa"
msgid "Size"
msgstr "Storlek"
msgid "Slicer"
msgstr ""
msgid "Slicer Time correction (%)"
msgstr ""
msgid "Slicer:"
msgstr ""
msgid "Small"
msgstr "Liten"
msgid "Sort by: "
msgstr "Sortera efter: "
msgid "Sort:"
msgstr ""
msgid "Speed (mm/s)"
msgstr "Hastighet (mm/s)"
msgid "Speed +"
msgstr "Hastighet +"
msgid "Speed -"
msgstr "Hastighet -"
msgid "Speed:"
msgstr ""
msgid "Square Corner Velocity"
msgstr ""
msgid "Start"
msgstr "Starta"
msgid "Starting WiFi Association"
msgstr ""
msgid "Starting recovery for"
msgstr ""
msgid "Starting update for"
msgstr ""
msgid "System"
msgstr "System"
msgid "System Restart"
msgstr "System Omstart"
msgid "System Shutdown"
msgstr "System Avstängning"
msgid "Temp (°C)"
msgstr "Temperatur (°C)"
msgid "Temperature"
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:"
msgstr ""
msgid "Unknown Heater"
msgstr "Okänt värmeelement"
msgid "Unknown screw position"
msgstr ""
msgid "Unload"
msgstr ""
msgid "Unretract Extra Length"
msgstr ""
msgid "Unretract Speed"
msgstr ""
msgid "Up To Date"
msgstr "Aktuellt"
msgid "Update"
msgstr "Uppdatera"
msgid "Updating"
msgstr "Uppdaterar"
msgid "Uploaded"
msgstr "Uppladdad"
msgid "View Mesh"
msgstr ""
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "XY rörelsehastighet (mm/s)"
msgid "XY Speed (mm/s)"
msgstr ""
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate"
msgstr "Z Kalibrering"
msgid "Z Move Speed (mm/s)"
msgstr "Z rörelsehastighet (mm/s)"
msgid "Z Speed (mm/s)"
msgstr ""
msgid "Z Tilt"
msgstr ""
msgid "Z offset:"
msgstr ""
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit"
msgid_plural "commits"
msgstr[0] ""
msgstr[1] ""
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "timme"
msgstr[1] "timmar"
msgid "minutes"
msgstr "minuter"
msgid "mm"
msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s²"
msgstr "mm/s²"
#~ msgid "Bltouch found applied offset"
#~ msgstr "Bltouch hittade tillämpad offset"
#~ msgid ""
#~ "Check /tmp/KlipperScreen.log for more information.\n"
#~ "Please submit an issue on GitHub for help."
#~ msgstr ""
#~ "Kontrollera /tmp/KlipperScreen.log för mer information.\n"
#~ "Skicka in ett problem på GitHub för hjälp."
#~ msgid "Tool"
#~ msgstr "Verktyg"
#~ msgid "Displayed Macros"
#~ msgstr "Makron visas"
#~ msgid "Z Position"
#~ msgstr "Z Position"
@@ -0,0 +1,796 @@
# 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-08-18 23:05-0300\n"
"PO-Revision-Date: 2022-09-21 19:32+0300\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: tr_TR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.0.1\n"
#, python-format
msgid "%s will be updated to version"
msgstr "%s sürüme güncellenecektir"
msgid "(default)"
msgstr "(varsayılan)"
msgid "24 Hour Time"
msgstr "24 Saat Zaman"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "Bir FIRMWARE_RESTART sorunu çözebilir."
msgid "ADXL Not Configured"
msgstr "ADXL Yapılandırılmadı"
msgid "Abort"
msgstr "İptal et"
msgid "Acceleration:"
msgstr "Hızlanma:"
msgid "Accept"
msgstr "Kabul et"
msgid "Actions"
msgstr "Eylemler"
msgid "Add Printer"
msgstr "Yazıcı Ekle"
msgid "Add profile"
msgstr "Profil ekle"
msgid "Apply"
msgstr "Uygula"
#, python-format
msgid "Apply %.2f offset to Endstop?"
msgstr "Sonlandırıcı için %.2f ofset uygula?"
#, python-format
msgid "Apply %s%.2f offset to Probe?"
msgstr "Prob için %s%.2f ofset uygula?"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "Acil Durdurma'yı çalıştırmak istediğinizden emin misiniz?"
msgid "Are you sure you wish to cancel this print?"
msgstr "Bu baskıyı iptal etmek istediğinizden emin misiniz?"
msgid "Are you sure you wish to disable motors?"
msgstr "Motorları devre dışı bırakmak istediğinizden emin misiniz?"
msgid "Are you sure you wish to reboot the system?"
msgstr "Sistemi yeniden başlatmak istediğinizden emin misiniz?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "Sistemi kapatmak istediğinizden emin misiniz?"
msgid "Auto"
msgstr "Otomatik"
msgid "Auto-calibrate"
msgstr "Otomatik-Kalibrasyon"
msgid "Auto-close notifications"
msgstr "Bildirimleri otomatik kapat"
msgid "Auto-scroll"
msgstr "Otomatik kaydırma"
msgid "Bed Level"
msgstr "Tabla Ayarı"
msgid "Bed Mesh"
msgstr "Tabla Örgüsü"
msgid "Bed screw configuration:"
msgstr "Tabla vida yapılandırması:"
msgid "Calibrate"
msgstr "Kalibre et"
msgid "Calibrated"
msgstr "Kalibre Edildi"
msgid "Calibrated, save configuration to make it permanent"
msgstr "Kalibre edildi, kalıcı hale getirmek için yapılandırmayı kaydedin"
msgid "Calibrating"
msgstr "Kalibre Ediliyor"
msgid "Calibrating..."
msgstr "Kalibre Ediliyor..."
msgid "Can't set above the maximum:"
msgstr "Maksimumun üzerine ayarlanamaz:"
msgid "Cancel"
msgstr "İptal"
msgid "Cancel Print"
msgstr "Baskıyı iptal et"
msgid "Cancelled"
msgstr "İptal edildi"
msgid "Cancelling"
msgstr "İptal ediliyor"
msgid "Cannot connect to Moonraker"
msgstr "Moonraker'a bağlanılamıyor"
msgid "Channel"
msgstr "Kanal"
msgid "Check ADXL Wiring"
msgstr "ADXL Bağlantılarını Kontrol Et"
msgid "Checking for updates, please wait..."
msgstr "Güncellemeler kontrol ediliyor, lütfen bekleyin..."
msgid "Clear"
msgstr "Temizle"
msgid "Close"
msgstr "Kapat"
msgid "Complete"
msgstr "Tamamlandı"
msgid "Configuration"
msgstr "Yapılandırma"
msgid "Confirm Emergency Stop"
msgstr "Acil Durdurmayı Onaylayın"
msgid "Connected"
msgstr "Bağlandı"
#, python-format
msgid "Connecting to %s"
msgstr "%s'e Bağlanılıyor"
msgid "Console"
msgstr "Konsol"
msgid "Continue"
msgstr "Devam et"
msgid "Cooldown"
msgstr "Soğutma"
msgid "Date"
msgstr "Tarih"
msgid "Decrease"
msgstr "Azalt"
msgid "Delete"
msgstr "Sil"
msgid "Delete File?"
msgstr "Dosyayı Sil?"
msgid "Deselect"
msgstr "Seçimi kaldır"
msgid "Disable Motors"
msgstr "Motorları Devre Dışı Bırak"
msgid "Disable XY"
msgstr "XY Devre dışı bırak"
msgid "Distance (mm)"
msgstr "Uzaklık (mm)"
#, python-format
msgid "Do you want to recover %s?"
msgstr "%s Kurtarmak istiyor musunuz?"
msgid "Elapsed:"
msgstr "Geçen:"
msgid "Error"
msgstr "Hata"
msgid "Estimated Time Method"
msgstr "Tahmini Zaman Metodu"
msgid "Exclude Object"
msgstr "Nesneyi Hariç Tut"
msgid "Extrude"
msgstr "Ekstrüzyon"
msgid "Extrusion +"
msgstr "Ekstrüzyon +"
msgid "Extrusion -"
msgstr "Ekstrüzyon -"
msgid "Failed, adjust position first"
msgstr "Başarısız, önce konumu ayarlayın"
msgid "Fan"
msgstr "Fan"
msgid "Filament Used"
msgstr "Kullanılan Filament"
msgid "Filament total:"
msgstr "Toplam Filament:"
msgid "Filament used:"
msgstr "Kullanılan Filament:"
msgid "Filament:"
msgstr "Filament:"
msgid "File"
msgstr "Dosya"
msgid "File:"
msgstr "Dosya:"
msgid "Finding ADXL"
msgstr "ADXL Bulunuyor"
msgid "Fine Tuning"
msgstr "İnce Ayar"
msgid "Finish"
msgstr "Bitir"
msgid "Firmware Restart"
msgstr "Firmware Yeniden Başlat"
msgid "Flow:"
msgstr "Akış:"
msgid "Flowrate:"
msgstr "Akış oranı:"
msgid "Font Size"
msgstr "Yazı boyutu"
msgid "Full Update"
msgstr "Tam Güncelleme"
msgid "Go Back"
msgstr "Geri git"
msgid "Height:"
msgstr "Yükseklik:"
msgid "Hidden"
msgstr "Gizli"
msgid "Hide"
msgstr "Gizle"
msgid "Hide sensors in Temp."
msgstr "Sıcaklıktaki sensörleri gizleyin."
msgid "Hide temp."
msgstr "Sıcaklığı gizle."
msgid "Home"
msgstr "Ana Ekran"
msgid "Home All"
msgstr "Eksenleri Sıfırla"
msgid "Home X"
msgstr "X Sıfırla"
msgid "Home XY"
msgstr "XY Sıfırla"
msgid "Home Y"
msgstr "Y Sıfırla"
msgid "Home Z"
msgstr "Z Sıfırla"
msgid "Homing"
msgstr "Eksen Sıfırlama"
msgid "Host"
msgstr "Sunucu"
msgid "Hostname"
msgstr "Ana bilgisayar adı"
msgid "Icon Theme"
msgstr "Simge Teması"
msgid "Increase"
msgstr "Artır"
msgid "Initializing"
msgstr "Başlatılıyor"
msgid "Initializing printer..."
msgstr "Yazıcı başlatılıyor..."
msgid "Input Shaper"
msgstr "İvme Düzenleyicisi"
msgid "Interface"
msgstr "Arayüz"
msgid "Invalid"
msgstr "Geçersiz"
msgid "Invert X"
msgstr "X Ters çevir"
msgid "Invert Y"
msgstr "Y Ters çevir"
msgid "Invert Z"
msgstr "Z Ters çevir"
msgid "Klipper Restart"
msgstr "Klipper Yeniden başlat"
msgid "Klipper has disconnected"
msgstr "Klipper bağlantısı kesildi"
msgid "Klipper has encountered an error."
msgstr "Klipper bir hatayla karşılaştı."
msgid "Klipper has shutdown"
msgstr "Klipper Kapandı"
msgid "Klipper is attempting to start"
msgstr "Klipper başlatılmaya çalışılıyor"
msgid "Klipper will reboot"
msgstr "Klipper yeniden başlayacak"
msgid "Language"
msgstr "Dil"
msgid "Large"
msgstr "Büyük"
msgid "Layer:"
msgstr "Katman:"
msgid "Left:"
msgstr "Kalan:"
msgid "Limits"
msgstr "Limitler"
msgid "Load"
msgstr "Yükle"
msgid "Lower Nozzle"
msgstr "Nozzle düşür"
msgid "Machine"
msgstr "Makine"
msgid "Macro shortcut on sidebar"
msgstr "Kenar çubuğunda makro kısayolu"
msgid "Macros"
msgstr "Makrolar"
msgid "Main Menu"
msgstr "Ana Menü"
msgid "Max"
msgstr "Maks"
msgid "Max Acceleration"
msgstr "Maksimum Hızlanma"
msgid "Max Acceleration to Deceleration"
msgstr "Maksimum Hızlanma ve Yavaşlama"
msgid "Max Velocity"
msgstr "Maksimum Hız"
msgid "Measure Both"
msgstr "İkisini de ölçüle"
msgid "Measure X"
msgstr "X Ölçüle"
msgid "Measure Y"
msgstr "Y Ölçüle"
msgid "Medium"
msgstr "Orta"
msgid "Menu"
msgstr "Menü"
msgid "Modified"
msgstr "Değiştirilmiş"
msgid "Moonraker: connected"
msgstr "Moonraker: bağlandı"
msgid "Move"
msgstr "Hareket"
msgid "Move Distance (mm)"
msgstr "Hareket Mesafesi (mm)"
msgid "Name"
msgstr "İsim"
msgid "Network"
msgstr "Ağ"
msgid "New"
msgstr "Yeni"
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
msgstr ""
"Otomatik algılama desteklenmiyor, klipperscreen.conf dosyasından "
"yapılandırmanız gerekli"
msgid "Nothing selected"
msgstr "Hiçbir şey seçilmedi"
msgid "Off"
msgstr "Kapa"
#, python-format
msgid "Outdated by %d"
msgstr "Güncelliğini yitiren %d"
msgid "PSK for"
msgstr "PSK için"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "Paket yükseltilecek"
msgstr[1] "Paketler yükseltilecek"
msgid "Part Fan"
msgstr "Parça Fan"
msgid "Password saved"
msgstr "Şifre kaydedildi"
msgid "Pause"
msgstr "Duraklat"
msgid "Paused"
msgstr "Duraklatıldı"
msgid "Perform a full upgrade?"
msgstr "Tam yükseltme yap?"
msgid "Pins"
msgstr "Pinler"
msgid "Please recompile and flash the micro-controller."
msgstr "Lütfen mikro denetleyiciyi yeniden derleyin ve flaşlayın."
msgid "Power"
msgstr "Güç"
msgid "Power On Printer"
msgstr "Yazıcıya Güç Ver (aç)"
msgid "Pressure Advance:"
msgstr "Akış Dengeleme:"
msgid "Print"
msgstr "Yazdır"
msgid "Print Control"
msgstr "Yazdırma Kontrolü"
msgid "Print Time"
msgstr "Yazdırma Süresi"
msgid "Printer Connections"
msgstr "Yazıcı Bağlantıları"
msgid "Printing"
msgstr "Yazdırılıyor"
msgid "Probe Offset"
msgstr "Prob ofseti"
msgid "Profile Name:"
msgstr "Profil ismi:"
msgid "Quad Gantry Level"
msgstr "Dörtlü Köprü Seviyesi"
msgid "Raise Nozzle"
msgstr "Nozzle yükselt"
msgid "Recover Hard"
msgstr "Zorla Kurtar"
msgid "Recover Soft"
msgstr "Yumuşak Kurtar"
msgid "Reference"
msgstr "Referans"
msgid "Refresh"
msgstr "Yenile"
msgid "Restart"
msgstr "Yeniden Başlat"
msgid "Resume"
msgstr "Devam Et"
msgid "Retract"
msgstr "Geri çek"
msgid "Retraction"
msgstr "Geri Çekme"
msgid "Retraction Length"
msgstr "Geri Çekme Uzunluğu"
msgid "Retraction Speed"
msgstr "Geri Çekme Hızı"
#, python-format
msgid "Retry #%s"
msgstr "Yeniden Dene #%s"
msgid "Retrying"
msgstr "Yeniden Deneniyor"
msgid "Save"
msgstr "Kaydet"
msgid "Save Config"
msgstr "Yapılandırma Kayıt"
msgid "Save Z"
msgstr "Z Kaydet"
msgid "Save configuration?"
msgstr "Yapılandırmayı kaydet?"
msgid "Saved"
msgstr "Kaydedildi"
#, python-format
msgid "Saved offset: %s"
msgstr "Kaydedilen ofset: %s"
msgid "Screen DPMS"
msgstr "Ekran DPMS"
msgid "Screen Power Off Time"
msgstr "Ekran kapatma zamanı"
msgid "Screws Adjust"
msgstr "Vida Ayarı"
msgid "Select"
msgstr "Seç"
msgid "Send"
msgstr "Gönder"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "Güç AÇ sinyalı gönderilen: %s"
msgid "Set Temp"
msgstr "Sıcaklık Ayarla"
msgid "Settings"
msgstr "Ayarlar"
msgid "Show"
msgstr "Göster"
msgid "Size"
msgstr "Boyut"
msgid "Slicer"
msgstr "Dilimleme"
msgid "Slicer Time correction (%)"
msgstr "Dilimleme Zamanı doğrulama (%)"
msgid "Slicer:"
msgstr "Dilimleyici:"
msgid "Small"
msgstr "Küçük"
msgid "Sort by: "
msgstr "Sırala: "
msgid "Sort:"
msgstr "Sırala:"
msgid "Speed (mm/s)"
msgstr "Hız (mm/s)"
msgid "Speed +"
msgstr "Hız +"
msgid "Speed -"
msgstr "Hız -"
msgid "Speed:"
msgstr "Hız:"
msgid "Square Corner Velocity"
msgstr "Kare Köşe Hızı"
msgid "Start"
msgstr "Başlat"
msgid "Starting WiFi Association"
msgstr "WiFi Bağlantısı başlatılıyor"
msgid "Starting recovery for"
msgstr "Kurtarma başlatılıyor"
msgid "Starting update for"
msgstr "Güncelleme başlatılıyor"
msgid "System"
msgstr "Sistem"
msgid "System Restart"
msgstr "Sistem Yeniden Başlat"
msgid "System Shutdown"
msgstr "Sistem Kapat"
msgid "Temp (°C)"
msgstr "Sıcaklık (°C)"
msgid "Temperature"
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:"
msgstr "Toplam:"
msgid "Unknown Heater"
msgstr "Bilinmeyen Isıtıcı"
msgid "Unknown screw position"
msgstr "Bilinmeyen vida konumu"
msgid "Unload"
msgstr "Boşalt"
msgid "Unretract Extra Length"
msgstr "İleri İtme Ekstra Uzunluk"
msgid "Unretract Speed"
msgstr "İleri itme Hızı"
msgid "Up To Date"
msgstr "Güncel"
msgid "Update"
msgstr "Güncelle"
msgid "Updating"
msgstr "Yükleniyor"
msgid "Uploaded"
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)"
msgstr "XY Hareket hızı (mm/s)"
msgid "XY Speed (mm/s)"
msgstr "XY Hızı (mm/s)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate"
msgstr "Z Kalibrasyonu"
msgid "Z Move Speed (mm/s)"
msgstr "Z Hareket hızı (mm/s)"
msgid "Z Speed (mm/s)"
msgstr "Z Hızı (mm/s)"
msgid "Z Tilt"
msgstr "Z Eğim"
msgid "Z offset:"
msgstr "Z ofset:"
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit"
msgid_plural "commits"
msgstr[0] "commit"
msgstr[1] "commits"
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "saat"
msgstr[1] "saatler"
msgid "minutes"
msgstr "dakika"
msgid "mm"
msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s²"
msgstr "mm/s²"
#~ msgid "Bltouch found applied offset"
#~ msgstr "Bltouch uygulanmış ofseti buldu"
#~ msgid ""
#~ "Check /tmp/KlipperScreen.log for more information.\n"
#~ "Please submit an issue on GitHub for help."
#~ msgstr ""
#~ "Daha fazla bilgi için /tmp/KlipperScreen.log'a bakın.\n"
#~ "Lütfen yardım için GitHub'da bir sorun gönderin."
#~ msgid "Probe found applied offset"
#~ msgstr "Prob uygulanmış ofset bulundu"
#~ msgid "Tool"
#~ msgstr "Araç"
#~ msgid "Displayed Macros"
#~ msgstr "Görüntülenen Makrolar"
#~ msgid "Z Position"
#~ msgstr "Z Pozisyonu"
@@ -5,19 +5,19 @@
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Project-Id-Version: 2022-09-04 14:53-0300\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: 2022-03-31 11:18-0300\n"
"Last-Translator: \n"
"Language-Team: Andrii Komarovskiy\n"
"Language: uk_UA\n"
"POT-Creation-Date: 2022-09-04 13:01+0300\n"
"PO-Revision-Date: 2022-09-16 21:40+0300\n"
"Last-Translator: Andrii Komarovskyi\n"
"Language-Team: Andrii Komarovskyi\n"
"Language: uk\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
"X-Generator: Poedit 3.0.1\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n"
"%100<12 || n%100>14) ? 1 : 2);\n"
"X-Generator: Poedit 3.1\n"
#, python-format
msgid "%s will be updated to version"
@@ -32,29 +32,46 @@ 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 "Керування"
msgstr "Дії"
msgid "Add Printer"
msgstr "Додати принтер"
msgid "Add bed mesh profile"
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 you want to run Emergency Stop?"
msgstr "Ви впевнені, що хочете запустити аварійну зупинку?"
msgstr "Ви впевнені, що хочете зробити аварійну зупинку?"
msgid "Are you sure you wish to cancel this print?"
msgstr "Ви впевнені, що хочете скасувати цей друк?"
msgstr "Ви впевнені, що хочете скасувати друк?"
msgid "Are you sure you wish to disable motors?"
msgstr "Ви впевнені, що хочете відключити двигуни?"
msgstr "Ви дійсно бажаєте вимкнути двигуни?"
msgid "Are you sure you wish to reboot the system?"
msgstr "Ви впевнені, що хочете перезавантажити систему?"
@@ -65,6 +82,12 @@ msgstr "Ви впевнені, що хочете вимкнути систему
msgid "Auto"
msgstr "Автоматично"
msgid "Auto-calibrate"
msgstr "Автоматичне калібрування"
msgid "Auto-close notifications"
msgstr "Автоматичне закриття сповіщень"
msgid "Auto-scroll"
msgstr "Автоматична прокрутка"
@@ -74,17 +97,26 @@ msgstr "Вирівнювання столу"
msgid "Bed Mesh"
msgstr "Сітка столу"
msgid "Bltouch found applied offset"
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 "Calibrating..."
msgstr "Калібрування..."
msgid "Can't set above the maximum:"
msgstr "Не встановити вище макс.:"
msgstr "Не можна встановити вище максимум:"
msgid "Cancel"
msgstr "Скасувати"
@@ -104,12 +136,14 @@ msgstr "Не можливо підключитися до Moonraker"
msgid "Channel"
msgstr "Канал"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgstr ""
"Перевірте /tmp/KlipperScreen.log для отримання додаткової інформації.\n"
"Будь ласка, надішліть проблему на GitHub, щоб отримати допомогу."
msgid "Check ADXL Wiring"
msgstr "Перевірте підключення ADXL"
msgid "Checking for updates, please wait..."
msgstr "Перевірка оновлень, зачекайте..."
msgid "Clear"
msgstr "Очистити"
msgid "Close"
msgstr "Закрити"
@@ -121,7 +155,7 @@ msgid "Configuration"
msgstr "Конфігурація"
msgid "Confirm Emergency Stop"
msgstr "Підтверджувати АВАРІЙНУ ЗУПИНКУ"
msgstr "Підтвердьте АВАРІЙНУ ЗУПИНКУ"
msgid "Connected"
msgstr "Підключено"
@@ -148,8 +182,11 @@ msgstr "Зменшити"
msgid "Delete"
msgstr "Видалити"
msgid "Delete File?"
msgstr "Видалити файл?"
msgid "Deselect"
msgstr "Відміна"
msgstr "Скасувати вибір"
msgid "Disable Motors"
msgstr "Вимкнути мотори"
@@ -157,9 +194,6 @@ msgstr "Вимкнути мотори"
msgid "Disable XY"
msgstr "Вимкнути XY"
msgid "Displayed Macros"
msgstr "Відображення Макросів"
msgid "Distance (mm)"
msgstr "Відстань (мм)"
@@ -176,61 +210,87 @@ msgstr "Помилка"
msgid "Estimated Time Method"
msgstr "Метод розрахунку часу"
msgid "Exclude Object"
msgstr "Виключити об’єкт"
msgid "Extrude"
msgstr "Видавити"
msgstr ""
"Заміна\n"
"пластику"
msgid "Extrusion +"
msgstr "Екструзія+"
msgstr "Видавити +"
msgid "Extrusion -"
msgstr "Екструзія -"
msgstr "Втягнути -"
msgid "Failed, adjust position first"
msgstr "Помилка, спочатку хоумінг"
msgstr "Не вдалося, спочатку відрегулюйте положення"
msgid "Fan"
msgstr "Вентилятор"
msgid "Filament Used"
msgstr "Філамент"
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 "Підправити"
msgstr "Точне налаштування"
msgid "Finish"
msgstr "Фініш"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
"Firmware\n"
"Перезавантажте"
msgid "Firmware Restart"
msgstr "Перезавантаження прошивки"
msgid "Flow:"
msgstr "Потік:"
msgid "Flowrate:"
msgstr "Швидкість потоку:"
msgid "Font Size"
msgstr "Розмір шрифту"
msgid ""
"Full\n"
"Update"
msgid "Full Update"
msgstr ""
"Повний\n"
"Повне\n"
"Оновлення"
msgid "Go Back"
msgstr "Назад"
msgid "Height:"
msgstr "Висота:"
msgid "Hidden"
msgstr "Оновлення"
msgstr "Прихований"
msgid "Hide"
msgstr "Сховати"
msgid "Hide sensors in Temp."
msgstr "Сховати датчик темп."
msgstr "Сховати датчик t°."
msgid "Hide temp."
msgstr "Приховати темп."
msgid "Home"
msgstr "Домашня сторінка"
@@ -253,8 +313,11 @@ msgstr "Дім Z"
msgid "Homing"
msgstr "До дому"
msgid "Host"
msgstr "Хост"
msgid "Hostname"
msgstr "Назва хоста"
msgstr "Ім'я хоста"
msgid "Icon Theme"
msgstr "Тема оформлення"
@@ -268,6 +331,9 @@ msgstr "Ініціалізація"
msgid "Initializing printer..."
msgstr "Ініціалізація принтера..."
msgid "Input Shaper"
msgstr "Input Shaper"
msgid "Interface"
msgstr "Інтерфейс"
@@ -283,15 +349,13 @@ msgstr "Інвертувати Y"
msgid "Invert Z"
msgstr "Інвертувати Z"
msgid ""
"Klipper\n"
"Restart"
msgid "Klipper Restart"
msgstr ""
"Klipper\n"
"Перезавантажте"
"Перезапуск\n"
"Klipper"
msgid "Klipper has disconnected"
msgstr "Klipper відключився"
msgstr "Klipper загубив зв'язок"
msgid "Klipper has encountered an error."
msgstr "У Klipper сталася помилка."
@@ -311,6 +375,9 @@ msgstr "Мова"
msgid "Large"
msgstr "Великий"
msgid "Layer:"
msgstr "Шар:"
msgid "Left:"
msgstr "Залишилось:"
@@ -321,7 +388,10 @@ msgid "Load"
msgstr "Завантажити"
msgid "Lower Nozzle"
msgstr "Низ сопла"
msgstr "Опустити сопло"
msgid "Machine"
msgstr "Машина"
msgid "Macro shortcut on sidebar"
msgstr "Ярлик макросу на бічній панелі"
@@ -330,9 +400,12 @@ msgid "Macros"
msgstr "Макрос"
msgid "Main Menu"
msgstr "Main Menu"
msgstr "Головне Меню"
msgid "Max Accelation"
msgid "Max"
msgstr "Макс"
msgid "Max Acceleration"
msgstr "Макс. прискорення"
msgid "Max Acceleration to Deceleration"
@@ -341,6 +414,15 @@ msgstr "Макс. прискорення до гальмування"
msgid "Max Velocity"
msgstr "Макс. швидкість"
msgid "Measure Both"
msgstr "Виміряти все"
msgid "Measure X"
msgstr "Виміряти X"
msgid "Measure Y"
msgstr "Виміряти Y"
msgid "Medium"
msgstr "Середній"
@@ -354,7 +436,7 @@ msgid "Moonraker: connected"
msgstr "Підключено до Moonraker"
msgid "Move"
msgstr "Рухатися"
msgstr "Переміщення"
msgid "Move Distance (mm)"
msgstr "Переміщення (мм)"
@@ -365,8 +447,15 @@ msgstr "Ім'я"
msgid "Network"
msgstr "Сітка"
msgid "New"
msgstr "Новий"
msgid "Not supported for auto-detection, it needs to be configured in klipperscreen.conf"
msgstr ""
"Автоматичне визначення не підтримується, його потрібно налаштувати у klipperscreen.conf"
msgid "Nothing selected"
msgstr "Не вибрано"
msgstr "Не обрано"
msgid "Off"
msgstr "Вимк"
@@ -381,8 +470,11 @@ msgstr "PSK для"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "Пакет буде оновлено"
msgstr[1] "Пакет буде оновлено"
msgstr[2] "Пакет буде оновлено"
msgstr[1] "Пакети будуть оновлені"
msgstr[2] "Пакети будуть оновлені"
msgid "Part Fan"
msgstr "Охолодження моделі"
msgid "Password saved"
msgstr "Пароль збережено"
@@ -391,11 +483,16 @@ msgid "Pause"
msgstr "Пауза"
msgid "Paused"
msgstr "Пауза"
msgstr "ПАУЗА"
msgid "Perform a full upgrade?"
msgstr "Виконати повне оновлення?"
msgid "Pins"
msgstr ""
"Керування\n"
"контактами"
msgid "Please recompile and flash the micro-controller."
msgstr "Будь ласка, перекомпілюйте та перепрошійте мікроконтролер."
@@ -405,6 +502,9 @@ msgstr "Живлення"
msgid "Power On Printer"
msgstr "Увімкнути принтер"
msgid "Pressure Advance:"
msgstr "Випередження тиску:"
msgid "Print"
msgstr "Друк"
@@ -420,8 +520,8 @@ msgstr "Підключення принтера"
msgid "Printing"
msgstr "Друк"
msgid "Probe found applied offset"
msgstr "Зонд знайшов застосоване зміщення"
msgid "Probe Offset"
msgstr "Зміщення зонда"
msgid "Profile Name:"
msgstr "Ім'я профілю:"
@@ -441,27 +541,54 @@ msgstr "Відновити легко"
msgid "Reference"
msgstr "Довідка"
msgid "Refresh"
msgstr "Оновити"
msgid "Restart"
msgstr "Перезапуск"
msgid "Resume"
msgstr "Відновити"
msgstr "ВІДНОВИТИ"
msgid "Retract"
msgstr "Ретракт"
msgid "Retraction"
msgstr ""
"Параметри\n"
"ретракту"
msgid "Retraction Length"
msgstr "Довжина втягування"
msgid "Retraction Speed"
msgstr "Швидкість втягування"
#, python-format
msgid "Retry #%s"
msgstr "Повторіть #%s"
msgid "Retrying"
msgstr "Повторна спроба"
msgid "Save"
msgstr "Зберегти"
msgid "Save Config"
msgstr "Зберегти конфіг"
msgid "Save configuration"
msgstr "Зберегти конфігурацію"
msgid "Save Z"
msgstr "Зберегти Z"
msgid "Save configuration?"
msgstr "Зберегти конфігурацію?"
msgid "Saved"
msgstr "Збережено"
#, python-format
msgid "Saved offset: %s"
msgstr "Збережено зміщення: %s"
msgid "Screen DPMS"
msgstr "Екран DPMS"
@@ -500,12 +627,18 @@ msgstr "Слайсер"
msgid "Slicer Time correction (%)"
msgstr "Виправлення часу слайсера (%)"
msgid "Slicer:"
msgstr "Слайсер:"
msgid "Small"
msgstr "Малий"
msgid "Sort by: "
msgstr "Сортувати за: "
msgid "Sort:"
msgstr "Сортувати:"
msgid "Speed (mm/s)"
msgstr "Швидкість (мм/с)"
@@ -515,11 +648,14 @@ msgstr "Швидкість +"
msgid "Speed -"
msgstr "Швидкість -"
msgid "Speed:"
msgstr "Швидкість:"
msgid "Square Corner Velocity"
msgstr "Квадратна кутова швидкість"
msgstr "Квадратно кутова швидкість"
msgid "Start"
msgstr "Старт"
msgstr "СТАРТ"
msgid "Starting WiFi Association"
msgstr "Запуск асоціації WiFi"
@@ -533,19 +669,11 @@ msgstr "Початок оновлення для"
msgid "System"
msgstr "Системна"
msgid ""
"System\n"
"Restart"
msgstr ""
"Рестарт\n"
"Малини"
msgid "System Restart"
msgstr "Перезавантаження системи"
msgid ""
"System\n"
"Shutdown"
msgstr ""
"Вимкнути\n"
"Малину"
msgid "System Shutdown"
msgstr "Завершення роботи системи"
msgid "Temp (°C)"
msgstr "Teмп (°C)"
@@ -557,25 +685,30 @@ msgstr "Температура"
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "Щоб застосувати %s, потрібно перезапустити KlipperScreen"
msgid "Tool"
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 "Оновлення"
#, fuzzy
msgid "Updating"
msgstr "Оновлення"
@@ -592,6 +725,9 @@ msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "Швидкість переміщення XY (мм/с)"
msgid "XY Speed (mm/s)"
msgstr "Швидкість XY (мм/с)"
msgid "Y+"
@@ -604,14 +740,17 @@ msgid "Z Calibrate"
msgstr "Калібровка Z"
msgid "Z Move Speed (mm/s)"
msgstr "Швидкість Z (мм/с)"
msgstr "Швидкість переміщення Z (мм/с)"
msgid "Z Position"
msgstr "Позиція Z"
msgid "Z Speed (mm/s)"
msgstr "Швидкість Z (мм/с)"
msgid "Z Tilt"
msgstr "Z Нахил"
msgid "Z offset:"
msgstr "Зміщення по Z:"
msgid "Z+"
msgstr "Бебістеп Z+"
@@ -621,8 +760,8 @@ msgstr "Бебістеп Z-"
msgid "commit"
msgid_plural "commits"
msgstr[0] "коментар"
msgstr[1] "коментар"
msgstr[2] "коментар"
msgstr[1] "коментарі"
msgstr[2] "коментарі"
msgid "dBm"
msgstr "dBm"
@@ -630,8 +769,8 @@ msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "година"
msgstr[1] "години"
msgstr[2] "годин"
msgstr[1] "годин"
msgstr[2] "години"
msgid "minutes"
msgstr "хвилин"
@@ -642,14 +781,14 @@ msgstr "мм"
msgid "mm/s"
msgstr "мм/с"
msgid "mm/s^2"
msgid "mm/s²"
msgstr "мм/с²"
#~ msgid "IPv4"
#~ msgstr "IPv4"
msgid "Auto Calibration"
msgstr "Автоматичне калібрування"
#~ msgid "IPv6"
#~ msgstr "IPv6"
msgid "Manual Calibration"
msgstr "Ручне калібрування"
#~ msgid "Z Offset"
#~ msgstr "Зміщення Z"
msgid "NOTE: Edit your printer.cfg to save manual calibration changes."
msgstr "ПРИМІТКА. Відредагуйте файл printer.cfg, щоб зберегти зміни калібрування вручну."
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: 2022-03-31 11:21-0300\n"
"POT-Creation-Date: 2022-08-18 23:05-0300\n"
"PO-Revision-Date: 2022-07-16 23:03+0800\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: zh_CN\n"
@@ -16,35 +16,52 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 3.0.1\n"
"X-Generator: Poedit 3.0\n"
#, python-format
msgid "%s will be updated to version"
msgstr "更新 %s 到版本"
msgstr "%s将被更新"
msgid "(default)"
msgstr "(默认)"
msgstr "(默认)"
msgid "24 Hour Time"
msgstr "使用 24 小时制"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "FIRMWARE_RESTART 可能会解决此问题。"
msgstr "\"FIRMWARE_RESTART\" 可能会解决这个问题。"
msgid "ADXL Not Configured"
msgstr "未配置ADXL"
msgid "Abort"
msgstr "终止"
msgstr "取消"
msgid "Acceleration:"
msgstr "加速度:"
msgid "Accept"
msgstr "接受"
msgstr "应用"
msgid "Actions"
msgstr "工具"
msgstr "控制"
msgid "Add Printer"
msgstr "添加打印机"
msgid "Add bed mesh profile"
msgstr "添加热床网格"
msgid "Add profile"
msgstr ""
msgid "Apply"
msgstr "应用"
#, python-format
msgid "Apply %.2f offset to Endstop?"
msgstr "对Endstop应用%.2f的偏移量?"
#, python-format
msgid "Apply %s%.2f offset to Probe?"
msgstr "将%s%.2f的偏移量应用于探针?"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "您确定要紧急停止吗?"
@@ -53,16 +70,22 @@ msgid "Are you sure you wish to cancel this print?"
msgstr "您确定要取消打印吗?"
msgid "Are you sure you wish to disable motors?"
msgstr "您确定要禁用电机吗?"
msgstr "您确定要关闭电机吗?"
msgid "Are you sure you wish to reboot the system?"
msgstr "您确定要重启系统吗?"
msgstr "您确定要重启系统吗?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "您确定要关闭系统吗?"
msgstr "您确定要关闭系统吗?"
msgid "Auto"
msgstr "汽车"
msgstr "自动"
msgid "Auto-calibrate"
msgstr "自动校准"
msgid "Auto-close notifications"
msgstr ""
msgid "Auto-scroll"
msgstr "自动滚屏"
@@ -73,15 +96,24 @@ msgstr "热床调平"
msgid "Bed Mesh"
msgstr "热床网格"
msgid "Bltouch found applied offset"
msgstr "Bltouch 发现应用的偏移量"
msgid "Bed screw configuration:"
msgstr ""
msgid "Calibrate"
msgstr "校准"
msgid "Calibrated"
msgstr "已校准"
msgid "Calibrated, save configuration to make it permanent"
msgstr "已校准,保存配置后生效"
msgid "Calibrating"
msgstr ""
msgid "Calibrating..."
msgstr "校准中..."
msgid "Can't set above the maximum:"
msgstr "设置值超出最大值:"
@@ -98,17 +130,19 @@ msgid "Cancelling"
msgstr "正在取消"
msgid "Cannot connect to Moonraker"
msgstr "无法连接到 Moonraker"
msgstr "无法连接到Moonraker"
msgid "Channel"
msgstr "更新通道"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgid "Check ADXL Wiring"
msgstr "检查ADXL的接线"
msgid "Checking for updates, please wait..."
msgstr ""
"检查/tmp/KlipperScreen.log以获取更多信息。\n"
"请在GitHub上提交问题以寻求帮助。"
msgid "Clear"
msgstr "清楚"
msgid "Close"
msgstr "关闭"
@@ -117,7 +151,7 @@ msgid "Complete"
msgstr "完成"
msgid "Configuration"
msgstr "配置"
msgstr "设置"
msgid "Confirm Emergency Stop"
msgstr "确认紧急停止"
@@ -136,10 +170,10 @@ msgid "Continue"
msgstr "继续"
msgid "Cooldown"
msgstr "降温"
msgstr "冷却"
msgid "Date"
msgstr "上传日期"
msgstr "日期"
msgid "Decrease"
msgstr "减少"
@@ -147,27 +181,27 @@ msgstr "减少"
msgid "Delete"
msgstr "删除"
msgid "Delete File?"
msgstr ""
msgid "Deselect"
msgstr "取消选择"
msgid "Disable Motors"
msgstr "禁用步进电机"
msgstr "关闭电机"
msgid "Disable XY"
msgstr "关闭 XY 电机"
msgid "Displayed Macros"
msgstr "宏命令显示开关"
msgstr "关闭 XY 轴电机"
msgid "Distance (mm)"
msgstr "挤出距离(mm)"
msgstr "挤出长度(mm)"
#, python-format
msgid "Do you want to recover %s?"
msgstr "您想恢复 %s 吗?"
msgid "Elapsed:"
msgstr "已用时间:"
msgstr "已用时间:"
msgid "Error"
msgstr "错误"
@@ -175,8 +209,11 @@ msgstr "错误"
msgid "Estimated Time Method"
msgstr "估算剩余时间方式"
msgid "Exclude Object"
msgstr ""
msgid "Extrude"
msgstr "挤出"
msgstr "挤出机"
msgid "Extrusion +"
msgstr "挤出流量 +"
@@ -193,65 +230,87 @@ 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 "微调"
msgid "Finish"
msgstr "结束"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
"重启\n"
"Firmware"
msgid "Firmware Restart"
msgstr "重启 Firmware"
msgid "Flow:"
msgstr "流量:"
msgid "Flowrate:"
msgstr "流量:"
msgid "Font Size"
msgstr "字体大小"
msgid ""
"Full\n"
"Update"
msgstr ""
"满的\n"
"更新"
msgid "Full Update"
msgstr "全部 更新"
msgid "Go Back"
msgstr "返回"
msgid "Height:"
msgstr "高度:"
msgid "Hidden"
msgstr "隐"
msgstr "隐藏的"
msgid "Hide"
msgstr "隐藏"
msgid "Hide sensors in Temp."
msgstr "在温度中隐藏传感器。"
msgstr "隐藏温度传感器。"
msgid "Hide temp."
msgstr "隐藏温度。"
msgid "Home"
msgstr "归零"
msgstr "首页"
msgid "Home All"
msgstr "全部归零"
msgid "Home X"
msgstr "归零 X"
msgstr "X轴归零"
msgid "Home XY"
msgstr "归零 XY"
msgstr "XY轴归零"
msgid "Home Y"
msgstr "归零 Y"
msgstr "Y轴归零"
msgid "Home Z"
msgstr "归零 Z"
msgstr "Z轴归零"
msgid "Homing"
msgstr "归零"
msgid "Host"
msgstr ""
msgid "Hostname"
msgstr "主机名"
@@ -262,11 +321,14 @@ msgid "Increase"
msgstr "增加"
msgid "Initializing"
msgstr "初始化中"
msgstr "初始化"
msgid "Initializing printer..."
msgstr "初始化打印机中..."
msgid "Input Shaper"
msgstr "共振补偿"
msgid "Interface"
msgstr "接口"
@@ -274,20 +336,16 @@ msgid "Invalid"
msgstr "无效"
msgid "Invert X"
msgstr "反转 X"
msgstr "反转X轴"
msgid "Invert Y"
msgstr "反转 Y"
msgstr "反转Y轴"
msgid "Invert Z"
msgstr "反转 Z"
msgstr "反转Z轴"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"重启\n"
"Klipper"
msgid "Klipper Restart"
msgstr "重启 Klipper"
msgid "Klipper has disconnected"
msgstr "Klipper 已断开连接"
@@ -299,17 +357,20 @@ msgid "Klipper has shutdown"
msgstr "Klipper 已关闭"
msgid "Klipper is attempting to start"
msgstr "Klipper 正在尝试启动"
msgstr "Klipper正在启动"
msgid "Klipper will reboot"
msgstr "并重新启动Klipper"
msgstr "Klipper将重新启动"
msgid "Language"
msgstr "界面语言"
msgstr "语言"
msgid "Large"
msgstr "大"
msgid "Layer:"
msgstr "层:"
msgid "Left:"
msgstr "剩余时间:"
@@ -322,6 +383,9 @@ msgstr "载入耗材"
msgid "Lower Nozzle"
msgstr "降低喷嘴"
msgid "Machine"
msgstr ""
msgid "Macro shortcut on sidebar"
msgstr "显示侧边栏宏快捷方式"
@@ -331,14 +395,26 @@ msgstr "宏"
msgid "Main Menu"
msgstr "主菜单"
msgid "Max Accelation"
msgstr "加速度"
msgid "Max"
msgstr "最大"
msgid "Max Acceleration"
msgstr "最大加速度"
msgid "Max Acceleration to Deceleration"
msgstr "加速到减速度"
msgstr "最大加速至减速"
msgid "Max Velocity"
msgstr "速度"
msgstr "最大速度"
msgid "Measure Both"
msgstr ""
msgid "Measure X"
msgstr ""
msgid "Measure Y"
msgstr ""
msgid "Medium"
msgstr "中"
@@ -347,7 +423,7 @@ msgid "Menu"
msgstr "菜单"
msgid "Modified"
msgstr "修改"
msgstr "修改时间"
msgid "Moonraker: connected"
msgstr "Moonraker:已连接"
@@ -364,6 +440,14 @@ msgstr "文件名称"
msgid "Network"
msgstr "网络"
msgid "New"
msgstr ""
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
msgstr ""
msgid "Nothing selected"
msgstr "未选择任何内容"
@@ -381,6 +465,9 @@ msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "包将被更新"
msgid "Part Fan"
msgstr ""
msgid "Password saved"
msgstr "密码已保存"
@@ -391,17 +478,23 @@ msgid "Paused"
msgstr "已暂停"
msgid "Perform a full upgrade?"
msgstr "执行全面升级?"
msgstr "是否全部升级?"
msgid "Pins"
msgstr ""
msgid "Please recompile and flash the micro-controller."
msgstr "请重新编译并刷写微控制器。"
msgstr "请重新编译并烧录微控制器。"
msgid "Power"
msgstr "电源开关"
msgstr "电源"
msgid "Power On Printer"
msgstr "启动打印机"
msgid "Pressure Advance:"
msgstr "压力推进:"
msgid "Print"
msgstr "打印"
@@ -412,13 +505,13 @@ msgid "Print Time"
msgstr "打印用时"
msgid "Printer Connections"
msgstr "打印机列表"
msgstr "龙门架调平"
msgid "Printing"
msgstr "印刷"
msgstr "打印中"
msgid "Probe found applied offset"
msgstr "Probe 发现应用的偏移量"
msgid "Probe Offset"
msgstr "探头偏移"
msgid "Profile Name:"
msgstr "配置文件名称:"
@@ -438,36 +531,61 @@ msgstr "重置(Soft)"
msgid "Reference"
msgstr "参考"
msgid "Refresh"
msgstr ""
msgid "Restart"
msgstr "重启Klipper"
msgid "Resume"
msgstr "恢复"
msgstr "继续"
msgid "Retract"
msgstr "退回"
msgid "Retraction"
msgstr "回抽"
msgid "Retraction Length"
msgstr "回抽长度"
msgid "Retraction Speed"
msgstr "回抽速度"
#, python-format
msgid "Retry #%s"
msgstr "重试 #%s"
msgid "Retrying"
msgstr ""
msgid "Save"
msgstr "保存"
msgid "Save Config"
msgstr "保存配置"
msgid "Save configuration"
msgstr "即将保存配置文件"
msgid "Save Z"
msgstr "保存Z轴"
msgid "Save configuration?"
msgstr "是否保存设置?"
msgid "Saved"
msgstr "保存"
#, python-format
msgid "Saved offset: %s"
msgstr "保存偏移: %s"
msgid "Screen DPMS"
msgstr "屏幕DPMS"
msgid "Screen Power Off Time"
msgstr "关闭屏幕"
msgstr "关闭屏幕时间"
msgid "Screws Adjust"
msgstr "平台螺丝调整"
msgstr "调平"
msgid "Select"
msgstr "选择"
@@ -477,7 +595,7 @@ msgstr "发送"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "正在发送通电信号到:%s"
msgstr "打开: %s"
msgid "Set Temp"
msgstr "设定温度"
@@ -489,13 +607,16 @@ msgid "Show"
msgstr "显示"
msgid "Size"
msgstr "文件大小"
msgstr "大小"
msgid "Slicer"
msgstr "切片软件"
msgstr "切片"
msgid "Slicer Time correction (%)"
msgstr "切片器时间校正 (%)"
msgstr "切片软件时间校正(%)"
msgid "Slicer:"
msgstr "切片:"
msgid "Small"
msgstr "小"
@@ -503,8 +624,11 @@ msgstr "小"
msgid "Sort by: "
msgstr "排序: "
msgid "Sort:"
msgstr "排序:"
msgid "Speed (mm/s)"
msgstr "速度(mm/s)"
msgstr "速度(mm/s)"
msgid "Speed +"
msgstr "速度 +"
@@ -512,6 +636,9 @@ msgstr "速度 +"
msgid "Speed -"
msgstr "速度 -"
msgid "Speed:"
msgstr "速度:"
msgid "Square Corner Velocity"
msgstr "转角速度"
@@ -519,7 +646,7 @@ msgid "Start"
msgstr "开始"
msgid "Starting WiFi Association"
msgstr "启动 WiFi 关联"
msgstr "启动wifi连接"
msgid "Starting recovery for"
msgstr "开始恢复"
@@ -530,47 +657,48 @@ msgstr "开始更新"
msgid "System"
msgstr "系统"
msgid ""
"System\n"
"Restart"
msgstr "重启系统"
msgid "System Restart"
msgstr "重启 系统"
msgid ""
"System\n"
"Shutdown"
msgstr "关闭系统"
msgid "System Shutdown"
msgstr "关闭 系统"
msgid "Temp (°C)"
msgstr "温度 (°C)"
msgid "Temperature"
msgstr "设置温度"
msgstr "温度控制"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "要应用 %s 主题,需要重新启动 KlipperScreen"
msgid "Tool"
msgstr "工具"
msgstr "要应用%s请重新启动KlipperScreen"
msgid "Total:"
msgstr "全部的:"
msgstr "总:"
msgid "Unknown Heater"
msgstr "未知加热器"
msgid "Unknown screw position"
msgstr ""
msgid "Unload"
msgstr "退出耗材"
msgstr "卸载"
msgid "Unretract Extra Length"
msgstr ""
msgid "Unretract Speed"
msgstr ""
msgid "Up To Date"
msgstr "最新"
msgstr "最新的"
msgid "Update"
msgstr "更新"
#, fuzzy
msgid "Updating"
msgstr "更新"
msgstr "更新中"
msgid "Uploaded"
msgstr "上传时间"
@@ -579,44 +707,50 @@ msgid "View Mesh"
msgstr "查看热床网格"
msgid "X+"
msgstr "X+"
msgstr ""
msgid "X-"
msgstr "X-"
msgstr ""
msgid "XY Move Speed (mm/s)"
msgstr "XY 移动速度 (mm/s)"
msgstr "XY轴移动速度(mm/s)"
msgid "XY Speed (mm/s)"
msgstr "XY轴速度(mm/s)"
msgid "Y+"
msgstr "Y+"
msgstr ""
msgid "Y-"
msgstr "Y-"
msgstr ""
msgid "Z Calibrate"
msgstr "Z 校准"
msgstr "Z轴校准"
msgid "Z Move Speed (mm/s)"
msgstr "Z 移动速度 (mm/s)"
msgstr "Z轴移动速度(mm/s)"
msgid "Z Position"
msgstr "Z 位置"
msgid "Z Speed (mm/s)"
msgstr "Z轴速度(mm/s)"
msgid "Z Tilt"
msgstr "Z 倾斜校准"
msgid "Z offset:"
msgstr "Z轴偏移:"
msgid "Z+"
msgstr "Z+"
msgstr ""
msgid "Z-"
msgstr "Z-"
msgstr ""
msgid "commit"
msgid_plural "commits"
msgstr[0] "改变"
msgstr[0] "更改"
msgid "dBm"
msgstr "dBm"
msgstr ""
msgid "hour"
msgid_plural "hours"
@@ -626,13 +760,35 @@ msgid "minutes"
msgstr "分钟"
msgid "mm"
msgstr "mm"
msgstr ""
msgid "mm/s"
msgstr "mm/s"
msgstr ""
msgid "mm/s^2"
msgstr "mm/s^2"
msgid "mm/s²"
msgstr ""
#~ msgid "Bltouch found applied offset"
#~ msgstr "Bltouch 发现应用的偏移量"
#~ msgid ""
#~ "Check /tmp/KlipperScreen.log for more information.\n"
#~ "Please submit an issue on GitHub for help."
#~ msgstr ""
#~ "检查/tmp/KlipperScreen.log以获取更多信息。\n"
#~ "请在GitHub上提交问题以寻求帮助。"
#~ msgid "Probe found applied offset"
#~ msgstr "找到探头偏移"
#~ msgid "Tool"
#~ msgstr "工具"
#~ msgid "Displayed Macros"
#~ msgstr "宏命令显示开关"
#~ msgid "Z Position"
#~ msgstr "Z 位置"
#~ msgid "IPv4"
#~ msgstr "IPv4 地址"
@@ -640,9 +796,6 @@ msgstr "mm/s^2"
#~ msgid "IPv6"
#~ msgstr "IPv6 地址"
#~ msgid "Z Offset"
#~ msgstr "Z 偏移"
#~ msgid "Unknown Heater "
#~ msgstr "未知加热器 "
@@ -667,13 +820,13 @@ msgstr "mm/s^2"
#~ "Issue a FIRMWARE_RESTART to attempt fixing the issue."
#~ msgstr ""
#~ "Klipper 遇到错误。\n"
#~ "使用 重启Firmware 命令尝试解决此问题。"
#~ "使用”FIRMWARE_RESTART“命令尝试解决此问题。"
#~ msgid "KlipperScreen Version"
#~ msgstr "KlipperScreen 版本"
#~ msgid "Show Only Heaters in Temp."
#~ msgstr "仅显示使用中的加热器"
#~ msgstr "仅显示使用中的加热器."
#~ msgid "Target"
#~ msgstr "目标"
@@ -705,9 +858,6 @@ msgstr "mm/s^2"
#~ msgid "Fast"
#~ msgstr "加速"
#~ msgid "Set Speed"
#~ msgstr "设置速度"
#~ msgid "Slow"
#~ msgstr "减速"
@@ -715,7 +865,7 @@ msgstr "mm/s^2"
#~ msgstr "?"
#~ msgid "Cancel Change"
#~ msgstr "取消改动"
#~ msgstr "取消更改"
#~ msgid "Control"
#~ msgstr "控制"
@@ -727,4 +877,4 @@ msgstr "mm/s^2"
#~ msgstr "网络信息"
#~ msgid "Screen Blanking Time"
#~ msgstr "关闭屏幕"
#~ msgstr "关闭屏幕时间"
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"POT-Creation-Date: 2022-08-18 23:05-0300\n"
"PO-Revision-Date: 2022-03-31 11:25-0300\n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -31,9 +31,15 @@ msgstr "24 小時制"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr ""
msgid "ADXL Not Configured"
msgstr ""
msgid "Abort"
msgstr "中止"
msgid "Acceleration:"
msgstr ""
msgid "Accept"
msgstr "接受"
@@ -43,8 +49,19 @@ msgstr "動作"
msgid "Add Printer"
msgstr "新增列印機"
msgid "Add bed mesh profile"
msgstr "新增網床輪廓"
msgid "Add profile"
msgstr ""
msgid "Apply"
msgstr ""
#, python-format
msgid "Apply %.2f offset to Endstop?"
msgstr ""
#, python-format
msgid "Apply %s%.2f offset to Probe?"
msgstr ""
msgid "Are you sure you want to run Emergency Stop?"
msgstr "您確定要運行緊急停止嗎?"
@@ -64,6 +81,12 @@ msgstr "您確定要關閉系統嗎?"
msgid "Auto"
msgstr "汽車"
msgid "Auto-calibrate"
msgstr ""
msgid "Auto-close notifications"
msgstr ""
msgid "Auto-scroll"
msgstr "自動滾屏"
@@ -73,15 +96,24 @@ msgstr "熱床調平"
msgid "Bed Mesh"
msgstr "網格床"
msgid "Bltouch found applied offset"
msgstr "Bltouch 發現應用的偏移量"
msgid "Bed screw configuration:"
msgstr ""
msgid "Calibrate"
msgstr "校正"
msgid "Calibrated"
msgstr ""
msgid "Calibrated, save configuration to make it permanent"
msgstr "校準,保存配置以使其永久化"
msgid "Calibrating"
msgstr ""
msgid "Calibrating..."
msgstr ""
msgid "Can't set above the maximum:"
msgstr "不能設置超過最大值:"
@@ -103,12 +135,14 @@ msgstr "無法連接到 Moonraker"
msgid "Channel"
msgstr "通道"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgid "Check ADXL Wiring"
msgstr ""
msgid "Checking for updates, please wait..."
msgstr ""
msgid "Clear"
msgstr ""
"檢查/tmp/KlipperScreen.log 日誌檔以了解更多訊息。\n"
"請在GitHub上提交問題以尋求幫助。"
msgid "Close"
msgstr "關閉"
@@ -147,6 +181,9 @@ msgstr "減少"
msgid "Delete"
msgstr "刪除"
msgid "Delete File?"
msgstr ""
msgid "Deselect"
msgstr "取消選擇"
@@ -156,9 +193,6 @@ msgstr "禁用步進電機"
msgid "Disable XY"
msgstr "禁用 XY"
msgid "Displayed Macros"
msgstr "顯示巨集"
msgid "Distance (mm)"
msgstr "距離(mm)"
@@ -175,6 +209,9 @@ msgstr "錯誤"
msgid "Estimated Time Method"
msgstr "預估時間方法"
msgid "Exclude Object"
msgstr ""
msgid "Extrude"
msgstr "擠出機"
@@ -193,35 +230,51 @@ 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 ""
msgid "Fine Tuning"
msgstr "微調"
msgid "Finish"
msgstr "完成"
msgid ""
"Firmware\n"
"Restart"
msgid "Firmware Restart"
msgstr "Firmware 重新啟動"
msgid "Flow:"
msgstr ""
msgid "Flowrate:"
msgstr ""
"Firmware\n"
"重新啟動"
msgid "Font Size"
msgstr "字體大小"
msgid ""
"Full\n"
"Update"
msgstr ""
"滿的\n"
"更新"
msgid "Full Update"
msgstr "滿的 更新"
msgid "Go Back"
msgstr "返回"
msgid "Height:"
msgstr ""
msgid "Hidden"
msgstr "隱"
@@ -231,6 +284,9 @@ msgstr "隱藏"
msgid "Hide sensors in Temp."
msgstr "在溫度中隱藏傳感器。"
msgid "Hide temp."
msgstr ""
msgid "Home"
msgstr "首頁"
@@ -252,6 +308,9 @@ msgstr "歸零 Z"
msgid "Homing"
msgstr "歸零"
msgid "Host"
msgstr ""
msgid "Hostname"
msgstr "主機名稱"
@@ -267,6 +326,9 @@ msgstr "初始化中"
msgid "Initializing printer..."
msgstr "初始化列印機中.."
msgid "Input Shaper"
msgstr ""
msgid "Interface"
msgstr "介面"
@@ -282,12 +344,8 @@ msgstr "反轉 Y"
msgid "Invert Z"
msgstr "反轉 Z"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"Klipper\n"
"重新啟動"
msgid "Klipper Restart"
msgstr "Klipper 重新啟動"
msgid "Klipper has disconnected"
msgstr "Klipper 已斷開連結"
@@ -310,6 +368,9 @@ msgstr "語言"
msgid "Large"
msgstr "大的"
msgid "Layer:"
msgstr ""
msgid "Left:"
msgstr "剩下時間:"
@@ -322,6 +383,9 @@ msgstr "載入"
msgid "Lower Nozzle"
msgstr "降低噴嘴"
msgid "Machine"
msgstr ""
msgid "Macro shortcut on sidebar"
msgstr "在側邊欄上顯示巨集快捷鍵"
@@ -331,8 +395,11 @@ msgstr "巨集"
msgid "Main Menu"
msgstr "主選單"
msgid "Max Accelation"
msgstr "最大加速度"
msgid "Max"
msgstr ""
msgid "Max Acceleration"
msgstr ""
msgid "Max Acceleration to Deceleration"
msgstr "最大加速到減速"
@@ -340,6 +407,15 @@ msgstr "最大加速到減速"
msgid "Max Velocity"
msgstr "最大速度"
msgid "Measure Both"
msgstr ""
msgid "Measure X"
msgstr ""
msgid "Measure Y"
msgstr ""
msgid "Medium"
msgstr "中"
@@ -364,6 +440,14 @@ msgstr "名稱"
msgid "Network"
msgstr "網路"
msgid "New"
msgstr ""
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
msgstr ""
msgid "Nothing selected"
msgstr "未選擇任何內容"
@@ -381,6 +465,9 @@ msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "包將被更新"
msgid "Part Fan"
msgstr ""
msgid "Password saved"
msgstr "密碼已保存"
@@ -393,6 +480,9 @@ msgstr "已暫停"
msgid "Perform a full upgrade?"
msgstr "執行全面升級?"
msgid "Pins"
msgstr ""
msgid "Please recompile and flash the micro-controller."
msgstr "請重新編譯並刷寫微控制器。"
@@ -402,6 +492,9 @@ msgstr "電源"
msgid "Power On Printer"
msgstr "啟動列印機"
msgid "Pressure Advance:"
msgstr ""
msgid "Print"
msgstr "列印"
@@ -417,8 +510,8 @@ msgstr "連接列印機"
msgid "Printing"
msgstr "列印中"
msgid "Probe found applied offset"
msgstr "Probe 發現應用的偏移量"
msgid "Probe Offset"
msgstr ""
msgid "Profile Name:"
msgstr "配置檔案名稱:"
@@ -438,6 +531,9 @@ msgstr "恢復 Soft"
msgid "Reference"
msgstr "參考"
msgid "Refresh"
msgstr ""
msgid "Restart"
msgstr "重新啟動"
@@ -447,18 +543,40 @@ msgstr "恢復"
msgid "Retract"
msgstr "回抽"
msgid "Retraction"
msgstr ""
msgid "Retraction Length"
msgstr ""
msgid "Retraction Speed"
msgstr ""
#, python-format
msgid "Retry #%s"
msgstr "重試 #%s"
msgid "Retrying"
msgstr ""
msgid "Save"
msgstr "儲存"
msgid "Save Config"
msgstr "儲存設定"
msgid "Save configuration"
msgstr "儲存設定檔案"
msgid "Save Z"
msgstr ""
msgid "Save configuration?"
msgstr ""
msgid "Saved"
msgstr ""
#, python-format
msgid "Saved offset: %s"
msgstr ""
msgid "Screen DPMS"
msgstr "屏幕DPMS"
@@ -497,12 +615,18 @@ msgstr "切片"
msgid "Slicer Time correction (%)"
msgstr "切片器時間校正 (%)"
msgid "Slicer:"
msgstr ""
msgid "Small"
msgstr "小的"
msgid "Sort by: "
msgstr "排序: "
msgid "Sort:"
msgstr ""
msgid "Speed (mm/s)"
msgstr "速度(mm/s)"
@@ -512,6 +636,9 @@ msgstr "速度 +"
msgid "Speed -"
msgstr "速度 -"
msgid "Speed:"
msgstr ""
msgid "Square Corner Velocity"
msgstr "方角速度"
@@ -530,14 +657,10 @@ msgstr "開始更新"
msgid "System"
msgstr "系統"
msgid ""
"System\n"
"Restart"
msgid "System Restart"
msgstr "系統重新啟動"
msgid ""
"System\n"
"Shutdown"
msgid "System Shutdown"
msgstr "關閉系統"
msgid "Temp (°C)"
@@ -550,18 +673,24 @@ msgstr "溫度"
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "要應用 %s,需要重新啟動 KlipperScreen"
msgid "Tool"
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 "最新"
@@ -586,6 +715,9 @@ msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "XY 移動速度 (mm/s)"
msgid "XY Speed (mm/s)"
msgstr ""
msgid "Y+"
msgstr "Y+"
@@ -598,12 +730,15 @@ msgstr "Z 校準"
msgid "Z Move Speed (mm/s)"
msgstr "Z 移動速度 (mm/s)"
msgid "Z Position"
msgstr "Z 位置"
msgid "Z Speed (mm/s)"
msgstr ""
msgid "Z Tilt"
msgstr "Z 傾斜"
msgid "Z offset:"
msgstr ""
msgid "Z+"
msgstr "Z+"
@@ -630,8 +765,30 @@ msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
msgid "mm/s²"
msgstr "mm/s²"
#~ msgid "Bltouch found applied offset"
#~ msgstr "Bltouch 發現應用的偏移量"
#~ msgid ""
#~ "Check /tmp/KlipperScreen.log for more information.\n"
#~ "Please submit an issue on GitHub for help."
#~ msgstr ""
#~ "檢查/tmp/KlipperScreen.log 日誌檔以了解更多訊息。\n"
#~ "請在GitHub上提交問題以尋求幫助。"
#~ msgid "Probe found applied offset"
#~ msgstr "Probe 發現應用的偏移量"
#~ msgid "Tool"
#~ msgstr "工具"
#~ msgid "Displayed Macros"
#~ msgstr "顯示巨集"
#~ msgid "Z Position"
#~ msgstr "Z 位置"
#~ msgid "IPv4"
#~ msgstr "IPv4"
@@ -639,9 +796,6 @@ msgstr "mm/s^2"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "Z 間隙"
#~ msgid "Unknown Heater "
#~ msgstr "未知加熱器 "
+114 -118
View File
@@ -6,31 +6,35 @@ from gi.repository import Gdk, GLib
class Printer:
data = {}
devices = {}
power_devices = {}
state_callbacks = {
"disconnected": None,
"error": None,
"paused": None,
"printing": None,
"ready": None,
"startup": None,
"shutdown": None
}
tools = []
toolcount = 0
extrudercount = 0
tempdevcount = 0
fancount = 0
def __init__(self, printer_info, data, state_execute_cb):
self.klipper = {"version": printer_info['software_version']}
self.tempstore = None
self.config = None
self.state = "disconnected"
self.state_cb = state_execute_cb
self.power_devices = {}
self.store_timeout = False
self.data = data
self.devices = {}
self.power_devices = {}
self.state_callbacks = {
"disconnected": None,
"error": None,
"paused": None,
"printing": None,
"ready": None,
"startup": None,
"shutdown": None
}
self.tools = []
self.extrudercount = 0
self.tempdevcount = 0
self.fancount = 0
self.output_pin_count = 0
def reset(self):
GLib.source_remove(self.store_timeout)
self.store_timeout = None
self.state = None
self.state_cb = None
self.data = None
@@ -38,29 +42,27 @@ class Printer:
self.power_devices = None
self.state_callbacks = None
self.tools = None
self.toolcount = None
self.extrudercount = None
self.tempdevcount = None
self.fancount = None
GLib.source_remove(self.store_timeout)
self.store_timeout = None
self.config = None
self.klipper = None
self.tempstore = None
self.output_pin_count = None
def reinit(self, printer_info, data):
logging.debug("Moonraker object status: %s" % data)
logging.debug(f"Moonraker object status: {data}")
self.config = data['configfile']['config']
self.toolcount = 0
self.extrudercount = 0
self.tempdevcount = 0
self.fancount = 0
self.output_pin_count = 0
self.tools = []
self.devices = {}
self.data = data
self.klipper = {}
self.tempstore = {}
if self.store_timeout is False:
if not self.store_timeout:
self.store_timeout = GLib.timeout_add_seconds(1, self._update_temp_store)
self.klipper = {
@@ -68,30 +70,40 @@ class Printer:
}
for x in self.config.keys():
if x[0:8] == "extruder":
if x[:8] == "extruder":
self.tools.append(x)
self.tools = sorted(self.tools)
self.extrudercount += 1
if x.startswith('extruder_stepper'):
continue
self.devices[x] = {
"temperature": 0,
"target": 0
}
self.tools.append(x)
self.tools = sorted(self.tools)
self.toolcount += 1
if "shared_heater" in self.config[x]:
continue
self.extrudercount += 1
if x == 'heater_bed' or x.startswith('heater_generic ') or x.startswith('temperature_sensor ') \
if x == 'heater_bed' \
or x.startswith('heater_generic ') \
or x.startswith('temperature_sensor ') \
or x.startswith('temperature_fan '):
self.devices[x] = {
"temperature": 0,
"target": 0
}
self.tempdevcount += 1
if x == 'fan' or x.startswith('controller_fan ') or x.startswith('heater_fan ') \
# Support for hiding devices by name
name = x.split()[1] if len(x.split()) > 1 else x
if not name.startswith("_"):
self.tempdevcount += 1
if x == 'fan' \
or x.startswith('controller_fan ') \
or x.startswith('heater_fan ') \
or x.startswith('fan_generic '):
self.fancount += 1
# Support for hiding devices by name
name = x.split()[1] if len(x.split()) > 1 else x
if not name.startswith("_"):
self.fancount += 1
if x.startswith('output_pin '):
# Support for hiding devices by name
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'])
@@ -103,27 +115,14 @@ class Printer:
r['points'] = [[float(j.strip()) for j in i.split(",")] for i in r['points'].strip().split("\n")]
self.process_update(data)
logging.info("Klipper version: %s", self.klipper['version'])
logging.info("# Toolcount: %s", str(self.toolcount))
logging.info("# Extruders: %s", str(self.extrudercount))
logging.info("# Temperature devices: %s", str(self.tempdevcount))
logging.info("# Fans: %s", str(self.fancount))
logging.info(f"Klipper version: {self.klipper['version']}")
logging.info(f"# Extruders: {self.extrudercount}")
logging.info(f"# Temperature devices: {self.tempdevcount}")
logging.info(f"# Fans: {self.fancount}")
logging.info(f"# Output pins: {self.output_pin_count}")
def process_update(self, data):
keys = [
'bed_mesh',
'display_status',
'fan',
'gcode_move',
'idle_timeout',
'pause_resume',
'print_stats',
'toolhead',
'virtual_sdcard',
'webhooks'
]
for x in (self.get_tools() + self.get_heaters()):
for x in (self.get_tools() + self.get_heaters() + self.get_filament_sensors()):
if x in data:
for i in data[x]:
self.set_dev_stat(x, i, data[x][i])
@@ -135,7 +134,7 @@ class Printer:
self.data[x] = {}
self.data[x].update(data[x])
if "webhooks" in data or "idle_timeout" in data or "print_stats" in data:
if "webhooks" in data or "idle_timeout" in data or "print_stats" in data or "pause_resume" in data:
self.evaluate_state()
def get_updates(self):
@@ -148,7 +147,9 @@ class Printer:
if wh_state == "ready":
new_state = "ready"
if self.data['print_stats']:
if self.data['pause_resume']['is_paused']:
new_state = "paused"
elif self.data['print_stats']:
print_state = self.data['print_stats']['state'].lower() # complete, error, paused, printing, standby
if print_state == "paused":
new_state = "paused"
@@ -175,11 +176,11 @@ class Printer:
if state == self.state or state not in list(self.state_callbacks):
return
logging.debug("Changing state from '%s' to '%s'" % (self.state, state))
logging.debug(f"Changing state from '{self.state}' to '{state}'")
prev_state = self.state
self.state = state
if self.state_callbacks[state] is not None:
logging.debug("Adding callback for state: %s" % state)
logging.debug(f"Adding callback for state: {state}")
Gdk.threads_add_idle(
GLib.PRIORITY_HIGH_IDLE,
self.state_cb,
@@ -190,39 +191,39 @@ class Printer:
def configure_power_devices(self, data):
self.power_devices = {}
logging.debug("Processing power devices: %s" % data)
logging.debug(f"Processing power devices: {data}")
for x in data['devices']:
self.power_devices[x['device']] = {
"status": "on" if x['status'] == "on" else "off"
}
logging.debug("Power devices: %s" % self.power_devices)
logging.debug(f"Power devices: {self.power_devices}")
def get_config_section_list(self, search=""):
if not hasattr(self, "config"):
return []
return [i for i in list(self.config) if i.startswith(search)]
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):
if section in self.config:
return self.config[section]
return False
def get_config_section(self, section):
if section not in self.config:
return False
return self.config[section]
return self.config[section] if section in self.config else False
def get_data(self):
return self.data
def get_fans(self):
fans = ["fan"] if len(self.get_config_section_list("fan")) > 0 else []
fans = []
if self.config_section_exists("fan"):
fans.append("fan")
fan_types = ["controller_fan", "fan_generic", "heater_fan"]
for type in fan_types:
for f in self.get_config_section_list("%s " % type):
fans.append(f)
for fan_type in fan_types:
fans.extend(iter(self.get_config_section_list(f"{fan_type} ")))
return fans
def get_output_pins(self):
output_pins = []
output_pins.extend(iter(self.get_config_section_list("output_pin ")))
logging.debug(f"{output_pins}")
return output_pins
def get_gcode_macros(self):
return self.get_config_section_list("gcode_macro ")
@@ -230,36 +231,27 @@ class Printer:
heaters = []
if self.has_heated_bed():
heaters.append("heater_bed")
for h in self.get_config_section_list("heater_generic "):
heaters.append(h)
for h in self.get_config_section_list("temperature_sensor "):
heaters.append(h)
for h in self.get_config_section_list("temperature_fan "):
heaters.append(h)
heaters.extend(iter(self.get_config_section_list("heater_generic ")))
heaters.extend(iter(self.get_config_section_list("temperature_sensor ")))
heaters.extend(iter(self.get_config_section_list("temperature_fan ")))
return heaters
def get_filament_sensors(self):
sensors = list(self.get_config_section_list("filament_switch_sensor "))
sensors.extend(iter(self.get_config_section_list("filament_motion_sensor ")))
return sensors
def get_printer_status_data(self):
data = {
"printer": {
"extruders": {
"count": self.extrudercount
},
"temperature_devices": {
"count": self.tempdevcount
},
"fans": {
"count": self.fancount
},
"bltouch": self.config_section_exists("bltouch"),
"gcode_macros": {
"count": len(self.get_gcode_macros())
},
"extruders": {"count": self.extrudercount},
"temperature_devices": {"count": self.tempdevcount},
"fans": {"count": self.fancount},
"output_pins": {"count": self.output_pin_count},
"gcode_macros": {"count": len(self.get_gcode_macros())},
"idle_timeout": self.get_stat("idle_timeout").copy(),
"pause_resume": self.get_stat("pause_resume").copy(),
"power_devices": {
"count": len(self.get_power_devices())
},
"probe": self.config_section_exists("probe")
"pause_resume": {"is_paused": self.state == "paused"},
"power_devices": {"count": len(self.get_power_devices())},
}
}
@@ -268,6 +260,10 @@ class Printer:
if self.config_section_exists(section):
data["printer"][section] = self.get_config_section(section).copy()
sections = ["firmware_retraction", "input_shaper", "bed_screws", "screws_tilt_adjust"]
for section in sections:
data["printer"][section] = self.config_section_exists(section)
return data
def get_klipper_version(self):
@@ -282,27 +278,25 @@ class Printer:
return self.power_devices[device]['status']
def get_stat(self, stat, substat=None):
if stat not in self.data:
if self.data is None or stat not in self.data:
return {}
if substat is not None:
if substat in self.data[stat]:
return self.data[stat][substat]
return {}
return self.data[stat][substat] if substat in self.data[stat] else {}
return self.data[stat]
def get_state(self):
return self.state
def set_dev_temps(self, dev, temp, target=None):
def set_dev_temps(self, dev, temp, target=None, power=None):
if dev in self.devices:
self.devices[dev]['temperature'] = temp
if target is not None:
self.devices[dev]['target'] = target
if power is not None:
self.devices[dev]['power'] = power
def get_dev_stats(self, dev):
if dev in self.devices:
return self.devices[dev]
return None
return self.devices[dev] if dev in self.devices else None
def get_dev_stat(self, dev, stat):
if dev in self.devices and stat in self.devices[dev]:
@@ -310,8 +304,8 @@ class Printer:
return None
def get_fan_speed(self, fan="fan", speed=None):
if fan not in self.config:
logging.debug("Error getting %s config", fan)
if fan not in self.config or fan not in self.data:
logging.debug(f"Error getting {fan} config")
return speed if speed is not None else 0
if speed is None and "speed" in self.data[fan]:
speed = self.data[fan]["speed"]
@@ -325,6 +319,13 @@ class Printer:
speed = 0
return speed
def get_pin_value(self, pin):
if pin in self.data:
return self.data[pin]["value"]
elif pin in self.config and 'value' in self.config[pin]:
return self.config[pin]["value"]
return 0
def get_extruder_count(self):
return self.extrudercount
@@ -333,10 +334,7 @@ class Printer:
return list(self.tempstore)
def get_temp_store_device_has_target(self, device):
if device in self.tempstore:
if "targets" in self.tempstore[device]:
return True
return False
return device in self.tempstore and "targets" in self.tempstore[device]
def get_temp_store(self, device, section=False, results=0):
if device not in self.tempstore:
@@ -373,12 +371,10 @@ class Printer:
self.tempstore[dev]["targets"] = result[dev]["targets"]
if "temperatures" in result[dev]:
self.tempstore[dev]["temperatures"] = result[dev]["temperatures"]
logging.info("Temp store: %s" % list(self.tempstore))
logging.info(f"Temp store: {list(self.tempstore)}")
def config_section_exists(self, section):
if section in self.get_config_section_list():
return True
return False
return section in self.get_config_section_list()
def set_callbacks(self, callbacks):
for name, cb in callbacks.items():
+118 -31
View File
@@ -1,13 +1,16 @@
import gi
import logging
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk
from ks_includes.KlippyGcodes import KlippyGcodes
class ScreenPanel:
def __init__(self, screen, title, back=True, action_bar=True, printer_name=True):
def __init__(self, screen, title, back=True):
self.menu = None
self._screen = screen
self._config = screen._config
self._files = screen.files
@@ -23,51 +26,42 @@ class ScreenPanel:
self.layout = Gtk.Layout()
self.layout.set_size(self._screen.width, self._screen.height)
self.content = Gtk.Box(spacing=0)
self.content = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
self.content.get_style_context().add_class("content")
self.content.set_hexpand(True)
self.content.set_vexpand(True)
self._show_heater_power = self._config.get_main_config().getboolean('show_heater_power', False)
def initialize(self, panel_name):
# Create gtk items here
return
def emergency_stop(self, widget):
_ = self.lang.gettext
if self._config.get_main_config_option('confirm_estop') == "True":
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?"),
"printer.emergency_stop")
else:
self._screen._ws.klippy.emergency_stop()
def format_target(self, temp):
if temp <= 0:
return ""
else:
return ("(%s)" % str(int(temp)))
def format_temp(self, temp, places=1):
if places == 0:
n = int(temp)
else:
n = round(temp, places)
return "%s<small>°C</small>" % str(n)
def get(self):
return self.layout
def get_content(self):
return self.content
def get_file_image(self, filename, width=1.6, height=1.6):
def get_file_image(self, filename, width=1, height=1, small=False):
if not self._files.has_thumbnail(filename):
return None
loc = self._files.get_thumbnail_location(filename)
loc = self._files.get_thumbnail_location(filename, small)
if loc is None:
return None
if loc[0] == "file":
return self._gtk.PixbufFromFile(loc[1], None, width, height)
return self._gtk.PixbufFromFile(loc[1], width, height)
if loc[0] == "http":
return self._gtk.PixbufFromHttp(loc[1], None, width, height)
return self._gtk.PixbufFromHttp(loc[1], width, height)
return None
def get_title(self):
@@ -86,13 +80,12 @@ class ScreenPanel:
self._screen._ws.klippy.gcode_script(KlippyGcodes.QUAD_GANTRY_LEVEL)
def menu_item_clicked(self, widget, panel, item):
print("### Creating panel " + item['panel'] + " : %s %s" % (panel, item))
logging.info(f"### Creating panel {item['panel']} : {panel} {item}")
if "items" in item:
self._screen.show_panel(self._screen._cur_panels[-1] + '_' + panel, item['panel'], item['name'],
1, False, items=item['items'])
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(self._screen._cur_panels[-1] + '_' + panel, item['panel'], item['name'],
1, False)
self._screen.show_panel(f'{self._screen._cur_panels[-1]}_{panel}', item['panel'], item['name'], 1, False)
def menu_return(self, widget, home=False):
if home is False:
@@ -110,9 +103,103 @@ class ScreenPanel:
if label in self.labels and 'l' in self.labels[label]:
self.labels[label]['l'].set_text(text)
def update_temp(self, dev, temp, target, name=None):
def load_menu(self, widget, name):
if f"{name}_menu" not in self.labels:
return
for child in self.content.get_children():
self.content.remove(child)
self.menu.append(f'{name}_menu')
self.content.add(self.labels[self.menu[-1]])
self.content.show_all()
def unload_menu(self, widget=None):
logging.debug(f"self.menu: {self.menu}")
if len(self.menu) <= 1 or self.menu[-2] not in self.labels:
return
self.menu.pop()
for child in self.content.get_children():
self.content.remove(child)
self.content.add(self.labels[self.menu[-1]])
self.content.show_all()
def on_dropdown_change(self, combo, section, option, callback=None):
tree_iter = combo.get_active_iter()
if tree_iter is not None:
model = combo.get_model()
value = model[tree_iter][1]
logging.debug(f"[{section}] {option} changed to {value}")
self._config.set(section, option, value)
self._config.save_user_config_options()
if callback is not None:
callback(value)
def scale_moved(self, widget, event, section, option):
logging.debug(f"[{section}] {option} changed to {widget.get_value()}")
if section not in self._config.get_config().sections():
self._config.get_config().add_section(section)
self._config.set(section, option, str(int(widget.get_value())))
self._config.save_user_config_options()
def switch_config_option(self, switch, gparam, section, option, callback=None):
logging.debug(f"[{section}] {option} toggled {switch.get_active()}")
if section not in self._config.get_config().sections():
self._config.get_config().add_section(section)
self._config.set(section, option, "True" if switch.get_active() else "False")
self._config.save_user_config_options()
if callback is not None:
callback(switch.get_active())
@staticmethod
def format_time(seconds):
if seconds is None or seconds <= 0:
return "-"
seconds = int(seconds)
days = seconds // 86400
seconds %= 86400
hours = seconds // 3600
seconds %= 3600
minutes = seconds // 60
seconds %= 60
return f"{f'{days:2.0f}d ' if days > 0 else ''}" \
f"{f'{hours:2.0f}h ' if hours > 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 ''}"
@staticmethod
def format_size(size):
size = float(size)
suffixes = ["kB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"]
for i, suffix in enumerate(suffixes, start=2):
unit = 1024 ** i
if size < unit:
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:
if name is None:
self.labels[dev].set_label(self._gtk.formatTemperatureString(temp, target))
else:
self.labels[dev].set_label("%s\n%s" % (name, self._gtk.formatTemperatureString(temp, target)))
self.labels[dev].set_label(new_label_text)
elif dev in self.devices:
self.devices[dev]["temp"].get_child().set_label(new_label_text)
+34 -42
View File
@@ -23,37 +23,33 @@ class HeaterGraph(Gtk.DrawingArea):
self.connect('button_press_event', self.event_cb)
self.font_size = round(font_size * 0.75)
def add_object(self, name, type, rgb=[0, 0, 0], dashed=False, fill=False):
def add_object(self, name, ev_type, rgb=None, dashed=False, fill=False):
if rgb is None:
rgb = [0, 0, 0]
if name not in self.store:
self.store.update({name: {"show": True}})
self.store[name].update({type: {
self.store[name].update({ev_type: {
"dashed": dashed,
"fill": fill,
"rgb": rgb
}})
self.max_length = max(self.max_length, len(self.printer.get_temp_store(name, type)))
self.max_length = max(self.max_length, len(self.printer.get_temp_store(name, ev_type)))
def event_cb(self, da, ev):
@staticmethod
def event_cb(da, ev):
if ev.type == Gdk.EventType.BUTTON_PRESS:
x = ev.x
y = ev.y
logging.info("Graph area: %s %s" % (x, y))
logging.info(f"Graph area: {x} {y}")
def get_max_length(self):
n = []
for name in self.store:
if "temperatures" not in self.store[name]:
continue
n.append(len(self.printer.get_temp_store(name, "temperatures")))
return min(n)
return min(len(self.printer.get_temp_store(name, "temperatures"))
for name in self.store if "temperatures" in self.store[name])
def get_max_num(self, data_points=0):
mnum = []
for x in self.store:
for t in self.store[x]:
if t == "show":
continue
mnum.append(max(self.printer.get_temp_store(x, t, data_points)))
mnum.extend(max(self.printer.get_temp_store(x, t, data_points)) for t in self.store[x] if t != "show")
return max(mnum)
def draw_graph(self, da, ctx):
@@ -91,21 +87,21 @@ class HeaterGraph(Gtk.DrawingArea):
max_num = math.ceil(self.get_max_num(data_points) * 1.1 / 10) * 10
d_width = 1 / points_per_pixel
d_height_scale = self.graph_lines(ctx, gsize, max_num)
self.graph_time(ctx, gsize, points_per_pixel)
for name in self.store:
if not self.store[name]['show']:
continue
for type in self.store[name]:
d = self.printer.get_temp_store(name, type, data_points)
for dev_type in self.store[name]:
d = self.printer.get_temp_store(name, dev_type, data_points)
if d is False:
continue
self.graph_data(ctx, d, gsize, d_height_scale, d_width, self.store[name][type]["rgb"],
self.store[name][type]["dashed"], self.store[name][type]["fill"])
self.graph_data(ctx, d, gsize, d_height_scale, d_width, self.store[name][dev_type]["rgb"],
self.store[name][dev_type]["dashed"], self.store[name][dev_type]["fill"])
def graph_data(self, ctx, data, gsize, hscale, swidth, rgb, dashed=False, fill=False):
@staticmethod
def graph_data(ctx, data, gsize, hscale, swidth, rgb, dashed=False, fill=False):
i = 0
ctx.set_source_rgba(rgb[0], rgb[1], rgb[2], 1)
ctx.move_to(gsize[0][0] + 1, gsize[0][1] - 1)
@@ -115,10 +111,10 @@ class HeaterGraph(Gtk.DrawingArea):
ctx.set_dash([1, 0])
d_len = len(data) - 1
for d in data:
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_x = i * swidth + gsize[0][0] if i != d_len else gsize[1][0] - 1
p_y = max(gsize[0][1], min(gsize[1][1], gsize[1][1] - 1 - (d * hscale)))
if i == 0:
ctx.move_to(gsize[0][0]+1, p_y)
ctx.move_to(gsize[0][0] + 1, p_y)
i += 1
continue
ctx.line_to(p_x, p_y)
@@ -136,18 +132,19 @@ class HeaterGraph(Gtk.DrawingArea):
def graph_lines(self, ctx, gsize, max_num):
nscale = 10
max_num = min(max_num, 999)
while (max_num / nscale) > 5:
nscale += 10
# nscale = math.floor((max_num / 10) / 4) * 10
r = int(max_num/nscale) + 1
r = int(max_num / nscale) + 1
hscale = (gsize[1][1] - gsize[0][1]) / (r * nscale)
for i in range(r):
ctx.set_source_rgb(.5, .5, .5)
lheight = gsize[1][1] - nscale*i*hscale
lheight = gsize[1][1] - nscale * i * hscale
ctx.move_to(6, lheight + 3)
ctx.set_font_size(self.font_size)
ctx.show_text(str(nscale*i).rjust(3, " "))
ctx.show_text(str(nscale * i).rjust(3, " "))
ctx.stroke()
ctx.set_source_rgba(.5, .5, .5, .2)
ctx.move_to(gsize[0][0], lheight)
@@ -174,25 +171,20 @@ class HeaterGraph(Gtk.DrawingArea):
ctx.set_source_rgb(.5, .5, .5)
ctx.move_to(x - round(self.font_size * 1.5), gsize[1][1] + round(self.font_size * 1.5))
hour = now.hour
min = now.minute - (now.minute % 2) - i * 2
if min < 0:
hour -= 1
min = 60 + min
if hour < 0:
hour += 24
h = now.hour
m = now.minute - (now.minute % 2) - i * 2
if m < 0:
h -= 1
m += 60
if h < 0:
h += 24
ctx.set_font_size(self.font_size)
ctx.show_text("%02d:%02d" % (hour, min))
ctx.show_text(f"{h:2}:{m:02}")
ctx.stroke()
if self.max_length < 600:
i += 1
else:
i += 2
i += 1 if self.max_length < 600 else 2
def is_showing(self, device):
if device not in self.store:
return False
return self.store[device]['show']
return False if device not in self.store else self.store[device]['show']
def set_showing(self, device, show=True):
if device not in self.store:
+110
View File
@@ -0,0 +1,110 @@
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, GLib
class Keyboard(Gtk.Box):
def __init__(self, screen, close_cb, entry=None):
super().__init__(orientation=Gtk.Orientation.VERTICAL)
_ = screen.lang.gettext
self._gtk = screen.gtk
self.close_cb = close_cb
self.keyboard = Gtk.Grid()
self.keyboard.set_direction(Gtk.TextDirection.LTR)
self.timeout = self.clear_timeout = None
self.entry = entry
self.keys = [
[["q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "⌫"],
["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()
for p, pallet in enumerate(self.keys):
for r, row in enumerate(pallet):
for k, key in enumerate(row):
self.labels[p][r][k] = self._gtk.Button(key)
self.labels[p][r][k].set_hexpand(True)
self.labels[p][r][k].set_vexpand(True)
self.labels[p][r][k].connect('button-press-event', self.repeat, key)
self.labels[p][r][k].connect('button-release-event', self.release)
self.labels[p][r][k].get_style_context().add_class("keyboard_pad")
self.pallet_nr = 0
self.set_pallet(self.pallet_nr)
self.add(self.keyboard)
def set_pallet(self, p):
pallet = self.keys[p]
span = 2
for r, row in enumerate(pallet[:-1]):
for k, key in enumerate(row):
x = k * 2 + 1 if r == 1 else k * 2
old = self.keyboard.get_child_at(x, r)
if old:
self.keyboard.remove(old)
self.keyboard.attach(self.labels[p][r][k], x, r, span, 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()
def repeat(self, widget, event, key):
# Button-press
self.update_entry(widget, key)
if self.timeout is None and key == "⌫":
# Hold for repeat, hold longer to clear the field
self.clear_timeout = GLib.timeout_add_seconds(3, self.clear, widget)
# This can be used to repeat all the keys,
# but I don't find it useful on the console
self.timeout = GLib.timeout_add(400, self.repeat, widget, None, key)
return True
def release(self, widget, event):
# Button-release
if self.timeout is not None:
GLib.source_remove(self.timeout)
self.timeout = None
if self.clear_timeout is not None:
GLib.source_remove(self.clear_timeout)
self.clear_timeout = None
def clear(self, widget=None):
self.entry.set_text("")
if self.clear_timeout is not None:
GLib.source_remove(self.clear_timeout)
self.clear_timeout = None
def update_entry(self, widget, key):
if key == "⌫":
Gtk.Entry.do_backspace(self.entry)
elif key == "✔":
self.close_cb()
return
elif key == "✕":
self.clear()
self.close_cb()
return
elif key == "abc":
self.set_pallet(0)
elif key == "ABC":
self.set_pallet(1)
elif key == "?123":
self.set_pallet(2)
else:
Gtk.Entry.do_insert_at_cursor(self.entry, key)
+12 -11
View File
@@ -16,6 +16,7 @@ class Keypad(Gtk.Box):
numpad = self._gtk.HomogeneousGrid()
numpad.set_direction(Gtk.TextDirection.LTR)
numpad.get_style_context().add_class('numpad')
keys = [
['1', 'numpad_tleft'],
@@ -32,23 +33,23 @@ class Keypad(Gtk.Box):
['E', 'numpad_bright']
]
for i in range(len(keys)):
id = 'button_' + str(keys[i][0])
k_id = f'button_{str(keys[i][0])}'
if keys[i][0] == "B":
self.labels[id] = self._gtk.ButtonImage("backspace", None, None, 1, 1)
self.labels[k_id] = self._gtk.ButtonImage("backspace", scale=1)
elif keys[i][0] == "E":
self.labels[id] = self._gtk.ButtonImage("complete", None, None, 1, 1)
self.labels[k_id] = self._gtk.ButtonImage("complete", scale=1)
else:
self.labels[id] = Gtk.Button(keys[i][0])
self.labels[id].connect('clicked', self.update_entry, keys[i][0])
self.labels[id].get_style_context().add_class(keys[i][1])
numpad.attach(self.labels[id], i % 3, i/3, 1, 1)
self.labels[k_id] = Gtk.Button(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])
numpad.attach(self.labels[k_id], i % 3, i / 3, 1, 1)
self.labels["keypad"] = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
self.labels['entry'] = Gtk.Entry()
self.labels['entry'].props.xalign = 0.5
self.labels['entry'].connect("activate", self.update_entry, "E")
b = self._gtk.ButtonImage('cancel', _('Close'), None, 1, 1)
b = self._gtk.ButtonImage('cancel', _('Close'), None, .66, Gtk.PositionType.LEFT, 1)
b.connect("clicked", close_function)
self.add(self.labels['entry'])
@@ -65,7 +66,7 @@ class Keypad(Gtk.Box):
if digit == 'B':
if len(text) < 1:
return
self.labels['entry'].set_text(text[0:-1])
self.labels['entry'].set_text(text[:-1])
elif digit == 'E':
try:
temp = int(text)
@@ -73,7 +74,7 @@ class Keypad(Gtk.Box):
temp = 0
self.change_temp(temp)
self.labels['entry'].set_text("")
elif len(text) >= 3:
return
else:
if len(text) >= 3:
return
self.labels['entry'].set_text(text + digit)
+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
+116 -122
View File
@@ -9,10 +9,12 @@ from threading import Thread
from queue import Queue
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import GLib, Gdk
class WifiManager():
class WifiManager:
networks_in_supplicant = []
connected = False
_stop_loop = False
@@ -42,16 +44,17 @@ class WifiManager():
self.timeout = None
self.scan_time = 0
KS_SOCKET_FILE = "/tmp/.KS_wpa_supplicant"
if os.path.exists(KS_SOCKET_FILE):
os.remove(KS_SOCKET_FILE)
ks_socket_file = "/tmp/.KS_wpa_supplicant"
if os.path.exists(ks_socket_file):
os.remove(ks_socket_file)
try:
self.soc = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM)
self.soc.bind(KS_SOCKET_FILE)
self.soc.connect("/var/run/wpa_supplicant/%s" % interface)
except Exception:
logging.info("Error connecting to wifi socket: %s" % interface)
self.soc.bind(ks_socket_file)
self.soc.connect(f"/var/run/wpa_supplicant/{interface}")
except Exception as e:
logging.critical(e, exc_info=True)
logging.error(f"Error connecting to wifi socket: {interface}")
return
self.wpa_thread = WpaSocket(self, self.queue, self.callback)
@@ -68,73 +71,74 @@ class WifiManager():
self._callbacks[name].append(callback)
def add_network(self, ssid, psk):
for id in list(self.supplicant_networks):
if self.supplicant_networks[id]['ssid'] == ssid:
for netid in list(self.supplicant_networks):
if self.supplicant_networks[netid]['ssid'] == ssid:
# Modify network
return
# TODO: Add wpa_cli error checking
network_id = self.wpa_cli("ADD_NETWORK")
commands = [
'ENABLE_NETWORK %s' % (network_id),
f'ENABLE_NETWORK {network_id}',
'SET_NETWORK %s ssid "%s"' % (network_id, ssid.replace('"', '\"')),
'SET_NETWORK %s psk "%s"' % (network_id, psk.replace('"', '\"'))
]
self.wpa_cli_batch(commands)
self.read_wpa_supplicant()
id = None
netid = None
for i in list(self.supplicant_networks):
if self.supplicant_networks[i]['ssid'] == ssid:
id = i
netid = i
break
if id is None:
if netid is None:
logging.info("Error adding network")
return False
self.save_wpa_conf()
return True
def callback(self, type, msg):
if type in self._callbacks:
for cb in self._callbacks[type]:
def callback(self, cb_type, msg):
if cb_type in self._callbacks:
for cb in self._callbacks[cb_type]:
Gdk.threads_add_idle(
GLib.PRIORITY_DEFAULT_IDLE,
cb,
msg)
def connect(self, ssid):
id = None
for netid, net in self.supplicant_networks.items():
netid = None
for nid, net in self.supplicant_networks.items():
if net['ssid'] == ssid:
id = netid
netid = nid
break
if id is None:
if netid is None:
logging.info("Wifi network is not defined in wpa_supplicant")
return False
logging.info("Attempting to connect to wifi: %s" % id)
self.connecting_info = ["Attempting to connect to %s" % ssid]
self.wpa_cli("SELECT_NETWORK %s" % id)
logging.info(f"Attempting to connect to wifi: {netid}")
self.connecting_info = [f"Attempting to connect to {ssid}"]
self.wpa_cli(f"SELECT_NETWORK {id}")
self.save_wpa_conf()
def delete_network(self, ssid):
id = None
netid = None
for i in list(self.supplicant_networks):
if self.supplicant_networks[i]['ssid'] == ssid:
id = i
netid = i
break
if id is None:
if netid is None:
logging.debug("Unable to find network in wpa_supplicant")
return
self.wpa_cli("REMOVE_NETWORK %s" % id)
self.wpa_cli(f"REMOVE_NETWORK {netid}")
for id in list(self.supplicant_networks):
if self.supplicant_networks[id]['ssid'] == ssid:
del self.supplicant_networks[id]
for netid in list(self.supplicant_networks):
if self.supplicant_networks[netid]['ssid'] == ssid:
del self.supplicant_networks[netid]
break
self.save_wpa_conf()
@@ -142,45 +146,39 @@ class WifiManager():
def get_connected_ssid(self):
return self.connected_ssid
def get_current_wifi(self, interface="wlan0"):
def get_current_wifi(self):
con_ssid = os.popen("sudo iwgetid -r").read().strip()
con_bssid = os.popen("sudo iwgetid -r -a").read().strip()
# wpa_cli status output is unstable use it as backup only
status = self.wpa_cli("STATUS").split('\n')
vars = {}
variables = {}
for line in status:
arr = line.split('=')
vars[arr[0]] = "=".join(arr[1:])
variables[arr[0]] = "=".join(arr[1:])
prev_ssid = self.connected_ssid
if con_ssid != "":
self.connected = True
self.connected_ssid = con_ssid
for ssid, val in self.networks.items():
if ssid == con_ssid:
self.networks[ssid]['connected'] = True
else:
self.networks[ssid]['connected'] = False
self.networks[ssid]['connected'] = ssid == con_ssid
if prev_ssid != self.connected_ssid:
for cb in self._callbacks['connected']:
Gdk.threads_add_idle(
GLib.PRIORITY_DEFAULT_IDLE,
cb, self.connected_ssid, prev_ssid)
return [con_ssid, con_bssid]
elif "ssid" in vars and "bssid" in vars:
elif "ssid" in variables and "bssid" in variables:
self.connected = True
self.connected_ssid = vars['ssid']
self.connected_ssid = variables['ssid']
for ssid, val in self.networks.items():
if ssid == vars['ssid']:
self.networks[ssid]['connected'] = True
else:
self.networks[ssid]['connected'] = False
self.networks[ssid]['connected'] = ssid == variables['ssid']
if prev_ssid != self.connected_ssid:
for cb in self._callbacks['connected']:
Gdk.threads_add_idle(
GLib.PRIORITY_DEFAULT_IDLE,
cb, self.connected_ssid, prev_ssid)
return [vars['ssid'], vars['bssid']]
return [variables['ssid'], variables['bssid']]
else:
logging.info("Resetting connected_ssid")
self.connected = False
@@ -244,7 +242,7 @@ class WifiManager():
logging.info("Saving WPA config")
self.wpa_cli("SAVE_CONFIG")
def scan_results(self, interface='wlan0'):
def scan_results(self):
new_networks = []
deleted_networks = list(self.networks)
@@ -256,14 +254,14 @@ class WifiManager():
match = re.match("^([a-f0-9:]+)\\s+([0-9]+)\\s+([\\-0-9]+)\\s+(\\S+)\\s+(.+)?", res)
if match:
net = {
"mac": match.group(1),
"channel": WifiChannels.lookup(match.group(2))[1],
"mac": match[1],
"channel": WifiChannels.lookup(match[2])[1],
"connected": False,
"configured": False,
"frequency": match.group(2),
"flags": match.group(4),
"signal_level_dBm": match.group(3),
"ssid": match.group(5)
"frequency": match[2],
"flags": match[4],
"signal_level_dBm": match[3],
"ssid": match[5]
}
if "WPA2" in net['flags']:
@@ -289,7 +287,7 @@ class WifiManager():
deleted_networks.remove(net)
else:
new_networks.append(net)
if len(new_networks) > 0 or len(deleted_networks) > 0:
if new_networks or deleted_networks:
for cb in self._callbacks['scan_results']:
Gdk.threads_add_idle(
GLib.PRIORITY_DEFAULT_IDLE,
@@ -300,8 +298,7 @@ class WifiManager():
self.wpa_thread.skip_command()
self.soc.send(command.encode())
if wait is True:
resp = self.queue.get()
return resp
return self.queue.get()
def wpa_cli_batch(self, commands):
for cmd in commands:
@@ -319,12 +316,12 @@ class WpaSocket(Thread):
self.wm = wm
def run(self):
event = threading.Event()
logging.debug("Setting up wifi event loop")
while self._stop_loop is False:
try:
msg = self.soc.recv(4096).decode().strip()
except Exception:
except Exception as e:
logging.critical(e, exc_info=True)
# TODO: Socket error
continue
if msg.startswith("<"):
@@ -335,21 +332,18 @@ class WpaSocket(Thread):
match = re.match('<3>CTRL-EVENT-DISCONNECTED bssid=(\\S+) reason=3 locally_generated=1', msg)
if match:
for net in self.wm.networks:
if self.wm.networks[net]['mac'] == match.group(1):
if self.wm.networks[net]['mac'] == match[1]:
self.wm.networks[net]['connected'] = False
break
elif "Trying to associate" in msg:
self.callback("connecting_status", msg)
elif "CTRL-EVENT-REGDOM-CHANGE" in msg:
elif "Trying to associate" in msg or "CTRL-EVENT-REGDOM-CHANGE" in msg:
self.callback("connecting_status", msg)
elif "CTRL-EVENT-CONNECTED" in msg:
Gdk.threads_add_idle(GLib.PRIORITY_DEFAULT_IDLE, self.wm.get_current_wifi_idle_add)
self.callback("connecting_status", msg)
elif self.skip_commands > 0:
self.skip_commands = self.skip_commands - 1
else:
if self.skip_commands > 0:
self.skip_commands = self.skip_commands - 1
else:
self.queue.put(msg)
self.queue.put(msg)
logging.info("Wifi event loop ended")
def skip_command(self):
@@ -363,117 +357,117 @@ class WifiChannels:
@staticmethod
def lookup(freq):
if freq == "2412":
return ("2.4", "1")
return "2.4", "1"
if freq == "2417":
return ("2.4", "2")
return "2.4", "2"
if freq == "2422":
return ("2.4", "3")
return "2.4", "3"
if freq == "2427":
return ("2.4", "4")
return "2.4", "4"
if freq == "2432":
return ("2.4", "5")
return "2.4", "5"
if freq == "2437":
return ("2.4", "6")
return "2.4", "6"
if freq == "2442":
return ("2.4", "7")
return "2.4", "7"
if freq == "2447":
return ("2.4", "8")
return "2.4", "8"
if freq == "2452":
return ("2.4", "9")
return "2.4", "9"
if freq == "2457":
return ("2.4", "10")
return "2.4", "10"
if freq == "2462":
return ("2.4", "11")
return "2.4", "11"
if freq == "2467":
return ("2.4", "12")
return "2.4", "12"
if freq == "2472":
return ("2.4", "13")
return "2.4", "13"
if freq == "2484":
return ("2.4", "14")
return "2.4", "14"
if freq == "5035":
return ("5", "7")
return "5", "7"
if freq == "5040":
return ("5", "8")
return "5", "8"
if freq == "5045":
return ("5", "9")
return "5", "9"
if freq == "5055":
return ("5", "11")
return "5", "11"
if freq == "5060":
return ("5", "12")
return "5", "12"
if freq == "5080":
return ("5", "16")
return "5", "16"
if freq == "5170":
return ("5", "34")
return "5", "34"
if freq == "5180":
return ("5", "36")
return "5", "36"
if freq == "5190":
return ("5", "38")
return "5", "38"
if freq == "5200":
return ("5", "40")
return "5", "40"
if freq == "5210":
return ("5", "42")
return "5", "42"
if freq == "5220":
return ("5", "44")
return "5", "44"
if freq == "5230":
return ("5", "46")
return "5", "46"
if freq == "5240":
return ("5", "48")
return "5", "48"
if freq == "5260":
return ("5", "52")
return "5", "52"
if freq == "5280":
return ("5", "56")
return "5", "56"
if freq == "5300":
return ("5", "60")
return "5", "60"
if freq == "5320":
return ("5", "64")
return "5", "64"
if freq == "5500":
return ("5", "100")
return "5", "100"
if freq == "5520":
return ("5", "104")
return "5", "104"
if freq == "5540":
return ("5", "108")
return "5", "108"
if freq == "5560":
return ("5", "112")
return "5", "112"
if freq == "5580":
return ("5", "116")
return "5", "116"
if freq == "5600":
return ("5", "120")
return "5", "120"
if freq == "5620":
return ("5", "124")
return "5", "124"
if freq == "5640":
return ("5", "128")
return "5", "128"
if freq == "5660":
return ("5", "132")
return "5", "132"
if freq == "5680":
return ("5", "136")
return "5", "136"
if freq == "5700":
return ("5", "140")
return "5", "140"
if freq == "5720":
return ("5", "144")
return "5", "144"
if freq == "5745":
return ("5", "149")
return "5", "149"
if freq == "5765":
return ("5", "153")
return "5", "153"
if freq == "5785":
return ("5", "157")
return "5", "157"
if freq == "5805":
return ("5", "161")
return "5", "161"
if freq == "5825":
return ("5", "165")
return "5", "165"
if freq == "4915":
return ("5", "183")
return "5", "183"
if freq == "4920":
return ("5", "184")
return "5", "184"
if freq == "4925":
return ("5", "185")
return "5", "185"
if freq == "4935":
return ("5", "187")
return "5", "187"
if freq == "4940":
return ("5", "188")
return "5", "188"
if freq == "4945":
return ("5", "189")
return "5", "189"
if freq == "4960":
return ("5", "192")
return "5", "192"
if freq == "4980":
return ("5", "196")
return "5", "196"
return None
+61 -12
View File
@@ -1,16 +1,65 @@
site_name: KlipperScreen
nav:
- Hardware.md
- Installation.md
- Configuration.md
- Quicktips.md
- Theming.md
- Troubleshooting.md
- Translations.md
- Changelog.md
- Panels.md
- Contact.md
theme: readthedocs
site_url: https://klipperscreen.readthedocs.io
site_description: >-
KlipperScreen documentation.
repo_name: jordanruthe/KlipperScreen/
repo_url: https://github.com/jordanruthe/KlipperScreen/
nav:
- Home: index.md
- Setup:
- Hardware.md
- Installation.md
- Configuration.md
- Quicktips.md
- Macros: macros.md
- Android.md
- Thumbnails.md
- Troubleshooting.md
- Panels:
- Bed Level/Screws: Screws.md
- Job_status/Printing: Job_status.md
- Temperature: Temperature.md
- Z Calibrate: Zcalibrate.md
- Screenshots: Panels.md
- Theming.md
- Translations.md
- Breaking Changes: Changelog.md
- Contact.md
theme:
name: material
language: en
features:
- content.code.annotate
- content.tooltips
- navigation.expand
- navigation.indexes
- navigation.top
- navigation.tracking
- search.highlight
- search.share
- search.suggest
- toc.follow
palette:
- scheme: slate
primary: deep purple
plugins:
- search
markdown_extensions:
- admonition
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences
extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/jordanruthe/klipperScreen/
- icon: fontawesome/brands/discord
link: https://discord.klipper3d.org/
- icon: fontawesome/brands/python
+149 -235
View File
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
import contextlib
import datetime
import gi
import logging
@@ -9,165 +10,155 @@ from jinja2 import Environment
from ks_includes.screen_panel import ScreenPanel
class BasePanel(ScreenPanel):
def __init__(self, screen, title, back=True, action_bar=True, printer_name=True):
super().__init__(screen, title, back, action_bar, printer_name)
def __init__(self, screen, title, back=True):
super().__init__(screen, title, back)
self.current_panel = None
self.time_min = -1
self.time_format = self._config.get_main_config_option("24htime")
self.title_spacing = self._gtk.font_size * 2
self.time_format = self._config.get_main_config().getboolean("24htime", True)
self.time_update = None
self.titlebar_name_type = None
self.buttons_showing = {
'back': False if back else True,
'back': not back,
'macros_shortcut': False,
'printer_select': False
}
self.layout = Gtk.Layout()
self.layout.set_size(self._screen.width, self._screen.height)
action_bar_width = self._gtk.get_action_bar_width() if action_bar is True else 0
action_bar_height = self._gtk.get_action_bar_height() if action_bar is True else 0
self.control_grid = self._gtk.HomogeneousGrid()
self.control_grid.set_size_request(action_bar_width, action_bar_height)
self.control_grid.get_style_context().add_class('action_bar')
self.control['back'] = self._gtk.ButtonImage('back', None, None, 1, 1)
self.current_extruder = None
# Action bar buttons
self.control['back'] = self._gtk.ButtonImage('back', scale=1)
self.control['back'].connect("clicked", self.back)
self.control['home'] = self._gtk.ButtonImage('main', None, None, 1, 1)
self.control['home'] = self._gtk.ButtonImage('main', scale=1)
self.control['home'].connect("clicked", self.menu_return, True)
if len(self._config.get_printers()) > 1:
self.control['printer_select'] = self._gtk.ButtonImage(
'shuffle', None, None, 1, 1)
self.control['printer_select'] = self._gtk.ButtonImage('shuffle', scale=1)
self.control['printer_select'].connect("clicked", self._screen.show_printer_select)
self.control['macro_shortcut'] = self._gtk.ButtonImage(
'custom-script', None, None, 1, 1)
self.control['macro_shortcut'].connect("clicked", self.menu_item_clicked, "gcode_macros", {
self.control['macros_shortcut'] = self._gtk.ButtonImage('custom-script', scale=1)
self.control['macros_shortcut'].connect("clicked", self.menu_item_clicked, "gcode_macros", {
"name": "Macros",
"panel": "gcode_macros"
})
self.control['estop'] = self._gtk.ButtonImage('emergency', None, None, 1, 1)
self.control['estop'] = self._gtk.ButtonImage('emergency', scale=1)
self.control['estop'].connect("clicked", self.emergency_stop)
self.locations = {
'macro_shortcut': 2,
'printer_select': 2
}
button_range = 3
if len(self._config.get_printers()) > 1:
self.locations['macro_shortcut'] = 3
if self._config.get_main_config_option('side_macro_shortcut') == "True":
button_range = 4
# Any action bar button should close the keyboard
for item in self.control:
self.control[item].connect("clicked", self._screen.remove_keyboard)
for i in range(button_range):
self.control['space%s' % i] = Gtk.Label("")
if self._screen.vertical_mode:
self.control_grid.attach(self.control['space%s' % i], i, 0, 1, 1)
else:
self.control_grid.attach(self.control['space%s' % i], 0, i, 1, 1)
# Action bar
self.action_bar = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=5)
if self._screen.vertical_mode:
self.control_grid.attach(self.control['estop'], 4, 0, 1, 1)
self.action_bar.set_hexpand(True)
self.action_bar.set_vexpand(False)
self.action_bar.set_size_request(0, self._gtk.get_action_bar_height())
else:
self.control_grid.attach(self.control['estop'], 0, 4, 1, 1)
self.action_bar.set_hexpand(False)
self.action_bar.set_vexpand(True)
self.action_bar.set_size_request(self._gtk.get_action_bar_width(), 0)
try:
env = Environment(extensions=["jinja2.ext.i18n"])
env.install_gettext_translations(self.lang)
j2_temp = env.from_string(title)
title = j2_temp.render()
except Exception:
logging.debug("Error parsing jinja for title: %s" % title)
self.action_bar.get_style_context().add_class('action_bar')
self.action_bar.add(self.control['back'])
self.action_bar.add(self.control['home'])
if len(self._config.get_printers()) > 1:
self.action_bar.add(self.control['printer_select'])
self.action_bar.add(self.control['macros_shortcut'])
self.action_bar.add(self.control['estop'])
# Titlebar
# This box will be populated by show_heaters
self.control['temp_box'] = Gtk.Box(spacing=10)
self.titlelbl = Gtk.Label()
self.titlelbl.set_hexpand(True)
self.titlelbl.set_vexpand(True)
self.titlelbl.set_halign(Gtk.Align.CENTER)
self.titlelbl.set_ellipsize(True)
self.titlelbl.set_ellipsize(Pango.EllipsizeMode.END)
self.set_title(title)
self.hmargin = 5
self.content = Gtk.VBox(spacing=0)
if self._screen.vertical_mode:
self.content.set_size_request(self._screen.width - self.hmargin * 2,
self._screen.height - self.title_spacing - action_bar_height)
else:
self.content.set_size_request(self._screen.width - action_bar_width - self.hmargin,
self._screen.height - self.title_spacing)
if action_bar is True:
if self._screen.vertical_mode:
self.layout.put(self.control_grid, 0, self._screen.height - action_bar_height)
else:
self.layout.put(self.control_grid, 0, 0)
self.control['time'] = Gtk.Label("00:00 AM")
self.control['time_box'] = Gtk.Box()
self.control['time_box'].set_halign(Gtk.Align.END)
self.control['time'] = Gtk.Label("00:00 AM")
self.control['time_box'].pack_end(self.control['time'], True, True, self.hmargin)
self.control['time_box'].pack_end(self.control['time'], True, True, 5)
self.control['temp_box'] = Gtk.Box()
self.titlebar = Gtk.Grid()
self.titlebar = Gtk.Box(spacing=5)
self.titlebar.set_size_request(0, self._gtk.get_titlebar_height())
self.titlebar.set_valign(Gtk.Align.CENTER)
self.titlebar.set_property("column-spacing", 5)
if self._screen.vertical_mode:
self.titlebar.set_size_request(self._screen.width, self.title_spacing)
else:
self.titlebar.set_size_request(self._screen.width - action_bar_width, self.title_spacing)
self.titlebar.attach(self.control['temp_box'], 0, 0, 1, 1)
self.titlebar.attach(self.titlelbl, 1, 0, 1, 1)
self.titlebar.attach(self.control['time_box'], 2, 0, 1, 1)
self.titlebar.add(self.control['temp_box'])
self.titlebar.add(self.titlelbl)
self.titlebar.add(self.control['time_box'])
# Main layout
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:
self.layout.put(self.titlebar, 0, 0)
self.layout.put(self.content, self.hmargin, self.title_spacing)
self.main_grid.attach(self.titlebar, 0, 0, 1, 1)
self.main_grid.attach(self.content, 0, 1, 1, 1)
self.main_grid.attach(self.action_bar, 0, 2, 1, 1)
self.action_bar.set_orientation(orientation=Gtk.Orientation.HORIZONTAL)
else:
self.layout.put(self.titlebar, action_bar_width, 0)
self.layout.put(self.content, action_bar_width + self.hmargin, self.title_spacing)
self.main_grid.attach(self.action_bar, 0, 0, 1, 2)
self.action_bar.set_orientation(orientation=Gtk.Orientation.VERTICAL)
self.main_grid.attach(self.titlebar, 1, 0, 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()
return
def show_heaters(self, show=True):
printer_cfg = self._config.get_printer_config(self._screen.connected_printer)
if printer_cfg is not None:
self.titlebar_name_type = printer_cfg.get("titlebar_name_type", None)
else:
self.titlebar_name_type = None
logging.info(f"Titlebar name type: {self.titlebar_name_type}")
for child in self.control['temp_box'].get_children():
self.control['temp_box'].remove(child)
if show is False or self._printer.get_temp_store_devices() is None:
if not show or self._screen.printer.get_temp_store_devices() is None:
return
for device in self._printer.get_temp_store_devices():
self.labels[device + '_box'] = Gtk.Box(spacing=0)
self.labels[device] = Gtk.Label(label="100º")
self.labels[device].set_ellipsize(True)
self.labels[device].set_ellipsize(Pango.EllipsizeMode.START)
for device in self._screen.printer.get_temp_store_devices():
if device.startswith("extruder"):
if self._printer.extrudercount > 1:
if self._screen.printer.extrudercount > 1:
if device == "extruder":
ext_img = self._gtk.Image("extruder-0.svg", None, .5, .5)
icon = self._gtk.Image("extruder-0", .5)
else:
ext_img = self._gtk.Image("extruder-%s.svg" % device[8:], None, .5, .5)
icon = self._gtk.Image(f"extruder-{device[8:]}", .5)
else:
ext_img = self._gtk.Image("extruder.svg", None, .5, .5)
self.labels[device + '_box'].pack_start(ext_img, True, True, 3)
icon = self._gtk.Image("extruder", .5)
elif device.startswith("heater_bed"):
bed_img = self._gtk.Image("bed.svg", None, .5, .5)
self.labels[device + '_box'].pack_start(bed_img, True, True, 3)
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"):
fan_img = self._gtk.Image("fan.svg", None, .5, .5)
self.labels[device + '_box'].pack_start(fan_img, True, True, 3)
icon = self._gtk.Image("fan", .5)
elif device.startswith("heater_generic"):
icon = self._gtk.Image("heater", .5)
else:
temp_img = self._gtk.Image("heat-up.svg", None, .5, .5)
self.labels[device + '_box'].pack_start(temp_img, True, True, 3)
self.labels[device + '_box'].pack_start(self.labels[device], True, True, 0)
icon = self._gtk.Image("heat-up", .5)
self.labels[device] = Gtk.Label(label="100º")
self.labels[device].set_ellipsize(Pango.EllipsizeMode.START)
self.labels[f'{device}_box'] = Gtk.Box()
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)
# Limit the number of items according to resolution
if self._screen.width <= 480:
nlimit = 3
elif self._screen.width <= 800:
@@ -176,45 +167,41 @@ class BasePanel(ScreenPanel):
nlimit = 5
n = 0
if self._printer.get_tools():
self.current_extruder = self._printer.get_stat("toolhead", "extruder")
self.control['temp_box'].pack_start(self.labels["%s_box" % self.current_extruder], True, True, 3)
n += 1
if self._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
if self._printer.has_heated_bed():
self.control['temp_box'].pack_start(self.labels['heater_bed_box'], True, True, 3)
if self._screen.printer.has_heated_bed():
self.control['temp_box'].add(self.labels['heater_bed_box'])
n += 1
# Options in the config have priority
printer_cfg = self._config.get_printer_config(self._screen.connected_printer)
if printer_cfg is not None:
titlebar_items = printer_cfg.get("titlebar_items", "")
titlebar_items = printer_cfg.get("titlebar_items", None)
if titlebar_items is not None:
titlebar_items = [str(i.strip()) for i in titlebar_items.split(',')]
logging.info("Titlebar items: %s", titlebar_items)
self.titlebar_name_type = printer_cfg.get("titlebar_name_type", None)
logging.info("Titlebar name type: %s", self.titlebar_name_type)
for device in self._printer.get_temp_store_devices():
logging.info(f"Titlebar items: {titlebar_items}")
for device in self._screen.printer.get_temp_store_devices():
# Users can fill the bar if they want
if n >= nlimit + 1:
break
if not (device.startswith("extruder") or device.startswith("heater_bed")):
name = device.split(" ")[1:][0]
else:
name = device
name = device.split()[1] if len(device.split()) > 1 else device
for item in titlebar_items:
if name == item:
self.control['temp_box'].pack_start(self.labels["%s_box" % device], True, True, 3)
self.control['temp_box'].add(self.labels[f"{device}_box"])
n += 1
break
# If there is enough space fill with heater_generic
for device in self._printer.get_temp_store_devices():
for device in self._screen.printer.get_temp_store_devices():
if n >= nlimit:
break
if device.startswith("heater_generic"):
self.control['temp_box'].pack_start(self.labels["%s_box" % device], True, True, 3)
self.control['temp_box'].add(self.labels[f"{device}_box"])
n += 1
self.control['temp_box'].show_all()
def activate(self):
if self.time_update is None:
@@ -229,168 +216,95 @@ class BasePanel(ScreenPanel):
if self.current_panel is None:
return
if self._screen.is_keyboard_showing():
self._screen.remove_keyboard()
self._screen.remove_keyboard()
if hasattr(self.current_panel, "back"):
if not self.current_panel.back():
self._screen._menu_go_back()
else:
if hasattr(self.current_panel, "back") \
and not self.current_panel.back() \
or not hasattr(self.current_panel, "back"):
self._screen._menu_go_back()
def get(self):
return self.layout
def process_update(self, action, data):
if action != "notify_status_update" or self._printer is None:
if action != "notify_status_update" or self._screen.printer is None:
return
devices = self._printer.get_temp_store_devices()
devices = self._screen.printer.get_temp_store_devices()
if devices is not None:
for device in devices:
name = ""
if not (device.startswith("extruder") or device.startswith("heater_bed")):
if self.titlebar_name_type == "full":
name = device.split(" ")[1:][0].capitalize().replace("_", " ") + ": "
elif self.titlebar_name_type == "short":
name = device.split(" ")[1:][0][:1].upper() + ": "
self.labels[device].set_label("%s%d°" % (name,
round(self._printer.get_dev_stat(device, "temperature"))))
temp = self._screen.printer.get_dev_stat(device, "temperature")
if temp is not None and device in self.labels:
name = ""
if not (device.startswith("extruder") or device.startswith("heater_bed")):
if self.titlebar_name_type == "full":
name = device.split()[1] if len(device.split()) > 1 else device
name = f'{name.capitalize().replace("_", " ")}: '
elif self.titlebar_name_type == "short":
name = device.split()[1] if len(device.split()) > 1 else device
name = f"{name[:1].upper()}: "
self.labels[device].set_label(f"{name}{int(temp)}°")
if "toolhead" in data and "extruder" in data["toolhead"]:
with contextlib.suppress(KeyError):
if data["toolhead"]["extruder"] != self.current_extruder:
self.control['temp_box'].remove(self.labels["%s_box" % self.current_extruder])
self.control['temp_box'].remove(self.labels[f"{self.current_extruder}_box"])
self.current_extruder = data["toolhead"]["extruder"]
self.control['temp_box'].pack_start(self.labels["%s_box" % self.current_extruder], True, True, 3)
self.control['temp_box'].reorder_child(self.labels["%s_box" % self.current_extruder], 0)
self.control['temp_box'].pack_start(self.labels[f"{self.current_extruder}_box"], True, True, 3)
self.control['temp_box'].reorder_child(self.labels[f"{self.current_extruder}_box"], 0)
self.control['temp_box'].show_all()
def remove(self, widget):
self.content.remove(widget)
def show_back(self, show=True):
if show is True and self.buttons_showing['back'] is False:
self.control_grid.remove(self.control_grid.get_child_at(0, 0))
self.control_grid.attach(self.control['back'], 0, 0, 1, 1)
if self._screen.vertical_mode:
self.control_grid.remove(self.control_grid.get_child_at(1, 0))
self.control_grid.attach(self.control['home'], 1, 0, 1, 1)
else:
self.control_grid.remove(self.control_grid.get_child_at(0, 1))
self.control_grid.attach(self.control['home'], 0, 1, 1, 1)
self.control['back'].set_sensitive(True)
self.control['home'].set_sensitive(True)
self.buttons_showing['back'] = True
elif show is False and self.buttons_showing['back'] is True:
for i in range(0, 2):
if self._screen.vertical_mode:
self.control_grid.remove(self.control_grid.get_child_at(i, 0))
self.control_grid.attach(self.control['space%s' % i], i, 0, 1, 1)
else:
self.control_grid.remove(self.control_grid.get_child_at(0, i))
self.control_grid.attach(self.control['space%s' % i], 0, i, 1, 1)
self.control['back'].set_sensitive(False)
self.control['home'].set_sensitive(False)
self.buttons_showing['back'] = False
self.control_grid.show()
def show_macro_shortcut(self, show=True, mod_row=False):
if show == "True":
show = True
def show_macro_shortcut(self, show=True):
if show is True and self.buttons_showing['macros_shortcut'] is False:
if len(self._config.get_printers()) > 1 and mod_row is True:
if self._screen.vertical_mode:
self.control_grid.insert_column(self.locations['macro_shortcut'])
else:
self.control_grid.insert_row(self.locations['macro_shortcut'])
self.action_bar.add(self.control['macros_shortcut'])
if self.buttons_showing['printer_select'] is False:
self.action_bar.reorder_child(self.control['macros_shortcut'], 2)
else:
if self._screen.vertical_mode:
self.control_grid.remove(self.control_grid.get_child_at(self.locations['macro_shortcut'], 0))
else:
self.control_grid.remove(self.control_grid.get_child_at(0, self.locations['macro_shortcut']))
if 'space%s' % self.locations['macro_shortcut'] in self.control:
self.control_grid.remove(self.control['space%s' % self.locations['macro_shortcut']])
if self._screen.vertical_mode:
self.control_grid.attach(self.control['macro_shortcut'], self.locations['macro_shortcut'], 0, 1, 1)
else:
self.control_grid.attach(self.control['macro_shortcut'], 0, self.locations['macro_shortcut'], 1, 1)
self.action_bar.reorder_child(self.control['macros_shortcut'], 3)
self.buttons_showing['macros_shortcut'] = True
elif show is not True and self.buttons_showing['macros_shortcut'] is True:
if ('space%s' % self.locations['macro_shortcut']) not in self.control:
self.control['space%s' % self.locations['macro_shortcut']] = Gtk.Label("")
if len(self._config.get_printers()) > 1 and mod_row is True:
if self._screen.vertical_mode:
self.control_grid.remove(self.control_grid.get_child_at(self.locations['macro_shortcut'], 0))
self.control_grid.remove_column(self.locations['macro_shortcut'])
else:
self.control_grid.remove(self.control_grid.get_child_at(0, self.locations['macro_shortcut']))
self.control_grid.remove_row(self.locations['macro_shortcut'])
self.control_grid.remove(self.control['macro_shortcut'])
else:
if self._screen.vertical_mode:
self.control_grid.remove(self.control_grid.get_child_at(self.locations['macro_shortcut'], 0))
else:
self.control_grid.remove(self.control_grid.get_child_at(0, self.locations['macro_shortcut']))
if ('space%s' % self.locations['macro_shortcut']) not in self.control:
self.control['space%s' % self.locations['macro_shortcut']] = Gtk.Label("")
if self._screen.vertical_mode:
self.control_grid.attach(self.control['space%s' % self.locations['macro_shortcut']],
self.locations['macro_shortcut'], 0, 1, 1)
else:
self.control_grid.attach(self.control['space%s' % self.locations['macro_shortcut']],
0, self.locations['macro_shortcut'], 1, 1)
elif show is False and self.buttons_showing['macros_shortcut'] is True:
self.action_bar.remove(self.control['macros_shortcut'])
self.buttons_showing['macros_shortcut'] = False
self._screen.show_all()
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:
logging.info("Turning on printer_select button")
if self._screen.vertical_mode:
self.control_grid.remove(self.control_grid.get_child_at(self.locations['printer_select'], 0))
self.control_grid.attach(self.control['printer_select'], self.locations['printer_select'], 0, 1, 1)
else:
self.control_grid.remove(self.control_grid.get_child_at(0, self.locations['printer_select']))
self.control_grid.attach(self.control['printer_select'], 0, self.locations['printer_select'], 1, 1)
self.action_bar.add(self.control['printer_select'])
self.action_bar.reorder_child(self.control['printer_select'], 2)
self.buttons_showing['printer_select'] = True
elif show is False and self.buttons_showing['printer_select']:
logging.info("Turning off printer_select button")
if self._screen.vertical_mode:
self.control_grid.remove(self.control_grid.get_child_at(self.locations['printer_select'], 0))
self.control_grid.attach(self.control['space%s' % self.locations['printer_select']],
self.locations['printer_select'], 0, 1, 1)
else:
self.control_grid.remove(self.control_grid.get_child_at(0, self.locations['printer_select']))
self.control_grid.attach(self.control['space%s' % self.locations['printer_select']],
0, self.locations['printer_select'], 1, 1)
self.action_bar.remove(self.control['printer_select'])
self.buttons_showing['printer_select'] = False
self._screen.show_all()
def set_title(self, title):
try:
env = Environment(extensions=["jinja2.ext.i18n"])
env = Environment(extensions=["jinja2.ext.i18n"], autoescape=True)
env.install_gettext_translations(self.lang)
j2_temp = env.from_string(title)
title = j2_temp.render()
except Exception:
logging.debug("Error parsing jinja for title: %s" % title)
except Exception as e:
logging.debug(f"Error parsing jinja for title: {title}\n{e}")
self.titlelbl.set_label("%s | %s" % (self._screen.connecting_to_printer, title))
def show_back_buttons(self):
self.control_grid.attach(self.control['back'], 0, 0, 1, 1)
if self._screen.vertical_mode:
self.control_grid.attach(self.control['home'], 1, 0, 1, 1)
else:
self.control_grid.attach(self.control['home'], 0, 1, 1, 1)
self.titlelbl.set_label(f"{self._screen.connecting_to_printer} | {title}")
def update_time(self):
now = datetime.datetime.now()
confopt = self._config.get_main_config_option("24htime")
confopt = self._config.get_main_config().getboolean("24htime", True)
if now.minute != self.time_min or self.time_format != confopt:
if confopt == "True":
self.control['time'].set_text(now.strftime("%H:%M"))
if confopt:
self.control['time'].set_text(f'{now:%H:%M}')
else:
self.control['time'].set_text(now.strftime("%I:%M %p"))
self.control['time'].set_text(f'{now:%I:%M %p}')
return True
+177 -155
View File
@@ -3,96 +3,75 @@ import logging
import re
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk
from gi.repository import Gtk, Pango
from ks_includes.KlippyGcodes import KlippyGcodes
from ks_includes.screen_panel import ScreenPanel
def create_panel(*args):
return BedLevelPanel(*args)
class BedLevelPanel(ScreenPanel):
x_offset = 0
y_offset = 0
def __init__(self, screen, title, back=True):
super().__init__(screen, title, back)
self.response_count = 0
self.panel_name = ""
self.screw_dict = {}
self.screws = []
self.y_cnt = 0
self.x_cnt = 0
self.x_offset = 0
self.y_offset = 0
def initialize(self, panel_name):
_ = self.lang.gettext
self.panel_name = panel_name
self.screws = None
self.labels['dm'] = self._gtk.ButtonImage("motor-off", _("Disable XY"), "color3")
self.labels['dm'].connect("clicked", self.disable_motors)
screw_positions = []
rotation = None
grid = self._gtk.HomogeneousGrid()
grid.attach(self.labels['dm'], 0, 0, 1, 1)
screws = []
config_section_name = None
if "screws_tilt_adjust" in self._screen.printer.get_config_section_list():
config_section_name = "screws_tilt_adjust"
elif "bed_screws" in self._screen.printer.get_config_section_list():
config_section_name = "bed_screws"
self.labels['screws'] = self._gtk.ButtonImage("refresh", _("Screws Adjust"), "color4")
self.labels['screws'].connect("clicked", self.screws_tilt_calculate)
grid.attach(self.labels['screws'], 0, 1, 1, 1)
if config_section_name is not None:
config_section = self._screen.printer.get_config_section(config_section_name)
for item in config_section:
logging.debug("Screws section: %s" % config_section[item])
result = re.match(r"([\-0-9\.]+)\s*,\s*([\-0-9\.]+)", config_section[item])
if result:
screws.append([
round(float(result.group(1)), 2),
round(float(result.group(2)), 2)
])
self.screws = self._get_screws("screws_tilt_adjust")
logging.info(f"screws_tilt_adjust: {self.screws}")
screws = sorted(screws, key=lambda x: (float(x[1]), float(x[0])))
supported = [4, 6, 8]
nscrews = len(screws)
if nscrews not in supported:
logging.debug("%d bed_screws not supported: calculating 4 locations", nscrews)
xconf = self._screen.printer.get_config_section("stepper_x")
yconf = self._screen.printer.get_config_section("stepper_y")
x = int(int(xconf['position_max'])/4)
y = int(int(yconf['position_max'])/4)
self.screws = [
[x, y],
[x*3, y],
[x, y*3],
[x*3, y*3],
]
else:
self.screws = screws
if (("bltouch" in self._screen.printer.get_config_section_list() or
"probe" in self._screen.printer.get_config_section_list()) and
config_section_name == "screws_tilt_adjust"):
if "bltouch" in self._screen.printer.get_config_section_list():
bltouch = self._screen.printer.get_config_section("bltouch")
if "x_offset" in bltouch:
self.x_offset = float(bltouch['x_offset'])
if "y_offset" in bltouch:
self.y_offset = float(bltouch['y_offset'])
logging.debug("Bltouch found substracted offset X: %.0f Y: %.0f", self.x_offset, self.y_offset)
self._screen.show_popup_message(_("Bltouch found applied offset"), level=1)
self._get_offsets("bltouch")
elif "probe" in self._screen.printer.get_config_section_list():
probe = self._screen.printer.get_config_section("probe")
if "x_offset" in probe:
self.x_offset = float(probe['x_offset'])
if "y_offset" in probe:
self.y_offset = float(probe['y_offset'])
logging.debug("Probe found substracting offset X: %.0f Y: %.0f", self.x_offset, self.y_offset)
self._screen.show_popup_message(_("Probe found applied offset"), level=1)
new_screws = []
for screw in self.screws:
new_screws.append([
self.apply_offset(screw[0], self.x_offset),
self.apply_offset(screw[1], self.y_offset)
])
self._get_offsets("probe")
# bed_screws uses NOZZLE positions
# screws_tilt_adjust uses PROBE positions and to be offseted for the buttons to work equal to bed_screws
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
logging.info(f"screws with offset: {self.screws}")
elif "bed_screws" in self._screen.printer.get_config_section_list():
self.screws = self._get_screws("bed_screws")
logging.info(f"bed_screws: {self.screws}")
# get dimensions
self.x_cnt = len(list(dict.fromkeys([int(x[0]) for x in self.screws])))
self.y_cnt = len(list(dict.fromkeys([int(x[1]) for x in self.screws])))
x_positions = {x[0] for x in self.screws}
y_positions = {y[1] for y in self.screws}
logging.info(f"X: {x_positions}\nY: {y_positions}")
self.x_cnt = len(x_positions)
self.y_cnt = len(y_positions)
min_x = min(dict(self.screws).keys())
max_x = max(dict(self.screws).keys())
min_y = min(dict(self.screws[::-1]).values())
max_y = max(dict(self.screws).values())
min_x = min(x_positions)
max_x = max(x_positions)
min_y = min(y_positions)
max_y = max(y_positions)
fl = [min_x, min_y]
bl = [min_x, max_y]
@@ -112,37 +91,86 @@ class BedLevelPanel(ScreenPanel):
else:
lm = rm = None
logging.debug("Using %d-screw locations [x,y] [%dx%d]", len(self.screws), self.x_cnt, self.y_cnt)
logging.debug(f"Using {len(self.screws)}-screw locations [x,y] [{self.x_cnt}x{self.y_cnt}]")
self.labels['bl'] = self._gtk.ButtonImage("bed-level-t-l", None, None, 2.5, 2.5)
self.labels['br'] = self._gtk.ButtonImage("bed-level-t-r", None, None, 2.5, 2.5)
self.labels['fl'] = self._gtk.ButtonImage("bed-level-b-l", None, None, 2.5, 2.5)
self.labels['fr'] = self._gtk.ButtonImage("bed-level-b-r", None, None, 2.5, 2.5)
self.labels['lm'] = self._gtk.ButtonImage("bed-level-l-m", None, None, 2.5, 2.5)
self.labels['rm'] = self._gtk.ButtonImage("bed-level-r-m", None, None, 2.5, 2.5)
self.labels['fm'] = self._gtk.ButtonImage("bed-level-b-m", None, None, 2.5, 2.5)
self.labels['bm'] = self._gtk.ButtonImage("bed-level-t-m", None, None, 2.5, 2.5)
self.labels['bl'] = self._gtk.ButtonImage("bed-level-t-l", scale=2.5)
self.labels['br'] = self._gtk.ButtonImage("bed-level-t-r", scale=2.5)
self.labels['fl'] = self._gtk.ButtonImage("bed-level-b-l", scale=2.5)
self.labels['fr'] = self._gtk.ButtonImage("bed-level-b-r", scale=2.5)
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)
bedgrid = Gtk.Grid()
bedgrid.attach(self.labels['bl'], 1, 0, 1, 1)
bedgrid.attach(self.labels['fl'], 1, 2, 1, 1)
bedgrid.attach(self.labels['fr'], 3, 2, 1, 1)
bedgrid.attach(self.labels['br'], 3, 0, 1, 1)
rotation = 0
valid_positions = True
printer_cfg = self._config.get_printer_config(self._screen.connected_printer)
if printer_cfg is not None:
logging.info(f"printer {printer_cfg}")
screw_positions = printer_cfg.get("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 ("bl", "fl", "fr", "br", "bm", "fm", "lm", "rm", ""):
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) <= 8):
valid_positions = False
rotation = printer_cfg.getint("screw_rotation", 0)
logging.info(f"Rotation: {rotation}")
else:
valid_positions = False
if 'bed_screws' in self._config.get_config():
rotation = self._config.get_config()['bed_screws'].getint("rotation", 0)
logging.debug("Rotation: %d", rotation)
logging.debug(f"Rotation: {rotation}")
bedgrid = Gtk.Grid()
nscrews = len(self.screws)
if valid_positions:
if "bl" in screw_positions:
bedgrid.attach(self.labels['bl'], 1, 0, 1, 1)
if "fl" in screw_positions:
bedgrid.attach(self.labels['fl'], 1, 2, 1, 1)
if "fr" in screw_positions:
bedgrid.attach(self.labels['fr'], 3, 2, 1, 1)
if "br" in screw_positions:
bedgrid.attach(self.labels['br'], 3, 0, 1, 1)
if "bm" in screw_positions:
bedgrid.attach(self.labels['bm'], 2, 0, 1, 1)
if "fm" in screw_positions:
bedgrid.attach(self.labels['fm'], 2, 2, 1, 1)
if "lm" in screw_positions:
bedgrid.attach(self.labels['lm'], 1, 1, 1, 1)
if "rm" in screw_positions:
bedgrid.attach(self.labels['rm'], 3, 1, 1, 1)
elif nscrews in {4, 6, 8}:
bedgrid.attach(self.labels['bl'], 1, 0, 1, 1)
bedgrid.attach(self.labels['fl'], 1, 2, 1, 1)
bedgrid.attach(self.labels['fr'], 3, 2, 1, 1)
bedgrid.attach(self.labels['br'], 3, 0, 1, 1)
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:
label = Gtk.Label(
_("Bed screw configuration:") + f" {nscrews}\n\n"
+ _("Not supported for auto-detection, it needs to be configured in klipperscreen.conf")
)
label.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
label.set_line_wrap(True)
grid.attach(label, 1, 0, 3, 2)
self.content.add(grid)
return
if rotation == 90:
# fl lm bl
# fm bm
# fr rm br
if self.y_cnt == 3:
bedgrid.attach(self.labels['bm'], 2, 0, 1, 1)
bedgrid.attach(self.labels['fm'], 2, 2, 1, 1)
if self.x_cnt == 3:
bedgrid.attach(self.labels['lm'], 1, 1, 1, 1)
bedgrid.attach(self.labels['rm'], 3, 1, 1, 1)
self.labels['bl'].connect("clicked", self.go_to_position, fl)
self.labels['bm'].connect("clicked", self.go_to_position, lm)
self.labels['br'].connect("clicked", self.go_to_position, bl)
@@ -165,12 +193,6 @@ class BedLevelPanel(ScreenPanel):
# fr fm fl
# rm lm
# br bm bl
if self.x_cnt == 3:
bedgrid.attach(self.labels['bm'], 2, 0, 1, 1)
bedgrid.attach(self.labels['fm'], 2, 2, 1, 1)
if self.y_cnt == 3:
bedgrid.attach(self.labels['lm'], 1, 1, 1, 1)
bedgrid.attach(self.labels['rm'], 3, 1, 1, 1)
self.labels['bl'].connect("clicked", self.go_to_position, fr)
self.labels['bm'].connect("clicked", self.go_to_position, fm)
self.labels['br'].connect("clicked", self.go_to_position, fl)
@@ -193,12 +215,6 @@ class BedLevelPanel(ScreenPanel):
# br rm fr
# bm fm
# bl lm fl
if self.y_cnt == 3:
bedgrid.attach(self.labels['bm'], 2, 0, 1, 1)
bedgrid.attach(self.labels['fm'], 2, 2, 1, 1)
if self.x_cnt == 3:
bedgrid.attach(self.labels['lm'], 1, 1, 1, 1)
bedgrid.attach(self.labels['rm'], 3, 1, 1, 1)
self.labels['bl'].connect("clicked", self.go_to_position, br)
self.labels['bm'].connect("clicked", self.go_to_position, rm)
self.labels['br'].connect("clicked", self.go_to_position, fr)
@@ -239,41 +255,24 @@ class BedLevelPanel(ScreenPanel):
'fl': fl,
'lm': lm
}
if self.x_cnt == 3:
bedgrid.attach(self.labels['bm'], 2, 0, 1, 1)
bedgrid.attach(self.labels['fm'], 2, 2, 1, 1)
if self.y_cnt == 3:
bedgrid.attach(self.labels['lm'], 1, 1, 1, 1)
bedgrid.attach(self.labels['rm'], 3, 1, 1, 1)
grid.attach(bedgrid, 1, 0, 3, 2)
self.labels['dm'] = self._gtk.ButtonImage("motor-off", _("Disable XY"), "color3")
self.labels['dm'].connect("clicked", self.disable_motors)
grid.attach(self.labels['dm'], 0, 0, 1, 1)
if self._printer.config_section_exists("screws_tilt_adjust"):
self.labels['screws'] = self._gtk.ButtonImage("refresh", _("Screws Adjust"), "color4")
self.labels['screws'].connect("clicked", self.screws_tilt_calculate)
grid.attach(self.labels['screws'], 0, 1, 1, 1)
self.content.add(grid)
def activate(self):
for key, value in self.screw_dict.items():
self.labels[key].set_label(str(value))
self.labels[key].set_label(f"{value}")
if self._printer.config_section_exists("screws_tilt_adjust"):
self.labels['screws'].set_sensitive(True)
def go_to_position(self, widget, position):
if self._screen.printer.get_stat("toolhead", "homed_axes") != "xyz":
self._screen._ws.klippy.gcode_script(KlippyGcodes.HOME)
logging.debug("Going to position: %s", position)
logging.debug(f"Going to position: {position}")
script = [
"%s" % KlippyGcodes.MOVE_ABSOLUTE,
f"{KlippyGcodes.MOVE_ABSOLUTE}",
"G1 Z7 F800\n",
"G1 X%s Y%s F3600\n" % (position[0], position[1]),
f"G1 X{position[0]} Y{position[1]} F3600\n",
"G1 Z.1 F300\n"
]
@@ -287,44 +286,67 @@ class BedLevelPanel(ScreenPanel):
)
def process_update(self, action, data):
_ = self.lang.gettext
if action == "notify_gcode_response":
if data.startswith('!!'):
self.response_count = 0
if action != "notify_gcode_response":
return
if data.startswith('!!'):
self.response_count = 0
self.labels['screws'].set_sensitive(True)
return
result = re.match(
"^// (.*) : [xX= ]+([\\-0-9\\.]+), [yY= ]+([\\-0-9\\.]+), [zZ= ]+[\\-0-9\\.]+ :" +
" (Adjust ->|adjust) ([CW]+ [0-9:]+)",
data
)
# screws_tilt_adjust uses PROBE positions and was offseted for the buttons to work equal to bed_screws
# for the result we need to undo the offset
if result:
x = round(float(result[2]) + self.x_offset, 1)
y = round(float(result[3]) + self.y_offset, 1)
for key, value in self.screw_dict.items():
if value and x == value[0] and y == value[1]:
logging.debug(f"X: {x} Y: {y} Adjust: {result[5]} Pos: {key}")
self.labels[key].set_label(result[5])
break
self.response_count += 1
if self.response_count >= len(self.screws) - 1:
self.labels['screws'].set_sensitive(True)
return
else:
result = re.match(
"^// (.*) : [xX= ]+([\\-0-9\\.]+), [yY= ]+([\\-0-9\\.]+), [zZ= ]+[\\-0-9\\.]+ :" +
" (Adjust ->|adjust) ([CW]+ [0-9:]+)",
"^// (.*) : [xX= ]+([\\-0-9\\.]+), [yY= ]+([\\-0-9\\.]+), [zZ= ]+[\\-0-9\\.]",
data
)
if result:
x = self.apply_offset(result.group(2), self.x_offset)
y = self.apply_offset(result.group(3), self.y_offset)
# screws_tilt_adjust uses PROBE positions and was offseted for the buttons to work equal to bed_screws
# for the result we need to undo the offset
if result and re.search('base', result[1]):
x = round(float(result[2]) + self.x_offset, 1)
y = round(float(result[3]) + self.y_offset, 1)
logging.debug(f"X: {x} Y: {y} is the reference")
for key, value in self.screw_dict.items():
if value and x == value[0] and y == value[1]:
logging.debug("X: %s Y: %s Adjust: %s Pos: %s" % (x, y, result.group(5), key))
self.labels[key].set_label(result.group(5))
break
self.response_count += 1
if self.response_count >= len(self.screws)-1:
self.labels['screws'].set_sensitive(True)
else:
result = re.match(
"^// (.*) : [xX= ]+([\\-0-9\\.]+), [yY= ]+([\\-0-9\\.]+), [zZ= ]+[\\-0-9\\.]",
data
)
if result and re.search('base', result.group(1)):
x = self.apply_offset(result.group(2), self.x_offset)
y = self.apply_offset(result.group(3), self.y_offset)
logging.debug("X: %s Y: %s is the reference" % (x, y))
for key, value in self.screw_dict.items():
if value and x == value[0] and y == value[1]:
logging.debug("X: %s Y: %s Pos: %s" % (x, y, key))
self.labels[key].set_label(_("Reference"))
logging.debug(f"X: {x} Y: {y} Pos: {key}")
self.labels[key].set_label(_("Reference"))
def apply_offset(self, pos, offset):
return max(0, int(float(pos) - offset))
def _get_screws(self, config_section_name):
screws = []
config_section = self._screen.printer.get_config_section(config_section_name)
for item in config_section:
logging.debug(f"{config_section_name}: {config_section[item]}")
result = re.match(r"([\-0-9\.]+)\s*,\s*([\-0-9\.]+)", config_section[item])
if result:
screws.append([
round(float(result[1]), 1),
round(float(result[2]), 1)
])
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):
if self._screen.printer.get_stat("toolhead", "homed_axes") != "xyz":
+194 -199
View File
@@ -1,9 +1,10 @@
import gi
import logging
import contextlib
import numpy as np
gi.require_version("Gtk", "3.0")
from gi.repository import Gdk, Gtk, Pango
from gi.repository import Gtk, Pango
import matplotlib.pyplot as plt
from matplotlib import cm
@@ -15,48 +16,55 @@ from matplotlib.ticker import LinearLocator
from ks_includes.KlippyGcodes import KlippyGcodes
from ks_includes.screen_panel import ScreenPanel
def create_panel(*args):
return BedMeshPanel(*args)
class BedMeshPanel(ScreenPanel):
active_mesh = None
graphs = {}
def __init__(self, screen, title, back=True):
super().__init__(screen, title, back)
self.profiles = {}
self.show_create = False
self.active_mesh = None
def initialize(self, panel_name):
_ = self.lang.gettext
self.show_create = False
addprofile = self._gtk.ButtonImage("increase", " " + _("Add profile"), "color1", .66, Gtk.PositionType.LEFT, 1)
addprofile.connect("clicked", self.show_create_profile)
addprofile.set_hexpand(True)
clear = self._gtk.ButtonImage("cancel", " " + _("Clear"), "color2", .66, Gtk.PositionType.LEFT, 1)
clear.connect("clicked", self._clear_mesh)
clear.set_hexpand(True)
top_calibrate = self._gtk.ButtonImage("refresh", " " + _("Calibrate"), "color3", .66, Gtk.PositionType.LEFT, 1)
top_calibrate.connect("clicked", self._send_calibrate)
top_calibrate.set_hexpand(True)
scroll = Gtk.ScrolledWindow()
scroll.set_property("overlay-scrolling", False)
scroll.set_vexpand(True)
scroll.add_events(Gdk.EventMask.TOUCH_MASK)
scroll.add_events(Gdk.EventMask.BUTTON_PRESS_MASK)
topbar = Gtk.Box(spacing=5)
topbar.set_hexpand(True)
topbar.set_vexpand(False)
topbar.add(addprofile)
topbar.add(clear)
topbar.add(top_calibrate)
# Create a grid for all profiles
self.labels['profiles'] = Gtk.Grid()
self.labels['profiles'].get_style_context().add_class("frame-item")
self.labels['profiles'].set_valign(Gtk.Align.CENTER)
scroll = self._gtk.ScrolledWindow()
scroll.add(self.labels['profiles'])
addprofile = self._gtk.ButtonImage("increase", " %s" % _("Add bed mesh profile"),
"color1", .5, .5, Gtk.PositionType.LEFT, False)
addprofile.connect("clicked", self.show_create_profile)
addprofile.set_size_request(60, 0)
addprofile.set_hexpand(False)
addprofile.set_halign(Gtk.Align.END)
abox = Gtk.Box(spacing=0)
abox.set_vexpand(False)
abox.add(addprofile)
scroll.set_vexpand(True)
# Create a box to contain all of the above
box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=0)
box.set_vexpand(True)
box.pack_start(abox, False, False, 0)
box.pack_end(scroll, True, True, 0)
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.labels['main_box'] = box
self.content.add(self.labels['main_box'])
def activate(self):
@@ -64,120 +72,99 @@ class BedMeshPanel(ScreenPanel):
self.content.remove(child)
self.content.add(self.labels['main_box'])
am = self._screen.printer.get_stat("bed_mesh", "profile_name")
self.activate_mesh(am)
self.activate_mesh(
self._screen.printer.get_stat("bed_mesh", "profile_name")
)
def activate_mesh(self, profile):
if profile == "":
profile = "default"
logging.debug("Activating profile: %s %s" % (self.active_mesh, profile))
if profile != self.active_mesh:
if profile not in self.profiles:
self.add_profile(profile)
if self.active_mesh is not None and self.active_mesh in self.profiles:
a = self.profiles[self.active_mesh]
a['buttons'].remove(a['refresh'])
a['buttons'].pack_start(a['load'], False, False, 0)
self.active_mesh = profile
if self.active_mesh is not None:
a = self.profiles[profile]
a['buttons'].remove(a['load'])
a['buttons'].pack_start(a['refresh'], False, False, 0)
self._screen.show_all()
logging.debug(f"Activating profile: {profile} Current: {self.active_mesh}")
if profile not in self.profiles:
self.add_profile(profile)
if self.active_mesh is not None and self.active_mesh in self.profiles:
a = self.profiles[self.active_mesh]
with contextlib.suppress(KeyError):
a['button_box'].remove(a['calibrate'])
a['button_box'].pack_start(a['load'], False, False, 0)
logging.info(f"Active {self.active_mesh} changing to {profile}")
self.active_mesh = profile
if self.active_mesh is not None:
a = self.profiles[profile]
with contextlib.suppress(KeyError):
a['button_box'].remove(a['load'])
with contextlib.suppress(KeyError):
a['button_box'].remove(a['view'])
a['button_box'].pack_start(a['calibrate'], False, False, 0)
if self._printer.get_config_section(f"bed_mesh {profile}"):
a['button_box'].pack_end(a["view"], False, False, 0)
self._screen.show_all()
def add_profile(self, profile):
_ = self.lang.gettext
frame = Gtk.Frame()
logging.debug(f"Adding Profile: {profile} Current: {self.active_mesh}")
name = Gtk.Label()
name.set_markup("<big><b>%s</b></big>" % (profile))
name.set_markup(f"<big><b>{profile}</b></big>")
name.set_hexpand(True)
name.set_vexpand(True)
name.set_vexpand(False)
name.set_halign(Gtk.Align.START)
name.set_line_wrap(True)
name.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
load = self._gtk.ButtonImage("load", _("Load"), "color2")
load.connect("clicked", self.send_load_mesh, profile)
load.set_size_request(60, 0)
load.set_hexpand(False)
load.set_halign(Gtk.Align.END)
buttons = {
"calibrate": self._gtk.ButtonImage("refresh", _("Calibrate"), "color4"),
"load": self._gtk.ButtonImage("load", _("Load"), "color2"),
"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["delete"].connect("clicked", self.send_remove_mesh, profile)
buttons["view"].connect("clicked", self.show_mesh, profile)
refresh = self._gtk.ButtonImage("refresh", _("Calibrate"), "color4")
refresh.connect("clicked", self.calibrate_mesh)
refresh.set_size_request(60, 0)
refresh.set_hexpand(False)
refresh.set_halign(Gtk.Align.END)
view = self._gtk.ButtonImage("bed-level", _("View Mesh"), "color1")
view.connect("clicked", self.show_mesh, profile)
view.set_size_request(60, 0)
view.set_hexpand(False)
view.set_halign(Gtk.Align.END)
info = self._gtk.ButtonImage("info", None, "color3")
info.connect("clicked", self.show_mesh, profile)
info.set_size_request(60, 0)
info.set_hexpand(False)
info.set_halign(Gtk.Align.END)
save = self._gtk.ButtonImage("sd", _("Save"), "color3")
save.connect("clicked", self.send_save_mesh, profile)
save.set_size_request(60, 0)
save.set_hexpand(False)
save.set_halign(Gtk.Align.END)
delete = self._gtk.ButtonImage("cancel", _("Delete"), "color3")
delete.connect("clicked", self.send_remove_mesh, profile)
delete.set_size_request(60, 0)
delete.set_hexpand(False)
delete.set_halign(Gtk.Align.END)
labels = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
labels.add(name)
dev = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=5)
dev.set_margin_top(10)
dev.set_margin_end(15)
dev.set_margin_start(15)
dev.set_margin_bottom(10)
dev.set_hexpand(True)
dev.set_vexpand(False)
dev.add(labels)
buttons = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=5)
logging.debug("Profile compare: '%s' '%s'" % (self.active_mesh, profile))
if self.active_mesh == profile:
buttons.pack_start(refresh, False, False, 0)
else:
buttons.pack_start(load, False, False, 0)
# buttons.pack_end(info, False, False, 0)
for b in buttons.values():
b.set_hexpand(False)
b.set_vexpand(False)
b.set_halign(Gtk.Align.END)
button_box = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=5)
button_box.add(buttons["calibrate"])
if profile != "default":
buttons.pack_end(save, False, False, 0)
buttons.pack_end(delete, False, False, 0)
buttons.pack_end(view, False, False, 0)
button_box.add(buttons["save"])
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"])
dev.add(buttons)
frame.add(dev)
box = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=5)
box.pack_start(name, True, True, 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] = {
"box": dev,
"buttons": buttons,
"button_box": button_box,
"row": frame,
"load": load,
"refresh": refresh,
"save": save,
"view": view,
"calibrate": buttons["calibrate"],
"load": buttons["load"],
"save": buttons["save"],
"delete": buttons["delete"],
"view": buttons["view"],
}
pl = list(self.profiles)
if "default" in pl:
pl.remove('default')
profiles = sorted(pl)
pos = profiles.index(profile)+1 if profile != "default" else 0
pos = profiles.index(profile) + 1 if profile != "default" else 0
self.labels['profiles'].insert_row(pos)
self.labels['profiles'].attach(self.profiles[profile]['row'], 0, pos, 1, 1)
@@ -189,36 +176,16 @@ class BedMeshPanel(ScreenPanel):
return True
return False
def create_profile(self, widget):
name = self.labels['profile_name'].get_text()
if " " in name:
name = '"%s"' % name
self._screen._ws.klippy.gcode_script("BED_MESH_PROFILE SAVE=%s" % name)
self.remove_create()
def calibrate_mesh(self, widget):
if self._screen.printer.get_stat("toolhead", "homed_axes") != "xyz":
self._screen._ws.klippy.gcode_script(KlippyGcodes.HOME)
self._screen._ws.klippy.gcode_script(
"BED_MESH_CALIBRATE"
)
if not (self._printer.config_section_exists("probe") or self._printer.config_section_exists("bltouch")):
self.menu_item_clicked(widget, "refresh", {"name": "Mesh calibrate", "panel": "zcalibrate"})
def load_meshes(self):
bm_profiles = self._screen.printer.get_config_section_list("bed_mesh ")
self.profiles = {}
logging.info(f"Bed profiles: {bm_profiles}")
for prof in bm_profiles:
self.add_profile(prof[9:])
def process_update(self, action, data):
if action == "notify_status_update":
if "bed_mesh" in data and "profile_name" in data['bed_mesh']:
if data['bed_mesh']['profile_name'] != self.active_mesh:
self.activate_mesh(data['bed_mesh']['profile_name'])
with contextlib.suppress(KeyError):
self.activate_mesh(data['bed_mesh']['profile_name'])
def remove_create(self):
if self.show_create is False:
@@ -240,103 +207,81 @@ class BedMeshPanel(ScreenPanel):
if "default" in pl:
pl.remove('default')
profiles = sorted(pl)
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)
del self.profiles[profile]
def send_load_mesh(self, widget, profile):
self._screen._ws.klippy.gcode_script(
KlippyGcodes.bed_mesh_load(profile)
)
def send_save_mesh(self, widget, profile):
self._screen._ws.klippy.gcode_script(
KlippyGcodes.bed_mesh_save(profile)
)
def send_remove_mesh(self, widget, profile):
self._screen._ws.klippy.gcode_script(
KlippyGcodes.bed_mesh_remove(profile)
)
self.remove_profile(profile)
def show_create_profile(self, widget):
_ = self.lang.gettext
for child in self.content.get_children():
self.content.remove(child)
if "create_profile" not in self.labels:
self.labels['create_profile'] = Gtk.VBox()
self.labels['create_profile'].set_valign(Gtk.Align.START)
box = Gtk.Box(spacing=5)
box.set_size_request(self._gtk.get_content_width(), self._gtk.get_content_height() -
self._screen.keyboard_height - 20)
box.set_hexpand(True)
box.set_vexpand(False)
self.labels['create_profile'].add(box)
pl = self._gtk.Label(_("Profile Name:"))
pl.set_hexpand(False)
entry = Gtk.Entry()
entry.set_hexpand(True)
entry.connect("activate", self.create_profile)
self.labels['profile_name'] = Gtk.Entry()
self.labels['profile_name'].set_text('')
self.labels['profile_name'].set_hexpand(True)
self.labels['profile_name'].connect("activate", self.create_profile)
self.labels['profile_name'].connect("focus-in-event", self._show_keyboard)
self.labels['profile_name'].grab_focus_without_selecting()
save = self._gtk.ButtonImage("sd", _("Save"), "color3")
save = self._gtk.ButtonImage("complete", _("Save"), "color3")
save.set_hexpand(False)
save.connect("clicked", self.create_profile)
self.labels['profile_name'] = entry
box.pack_start(pl, False, False, 5)
box.pack_start(entry, True, True, 5)
box = Gtk.Box()
box.pack_start(self.labels['profile_name'], True, True, 5)
box.pack_start(save, False, False, 5)
self.show_create = True
self.labels['profile_name'].set_text('')
self.labels['create_profile'] = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=5)
self.labels['create_profile'].set_valign(Gtk.Align.CENTER)
self.labels['create_profile'].set_hexpand(True)
self.labels['create_profile'].set_vexpand(True)
self.labels['create_profile'].pack_start(pl, True, True, 5)
self.labels['create_profile'].pack_start(box, True, True, 5)
self.content.add(self.labels['create_profile'])
self.content.show()
self._screen.show_keyboard()
self.labels['profile_name'].grab_focus_without_selecting()
self._show_keyboard()
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):
_ = self.lang.gettext
bm = self._printer.get_config_section("bed_mesh %s" % profile)
bm = self._printer.get_config_section(f"bed_mesh {profile}")
if bm is False:
logging.info("Unable to load profile: %s" % profile)
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("Unable to load active mesh: %s" % profile)
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
if minz_mesh > -0.5:
minz_mesh = -0.5
if maxz_mesh < 0.5:
maxz_mesh = 0.5
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])]
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'])]
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'])
@@ -349,8 +294,8 @@ class BedMeshPanel(ScreenPanel):
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])
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))
@@ -358,12 +303,12 @@ class BedMeshPanel(ScreenPanel):
ax.zaxis.set_major_formatter('{x:.02f}')
fig.colorbar(surf, shrink=0.7, aspect=5, pad=0.25)
box = Gtk.VBox()
box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
box.set_hexpand(True)
box.set_vexpand(True)
title = Gtk.Label()
title.set_markup("<b>%s</b>" % profile)
title.set_markup(f"<b>{profile}</b>")
title.set_hexpand(True)
title.set_halign(Gtk.Align.CENTER)
@@ -381,7 +326,7 @@ class BedMeshPanel(ScreenPanel):
alloc = canvas_box.get_allocation()
canvas = FigureCanvas(fig)
canvas.set_size_request(alloc.width, self._screen.height/3*2)
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.
@@ -390,6 +335,56 @@ class BedMeshPanel(ScreenPanel):
for css_class in style_ctx.list_classes():
style_ctx.remove_class(css_class)
def _close_dialog(self, widget, response):
@staticmethod
def _close_dialog(widget, response):
widget.destroy()
def create_profile(self, widget):
name = self.labels['profile_name'].get_text()
if " " in name:
name = f'"{name}"'
self._screen._ws.klippy.gcode_script(f"BED_MESH_PROFILE SAVE={name}")
self.remove_create()
def calibrate_mesh(self, widget):
self._screen.show_popup_message(_("Calibrating"), level=1)
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"
)
# Load zcalibrate to do a manual mesh
if not (self._printer.config_section_exists("probe") or self._printer.config_section_exists("bltouch")):
self.menu_item_clicked(widget, "refresh", {"name": "Mesh calibrate", "panel": "zcalibrate"})
def _clear_mesh(self, widget):
self._screen._ws.klippy.gcode_script(
"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):
self._screen._ws.klippy.gcode_script(
KlippyGcodes.bed_mesh_load(profile)
)
def send_save_mesh(self, widget, profile):
self._screen._ws.klippy.gcode_script(
KlippyGcodes.bed_mesh_save(profile)
)
def send_remove_mesh(self, widget, profile):
self._screen._ws.klippy.gcode_script(
KlippyGcodes.bed_mesh_remove(profile)
)
self.remove_profile(profile)
Loaded 100 of 173 files, more files were not shown because too many files have changed in this diff. Show more