Merge commit '175911a1908154e570783b58329c1e0dc3535a3d'

This commit is contained in:
thelastWallE 2021-12-31 01:38:03 +01:00
commit 71b7c2d189
10 changed files with 280 additions and 162 deletions

View File

@ -136,6 +136,46 @@ ul#klipper-settings {
flex: 3 auto;
}
.klipper-noresize {
resize: none;
}
.klipper-copyicon {
position: absolute;
top: 2.3em;
right: 2.5em;
margin-top: 4px;
margin-left: 4px;
width: 11px;
height: 13px;
cursor: pointer;
}
.klipper-animate {
animation-name: klipper-pulse;
animation-duration: 0.2s;
animation-direction: alternate;
animation-iteration-count: 2;
animation-timing-function: linear;
}
@keyframes klipper-pulse {
0% {
transform: scale(1);
color:rgba(221, 255, 220, 1)
}
75% {
transform: scale(1.1);
color:rgba(117, 255, 112, 1)
}
100% {
transform: scale(1.7);
color:rgba(9, 255, 0, 1)
}
}
.gap {
justify-content: space-evenly;
}

View File

@ -361,6 +361,34 @@ $(function () {
}
};
// trigger tooltip a first time to "enable"
$("#klipper-copyToClipboard").tooltip('hide');
$("#klipper-copyToClipboard").click(function(event) {
const ele = $(this);
const Text = $(this).prev();
const icon = document.getElementById("klipper-copyToClipboard");
/* Copy the text inside the text field */
navigator.clipboard.writeText(Text[0].value).then(function () {
ele.attr('data-original-title', gettext("Copied"));
ele.tooltip('show');
icon.classList.add("klipper-animate");
self.sleep(300).then(function () {
icon.classList.remove("klipper-animate");
$("#klipper-copyToClipboard").attr('data-original-title', gettext("Copy to Clipboard"));
});
}, function (err) {
$("#klipper-copyToClipboard").attr('data-original-title', gettext("Error:") + err);
$("#klipper-copyToClipboard").tooltip('show');
self.sleep(300).then(function () {
$("#copyToClipboard").attr('data-original-title', gettext("Copy to Clipboard"));
});
});
});
self.sleep = function (ms) {
return new Promise(resolve => setTimeout(resolve, ms));
};

View File

@ -4,38 +4,38 @@
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
$(function() {
function KlipperMacroDialogViewModel(parameters) {
var self = this;
self.parameters = ko.observableArray();
self.interpolatedCmd;
self.macro;
self.macroName = ko.observable();
var paramObjRegex = /{(.*?)}/g;
var keyValueRegex = /(\w*)\s*:\s*([\w\s°"|]*)/g;
var keyValueRegex = /(\w*)\s*:\s*([\w\s°"|\.]*)/g;
self.process = function(macro) {
self.macro = macro.macro();
self.macroName(macro.name());
var matches = self.macro.match(paramObjRegex);
var params = [];
for (var i=0; i < matches.length; i++) {
var obj = {};
var res = keyValueRegex.exec(matches[i]);
while (res != null) {
if("options" == res[1]) {
obj["options"] = res[2].trim().split("|");
@ -44,32 +44,32 @@ $(function() {
}
res = keyValueRegex.exec(matches[i]);
}
if(!("label" in obj)) {
obj["label"] = "Input " + (i+1);
}
if(!("unit" in obj)) {
obj["unit"] = "";
}
if("default" in obj) {
obj["value"] = obj["default"];
}
params.push(obj);
}
self.parameters(params);
}
self.executeMacro = function() {
var i=-1;
function replaceParams(match) {
i++;
return self.parameters()[i]["value"];
}
// Use .split to create an array of strings which is sent to
// Use .split to create an array of strings which is sent to
// OctoPrint.control.sendGcode instead of a single string.
expanded = self.macro.replace(paramObjRegex, replaceParams)
expanded = expanded.split(/\r\n|\r|\n/);

View File

@ -15,7 +15,7 @@
<!-- /ko -->
<!-- ko if: !$data.hasOwnProperty("options") -->
<div class="input-append">
<input type="text" class="input-block-level span2" data-bind="value: value">
<input type="text" class="span2" data-bind="value: value">
<span class="add-on" data-bind="text: unit"></span>
</div>
<!-- /ko -->

View File

@ -168,12 +168,17 @@
</span>
</div>
<div class="control-group">
<pre>
PID_CALIBRATE
HEATER={label:Heater, default:extruder, options:extruder|extruder1}
TARGET={label:Target Temperature, unit:°C, default:190}
WRITE_FILE={label:Write to File, default:0, options:0|1}
</pre>
<label class="control-label">{{ _('Command') }}</label>
<div class="controls" style="margin-left: 82px;">
<div class="row-fluid">
<div class="span12" style="margin-top:2px;">
<div style="position: relative;">
<textarea readonly style='cursor: text; mix-blend-mode: difference; font-family: "Lucida Console", "Courier New", monospace;' rows="2" class="block klipper-noresize">PID_CALIBRATE HEATER={label:Heater, default:extruder, options:extruder|extruder1} TARGET={label:Target Temperature, unit:°C, default:190} WRITE_FILE={label:Write to File, default:0, options:0|1}</textarea>
<i id="klipper-copyToClipboard" class="far fa-clone klipper-copyicon" data-original-title="{{ _('Copy to Clipboard') }}"></i>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Leveling -->

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: OctoKlipper 0.3.8.2\n"
"Report-Msgid-Bugs-To: i18n@octoprint.org\n"
"POT-Creation-Date: 2021-11-21 00:46+0100\n"
"POT-Creation-Date: 2021-12-31 01:34+0100\n"
"PO-Revision-Date: 2021-05-13 17:32+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: de\n"
@ -19,23 +19,23 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.9.1\n"
#: octoprint_klipper/__init__.py:93
#: octoprint_klipper/__init__.py:94
msgid "Allows to config klipper"
msgstr "Erlaubt Klipper zu konfigurieren"
#: octoprint_klipper/__init__.py:101
#: octoprint_klipper/__init__.py:102
msgid "Allows to use klipper macros"
msgstr "Erlaubt Makros zu benutzen"
#: octoprint_klipper/__init__.py:599
#: octoprint_klipper/__init__.py:600
msgid "Restart Klipper"
msgstr "Klipper Neustart"
#: octoprint_klipper/__init__.py:600
#: octoprint_klipper/__init__.py:601
msgid "You are about to restart Klipper!"
msgstr "Sie sind dabei Klipper neu zu starten!"
#: octoprint_klipper/__init__.py:600
#: octoprint_klipper/__init__.py:601
msgid "This will stop ongoing prints!"
msgstr "Dies wird laufende Aufträge abbrechen!"
@ -67,32 +67,46 @@ msgstr ""
msgid "File not found!"
msgstr "Datei nicht gefunden!"
#: octoprint_klipper/static/js/klipper.js:220
#: octoprint_klipper/static/js/klipper.js:207
#: octoprint_klipper/templates/klipper_sidebar.jinja2:13
msgid "Go to OctoKlipper Tab"
msgstr "Gehe zum OctoKlipper Reiter"
#: octoprint_klipper/static/js/klipper.js:340
#: octoprint_klipper/static/js/klipper.js:325
msgid "Restarted Klipper"
msgstr "Klipper neu gestartet"
#: octoprint_klipper/static/js/klipper.js:348
#: octoprint_klipper/static/js/klipper.js:333
msgid "All ongoing Prints will be stopped!"
msgstr "Alle laufende Drucke werden gestoppt!"
#: octoprint_klipper/static/js/klipper.js:353
#: octoprint_klipper/static/js/klipper.js:338
msgid "Restart Klipper?"
msgstr "Klipper neu starten?"
#: octoprint_klipper/static/js/klipper.js:355
#: octoprint_klipper/static/js/klipper.js:340
#: octoprint_klipper/templates/klipper_tab_main.jinja2:39
msgid "Restart"
msgstr "Neustart"
#: octoprint_klipper/static/js/klipper.js:355
#: octoprint_klipper/static/js/klipper.js:340
msgid "Restart and don't ask this again."
msgstr "Neu starten und dies nicht wieder nachfragen."
#: octoprint_klipper/static/js/klipper.js:374
msgid "Copied"
msgstr "Kopiert"
#: octoprint_klipper/static/js/klipper.js:380
#: octoprint_klipper/static/js/klipper.js:387
#: octoprint_klipper/templates/klipper_settings.jinja2:177
msgid "Copy to Clipboard"
msgstr "Kopiere in Zwischenablage"
#: octoprint_klipper/static/js/klipper.js:383
msgid "Error:"
msgstr "Fehler:"
#: octoprint_klipper/static/js/klipper_backup.js:126
#: octoprint_klipper/static/js/klipper_settings.js:134
#, python-format
@ -309,27 +323,27 @@ msgid "Backups"
msgstr "Sicherungen"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:17
#: octoprint_klipper/templates/klipper_settings.jinja2:267
#: octoprint_klipper/templates/klipper_settings.jinja2:272
msgid "Select all on this page"
msgstr "Wähle alle auf dieser Seite aus"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:20
#: octoprint_klipper/templates/klipper_settings.jinja2:268
#: octoprint_klipper/templates/klipper_settings.jinja2:273
msgid "Select all"
msgstr "Alles Auswählen"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:25
#: octoprint_klipper/templates/klipper_settings.jinja2:270
#: octoprint_klipper/templates/klipper_settings.jinja2:275
msgid "Clear selection"
msgstr "Auswahl zurücksetzen"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:29
#: octoprint_klipper/templates/klipper_settings.jinja2:279
#: octoprint_klipper/templates/klipper_settings.jinja2:284
msgid "Refresh file list"
msgstr "Aktualisiere Dateiliste"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:30
#: octoprint_klipper/templates/klipper_settings.jinja2:280
#: octoprint_klipper/templates/klipper_settings.jinja2:285
msgid "Refresh Files"
msgstr "Aktualisieren"
@ -338,55 +352,55 @@ msgid "Restore selected"
msgstr "Ausgewählte wiederherstellen"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:36
#: octoprint_klipper/templates/klipper_settings.jinja2:283
#: octoprint_klipper/templates/klipper_settings.jinja2:288
msgid "Delete selected"
msgstr "Ausgewählte löschen"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:46
#: octoprint_klipper/templates/klipper_settings.jinja2:291
#: octoprint_klipper/templates/klipper_settings.jinja2:296
msgid "Sort by name"
msgstr "Sortiere nach Name"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:47
#: octoprint_klipper/templates/klipper_settings.jinja2:292
#: octoprint_klipper/templates/klipper_settings.jinja2:297
msgid "ascending"
msgstr "aufsteigend"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:50
#: octoprint_klipper/templates/klipper_settings.jinja2:294
#: octoprint_klipper/templates/klipper_settings.jinja2:299
msgid "Sort by date"
msgstr "Sortiere nach Datum"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:51
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:55
#: octoprint_klipper/templates/klipper_settings.jinja2:295
#: octoprint_klipper/templates/klipper_settings.jinja2:298
#: octoprint_klipper/templates/klipper_settings.jinja2:300
#: octoprint_klipper/templates/klipper_settings.jinja2:303
msgid "descending"
msgstr "absteigend"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:54
#: octoprint_klipper/templates/klipper_settings.jinja2:297
#: octoprint_klipper/templates/klipper_settings.jinja2:302
msgid "Sort by file size"
msgstr "Sortiere nach Dateigröße"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:65
#: octoprint_klipper/templates/klipper_settings.jinja2:130
#: octoprint_klipper/templates/klipper_settings.jinja2:309
#: octoprint_klipper/templates/klipper_settings.jinja2:314
msgid "Name"
msgstr "Name"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:66
#: octoprint_klipper/templates/klipper_settings.jinja2:310
#: octoprint_klipper/templates/klipper_settings.jinja2:315
msgid "Size"
msgstr "Größe"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:67
#: octoprint_klipper/templates/klipper_settings.jinja2:311
#: octoprint_klipper/templates/klipper_settings.jinja2:316
msgid "Action"
msgstr "Aktion"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:78
#: octoprint_klipper/templates/klipper_settings.jinja2:323
#: octoprint_klipper/templates/klipper_settings.jinja2:328
msgid "Delete"
msgstr "Löschen"
@ -395,7 +409,7 @@ msgid "Restore"
msgstr "Wiederherstellen"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:84
#: octoprint_klipper/templates/klipper_settings.jinja2:326
#: octoprint_klipper/templates/klipper_settings.jinja2:331
msgid "Download"
msgstr "Runterladen"
@ -682,6 +696,7 @@ msgid "Sidebar"
msgstr "Seitenleiste"
#: octoprint_klipper/templates/klipper_settings.jinja2:149
#: octoprint_klipper/templates/klipper_settings.jinja2:171
msgid "Command"
msgstr "Befehl"
@ -697,7 +712,7 @@ msgstr ""
"Um ein Dialog anzeigen zu lassen, welches nach Parametern fragt, kann man"
" ein Makro wie im nächsten Beispiel schreiben:"
#: octoprint_klipper/templates/klipper_settings.jinja2:183
#: octoprint_klipper/templates/klipper_settings.jinja2:188
msgid ""
"This feature assists in manually leveling your print bed by moving the "
"head to the defined points in sequence.<br />If you use a piece of paper "
@ -708,67 +723,67 @@ msgstr ""
"Papier zum messen nimmt, setzt man \"Messhöhe\" auf die Papierstärke "
"zBsp.: \"0.1\"."
#: octoprint_klipper/templates/klipper_settings.jinja2:187
#: octoprint_klipper/templates/klipper_settings.jinja2:192
msgid "Probe Height"
msgstr "Messhöhe"
#: octoprint_klipper/templates/klipper_settings.jinja2:193
#: octoprint_klipper/templates/klipper_settings.jinja2:198
msgid "Z-height to probe at"
msgstr "Höhe bei der gemessen wird"
#: octoprint_klipper/templates/klipper_settings.jinja2:197
#: octoprint_klipper/templates/klipper_settings.jinja2:202
msgid "Probe Lift"
msgstr "Höhe für Seitenbewegung"
#: octoprint_klipper/templates/klipper_settings.jinja2:203
#: octoprint_klipper/templates/klipper_settings.jinja2:208
msgid "Lift Head by this amount before moving."
msgstr "Hebe Druckkopf auf diese Höhe vor einer Seitenbewegung"
#: octoprint_klipper/templates/klipper_settings.jinja2:207
#: octoprint_klipper/templates/klipper_settings.jinja2:212
msgid "Probe Feedrate Z"
msgstr "Geschwindigkeit Z"
#: octoprint_klipper/templates/klipper_settings.jinja2:216
#: octoprint_klipper/templates/klipper_settings.jinja2:221
msgid "Feedrate X/Y"
msgstr "Geschwindigkeit X/Y"
#: octoprint_klipper/templates/klipper_settings.jinja2:225
#: octoprint_klipper/templates/klipper_settings.jinja2:230
msgid "Probe Points"
msgstr "Messpunkte"
#: octoprint_klipper/templates/klipper_settings.jinja2:252
#: octoprint_klipper/templates/klipper_settings.jinja2:257
msgid "Add Point"
msgstr "Füge Messpunkt hinzu"
#: octoprint_klipper/templates/klipper_settings.jinja2:259
#: octoprint_klipper/templates/klipper_settings.jinja2:264
msgid "Config Files"
msgstr "Konfig Dateien"
#: octoprint_klipper/templates/klipper_settings.jinja2:273
#: octoprint_klipper/templates/klipper_settings.jinja2:278
msgid "Add new File"
msgstr "Erstelle neue Datei"
#: octoprint_klipper/templates/klipper_settings.jinja2:274
#: octoprint_klipper/templates/klipper_settings.jinja2:279
msgid "New File"
msgstr "Neue Datei"
#: octoprint_klipper/templates/klipper_settings.jinja2:276
#: octoprint_klipper/templates/klipper_settings.jinja2:281
msgid "Open last config"
msgstr "Öffne letzte Konfig"
#: octoprint_klipper/templates/klipper_settings.jinja2:277
#: octoprint_klipper/templates/klipper_settings.jinja2:282
msgid "Open last Editor"
msgstr "Öffne Editor"
#: octoprint_klipper/templates/klipper_settings.jinja2:303
#: octoprint_klipper/templates/klipper_settings.jinja2:308
msgid "Path to the config files."
msgstr "Pfad zu den Konfigurationsdateien"
#: octoprint_klipper/templates/klipper_settings.jinja2:329
#: octoprint_klipper/templates/klipper_settings.jinja2:334
msgid "Edit"
msgstr "Bearbeiten"
#: octoprint_klipper/templates/klipper_settings.jinja2:358
#: octoprint_klipper/templates/klipper_settings.jinja2:363
msgid "Donate"
msgstr "Spenden"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: OctoKlipper 0.3.8.2\n"
"Report-Msgid-Bugs-To: i18n@octoprint.org\n"
"POT-Creation-Date: 2021-11-21 00:46+0100\n"
"POT-Creation-Date: 2021-12-31 01:34+0100\n"
"PO-Revision-Date: 2021-05-13 17:32+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: de\n"
@ -19,23 +19,23 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.9.1\n"
#: octoprint_klipper/__init__.py:93
#: octoprint_klipper/__init__.py:94
msgid "Allows to config klipper"
msgstr "Erlaubt Klipper zu konfigurieren"
#: octoprint_klipper/__init__.py:101
#: octoprint_klipper/__init__.py:102
msgid "Allows to use klipper macros"
msgstr "Erlaubt Makros zu benutzen"
#: octoprint_klipper/__init__.py:599
#: octoprint_klipper/__init__.py:600
msgid "Restart Klipper"
msgstr "Klipper Neustart"
#: octoprint_klipper/__init__.py:600
#: octoprint_klipper/__init__.py:601
msgid "You are about to restart Klipper!"
msgstr "Sie sind dabei Klipper neu zu starten!"
#: octoprint_klipper/__init__.py:600
#: octoprint_klipper/__init__.py:601
msgid "This will stop ongoing prints!"
msgstr "Dies wird laufende Aufträge abbrechen!"
@ -67,32 +67,46 @@ msgstr ""
msgid "File not found!"
msgstr "Datei nicht gefunden!"
#: octoprint_klipper/static/js/klipper.js:220
#: octoprint_klipper/static/js/klipper.js:207
#: octoprint_klipper/templates/klipper_sidebar.jinja2:13
msgid "Go to OctoKlipper Tab"
msgstr "Gehe zum OctoKlipper Reiter"
#: octoprint_klipper/static/js/klipper.js:340
#: octoprint_klipper/static/js/klipper.js:325
msgid "Restarted Klipper"
msgstr "Klipper neu gestartet"
#: octoprint_klipper/static/js/klipper.js:348
#: octoprint_klipper/static/js/klipper.js:333
msgid "All ongoing Prints will be stopped!"
msgstr "Alle laufende Drucke werden gestoppt!"
#: octoprint_klipper/static/js/klipper.js:353
#: octoprint_klipper/static/js/klipper.js:338
msgid "Restart Klipper?"
msgstr "Klipper neu starten?"
#: octoprint_klipper/static/js/klipper.js:355
#: octoprint_klipper/static/js/klipper.js:340
#: octoprint_klipper/templates/klipper_tab_main.jinja2:39
msgid "Restart"
msgstr "Neustart"
#: octoprint_klipper/static/js/klipper.js:355
#: octoprint_klipper/static/js/klipper.js:340
msgid "Restart and don't ask this again."
msgstr "Neu starten und dies nicht wieder nachfragen."
#: octoprint_klipper/static/js/klipper.js:374
msgid "Copied"
msgstr "Kopiert"
#: octoprint_klipper/static/js/klipper.js:380
#: octoprint_klipper/static/js/klipper.js:387
#: octoprint_klipper/templates/klipper_settings.jinja2:177
msgid "Copy to Clipboard"
msgstr "Kopiere in Zwischenablage"
#: octoprint_klipper/static/js/klipper.js:383
msgid "Error:"
msgstr "Fehler:"
#: octoprint_klipper/static/js/klipper_backup.js:126
#: octoprint_klipper/static/js/klipper_settings.js:134
#, python-format
@ -309,27 +323,27 @@ msgid "Backups"
msgstr "Sicherungen"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:17
#: octoprint_klipper/templates/klipper_settings.jinja2:267
#: octoprint_klipper/templates/klipper_settings.jinja2:272
msgid "Select all on this page"
msgstr "Wähle alle auf dieser Seite aus"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:20
#: octoprint_klipper/templates/klipper_settings.jinja2:268
#: octoprint_klipper/templates/klipper_settings.jinja2:273
msgid "Select all"
msgstr "Alles Auswählen"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:25
#: octoprint_klipper/templates/klipper_settings.jinja2:270
#: octoprint_klipper/templates/klipper_settings.jinja2:275
msgid "Clear selection"
msgstr "Auswahl zurücksetzen"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:29
#: octoprint_klipper/templates/klipper_settings.jinja2:279
#: octoprint_klipper/templates/klipper_settings.jinja2:284
msgid "Refresh file list"
msgstr "Aktualisiere Dateiliste"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:30
#: octoprint_klipper/templates/klipper_settings.jinja2:280
#: octoprint_klipper/templates/klipper_settings.jinja2:285
msgid "Refresh Files"
msgstr "Aktualisieren"
@ -338,55 +352,55 @@ msgid "Restore selected"
msgstr "Ausgewählte wiederherstellen"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:36
#: octoprint_klipper/templates/klipper_settings.jinja2:283
#: octoprint_klipper/templates/klipper_settings.jinja2:288
msgid "Delete selected"
msgstr "Ausgewählte löschen"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:46
#: octoprint_klipper/templates/klipper_settings.jinja2:291
#: octoprint_klipper/templates/klipper_settings.jinja2:296
msgid "Sort by name"
msgstr "Sortiere nach Name"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:47
#: octoprint_klipper/templates/klipper_settings.jinja2:292
#: octoprint_klipper/templates/klipper_settings.jinja2:297
msgid "ascending"
msgstr "aufsteigend"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:50
#: octoprint_klipper/templates/klipper_settings.jinja2:294
#: octoprint_klipper/templates/klipper_settings.jinja2:299
msgid "Sort by date"
msgstr "Sortiere nach Datum"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:51
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:55
#: octoprint_klipper/templates/klipper_settings.jinja2:295
#: octoprint_klipper/templates/klipper_settings.jinja2:298
#: octoprint_klipper/templates/klipper_settings.jinja2:300
#: octoprint_klipper/templates/klipper_settings.jinja2:303
msgid "descending"
msgstr "absteigend"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:54
#: octoprint_klipper/templates/klipper_settings.jinja2:297
#: octoprint_klipper/templates/klipper_settings.jinja2:302
msgid "Sort by file size"
msgstr "Sortiere nach Dateigröße"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:65
#: octoprint_klipper/templates/klipper_settings.jinja2:130
#: octoprint_klipper/templates/klipper_settings.jinja2:309
#: octoprint_klipper/templates/klipper_settings.jinja2:314
msgid "Name"
msgstr "Name"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:66
#: octoprint_klipper/templates/klipper_settings.jinja2:310
#: octoprint_klipper/templates/klipper_settings.jinja2:315
msgid "Size"
msgstr "Größe"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:67
#: octoprint_klipper/templates/klipper_settings.jinja2:311
#: octoprint_klipper/templates/klipper_settings.jinja2:316
msgid "Action"
msgstr "Aktion"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:78
#: octoprint_klipper/templates/klipper_settings.jinja2:323
#: octoprint_klipper/templates/klipper_settings.jinja2:328
msgid "Delete"
msgstr "Löschen"
@ -395,7 +409,7 @@ msgid "Restore"
msgstr "Wiederherstellen"
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:84
#: octoprint_klipper/templates/klipper_settings.jinja2:326
#: octoprint_klipper/templates/klipper_settings.jinja2:331
msgid "Download"
msgstr "Runterladen"
@ -682,6 +696,7 @@ msgid "Sidebar"
msgstr "Seitenleiste"
#: octoprint_klipper/templates/klipper_settings.jinja2:149
#: octoprint_klipper/templates/klipper_settings.jinja2:171
msgid "Command"
msgstr "Befehl"
@ -697,7 +712,7 @@ msgstr ""
"Um ein Dialog anzeigen zu lassen, welches nach Parametern fragt, kann man"
" ein Makro wie im nächsten Beispiel schreiben:"
#: octoprint_klipper/templates/klipper_settings.jinja2:183
#: octoprint_klipper/templates/klipper_settings.jinja2:188
msgid ""
"This feature assists in manually leveling your print bed by moving the "
"head to the defined points in sequence.<br />If you use a piece of paper "
@ -708,67 +723,67 @@ msgstr ""
"Papier zum messen nimmt, setzt man \"Messhöhe\" auf die Papierstärke "
"zBsp.: \"0.1\"."
#: octoprint_klipper/templates/klipper_settings.jinja2:187
#: octoprint_klipper/templates/klipper_settings.jinja2:192
msgid "Probe Height"
msgstr "Messhöhe"
#: octoprint_klipper/templates/klipper_settings.jinja2:193
#: octoprint_klipper/templates/klipper_settings.jinja2:198
msgid "Z-height to probe at"
msgstr "Höhe bei der gemessen wird"
#: octoprint_klipper/templates/klipper_settings.jinja2:197
#: octoprint_klipper/templates/klipper_settings.jinja2:202
msgid "Probe Lift"
msgstr "Höhe für Seitenbewegung"
#: octoprint_klipper/templates/klipper_settings.jinja2:203
#: octoprint_klipper/templates/klipper_settings.jinja2:208
msgid "Lift Head by this amount before moving."
msgstr "Hebe Druckkopf auf diese Höhe vor einer Seitenbewegung"
#: octoprint_klipper/templates/klipper_settings.jinja2:207
#: octoprint_klipper/templates/klipper_settings.jinja2:212
msgid "Probe Feedrate Z"
msgstr "Geschwindigkeit Z"
#: octoprint_klipper/templates/klipper_settings.jinja2:216
#: octoprint_klipper/templates/klipper_settings.jinja2:221
msgid "Feedrate X/Y"
msgstr "Geschwindigkeit X/Y"
#: octoprint_klipper/templates/klipper_settings.jinja2:225
#: octoprint_klipper/templates/klipper_settings.jinja2:230
msgid "Probe Points"
msgstr "Messpunkte"
#: octoprint_klipper/templates/klipper_settings.jinja2:252
#: octoprint_klipper/templates/klipper_settings.jinja2:257
msgid "Add Point"
msgstr "Füge Messpunkt hinzu"
#: octoprint_klipper/templates/klipper_settings.jinja2:259
#: octoprint_klipper/templates/klipper_settings.jinja2:264
msgid "Config Files"
msgstr "Konfig Dateien"
#: octoprint_klipper/templates/klipper_settings.jinja2:273
#: octoprint_klipper/templates/klipper_settings.jinja2:278
msgid "Add new File"
msgstr "Erstelle neue Datei"
#: octoprint_klipper/templates/klipper_settings.jinja2:274
#: octoprint_klipper/templates/klipper_settings.jinja2:279
msgid "New File"
msgstr "Neue Datei"
#: octoprint_klipper/templates/klipper_settings.jinja2:276
#: octoprint_klipper/templates/klipper_settings.jinja2:281
msgid "Open last config"
msgstr "Öffne letzte Konfig"
#: octoprint_klipper/templates/klipper_settings.jinja2:277
#: octoprint_klipper/templates/klipper_settings.jinja2:282
msgid "Open last Editor"
msgstr "Öffne Editor"
#: octoprint_klipper/templates/klipper_settings.jinja2:303
#: octoprint_klipper/templates/klipper_settings.jinja2:308
msgid "Path to the config files."
msgstr "Pfad zu den Konfigurationsdateien"
#: octoprint_klipper/templates/klipper_settings.jinja2:329
#: octoprint_klipper/templates/klipper_settings.jinja2:334
msgid "Edit"
msgstr "Bearbeiten"
#: octoprint_klipper/templates/klipper_settings.jinja2:358
#: octoprint_klipper/templates/klipper_settings.jinja2:363
msgid "Donate"
msgstr "Spenden"

View File

@ -7,9 +7,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: OctoKlipper 0.3.9.1\n"
"Project-Id-Version: OctoKlipper 0.3.9.3\n"
"Report-Msgid-Bugs-To: i18n@octoprint.org\n"
"POT-Creation-Date: 2021-11-21 00:46+0100\n"
"POT-Creation-Date: 2021-12-31 01:34+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -18,23 +18,23 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.9.1\n"
#: octoprint_klipper/__init__.py:93
#: octoprint_klipper/__init__.py:94
msgid "Allows to config klipper"
msgstr ""
#: octoprint_klipper/__init__.py:101
#: octoprint_klipper/__init__.py:102
msgid "Allows to use klipper macros"
msgstr ""
#: octoprint_klipper/__init__.py:599
#: octoprint_klipper/__init__.py:600
msgid "Restart Klipper"
msgstr ""
#: octoprint_klipper/__init__.py:600
#: octoprint_klipper/__init__.py:601
msgid "You are about to restart Klipper!"
msgstr ""
#: octoprint_klipper/__init__.py:600
#: octoprint_klipper/__init__.py:601
msgid "This will stop ongoing prints!"
msgstr ""
@ -64,32 +64,46 @@ msgstr ""
msgid "File not found!"
msgstr ""
#: octoprint_klipper/static/js/klipper.js:220
#: octoprint_klipper/static/js/klipper.js:207
#: octoprint_klipper/templates/klipper_sidebar.jinja2:13
msgid "Go to OctoKlipper Tab"
msgstr ""
#: octoprint_klipper/static/js/klipper.js:340
#: octoprint_klipper/static/js/klipper.js:325
msgid "Restarted Klipper"
msgstr ""
#: octoprint_klipper/static/js/klipper.js:348
#: octoprint_klipper/static/js/klipper.js:333
msgid "All ongoing Prints will be stopped!"
msgstr ""
#: octoprint_klipper/static/js/klipper.js:353
#: octoprint_klipper/static/js/klipper.js:338
msgid "Restart Klipper?"
msgstr ""
#: octoprint_klipper/static/js/klipper.js:355
#: octoprint_klipper/static/js/klipper.js:340
#: octoprint_klipper/templates/klipper_tab_main.jinja2:39
msgid "Restart"
msgstr ""
#: octoprint_klipper/static/js/klipper.js:355
#: octoprint_klipper/static/js/klipper.js:340
msgid "Restart and don't ask this again."
msgstr ""
#: octoprint_klipper/static/js/klipper.js:374
msgid "Copied"
msgstr ""
#: octoprint_klipper/static/js/klipper.js:380
#: octoprint_klipper/static/js/klipper.js:387
#: octoprint_klipper/templates/klipper_settings.jinja2:177
msgid "Copy to Clipboard"
msgstr ""
#: octoprint_klipper/static/js/klipper.js:383
msgid "Error:"
msgstr ""
#: octoprint_klipper/static/js/klipper_backup.js:126
#: octoprint_klipper/static/js/klipper_settings.js:134
#, python-format
@ -300,27 +314,27 @@ msgid "Backups"
msgstr ""
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:17
#: octoprint_klipper/templates/klipper_settings.jinja2:267
#: octoprint_klipper/templates/klipper_settings.jinja2:272
msgid "Select all on this page"
msgstr ""
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:20
#: octoprint_klipper/templates/klipper_settings.jinja2:268
#: octoprint_klipper/templates/klipper_settings.jinja2:273
msgid "Select all"
msgstr ""
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:25
#: octoprint_klipper/templates/klipper_settings.jinja2:270
#: octoprint_klipper/templates/klipper_settings.jinja2:275
msgid "Clear selection"
msgstr ""
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:29
#: octoprint_klipper/templates/klipper_settings.jinja2:279
#: octoprint_klipper/templates/klipper_settings.jinja2:284
msgid "Refresh file list"
msgstr ""
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:30
#: octoprint_klipper/templates/klipper_settings.jinja2:280
#: octoprint_klipper/templates/klipper_settings.jinja2:285
msgid "Refresh Files"
msgstr ""
@ -329,55 +343,55 @@ msgid "Restore selected"
msgstr ""
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:36
#: octoprint_klipper/templates/klipper_settings.jinja2:283
#: octoprint_klipper/templates/klipper_settings.jinja2:288
msgid "Delete selected"
msgstr ""
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:46
#: octoprint_klipper/templates/klipper_settings.jinja2:291
#: octoprint_klipper/templates/klipper_settings.jinja2:296
msgid "Sort by name"
msgstr ""
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:47
#: octoprint_klipper/templates/klipper_settings.jinja2:292
#: octoprint_klipper/templates/klipper_settings.jinja2:297
msgid "ascending"
msgstr ""
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:50
#: octoprint_klipper/templates/klipper_settings.jinja2:294
#: octoprint_klipper/templates/klipper_settings.jinja2:299
msgid "Sort by date"
msgstr ""
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:51
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:55
#: octoprint_klipper/templates/klipper_settings.jinja2:295
#: octoprint_klipper/templates/klipper_settings.jinja2:298
#: octoprint_klipper/templates/klipper_settings.jinja2:300
#: octoprint_klipper/templates/klipper_settings.jinja2:303
msgid "descending"
msgstr ""
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:54
#: octoprint_klipper/templates/klipper_settings.jinja2:297
#: octoprint_klipper/templates/klipper_settings.jinja2:302
msgid "Sort by file size"
msgstr ""
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:65
#: octoprint_klipper/templates/klipper_settings.jinja2:130
#: octoprint_klipper/templates/klipper_settings.jinja2:309
#: octoprint_klipper/templates/klipper_settings.jinja2:314
msgid "Name"
msgstr ""
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:66
#: octoprint_klipper/templates/klipper_settings.jinja2:310
#: octoprint_klipper/templates/klipper_settings.jinja2:315
msgid "Size"
msgstr ""
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:67
#: octoprint_klipper/templates/klipper_settings.jinja2:311
#: octoprint_klipper/templates/klipper_settings.jinja2:316
msgid "Action"
msgstr ""
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:78
#: octoprint_klipper/templates/klipper_settings.jinja2:323
#: octoprint_klipper/templates/klipper_settings.jinja2:328
msgid "Delete"
msgstr ""
@ -386,7 +400,7 @@ msgid "Restore"
msgstr ""
#: octoprint_klipper/templates/klipper_backups_dialog.jinja2:84
#: octoprint_klipper/templates/klipper_settings.jinja2:326
#: octoprint_klipper/templates/klipper_settings.jinja2:331
msgid "Download"
msgstr ""
@ -669,6 +683,7 @@ msgid "Sidebar"
msgstr ""
#: octoprint_klipper/templates/klipper_settings.jinja2:149
#: octoprint_klipper/templates/klipper_settings.jinja2:171
msgid "Command"
msgstr ""
@ -682,74 +697,74 @@ msgid ""
"in the following example:"
msgstr ""
#: octoprint_klipper/templates/klipper_settings.jinja2:183
#: octoprint_klipper/templates/klipper_settings.jinja2:188
msgid ""
"This feature assists in manually leveling your print bed by moving the "
"head to the defined points in sequence.<br />If you use a piece of paper "
"for leveling, set \"Probe Height\" to the paper thickness eg. \"0.1\"."
msgstr ""
#: octoprint_klipper/templates/klipper_settings.jinja2:187
#: octoprint_klipper/templates/klipper_settings.jinja2:192
msgid "Probe Height"
msgstr ""
#: octoprint_klipper/templates/klipper_settings.jinja2:193
#: octoprint_klipper/templates/klipper_settings.jinja2:198
msgid "Z-height to probe at"
msgstr ""
#: octoprint_klipper/templates/klipper_settings.jinja2:197
#: octoprint_klipper/templates/klipper_settings.jinja2:202
msgid "Probe Lift"
msgstr ""
#: octoprint_klipper/templates/klipper_settings.jinja2:203
#: octoprint_klipper/templates/klipper_settings.jinja2:208
msgid "Lift Head by this amount before moving."
msgstr ""
#: octoprint_klipper/templates/klipper_settings.jinja2:207
#: octoprint_klipper/templates/klipper_settings.jinja2:212
msgid "Probe Feedrate Z"
msgstr ""
#: octoprint_klipper/templates/klipper_settings.jinja2:216
#: octoprint_klipper/templates/klipper_settings.jinja2:221
msgid "Feedrate X/Y"
msgstr ""
#: octoprint_klipper/templates/klipper_settings.jinja2:225
#: octoprint_klipper/templates/klipper_settings.jinja2:230
msgid "Probe Points"
msgstr ""
#: octoprint_klipper/templates/klipper_settings.jinja2:252
#: octoprint_klipper/templates/klipper_settings.jinja2:257
msgid "Add Point"
msgstr ""
#: octoprint_klipper/templates/klipper_settings.jinja2:259
#: octoprint_klipper/templates/klipper_settings.jinja2:264
msgid "Config Files"
msgstr ""
#: octoprint_klipper/templates/klipper_settings.jinja2:273
#: octoprint_klipper/templates/klipper_settings.jinja2:278
msgid "Add new File"
msgstr ""
#: octoprint_klipper/templates/klipper_settings.jinja2:274
#: octoprint_klipper/templates/klipper_settings.jinja2:279
msgid "New File"
msgstr ""
#: octoprint_klipper/templates/klipper_settings.jinja2:276
#: octoprint_klipper/templates/klipper_settings.jinja2:281
msgid "Open last config"
msgstr ""
#: octoprint_klipper/templates/klipper_settings.jinja2:277
#: octoprint_klipper/templates/klipper_settings.jinja2:282
msgid "Open last Editor"
msgstr ""
#: octoprint_klipper/templates/klipper_settings.jinja2:303
#: octoprint_klipper/templates/klipper_settings.jinja2:308
msgid "Path to the config files."
msgstr ""
#: octoprint_klipper/templates/klipper_settings.jinja2:329
#: octoprint_klipper/templates/klipper_settings.jinja2:334
msgid "Edit"
msgstr ""
#: octoprint_klipper/templates/klipper_settings.jinja2:358
#: octoprint_klipper/templates/klipper_settings.jinja2:363
msgid "Donate"
msgstr ""