Z-Tilt integration and Update German Language (#100)

* Z-Tilt integration and Update German Language

- Update German language
- Integration Z-Tilt in Move-Menue

* Update KlipperScreen.po
This commit is contained in:
Elektrickser 2021-03-03 00:22:19 +01:00 committed by GitHub
parent f3001f3c76
commit b264719cd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 141 additions and 52 deletions

View File

@ -72,12 +72,12 @@ method: printer.gcode.script
params: {"script":"QUAD_GANTRY_LEVEL"}
enable: {{ printer.quad_gantry_level is defined }}
[menu __main homing z_tilt_adjust]
name: {{ gettext('Z Tilt Adjust') }}
icon: home-z
[menu __main homing Z-Tilt]
name: {{ gettext('Z Tilt') }}
icon: z-tilt
method: printer.gcode.script
params: {"script":"QUAD_GANTRY_LEVEL"}
enable: {{ printer.z_tilt_adjust is defined }}
params: {"script":"Z_TILT_ADJUST"}
enable: {{ printer.z_tilt is defined }}
[menu __main actions move]

View File

@ -427,7 +427,7 @@ msgstr ""
msgid "Z Offset"
msgstr ""
msgid "Z Tilt Adjust"
msgid "Z Tilt"
msgstr ""
msgid "Z+"

View File

@ -1,20 +1,21 @@
# 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 Elektrickser@gmail.com, 2021
#
# Jakob Kais <schpuntik@freenet.de>, 2021.
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-02-26 15:56+0000\n"
"PO-Revision-Date: 2021-02-12 02:02+0100\n"
"Last-Translator: Jakob Kais <schpuntik@freenet.de>\n"
"Language-Team: Russian <kde-i18n-de@kde.org>\n"
"PO-Revision-Date: 2021-02-27 00:51+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: de_DE\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.3\n"
"X-Generator: Poedit 2.4.2\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid "?"
@ -30,7 +31,7 @@ msgid "Actions"
msgstr "Aktionen"
msgid "Add bed mesh profile"
msgstr "Druckbett Mesh Profil hinzufügen"
msgstr "Mesh-Level Profil hinzufügen"
msgid "Are you sure you want to print"
msgstr "Möchten Sie wirklich drucken"
@ -51,7 +52,7 @@ msgid "Bed Mesh"
msgstr "Druckbett Mesh-Level"
msgid "Calibrate"
msgstr "Kalibrieren"
msgstr "Höheneinstellung"
msgid "Cancel"
msgstr "Abbruch"
@ -62,12 +63,11 @@ msgstr "Änderung abbrechen"
msgid "Cancel Print"
msgstr "Druck abbrechen"
#, fuzzy
msgid "Cancelled"
msgstr "Abbruch"
msgstr "Abgebrochen"
msgid "Channel"
msgstr ""
msgstr "Kanal"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
@ -80,17 +80,17 @@ msgid "Close"
msgstr "Schließen"
msgid "Complete"
msgstr ""
msgstr "Fertiggestellt"
msgid "Configuration"
msgstr "Einstellungen"
msgid "Connected"
msgstr ""
msgstr "Verbunden"
#, python-format
msgid "Connecting to %s"
msgstr ""
msgstr "Verbinden zu %s"
msgid "Continue"
msgstr "Fortsetzen"
@ -117,7 +117,7 @@ msgid "Disable XY"
msgstr "Achse XY deaktivieren"
msgid "Disconnect"
msgstr ""
msgstr "Nicht verbunden"
msgid "Displayed Macros"
msgstr "Aktive Macros"
@ -135,7 +135,7 @@ msgid "Emergency Stop"
msgstr "NOT-STOP"
msgid "Error"
msgstr ""
msgstr "Fehler"
msgid "Estimated Time Method"
msgstr "Druckzeit"
@ -165,15 +165,13 @@ msgid "Filament Used"
msgstr "Filamentverbrauch"
msgid "File Estimation (default)"
msgstr "Dateischätzung (Standard)"
msgstr "Dateischätzung"
msgid "Fine Tuning"
msgstr "Feintuning"
msgid "Firmware Restart"
msgstr ""
"Firmware\n"
" neustarten"
msgstr "Firmware neustarten"
msgid "Go Back"
msgstr "Zurück"
@ -207,13 +205,13 @@ msgid "Homing"
msgstr "Grundposition"
msgid "Hostname"
msgstr ""
msgstr "Hostname"
msgid "IPv4"
msgstr ""
msgstr "IPv4"
msgid "IPv6"
msgstr ""
msgstr "IPv6"
msgid "Increase"
msgstr "Erhöhen"
@ -225,7 +223,7 @@ msgid "Initializing printer..."
msgstr "Drucker wird initialisiert..."
msgid "Interface"
msgstr ""
msgstr "Interface"
msgid "Invert X"
msgstr "Achse X invertieren"
@ -237,9 +235,7 @@ msgid "Invert Z"
msgstr "Achse Z invertieren"
msgid "Klipper Restart"
msgstr ""
"Klipper\n"
" neustarten"
msgstr "Klipper neustarten"
msgid "Klipper Version"
msgstr "Klipper Version"
@ -280,7 +276,7 @@ msgid "Left:"
msgstr "Restzeit:"
msgid "Load"
msgstr "Belastung"
msgstr "Last"
msgid "Load Average"
msgstr "Durchschnittslast"
@ -301,7 +297,7 @@ msgid "Menu"
msgstr "Menü"
msgid "Modified"
msgstr ""
msgstr "Modifiziert"
msgid "Move"
msgstr "Bewegen"
@ -319,7 +315,7 @@ msgid "Number Pad"
msgstr "Nummernblock"
msgid "Off"
msgstr "Ausschalten"
msgstr "Aus"
msgid "Pause"
msgstr "Pause"
@ -349,7 +345,7 @@ msgid "Printing"
msgstr "Drucken"
msgid "Profile Name:"
msgstr "Profil Name:"
msgstr "Profilname:"
msgid "Quad Gantry Level"
msgstr "Quad Gantry Level"
@ -376,10 +372,10 @@ msgid "Save configuration."
msgstr "Speichere Einstellungen."
msgid "Screen Power Off Time"
msgstr ""
msgstr "Bildschirm abschalten in"
msgid "Screen will show in less than one second"
msgstr ""
msgstr "Der Bildschirm wird in weniger als einer Sekunde angezeigt"
msgid "Screws Adjust"
msgstr "Schrauben Einstellen"
@ -400,7 +396,7 @@ msgid "Slow"
msgstr "Langsam"
msgid "Sort by: "
msgstr "Sortieren nach: "
msgstr "Sortierung:"
msgid "Speed +"
msgstr "Geschwindigkeit +"
@ -452,8 +448,8 @@ msgstr "Höhe Kalibrieren"
msgid "Z Offset"
msgstr "Z Offset"
msgid "Z Tilt Adjust"
msgstr ""
msgid "Z Tilt"
msgstr "Z-Achse ausrichten"
msgid "Z+"
msgstr "Z+"
@ -462,19 +458,10 @@ msgid "Z-"
msgstr "Z-"
msgid "dBm"
msgstr ""
msgstr "dBm"
msgid "minutes"
msgstr "Minuten"
msgid "mm"
msgstr "mm"
#~ msgid "Network Info"
#~ msgstr "Netzwerkinfo"
#~ msgid "Screen Blanking Time"
#~ msgstr "Bildschirm Ausblenden in"
#~ msgid "Klipper"
#~ msgstr "Klipper"

View File

@ -185,7 +185,7 @@ class Printer:
}
}
sections = ["bed_mesh","bltouch","probe","quad_gantry_level","z_tilt_adjust"]
sections = ["bed_mesh","bltouch","probe","quad_gantry_level","z_tilt"]
for section in sections:
if self.config_section_exists(section):
data["printer"][section] = self.get_config_section(section).copy()

View File

@ -0,0 +1,102 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="60.13768"
height="60.776516"
viewBox="0 0 60.137677 60.776516"
id="svg4160"
version="1.1"
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)"
sodipodi:docname="z-tilt.svg">
<defs
id="defs4162" />
<sodipodi:namedview
id="base"
pagecolor="#232323"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="5.6"
inkscape:cx="26.688683"
inkscape:cy="45.469942"
inkscape:document-units="px"
inkscape:current-layer="g39"
showgrid="true"
units="in"
showguides="false"
inkscape:window-width="1920"
inkscape:window-height="1017"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:snap-bbox="true"
inkscape:snap-global="false"
inkscape:document-rotation="0">
<inkscape:grid
type="xygrid"
id="grid4712"
originx="-9.9771178"
originy="-29.820954" />
</sodipodi:namedview>
<metadata
id="metadata4165">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:groupmode="layer"
id="layer3"
inkscape:label="Home"
style="display:inline"
transform="translate(-3.5328446,2.2636422)">
<g
transform="translate(-6.3983144,-14.354528)"
id="g39">
<path
sodipodi:nodetypes="ccccccc"
inkscape:connector-curvature="0"
id="rect4760-8"
d="m 22.795553,16.619161 3.21242,-1.25 3.212421,1.25 v 47.687531 l -3.212421,0.892857 -3.21242,-0.892857 z"
style="fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
y="50.524387"
x="18.285381"
height="5.8285666"
width="51.899994"
id="rect7837"
style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#ffffff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
transform="rotate(4.4053012)" />
<path
inkscape:connector-curvature="0"
id="path7561-4"
d="m 28.36969,37.692256 -7.904013,10.852901 -7.986941,-10.740217 3.161781,-4.341163 2.559019,3.441305 -0.106319,-12.666066 4.494307,-0.06966 0.106048,12.633861 2.48134,-3.407289 z"
style="fill:#232323;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:1.57179;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<circle
transform="rotate(-89.382484)"
cy="40.561813"
cx="-56.0695"
id="path8128"
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#ffffff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
r="5" />
<path
inkscape:connector-curvature="0"
id="path7561-4-0"
d="m 68.773797,34.610444 -7.908294,-10.728538 -7.991268,10.617146 3.163494,4.291417 2.560405,-3.401872 -0.106377,12.520925 4.496742,0.06886 0.106106,-12.489088 2.482684,3.368245 z"
style="display:inline;fill:#232323;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:1.56319;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.0 KiB