Merge branch 'maintenance' into devel

This commit is contained in:
Gina Häußge committed 2021-05-10 16:39:21 +02:00
commit d80f67df9a
66 files changed
+3075 -1057

No files matched your search

-136
View File
@@ -1,136 +0,0 @@
---
name: 🐛 Report a bug
about: Create a bug report to help improve OctoPrint
---
<!--
READ THE FOLLOWING FIRST:
If not already done, please read the the Contribution Guidelines that
are linked to the right under "Helpful resources" > "Contributing".
Also read the FAQ: https://faq.octoprint.org
This is a bug and feature tracker, please only use it to report bugs
or request features within OctoPrint (not OctoPi, not any OctoPrint
plugins and not unofficial OctoPrint versions).
Do not seek support here ("I need help with ...", "I have a
question ..."), that belongs on the community forum at
community.octoprint.org, NOT here.
Mark requests with a "[Request]" prefix in the title please. For bug
reports fully fill out the bug reporting template (if you don't know
where to find some information - it's all described in the Contribution
Guidelines linked up there in the big yellow box).
When reporting a bug do NOT delete ANY lines from the template.
Make sure any bug you want to report is still present with the CURRENT
OctoPrint version and that it does not vanish when you start OctoPrint
in safe mode - how to do that is also explained in the Contribution
Guidelines linked up there in the big yellow box.
Thank you!
-->
#### What were you doing?
<!--
Please be as specific as possible here. The maintainers will need to
reproduce your issue in order to fix it and that is not possible if they
don't know what you did to get it to happen in the first place.
Ideally provide exact steps to follow in order to reproduce your problem:
-->
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
<!--
If you encountered a problem with specific files of any sorts, make sure
to also include a link to a file with which to reproduce the problem.
-->
#### What did you expect to happen?
#### What happened instead?
#### Did the same happen when running OctoPrint in safe mode?
<!--
Test if you can reproduce your problem in safe mode. You can find information
on how to enable safe mode in the Contribution Guidelines.
If you can't reproduce in safe mode, this is a bug with one of your
installed third party plugins. Don't open a ticket here!
If you can't test this in safe mode, state why.
-->
#### Version of OctoPrint
<!--
Can be found in the lower left corner of the web interface. ALWAYS INCLUDE.
-->
#### Operating System running OctoPrint
<!--
OctoPi, Linux, Windows, MacOS, something else? With version please.
OctoPi's version can be found in /etc/octopi_version or in the lower left
corner of the web interface.
-->
#### Printer model & used firmware incl. version
<!--
If applicable, always include if unsure.
-->
#### Browser and version of browser, operating system running browser
<!--
If applicable, always include if unsure.
-->
#### Link to octoprint.log
<!--
Directly uploaded here or on gist.github.com or pastebin.com.
ALWAYS INCLUDE and never truncate.
The Contribution Guidelines tell you where to find that.
-->
#### Link to contents of terminal tab or serial.log
<!--
Directly uploaded here or on gist.github.com or pastebin.com.
If applicable, always include if unsure or reporting communication issues.
Never truncate.
serial.log is usually not written due to performance reasons and must be
enabled explicitly. Provide at the very least the FULL contents of your
terminal tab at the time of the bug occurrence, even if you do not have
a serial.log (which the Contribution Guidelines tell you where to find).
-->
#### Link to contents of Javascript console in the browser
<!--
Directly uploaded here or on gist.github.com or pastebin.com.
If applicable - always include if unsure or reporting UI issues.
The Contribution Guidelines tell you where to find that.
-->
#### Screenshot(s)/video(s) showing the problem:
<!--
If applicable. Always include if unsure or reporting UI issues.
-->
I have read the FAQ.
+130
View File
@@ -0,0 +1,130 @@
name: 🐛 Report a bug
description: Create a bug report to help improve OctoPrint
body:
- type: markdown
attributes:
value: >
**Thank you for wanting to report a bug in OctoPrint!**
If this is the first time you are doing this, please take a few moments to read
through the [Contribution Guidelines](https://github.com/OctoPrint/OctoPrint/blob/master/CONTRIBUTING.md).
Also check out [the FAQ](https://faq.octoprint.org) if your
problem is maybe already covered there.
You are about to report a bug in **OctoPrint**. Do not proceed if your issues
occurs with OctoPi, any third party OctoPrint plugins, unofficial or outdated
OctoPrint versions. If you are unsure of the difference between OctoPrint and
OctoPi, [read this FAQ entry](https://faq.octoprint.org/octoprint-vs-octopi).
Do also not seek support here ("I need help with ...", "I have a
question ...", "Can someone walk me through ..."), that belongs into the
[community forum at community.octoprint.org](https://community.octoprint.org) or on the [Discord server](https://discord.octoprint.org).
And finally, make sure any bug you want to report is still present with the **current**
OctoPrint version and that it does not vanish when you start OctoPrint
in [safe mode](https://docs.octoprint.org/en/master/features/safemode.html) either.
Thank you for your collaboration!
- type: textarea
attributes:
label: The problem
description: >-
Describe the issue you are experiencing here. Tell us what you were trying to do
step by step, and what happened that you did not expect.
Provide a clear and concise description of what the problem is and include as many
details as possible.
placeholder: |
1. ...
2. ...
3. ...
validations:
required: true
- type: dropdown
attributes:
label: Did the issue persist even in safe mode?
description: >-
Testing in safe mode is required to make sure the issue you are reporting is not
caused by a third party plugin. Please see [here](https://docs.octoprint.org/en/master/features/safemode.html)
on how to run OctoPrint in safe mode.
options:
- Yes, it did persist
- No, it did not persist (it's an issue with one of your installed plugins, don't report here)
- I cannot test this issue in safe mode (state why below)
validations:
required: true
- type: input
attributes:
label: If you could not test in safe mode, please state why
description: >-
Issues caused by a third party plugin are a major cause of bugs reported here, so we really need to
rule out that a plugin is at fault here. [Safe mode](https://docs.octoprint.org/en/master/features/safemode.html) is an easy way to do that. Only skip safe mode
if your particular problem *absolutely requires* third party plugins to be enabled. "It would take
too long" is **not** a reason to skip testing in safe mode, neither is "I do not know how to
enable it" as you can find info on that [here](https://docs.octoprint.org/en/master/features/safemode.html).
If you really *cannot* test in safe mode, leave a short explanation as to why.
- type: markdown
attributes:
value: |
## Environment
- type: input
attributes:
label: Version of OctoPrint
description: Can be found in the lower left corner of the web interface.
validations:
required: true
- type: input
attributes:
label: Operating system running OctoPrint
description: >-
OctoPi, Linux, Windows, MacOS, something else? With version please? OctoPi's
version can be found in `/etc/octopi_version` or in the lower left corner of the
web interface.
validations:
required: true
- type: input
attributes:
label: Printer model & used firmware incl. version
description: If applicable, always include if unsure
- type: input
attributes:
label: Browser and version of browser, operating system running browser
description: If applicable, always include if unsure
- type: markdown
attributes:
value: |
## Logs and other files needed for analysis
- type: markdown
attributes:
value: >-
Please also be sure to upload the following files below:
* Systeminfo Bundle: See [here](https://community.octoprint.org/t/what-is-a-systeminfo-bundle-and-how-can-i-obtain-one/29887) if you don't know where to find that. Just attach down below as-is. Note that you'll need at least OctoPrint 1.6.0 for this to be available - we no longer accept bug reports created for older versions than this.
* If you are reporting an issue that involves communicating with you printer, **be sure to enable `serial.log` before reproducing and creating the Systeminfo Bundle**!
* Your browser's JavaScript console, if you are reporting a problem with the
user interface. See [here](https://webmasters.stackexchange.com/questions/8525/how-to-open-the-javascript-console-in-different-browsers) on where to find that.
* If possible, screenshots or videos showing the problem, especially if you
are reporting a problem with the user interface!
* GCODE files with which to reproduce, if you are reporting an issue with
GCODE file analysis or printing behaviour.
Please be aware that unless at least Systeminfo Bundle is included, your bug report
will not be processed and closed after a while.
- type: checkboxes
attributes:
label: Checklist of files to include below
options:
- label: Systeminfo Bundle (always include!)
required: true
- label: Contents of the JavaScript browser console (always include in cases of issues with the user interface)
- label: Screenshots and/or videos showing the problem (always include in case of issues with the user interface)
- label: GCODE file with which to reproduce (always include in case of issues with GCODE analysis or printing behaviour)
- type: textarea
attributes:
label: Additional information & file uploads
+4 -4
View File
@@ -63,7 +63,7 @@ jobs:
})
}
- uses: OctoPrint/actions/issue-validation@main
if: github.event_name == 'issues' && (github.event.action == 'opened' || github.event.action == 'edited')
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
#- uses: OctoPrint/actions/issue-validation@main
# if: github.event_name == 'issues' && (github.event.action == 'opened' || github.event.action == 'edited')
# with:
# repo-token: ${{ secrets.GITHUB_TOKEN }}
+3 -3
View File
@@ -24,10 +24,10 @@ maintenance 1.7.0 07c4630d126617c2ae98a9c23ad49facf7bf0bbd pep440-dev
fix/.* 1.7.0 07c4630d126617c2ae98a9c23ad49facf7bf0bbd pep440-dev
improve/.* 1.7.0 07c4630d126617c2ae98a9c23ad49facf7bf0bbd pep440-dev
# staging/bugfix is the branch for preparation of the 1.5.3 hotfix release
# staging/bugfix is the branch for preparation of the 1.6.1 bugfix release
# so are any bug/... branches
staging/bugfix 1.5.3 e46e8fa17a1553cd0c228a4fa4cfd93e2a9bce7b pep440-dev
bug/.* 1.5.3 e46e8fa17a1553cd0c228a4fa4cfd93e2a9bce7b pep440-dev
staging/bugfix 1.6.1 29484fb2926960279e62881d6ee073c374a2a5fe pep440-dev
bug/.* 1.6.1 29484fb2926960279e62881d6ee073c374a2a5fe pep440-dev
# staging/maintenance is currently the branch for preparation of 1.6.0rc4
# so is regressionfix/...
+2
View File
@@ -142,6 +142,8 @@ date of first contribution):
* [Scott Lahteine](https://github.com/thinkyhead)
* [Karthikeyan Singaravelan](https://github.com/tirkarthi)
* [Yvan Rodrigues](https://github.com/TwoRedCells)
* [Elton Law](https://github.com/eltonlaw)
* ["sparxooo"](https://github.com/sparxooo)
OctoPrint started off as a fork of [Cura](https://github.com/daid/Cura) by
[Daid Braam](https://github.com/daid). Parts of its communication layer and
+131 -5
View File
@@ -31,7 +31,7 @@ nothing but ticket management.
- **[Read the FAQ](https://faq.octoprint.org)**
- If you want to report a **bug**, [read "How to file a bug report" below](#how-to-file-a-bug-report)
and *[use the provided form](https://github.com/OctoPrint/OctoPrint/issues/new?template=bug_report.yml)*.
and *[use the provided template](#what-should-i-include-in-a-ticket)*.
You do not need to do anything else with your ticket.
- If you want to post a **feature request** or a **documentation request**, add `[Request]`
to your issue's title (e.g. `[Request] Awesome new feature`). A question on how to run/change/setup
@@ -48,6 +48,15 @@ nothing but ticket management.
No matter what kind of ticket you create, never mix two or more "ticket reasons"
into one ticket: One ticket per bug, request, brainstorming thread please.
> 👉 **Note**
>
> A bot is in place that monitors new tickets, automatically
> categorizes them and checks new bug reports for usage of the provided template.
> That bot will only bother you if you open a ticket that appears to be a bug (no
> `[Request]` in the title) without the complete template, and it
> will do that only to ensure that all information needed to solve the issue is
> available for the maintainers to directly start tackling that problem.
## How to file a bug report
If you encounter an issue with OctoPrint, you are welcome to
@@ -109,7 +118,7 @@ following section *completely* and also follow the instructions in the
it is the same as your's, it actually behaves the same as your's. E.g. if someone gives steps
to reproduce his bug that looks like your's, reproduce the bug like that if possible,
and only add a "me too" if you actually can reproduce the same
issue. Also **provide all information like logs, versions, different reproduction steps**
issue. Also **provide all information like Systeminfo Bundle, additional logs & versions, different reproduction steps**
and whatever was additionally requested over the course of the ticket
even if you "only" add to an existing ticket. The more information available regarding a bug, the higher
the chances of reproducing and solving it. But "me too" on an actually unrelated ticket
@@ -126,12 +135,128 @@ there.
First of all make sure your use **a descriptive title**. "It doesn't work"
and similar unspecific complaints are NOT descriptive titles.
Always fill out the [reporting form](https://github.com/OctoPrint/OctoPrint/issues/new?template=bug_report.yml) **completely** and include as much
information as possible.
**Always use the following template, even if only adding a "me too" to an
existing ticket**:
```
<!--
READ THE FOLLOWING FIRST:
If not already done, please read the the Contribution Guidelines that
are linked to the right under "Helpful resources" > "Contributing".
Also read the FAQ: https://faq.octoprint.org
This is a bug and feature tracker, please only use it to report bugs
or request features within OctoPrint (not OctoPi, not any OctoPrint
plugins and not unofficial OctoPrint versions).
Do not seek support here ("I need help with ...", "I have a
question ..."), that belongs on the community forum at
community.octoprint.org, NOT here.
Mark requests with a "[Request]" prefix in the title please. For bug
reports fully fill out the bug reporting template (if you don't know
where to find some information - it's all described in the Contribution
Guidelines linked up there in the big yellow box).
When reporting a bug do NOT delete ANY lines from the template.
Make sure any bug you want to report is still present with the CURRENT
OctoPrint version and that it does not vanish when you start OctoPrint
in safe mode - how to do that is also explained in the Contribution
Guidelines linked up there in the big yellow box.
Thank you!
-->
#### What were you doing?
<!--
Please be as specific as possible here. The maintainers will need to
reproduce your issue in order to fix it and that is not possible if they
don't know what you did to get it to happen in the first place.
Ideally provide exact steps to follow in order to reproduce your problem:
-->
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
<!--
If you encountered a problem with specific files of any sorts, make sure
to also include a link to a file with which to reproduce the problem.
-->
#### What did you expect to happen?
#### What happened instead?
#### Did the same happen when running OctoPrint in safe mode?
<!--
Test if you can reproduce your problem in safe mode. You can find information
on how to enable safe mode in the Contribution Guidelines.
If you can't reproduce in safe mode, this is a bug with one of your
installed third party plugins. Don't open a ticket here!
If you can't test this in safe mode, state why.
-->
#### Version of OctoPrint
<!--
Can be found in the lower left corner of the web interface. ALWAYS INCLUDE.
-->
#### Printer model & used firmware incl. version
<!--
If applicable, always include if unsure.
-->
#### Browser and version of browser, operating system running browser
<!--
If applicable, always include if unsure.
-->
#### System Info Bundle
<!--
Directly uploaded here. ALWAYS INCLUDE.
The Contribution Guidelines tell you where to find that.
-->
#### Link to contents of Javascript console in the browser
<!--
Directly uploaded here or on gist.github.com or pastebin.com.
If applicable - always include if unsure or reporting UI issues.
The Contribution Guidelines tell you where to find that.
-->
#### Screenshot(s)/video(s) showing the problem:
<!--
If applicable. Always include if unsure or reporting UI issues.
-->
I have read the FAQ.
```
Provide the same kind and amount of information also when you are just adding on to an
existing ticket!
### Where can I find the System Info Bundle?
Please refer to [this FAQ entry](https://community.octoprint.org/t/what-is-a-systeminfo-bundle-and-how-can-i-obtain-one/29887).
### Where can I find which version and branch I'm on?
Please refer to [this FAQ entry](https://community.octoprint.org/t/how-can-i-find-out-the-version-of-octoprint-or-octopi-i-am-running/204/1).
@@ -287,7 +412,8 @@ See [the corresponding chapter in the documentation](https://docs.octoprint.org/
* 2020-09-23: Move branch & versioning into development docs
* 2020-10-07: Introduce `pre-commit`
* 2021-02-04: Issue forms! \o/
* 2020-03-04: Correct issue forms link
* 2021-03-04: Correct issue forms link
* 2021-04-27: Systeminfo Bundles! \o/
## Footnotes
* [1] - If you are wondering why, the problem is that anything that you add
+2 -3
View File
@@ -10,12 +10,12 @@ thanks to everyone who contributed!
* 3DPrinterOS
* Arnljot Arntsen
* Ash King
* Ashley Merrick
* BigTreeTech
* Boris Hussein
* Brad Jackson
* BRANDON ROBERTSON
* BuildBee
* Chris Lynch
* Christian Petropolis
* Christian Wolf
* Christoph Sigrist
@@ -25,7 +25,6 @@ thanks to everyone who contributed!
* DeltaMaker 3D Printers
* Dennis Breining
* Dennis Christilaw
* Diana C Rodriguez
* Douglas Floyd
* Eric Betts
* Ernesto Martinez
@@ -78,4 +77,4 @@ thanks to everyone who contributed!
* Ulderico Cirello
* Ulrich Kempken
and 2341 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel) or via [GitHub Sponsors](https://github.com/users/foosel/sponsorship)!
and 2350 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel) or via [GitHub Sponsors](https://github.com/users/foosel/sponsorship)!
-1
View File
@@ -31,7 +31,6 @@
* [Moment.js](http://momentjs.com/): MIT
* [PNotify](http://sciactive.com/pnotify/): GPL, LGPL, MPL (triple licensed)
* [pusher.color.js](http://cache.preserve.io/5g18q0pw/index.html) (original link dead): MIT
* [ResizeSensor.js](https://github.com/procurios/ResizeSensor): MIT
* [SockJS](https://github.com/sockjs/sockjs-client): MIT
* [sprintf-js](http://alexei.ro/): BSD
+14 -1
View File
@@ -15,7 +15,9 @@ Retrieve all files
Retrieve information regarding all files currently available and regarding the disk space still available
locally in the system. The results are cached for performance reasons. If you
want to override the cache, supply the query parameter ``force`` and set it to ``true``.
want to override the cache, supply the query parameter ``force`` and set it to ``true``. Note that
while printing a refresh/override of the cache for files stored on the printer's SD card
is disabled due to bandwidth restrictions on the serial interface.
By default only returns the files and folders in the root directory. If the query parameter ``recursive``
is provided and set to ``true``, returns all files and folders.
@@ -249,6 +251,8 @@ Retrieve files from specific location
Retrieve information regarding the files currently available on the selected `location` and -- if targeting
the ``local`` location -- regarding the disk space still available locally in the system. The results are cached for performance reasons. If you
want to override the cache, supply the query parameter ``force`` and set it to ``true``.
Note that while printing a refresh/override of the cache for files stored on the printer's SD card
is disabled due to bandwidth restrictions on the serial interface.
By default only returns the files and folders in the root directory. If the query parameter ``recursive``
is provided and set to ``true``, returns all files and folders.
@@ -585,6 +589,15 @@ Issue a file command
Requires the ``FILES_SELECT`` permission.
unselect
Unselects the currently selected file for printing.
Upon success, a status code of :http:statuscode:`204` and an empty body is returned. If no file is selected
or there already is an active print job, a :http:statuscode:`409` is returned. If path isn't ``current```
or the filename of the current selection, a :http:statuscode:`400` is returned
Requires the ``FILES_SELECT`` permission.
slice
Slices an STL file into GCODE. Note that this is an asynchronous operation that will take place in the background
after the response has been sent back to the client. Additional parameters are:
+1 -1
View File
@@ -1430,7 +1430,7 @@ octoprint.server.api.after_request
octoprint.server.api.before_request
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. py:function:: after_request_handlers_hook(*args, **kwargs)
.. py:function:: before_request_handlers_hook(*args, **kwargs)
.. versionadded:: 1.3.10
@@ -1,4 +1,4 @@
<div id="plugin_announcements_dialog" class="modal hide fade large" tabindex="-1" role="dialog" aria-labelledby="announcements_dialog_label" aria-hidden="true">
<div id="plugin_announcements_dialog" class="modal hide fade-in large" tabindex="-1" role="dialog" aria-labelledby="announcements_dialog_label" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
<h3 id="announcements_dialog_label">{{ _('Announcements') }}</h3>
@@ -1,4 +1,4 @@
<div id="plugin_appkeys_keygenerated" class="modal hide fade">
<div id="plugin_appkeys_keygenerated" class="modal hide fade-in">
<div class="modal-header">
<a href="javascript:void(0)" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3 id="plugin_appkeys_keygenerated_title"></h3>
@@ -18,10 +18,10 @@ from octoprint.util.version import (
)
SENTRY_URL_SERVER = (
"https://587d00b409ab4a3da3258c9adee29335@o118517.ingest.sentry.io/1373987"
"https://6a544965fe6c4c6eb96f7e39352b2924@o118517.ingest.sentry.io/1373987"
)
SENTRY_URL_COREUI = (
"https://722128c3b0ff45108bbfdfa566762c89@o118517.ingest.sentry.io/1374096"
"https://840570e9555741bcb82bd56a084fb46e@o118517.ingest.sentry.io/1374096"
)
SETTINGS_DEFAULTS = {
@@ -60,6 +60,8 @@ $(function () {
self.renderer_showRetracts = ko.observable(true);
self.renderer_showPrinthead = ko.observable(true);
self.renderer_showSegmentStarts = ko.observable(false);
self.renderer_showDebugArcs = ko.observable(false);
self.renderer_chromeArcFix = ko.observable(OctoPrint.coreui.browser.chrome);
self.renderer_showBoundingBox = ko.observable(false);
self.renderer_showLayerBoundingBox = ko.observable(false);
self.renderer_showFullSize = ko.observable(false);
@@ -97,6 +99,8 @@ $(function () {
showRetracts: self.renderer_showRetracts(),
showHead: self.renderer_showPrinthead(),
showSegmentStarts: self.renderer_showSegmentStarts(),
showDebugArcs: self.renderer_showDebugArcs(),
chromeArcFix: self.renderer_chromeArcFix(),
showBoundingBox: self.renderer_showBoundingBox(),
showLayerBoundingBox: self.renderer_showLayerBoundingBox(),
showFullSize: self.renderer_showFullSize(),
@@ -146,6 +150,8 @@ $(function () {
self.renderer_showRetracts.subscribe(self.rendererOptionUpdated);
self.renderer_showPrinthead.subscribe(self.rendererOptionUpdated);
self.renderer_showSegmentStarts.subscribe(self.rendererOptionUpdated);
self.renderer_showDebugArcs.subscribe(self.rendererOptionUpdated);
self.renderer_chromeArcFix.subscribe(self.rendererOptionUpdated);
self.renderer_showBoundingBox.subscribe(self.rendererOptionUpdated);
self.renderer_showLayerBoundingBox.subscribe(self.rendererOptionUpdated);
self.renderer_showFullSize.subscribe(self.rendererOptionUpdated);
@@ -214,6 +220,9 @@ $(function () {
self.settings.printerProfiles
.currentProfileData()
.volume.formFactor.subscribe(self._printerProfileUpdated);
self.settings.printerProfiles
.currentProfileData()
.volume.origin.subscribe(self._printerProfileUpdated);
}
if (self.settings.printerProfiles.currentProfileData().axes) {
self.settings.printerProfiles
@@ -393,6 +402,10 @@ $(function () {
self.clear();
};
self.resetViewport = function () {
GCODE.ui.resetViewport();
};
self.resetOptions = function () {
self.renderer_centerModel(false);
self.renderer_centerViewport(false);
@@ -401,6 +414,8 @@ $(function () {
self.renderer_showRetracts(true);
self.renderer_showPrinthead(true);
self.renderer_showSegmentStarts(false);
self.renderer_showDebugArcs(false);
self.renderer_chromeArcFix(OctoPrint.coreui.browser.chrome);
self.renderer_showBoundingBox(false);
self.renderer_showLayerBoundingBox(false);
self.renderer_showFullSize(false);
@@ -454,8 +469,8 @@ $(function () {
max: 1,
step: 1,
value: [0, 1],
enabled: false,
tooltip: "hide"
enabled: false
//tooltip: "hide"
})
.on("slide", self.changeCommandRange);
};
@@ -890,6 +905,8 @@ $(function () {
showRetracts: self.renderer_showRetracts(),
showPrinthead: self.renderer_showPrinthead(),
showSegmentStarts: self.renderer_showSegmentStarts(),
showDebugArcs: self.renderer_showDebugArcs(),
chromeArcFix: self.renderer_chromeArcFix(),
showPrevious: self.renderer_showPrevious(),
showCurrent: self.renderer_showCurrent(),
showNext: self.renderer_showNext(),
@@ -916,6 +933,10 @@ $(function () {
self.renderer_showPrinthead(current["showPrinthead"]);
if (current["showSegmentStarts"] !== undefined)
self.renderer_showSegmentStarts(current["showSegmentStarts"]);
if (current["showDebugArcs"] !== undefined)
self.renderer_showDebugArcs(current["showDebugArcs"]);
if (current["chromeArcFix"] !== undefined)
self.renderer_chromeArcFix(current["chromeArcFix"]);
if (current["showPrevious"] !== undefined)
self.renderer_showPrevious(current["showPrevious"]);
if (current["showCurrent"] !== undefined)
@@ -56,6 +56,8 @@ GCODE.renderer = (function () {
showHead: false,
showSegmentStarts: false,
sizeSegmentStart: 2 * pixelRatio,
showDebugArcs: false,
chromeArcFix: false,
moveModel: true,
zoomInOnModel: false,
@@ -74,12 +76,18 @@ GCODE.renderer = (function () {
onDragStop: undefined
};
// offset due to dragging
var offsetModelX = 0,
offsetModelY = 0;
// TODO: remove in 1.7.0
var offsetBedX = 0,
offsetBedY = 0;
// scale due to zooming
var scaleX = 1,
scaleY = 1;
var speeds = [];
var speedsByLayer = {};
var currentInvertX = false,
@@ -339,12 +347,80 @@ GCODE.renderer = (function () {
};
}
// replace arc for chrome, code from https://stackoverflow.com/a/11689752
var bezierArc = function (x, y, radius, startAngle, endAngle, anticlockwise) {
// Signed length of curve
var signedLength;
var tau = 2 * Math.PI;
if (!anticlockwise && endAngle - startAngle >= tau) {
signedLength = tau;
} else if (anticlockwise && startAngle - endAngle >= tau) {
signedLength = -tau;
} else {
var delta = endAngle - startAngle;
signedLength = delta - tau * Math.floor(delta / tau);
// If very close to a full number of revolutions, make it full
if (Math.abs(delta) > 1e-12 && signedLength < 1e-12) signedLength = tau;
// Adjust if anti-clockwise
if (anticlockwise && signedLength > 0) signedLength = signedLength - tau;
}
// Minimum number of curves; 1 per quadrant.
var minCurves = Math.ceil(Math.abs(signedLength) / (Math.PI / 2));
// Number of curves; square-root of radius (or minimum)
var numCurves = Math.ceil(Math.max(minCurves, Math.sqrt(radius)));
// "Radius" of control points to ensure that the middle point
// of the curve is exactly on the circle radius.
var cpRadius = radius * (2 - Math.cos(signedLength / (numCurves * 2)));
// Angle step per curve
var step = signedLength / numCurves;
// Draw the circle
this.lineTo(x + radius * Math.cos(startAngle), y + radius * Math.sin(startAngle));
for (
var i = 0, a = startAngle + step, a2 = startAngle + step / 2;
i < numCurves;
++i, a += step, a2 += step
)
this.quadraticCurveTo(
x + cpRadius * Math.cos(a2),
y + cpRadius * Math.sin(a2),
x + radius * Math.cos(a),
y + radius * Math.sin(a)
);
};
var applyContextPatches = function () {
if (!ctx.origArc) ctx.origArc = ctx.arc;
ctx.circle = function (x, y, r) {
ctx.origArc(x, y, r, 0, 2 * Math.PI, true);
};
if (navigator.userAgent.toLowerCase().indexOf("chrome") > -1) {
if (renderOptions["chromeArcFix"]) {
ctx.arc = bezierArc;
log.info("Chrome Arc Fix enabled");
} else {
ctx.arc = ctx.origArc;
log.info("Chrome Arc Fix disabled");
}
}
};
var startCanvas = function () {
var jqueryCanvas = $(renderOptions["container"]);
//jqueryCanvas.css("background-color", renderOptions["bgColorOffGrid"]);
canvas = jqueryCanvas[0];
ctx = canvas.getContext("2d");
applyContextPatches();
canvas.style.height = canvas.height + "px";
canvas.style.width = canvas.width + "px";
canvas.height = canvas.height * pixelRatio;
@@ -357,8 +433,6 @@ GCODE.renderer = (function () {
ctx.lineCap = "round";
trackTransforms(ctx);
ctx.scale(1, -1); // Invert y-axis
// dragging => translating
canvas.addEventListener(
"mousedown",
@@ -395,6 +469,9 @@ GCODE.renderer = (function () {
if (renderOptions["onDrag"] && renderOptions["onDrag"](pt) === false)
return;
ctx.translate(pt.x - dragStart.x, pt.y - dragStart.y);
reRender();
renderOptions["centerViewport"] = false;
renderOptions["zoomInOnModel"] = false;
renderOptions["zoomInOnBed"] = false;
@@ -405,9 +482,6 @@ GCODE.renderer = (function () {
scaleX = 1;
scaleY = 1;
ctx.translate(pt.x - dragStart.x, pt.y - dragStart.y);
reRender();
if (renderOptions["onInternalOptionChange"] !== undefined) {
renderOptions["onInternalOptionChange"]({
centerViewport: false,
@@ -451,6 +525,9 @@ GCODE.renderer = (function () {
// return to old position
ctx.translate(-pt.x, -pt.y);
// render
reRender();
// disable conflicting options
renderOptions["zoomInOnModel"] = false;
renderOptions["zoomInOnBed"] = false;
@@ -461,9 +538,6 @@ GCODE.renderer = (function () {
scaleX = 1;
scaleY = 1;
// render
reRender();
if (renderOptions["onInternalOptionChange"] !== undefined) {
renderOptions["onInternalOptionChange"]({
zoomInOnModel: false,
@@ -540,7 +614,7 @@ GCODE.renderer = (function () {
// draw origin
ctx.beginPath();
ctx.arc(0, 0, 2, 0, Math.PI * 2, true);
ctx.circle(0, 0, 2);
ctx.stroke();
ctx.strokeStyle = renderOptions["colorGrid"];
@@ -584,7 +658,7 @@ GCODE.renderer = (function () {
// outline
var r = renderOptions["bed"]["r"];
ctx.arc(0, 0, r, 0, Math.PI * 2, true);
ctx.circle(0, 0, r);
// origin
ctx.moveTo(-1 * r, 0);
@@ -598,7 +672,7 @@ GCODE.renderer = (function () {
// draw origin
ctx.beginPath();
ctx.arc(0, 0, 2, 0, Math.PI * 2, true);
ctx.circle(0, 0, 2);
ctx.stroke();
ctx.strokeStyle = renderOptions["colorGrid"];
@@ -734,6 +808,17 @@ GCODE.renderer = (function () {
ctx.stroke();
};
var drawDebugArc = function (arc, ccw) {
ctx.moveTo(arc.x, arc.y);
ctx.lineTo(arc.startX, arc.startY);
ctx.moveTo(arc.x, arc.y);
ctx.lineTo(arc.endX, arc.endY);
ctx.moveTo(arc.startX, arc.startY);
ctx.lineTo(arc.endX, arc.endY);
ctx.moveTo(arc.startX, arc.startY);
ctx.arc(arc.x, arc.y, arc.r, arc.startAngle, arc.endAngle, ccw);
};
var drawLayer = function (layerNum, fromProgress, toProgress, isNotCurrentLayer) {
log.trace(
"Drawing layer " +
@@ -880,14 +965,14 @@ GCODE.renderer = (function () {
var prevPathType = "fill";
function strokePathIfNeeded(newPathType, strokeStyle) {
if (newPathType != prevPathType || newPathType == "fill") {
if (prevPathType != "fill") {
if (newPathType !== prevPathType || newPathType === "fill") {
if (prevPathType !== "fill") {
ctx.stroke();
}
prevPathType = newPathType;
ctx.beginPath();
if (newPathType != "fill") {
if (newPathType !== "fill") {
ctx.strokeStyle = strokeStyle;
ctx.moveTo(prevX, prevY);
}
@@ -948,14 +1033,15 @@ GCODE.renderer = (function () {
ctx.lineWidth = renderOptions["extrusionWidth"] * lineWidthFactor;
if (cmd.direction !== undefined && cmd.direction !== 0) {
var arc = getArcParams(cmd);
ctx.arc(
arc.x,
arc.y,
arc.r,
arc.startAngle,
arc.endAngle,
cmd.direction < 0
); // Y-axis is inverted so direction is also inverted
var ccw = cmd.direction < 0; // Y-axis is inverted so direction is also inverted
if (renderOptions["showDebugArcs"] && !isNotCurrentLayer) {
strokePathIfNeeded("debugarc", "#ff0000");
drawDebugArc(arc, ccw);
strokePathIfNeeded("extrude", getColorLineForTool(tool));
}
ctx.arc(arc.x, arc.y, arc.r, arc.startAngle, arc.endAngle, ccw);
} else {
ctx.lineTo(x, y);
}
@@ -995,7 +1081,7 @@ GCODE.renderer = (function () {
.alpha(alpha)
.html();
ctx.beginPath();
ctx.arc(prevX, prevY, sizeHeadSpot, 0, Math.PI * 2, true);
ctx.circle(prevX, prevY, sizeHeadSpot);
ctx.fill();
}
};
@@ -1036,15 +1122,6 @@ GCODE.renderer = (function () {
(renderOptions["bed"]["y"] / 2 -
(layerBounds.minY + layerBounds.maxY) / 2);
}
} else if (
renderOptions["bed"]["circular"] ||
renderOptions["bed"]["centeredOrigin"]
) {
canvasCenter = ctx.transformedPoint(canvas.width / 2, canvas.height / 2);
offsetModelX = canvasCenter.x;
offsetModelY = canvasCenter.y;
offsetBedX = 0;
offsetBedY = 0;
} else {
offsetModelX = 0;
offsetModelY = 0;
@@ -1127,48 +1204,57 @@ GCODE.renderer = (function () {
currentInvertY = invertY;
};
var resetViewport = function () {
ctx.setTransform(1, 0, 0, 1, 0, 0);
ctx.scale(1, -1); // invert y axis
var bedWidth = renderOptions["bed"]["x"];
var bedHeight = renderOptions["bed"]["y"];
if (renderOptions["bed"]["circular"]) {
bedWidth = bedHeight = renderOptions["bed"]["r"] * 2;
}
// Ratio of bed to canvas viewport
var viewportRatio = Math.min(
(canvas.width - 10) / bedWidth,
(canvas.height - 10) / bedHeight
);
// Apply initial translation to center the bed in the viewport
var translationX, translationY;
if (renderOptions["bed"]["circular"] || renderOptions["bed"]["centeredOrigin"]) {
translationX = canvas.width / 2;
translationY = canvas.height / 2;
} else {
translationX = (canvas.width - bedWidth * viewportRatio) / 2;
translationY =
bedHeight * viewportRatio +
(canvas.height - bedHeight * viewportRatio) / 2;
}
ctx.translate(translationX, -translationY);
ctx.scale(viewportRatio, viewportRatio);
// Scaling to apply to move lines and extrusion/retraction markers
lineWidthFactor = 1 / viewportRatio;
offsetModelX = 0;
offsetModelY = 0;
offsetBedX = 0;
offsetBedY = 0;
};
// ***** PUBLIC *******
return {
init: function () {
startCanvas();
resetViewport();
initialized = true;
var bedWidth = renderOptions["bed"]["x"];
var bedHeight = renderOptions["bed"]["y"];
if (renderOptions["bed"]["circular"]) {
bedWidth = bedHeight = renderOptions["bed"]["r"] * 2;
}
// Ratio of bed to canvas viewport
var viewportRatio = Math.min(
(canvas.width - 10) / bedWidth,
(canvas.height - 10) / bedHeight
);
// Apply initial translation to center the bed in the viewport
var translationX, translationY;
if (renderOptions["bed"]["circular"]) {
translationX = canvas.width / 2;
translationY = canvas.height / 2;
} else {
translationX = (canvas.width - bedWidth * viewportRatio) / 2;
translationY =
bedHeight * viewportRatio +
(canvas.height - bedHeight * viewportRatio) / 2;
}
ctx.translate(translationX, -translationY);
ctx.scale(viewportRatio, viewportRatio);
offsetModelX = 0;
offsetModelY = 0;
offsetBedX = 0;
offsetBedY = 0;
// Scaling to apply to move lines and extrusion/retraction markers
lineWidthFactor = 1 / viewportRatio;
},
setOption: function (options) {
var mustRefresh = false;
var mustReset = false;
var mustReapplyPatches = false;
var dirty = false;
for (var opt in options) {
if (!renderOptions.hasOwnProperty(opt) || !options.hasOwnProperty(opt))
@@ -1185,15 +1271,30 @@ GCODE.renderer = (function () {
"zoomInOnModel",
"bed",
"invertAxes",
"onViewportChange"
"onViewportChange",
"chromeArcFix"
]) > -1
) {
mustRefresh = true;
}
if ($.inArray(opt, ["bed", "onViewportChange"]) > -1) {
mustReset = true;
}
if ($.inArray(opt, ["chromeArcFix"]) > -1) {
mustReapplyPatches = true;
}
}
if (!dirty) return;
if (initialized) {
if (mustReset) {
resetViewport();
}
if (mustReapplyPatches) {
applyContextPatches();
}
if (mustRefresh) {
this.refresh();
} else {
@@ -1267,6 +1368,10 @@ GCODE.renderer = (function () {
if (layerNum === undefined) layerNum = layerNumStore;
this.doRender(model, layerNum);
},
resetViewport: function () {
resetViewport();
reRender();
},
getZ: function (layerNum) {
if (!model || !model[layerNum]) {
return "-1";
@@ -177,6 +177,10 @@ GCODE.ui = (function () {
}
},
resetViewport: function () {
GCODE.renderer.resetViewport();
},
updateLayerInfo: function (layerNum) {
switchLayer(layerNum, true);
},
@@ -17,10 +17,8 @@
</div>
<div class="progress progress-text-centered">
<span class="progress-text-back" data-bind="text: ui_progress_text"></span>
<div class="bar" style="width: 0;" data-bind="style: { width: ui_progress_percentage() + '%' }">
<span class="progress-text-front" data-bind="copyWidth: ':parent :parent', text: ui_progress_text"></span>
</div>
<div class="bar" data-bind="style: { width: ui_progress_percentage() + '%' }"></div>
<span class="progress-text-back" data-bind="css: { 'progress-text-front': (ui_progress_percentage() >= 50), 'progress-text-back': (ui_progress_percentage() < 50) }, text: ui_progress_text()"></span>
</div>
<div class="row-fluid">
@@ -74,6 +72,7 @@
<p>
<button class="btn btn-block" data-bind="click: reload, enable: enableReload">{{ _('Reload') }}</button>
<button class="btn btn-block" data-bind="click: resetViewport">{{ _('Reset viewport') }}</button>
</p>
<div class="advanced_options">
@@ -92,6 +91,13 @@
<label class="checkbox">
<input type="checkbox" data-bind="checked: renderer_showSegmentStarts">{{ _('Show segment starts') }}
</label>
<label class="checkbox">
<input type="checkbox" data-bind="checked: renderer_showDebugArcs">{{ _('Show debug arcs') }}
</label>
<label class="checkbox" data-bind="visible: OctoPrint.coreui.browser.chrome">
<input type="checkbox" data-bind="checked: renderer_chromeArcFix">{{ _('Apply arc fix') }} <span class="label">{{ _('Chrome') }}</span>
<span class="help-block">{{ _("See <a href='%(url)s' target='_blank'>issue #4117</a>.", url="https://github.com/OctoPrint/OctoPrint/issues/4117") }}</span>
</label>
</p>
<p>
<label class="checkbox">
@@ -188,7 +188,7 @@
</div>
</div>
<div id="settings_plugin_pluginmanager_workingdialog" class="modal hide fade">
<div id="settings_plugin_pluginmanager_workingdialog" class="modal hide fade-in">
<div class="modal-header">
<h3 data-bind="text: workingTitle"></h3>
</div>
@@ -200,7 +200,7 @@
</div>
</div>
<div id="settings_plugin_pluginmanager_repositorydialog" class="modal hide fade">
<div id="settings_plugin_pluginmanager_repositorydialog" class="modal hide fade-in">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3>{{ _('Install new Plugins...') }}</h3>
@@ -346,7 +346,7 @@
</div>
</div>
<div id="settings_plugin_pluginmanager_configurationdialog" class="modal hide fade">
<div id="settings_plugin_pluginmanager_configurationdialog" class="modal hide fade-in">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3>{{ _('Plugin Configuration') }}</h3>
@@ -73,7 +73,7 @@
<div class="pull-right">
<button class="btn btn-primary" data-bind="click: function() { $root.updateAll(); }, enable: enableUpdateAll, css: {disabled: !enableUpdateAll}"><i class="fas fa-spinner fa-spin" data-bind="visible: updateInProgress"></i> {{ _('Update all') }}</button>
<button class="btn" data-bind="click: function() { $root.performCheck(true, false, true); }, enable: !checking(), css: {disabled: checking()}"><i class="fas fa-spinner fa-spin" data-bind="visible: checking"></i> {{ _('Check for updates') }}</button>
<button class="btn btn-small" data-bind="click: function() { $root.showPluginSettings(); }" title="{{ _('Plugin Configuration')|edq }}"><i class="fas fa-wrench"></i></button>
<button class="btn" data-bind="click: function() { $root.showPluginSettings(); }" title="{{ _('Plugin Configuration')|edq }}"><i class="fas fa-wrench"></i></button>
</div>
<h3>{{ _('Current versions') }}</h3>
@@ -117,7 +117,7 @@
<div id="settings_plugin_softwareupdate_configurationdialog" class="modal hide fade">
<div id="settings_plugin_softwareupdate_configurationdialog" class="modal hide fade-in">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3>{{ _('Plugin Configuration') }}</h3>
@@ -164,7 +164,7 @@
</div>
</div>
<div id="settings_plugin_softwareupdate_workingdialog" class="modal hide fade">
<div id="settings_plugin_softwareupdate_workingdialog" class="modal hide fade-in">
<div class="modal-header">
<h3 data-bind="text: workingTitle"></h3>
</div>
+2 -2
View File
@@ -1061,8 +1061,8 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback):
self._comm.refreshSdFiles(
tags=kwargs.get("tags", set()) | {"trigger:printer.refresh_sd_files"}
)
if blocking:
self._sdFilelistAvailable.wait(kwargs.get("timeout", 10000))
if blocking and not self.is_printing():
self._sdFilelistAvailable.wait(kwargs.get("timeout", 10))
# ~~ state monitoring
-1
View File
@@ -2058,7 +2058,6 @@ class Server:
"js/lib/bootstrap-slider-knockout-binding.js",
"js/lib/loglevel.min.js",
"js/lib/sockjs.min.js",
"js/lib/ResizeSensor.js",
"js/lib/hls.js",
"js/lib/less.js",
]
+39 -11
View File
@@ -791,6 +791,7 @@ def gcodeFileCommand(filename, target):
# valid file commands, dict mapping command name to mandatory parameters
valid_commands = {
"select": [],
"unselect": [],
"slice": [],
"analyse": [],
"copy": ["destination"],
@@ -839,6 +840,26 @@ def gcodeFileCommand(filename, target):
filenameToSelect = fileManager.path_on_disk(target, filename)
printer.select_file(filenameToSelect, sd, printAfterLoading, user)
elif command == "unselect":
with Permissions.FILES_SELECT.require(403):
if not printer.is_ready():
return make_response(
"Printer is already printing, cannot unselect current file", 409
)
_, currentFilename = _getCurrentFile()
if currentFilename is None:
return make_response(
"Cannot unselect current file when there is no file selected", 409
)
if filename != currentFilename and filename != "current":
return make_response(
"Only the currently selected file can be unselected", 400
)
printer.unselect_file()
elif command == "slice":
with Permissions.SLICE.require(403):
if not _verifyFileExists(target, filename):
@@ -1064,18 +1085,25 @@ def gcodeFileCommand(filename, target):
target, dst_path, fileManager.sanitize_name(target, dst_name)
)
if (
_verifyFolderExists(target, destination)
and sanitized_destination != filename
):
# destination is an existing folder and not ourselves (= display rename), we'll assume we are supposed
# to move filename to this folder under the same name
destination = fileManager.join_path(target, destination, name)
# Check for exception thrown by _verifyFolderExists, if outside the root directory
try:
if (
_verifyFolderExists(target, destination)
and sanitized_destination != filename
):
# destination is an existing folder and not ourselves (= display rename), we'll assume we are supposed
# to move filename to this folder under the same name
destination = fileManager.join_path(target, destination, name)
if _verifyFileExists(target, destination) or _verifyFolderExists(
target, destination
):
abort(409, description="File or folder does already exist")
if _verifyFileExists(target, destination) or _verifyFolderExists(
target, destination
):
abort(409, description="File or folder does already exist")
except Exception:
abort(
409, description="Exception thrown by storage, bad folder/file name?"
)
is_file = fileManager.file_exists(target, filename)
is_folder = fileManager.folder_exists(target, filename)
+6
View File
@@ -134,6 +134,7 @@ def getSettings():
"flipH": s.getBoolean(["webcam", "flipH"]),
"flipV": s.getBoolean(["webcam", "flipV"]),
"rotate90": s.getBoolean(["webcam", "rotate90"]),
"cacheBuster": s.getBoolean(["webcam", "cacheBuster"]),
},
"feature": {
"temperatureGraph": s.getBoolean(["feature", "temperatureGraph"]),
@@ -159,6 +160,7 @@ def getSettings():
"port": connectionOptions["portPreference"],
"baudrate": connectionOptions["baudratePreference"],
"exclusive": s.getBoolean(["serial", "exclusive"]),
"lowLatency": s.getBoolean(["serial", "lowLatency"]),
"portOptions": connectionOptions["ports"],
"baudrateOptions": connectionOptions["baudrates"],
"autoconnect": s.getBoolean(["serial", "autoconnect"]),
@@ -572,6 +574,8 @@ def _saveSettings(data):
s.setBoolean(["webcam", "flipV"], data["webcam"]["flipV"])
if "rotate90" in data["webcam"]:
s.setBoolean(["webcam", "rotate90"], data["webcam"]["rotate90"])
if "cacheBuster" in data["webcam"]:
s.setBoolean(["webcam", "cacheBuster"], data["webcam"]["cacheBuster"])
if "feature" in data:
if "temperatureGraph" in data["feature"]:
@@ -633,6 +637,8 @@ def _saveSettings(data):
s.setInt(["serial", "baudrate"], data["serial"]["baudrate"])
if "exclusive" in data["serial"]:
s.setBoolean(["serial", "exclusive"], data["serial"]["exclusive"])
if "lowLatency" in data["serial"]:
s.setBoolean(["serial", "lowLatency"], data["serial"]["lowLatency"])
if "timeoutConnection" in data["serial"]:
s.setFloat(
["serial", "timeout", "connection"],
-1
View File
@@ -1690,7 +1690,6 @@ def collect_core_assets(preferred_stylesheet="css"):
assets["js"] = [
"js/app/bindings/allowbindings.js",
"js/app/bindings/contextmenu.js",
"js/app/bindings/copywidth.js",
"js/app/bindings/invisible.js",
"js/app/bindings/popover.js",
"js/app/bindings/qrcode.js",
+2
View File
@@ -84,6 +84,7 @@ default_settings = {
"port": None,
"baudrate": None,
"exclusive": True,
"lowLatency": True,
"autoconnect": False,
"log": False,
"timeout": {
@@ -239,6 +240,7 @@ default_settings = {
"fps": 25,
},
"cleanTmpAfterDays": 7,
"cacheBuster": False,
},
"gcodeAnalysis": {
"maxExtruders": 10,
+1 -1
View File
@@ -1 +1 @@
.btn{display:inline-block;*display:inline;*zoom:1;padding:4px 12px;margin-bottom:0;font-size:14px;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;color:#333;text-shadow:0 1px 1px rgba(255,255,255,0.75);background-color:#f5f5f5;background-image:-moz-linear-gradient(top, #fff, #e6e6e6);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#e6e6e6));background-image:-webkit-linear-gradient(top, #fff, #e6e6e6);background-image:-o-linear-gradient(top, #fff, #e6e6e6);background-image:linear-gradient(to bottom, #fff, #e6e6e6);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#e6e6e6;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);border:1px solid #ccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05)}.btn:hover,.btn:focus,.btn:active,.btn.active,.btn.disabled,.btn[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9}.btn:active,.btn.active{background-color:#ccc \9}.btn:first-child{*margin-left:0}.btn:hover,.btn:focus{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05)}.btn.disabled,.btn[disabled]{cursor:default;background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-large{padding:11px 19px;font-size:17.5px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.btn-large [class^="icon-"],.btn-large [class*=" icon-"]{margin-top:4px}.btn-small{padding:2px 10px;font-size:11.9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-small [class^="icon-"],.btn-small [class*=" icon-"]{margin-top:0}.btn-mini [class^="icon-"],.btn-mini [class*=" icon-"]{margin-top:-1px}.btn-mini{padding:0 6px;font-size:10.5px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-block{display:block;width:100%;padding-left:0;padding-right:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.btn-primary.active,.btn-warning.active,.btn-danger.active,.btn-success.active,.btn-info.active,.btn-inverse.active{color:rgba(255,255,255,0.75)}.btn-primary{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#006dcc;background-image:-moz-linear-gradient(top, #08c, #04c);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#08c), to(#04c));background-image:-webkit-linear-gradient(top, #08c, #04c);background-image:-o-linear-gradient(top, #08c, #04c);background-image:linear-gradient(to bottom, #08c, #04c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);border-color:#04c #04c #002a80;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false)}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.btn-primary.disabled,.btn-primary[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.btn-primary:active,.btn-primary.active{background-color:#039 \9}.btn-warning{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#faa732;background-image:-moz-linear-gradient(top, #fbb450, #f89406);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));background-image:-webkit-linear-gradient(top, #fbb450, #f89406);background-image:-o-linear-gradient(top, #fbb450, #f89406);background-image:linear-gradient(to bottom, #fbb450, #f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0);border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#f89406;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false)}.btnLine truncated
.btn{display:inline-block;*display:inline;*zoom:1;padding:4px 12px;margin-bottom:0;font-size:14px;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;color:#333;text-shadow:0 1px 1px rgba(255,255,255,.75);background-color:#f5f5f5;background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;*background-color:#e6e6e6;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border:1px solid #ccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05)}.btn.active,.btn.disabled,.btn:active,.btn:focus,.btn:hover,.btn[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9}.btn.active,.btn:active{background-color:#ccc \9}.btn:first-child{*margin-left:0}.btn:focus,.btn:hover{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.btn:focus{outline:#333 dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.btn.disabled,.btn[disabled]{cursor:default;background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-large{padding:11px 19px;font-size:17.5px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.btn-large [class*=" icon-"],.btn-large [class^=icon-]{margin-top:4px}.btn-small{padding:2px 10px;font-size:11.9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-small [class*=" icon-"],.btn-small [class^=icon-]{margin-top:0}.btn-mini [class*=" icon-"],.btn-mini [class^=icon-]{margin-top:-1px}.btn-mini{padding:0 6px;font-size:10.5px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-block{display:block;width:100%;padding-left:0;padding-right:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.btn-block+.btn-block{margin-top:5px}input[type=submit].btn-block,input[type=reset].btn-block,input[type=button].btn-block{width:100%}.btn-primary{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#006dcc;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;border-color:#04c #04c #002a80;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-primary.active,.btn-primary.disabled,.btn-primary:active,.btn-primary:focus,.btn-primary:hover,.btn-primary[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.btn-primary.active,.btn-primary:active{background-color:#039 \9}.btn-warning{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406);background-repeat:repeat-x;border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#f89406;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-warning.active,.btn-warning.disabled,.btn-warning:active,.btn-warning:focus,.btn-warning:hover,.btn-warning[disabled]{color:#fff;background-color:#f89406;*background-color:#df8505}.btn-warning.active,.btn-warning:active{background-color:#c67605 \9}.btn-danger{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#da4f49;background-image:-moz-linear-gradient(top,#ee5f5b,#bd362f);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));background-image:-webkit-linear-gradient(top,#ee5f5b,#bd362f);background-image:-o-linear-gradient(top,#ee5f5b,#bd362f);background-image:linear-gradient(to bottom,#ee5f5b,#bd362f);background-repeaLine truncated
@@ -1,48 +0,0 @@
ko.bindingHandlers.copyWidth = {
init: function (element, valueAccessor, allBindings, viewModel, bindingContext) {
var node = ko.bindingHandlers.copyWidth._getReferenceNode(element, valueAccessor);
ko.bindingHandlers.copyWidth._setWidth(node, element);
ko.bindingHandlers.copyWidth._addResizeSensor(node, element);
},
update: function (element, valueAccessor, allBindings, viewModel, bindingContext) {
var node = ko.bindingHandlers.copyWidth._getReferenceNode(element, valueAccessor);
ko.bindingHandlers.copyWidth._setWidth(node, element);
ko.bindingHandlers.copyWidth._addResizeSensor(node, element);
},
_setWidth: function (node, element) {
var width = node.width();
if (!width) return;
if ($(element).width() === width) return;
element.style.width = width + "px";
},
_getReferenceNode: function (element, valueAccessor) {
var value = ko.utils.unwrapObservable(valueAccessor());
if (!value) return;
var parts = value.split(" ");
var node = $(element);
while (parts.length > 0) {
var part = parts.shift();
if (part === ":parent") {
node = node.parent();
} else {
var selector = part;
if (parts.length > 0) {
selector += " " + parts.join(" ");
}
node = $(selector, node);
break;
}
}
return node;
},
_addResizeSensor: function (node, element) {
if (element.copyWidthSensor) {
element.copyWidthSensor.detach();
delete element.copyWidthSensor;
}
element.copyWidthSensor = new ResizeSensor(node, function () {
ko.bindingHandlers.copyWidth._setWidth(node, element);
});
}
};
+4 -4
View File
@@ -755,7 +755,7 @@ function showMessageDialog(msg, options) {
var modal = $("<div></div>").addClass("modal hide");
if (!nofade) {
modal.addClass("fade");
modal.addClass("fade-in");
}
modal
.append($("<div></div>").addClass("modal-header").append(modalHeader))
@@ -845,7 +845,7 @@ function showConfirmationDialog(msg, onacknowledge, options) {
var modal = $("<div></div>").addClass("modal hide");
if (!nofade) {
modal.addClass("fade");
modal.addClass("fade-in");
}
var buttons = $("<div></div>").addClass("modal-footer").append(cancelButton);
@@ -963,7 +963,7 @@ function showSelectionDialog(options) {
// create modal and do final wiring up
var modal = $("<div></div>").addClass("modal hide");
if (!nofade) {
modal.addClass("fade");
modal.addClass("fade-in");
}
if (!cancel) {
modal.data("backdrop", "static").data("keyboard", "false");
@@ -1092,7 +1092,7 @@ function showProgressModal(options, promise) {
}
var modal = $("<div></div>")
.addClass("modal hide fade")
.addClass("modal hide fade-in")
.addClass(dialogClass)
.append($("<div></div>").addClass("modal-header").append(modalHeader))
.append(modalBody)
@@ -46,7 +46,6 @@ $(function () {
}
})
.css({
"width": "auto",
"margin-left": function () {
return -($(this).width() / 2);
}
@@ -156,7 +156,6 @@ $(function () {
}
})
.css({
"width": "auto",
"margin-left": function () {
return -($(this).width() / 2);
}
@@ -201,7 +200,6 @@ $(function () {
}
})
.css({
"width": "auto",
"margin-left": function () {
return -($(this).width() / 2);
}
@@ -565,7 +563,6 @@ $(function () {
}
})
.css({
"width": "auto",
"margin-left": function () {
return -($(this).width() / 2);
}
@@ -607,7 +604,6 @@ $(function () {
}
})
.css({
"width": "auto",
"margin-left": function () {
return -($(this).width() / 2);
}
@@ -693,12 +693,14 @@ $(function () {
var newSrc = self.settings.webcam_streamUrl();
if (currentSrc != newSrc) {
if (newSrc.lastIndexOf("?") > -1) {
newSrc += "&";
} else {
newSrc += "?";
if (self.settings.webcam_cacheBuster()) {
if (newSrc.lastIndexOf("?") > -1) {
newSrc += "&";
} else {
newSrc += "?";
}
newSrc += new Date().getTime();
}
newSrc += new Date().getTime();
self.webcamLoaded(false);
self.webcamError(false);
@@ -83,6 +83,20 @@ $(function () {
self.moveEntry = ko.observable({name: "", display: "", path: ""}); // is there a better way to do this?
self.moveSource = ko.observable(undefined);
self.moveDestination = ko.observable(undefined);
self.moveSourceFilename = ko.observable(undefined);
self.moveDestinationFilename = ko.observable(undefined);
self.moveDestinationFullpath = ko.pureComputed(function () {
// Join the paths for renaming
if (self.moveSourceFilename() != self.moveDestinationFilename()) {
if (self.moveDestination() === "/") {
return self.moveDestination() + self.moveDestinationFilename();
} else {
return self.moveDestination() + "/" + self.moveDestinationFilename();
}
} else {
return self.moveDestination();
}
});
self.moveError = ko.observable("");
self.folderList = ko.observableArray(["/"]);
@@ -103,6 +117,7 @@ $(function () {
self.allItems = ko.observable(undefined);
self.currentPath = ko.observable("");
self.uploadProgressText = ko.observable();
self.uploadProgressPercentage = ko.observable();
// list style incl. persistence
var listStyleStorageKey = "gcodeFiles.currentListStyle";
@@ -679,6 +694,8 @@ $(function () {
self.moveError("");
self.moveSource(current);
self.moveDestination(current);
self.moveSourceFilename(entry.name);
self.moveDestinationFilename(entry.name);
self.moveDialog.modal("show");
};
@@ -1294,6 +1311,7 @@ $(function () {
self.uploadProgress.addClass("progress-striped").addClass("active");
self.uploadProgressBar.css("width", "100%");
if (payload.progressAvailable) {
self.uploadProgressPercentage(percentage);
self.uploadProgressText(
_.sprintf(gettext("Slicing ... (%(percentage)d%%)"), {percentage: 0})
);
@@ -1308,18 +1326,21 @@ $(function () {
percentage: Math.round(progress)
})
);
self.uploadProgressPercentage(Math.round(progress));
};
self.onEventSlicingCancelled = function (payload) {
self.uploadProgress.removeClass("progress-striped").removeClass("active");
self.uploadProgressBar.css("width", "0%");
self.uploadProgressText("");
self.uploadProgressPercentage(0);
};
self.onEventSlicingDone = function (payload) {
self.uploadProgress.removeClass("progress-striped").removeClass("active");
self.uploadProgressBar.css("width", "0%");
self.uploadProgressText("");
self.uploadProgressPercentage(0);
new PNotify({
title: gettext("Slicing done"),
@@ -1341,6 +1362,7 @@ $(function () {
self.uploadProgress.removeClass("progress-striped").removeClass("active");
self.uploadProgressBar.css("width", "0%");
self.uploadProgressText("");
self.uploadProgressPercentage(0);
var html = _.sprintf(
gettext("Could not slice %(stl)s to %(gcode)s: %(reason)s"),
@@ -1369,6 +1391,7 @@ $(function () {
self.onEventTransferStarted = function (payload) {
self.uploadProgress.addClass("progress-striped").addClass("active");
self.uploadProgressBar.css("width", "100%");
self.uploadProgressPercentage(100);
self.uploadProgressText(gettext("Streaming ..."));
};
@@ -1376,6 +1399,7 @@ $(function () {
self.uploadProgress.removeClass("progress-striped").removeClass("active");
self.uploadProgressBar.css("width", "0");
self.uploadProgressText("");
self.uploadProgressPercentage(0);
new PNotify({
title: gettext("Streaming done"),
@@ -1399,6 +1423,7 @@ $(function () {
self.uploadProgress.removeClass("progress-striped").removeClass("active");
self.uploadProgressBar.css("width", "0");
self.uploadProgressText("");
self.uploadProgressPercentage(0);
new PNotify({
title: gettext("Streaming failed"),
@@ -1457,6 +1482,7 @@ $(function () {
self._setProgressBar = function (percentage, text, active) {
self.uploadProgressBar.css("width", percentage + "%");
self.uploadProgressText(text);
self.uploadProgressPercentage(percentage);
if (active) {
self.uploadProgress.addClass("progress-striped active");
@@ -676,7 +676,6 @@ $(function () {
}
})
.css({
"width": "auto",
"margin-left": function () {
return -($(this).width() / 2);
}
@@ -165,6 +165,7 @@ $(function () {
self.webcam_flipH = ko.observable(undefined);
self.webcam_flipV = ko.observable(undefined);
self.webcam_rotate90 = ko.observable(undefined);
self.webcam_cacheBuster = ko.observable(undefined);
self.feature_temperatureGraph = ko.observable(undefined);
self.feature_sdSupport = ko.observable(undefined);
@@ -182,6 +183,7 @@ $(function () {
self.serial_port = ko.observable();
self.serial_baudrate = ko.observable();
self.serial_exclusive = ko.observable();
self.serial_lowLatency = ko.observable();
self.serial_portOptions = ko.observableArray([]);
self.serial_baudrateOptions = ko.observableArray([]);
self.serial_autoconnect = ko.observable(undefined);
@@ -451,7 +453,10 @@ $(function () {
throw "Unknown stream type " + streamType;
}
var message = $("<p></p>").append(text).append(webcam_element);
var message = $("<div id='webcamTestContainer'></div>")
.append($("<p></p>"))
.append(text)
.append(webcam_element);
self.testWebcamStreamUrlBusy(true);
showMessageDialog({
@@ -802,7 +807,6 @@ $(function () {
}
})
.css({
"width": "auto",
"margin-left": function () {
return -($(this).width() / 2);
}
@@ -38,7 +38,6 @@ $(function () {
}
})
.css({
"width": "auto",
"margin-left": function () {
return -($(this).width() / 2);
}
-373
View File
@@ -1,373 +0,0 @@
'use strict';
/**
* Copyright Marc J. Schmidt. See the LICENSE file at the top-level
* directory of this distribution and at
* https://github.com/marcj/css-element-queries/blob/master/LICENSE.
*/
(function (root, factory) {
if (typeof define === "function" && define.amd) {
define(factory);
} else if (typeof exports === "object") {
module.exports = factory();
} else {
root.ResizeSensor = factory();
}
}(typeof window !== 'undefined' ? window : this, function () {
// Make sure it does not throw in a SSR (Server Side Rendering) situation
if (typeof window === "undefined") {
return null;
}
// https://github.com/Semantic-Org/Semantic-UI/issues/3855
// https://github.com/marcj/css-element-queries/issues/257
var globalWindow = typeof window != 'undefined' && window.Math == Math
? window
: typeof self != 'undefined' && self.Math == Math
? self
: Function('return this')();
// Only used for the dirty checking, so the event callback count is limited to max 1 call per fps per sensor.
// In combination with the event based resize sensor this saves cpu time, because the sensor is too fast and
// would generate too many unnecessary events.
var requestAnimationFrame = globalWindow.requestAnimationFrame ||
globalWindow.mozRequestAnimationFrame ||
globalWindow.webkitRequestAnimationFrame ||
function (fn) {
return globalWindow.setTimeout(fn, 20);
};
var cancelAnimationFrame = globalWindow.cancelAnimationFrame ||
globalWindow.mozCancelAnimationFrame ||
globalWindow.webkitCancelAnimationFrame ||
function (timer) {
globalWindow.clearTimeout(timer);
};
/**
* Iterate over each of the provided element(s).
*
* @param {HTMLElement|HTMLElement[]} elements
* @param {Function} callback
*/
function forEachElement(elements, callback){
var elementsType = Object.prototype.toString.call(elements);
var isCollectionTyped = ('[object Array]' === elementsType
|| ('[object NodeList]' === elementsType)
|| ('[object HTMLCollection]' === elementsType)
|| ('[object Object]' === elementsType)
|| ('undefined' !== typeof jQuery && elements instanceof jQuery) //jquery
|| ('undefined' !== typeof Elements && elements instanceof Elements) //mootools
);
var i = 0, j = elements.length;
if (isCollectionTyped) {
for (; i < j; i++) {
callback(elements[i]);
}
} else {
callback(elements);
}
}
/**
* Get element size
* @param {HTMLElement} element
* @returns {Object} {width, height}
*/
function getElementSize(element) {
if (!element.getBoundingClientRect) {
return {
width: element.offsetWidth,
height: element.offsetHeight
}
}
var rect = element.getBoundingClientRect();
return {
width: Math.round(rect.width),
height: Math.round(rect.height)
}
}
/**
* Apply CSS styles to element.
*
* @param {HTMLElement} element
* @param {Object} style
*/
function setStyle(element, style) {
Object.keys(style).forEach(function(key) {
element.style[key] = style[key];
});
}
/**
* Class for dimension change detection.
*
* @param {Element|Element[]|Elements|jQuery} element
* @param {Function} callback
*
* @constructor
*/
var ResizeSensor = function(element, callback) {
//Is used when checking in reset() only for invisible elements
var lastAnimationFrameForInvisibleCheck = 0;
/**
*
* @constructor
*/
function EventQueue() {
var q = [];
this.add = function(ev) {
q.push(ev);
};
var i, j;
this.call = function(sizeInfo) {
for (i = 0, j = q.length; i < j; i++) {
q[i].call(this, sizeInfo);
}
};
this.remove = function(ev) {
var newQueue = [];
for(i = 0, j = q.length; i < j; i++) {
if(q[i] !== ev) newQueue.push(q[i]);
}
q = newQueue;
};
this.length = function() {
return q.length;
}
}
/**
*
* @param {HTMLElement} element
* @param {Function} resized
*/
function attachResizeEvent(element, resized) {
if (!element) return;
if (element.resizedAttached) {
element.resizedAttached.add(resized);
return;
}
element.resizedAttached = new EventQueue();
element.resizedAttached.add(resized);
element.resizeSensor = document.createElement('div');
element.resizeSensor.dir = 'ltr';
element.resizeSensor.className = 'resize-sensor';
var style = {
pointerEvents: 'none',
position: 'absolute',
left: '0px',
top: '0px',
right: '0px',
bottom: '0px',
overflow: 'hidden',
zIndex: '-1',
visibility: 'hidden',
maxWidth: '100%'
};
var styleChild = {
position: 'absolute',
left: '0px',
top: '0px',
transition: '0s',
};
setStyle(element.resizeSensor, style);
var expand = document.createElement('div');
expand.className = 'resize-sensor-expand';
setStyle(expand, style);
var expandChild = document.createElement('div');
setStyle(expandChild, styleChild);
expand.appendChild(expandChild);
var shrink = document.createElement('div');
shrink.className = 'resize-sensor-shrink';
setStyle(shrink, style);
var shrinkChild = document.createElement('div');
setStyle(shrinkChild, styleChild);
setStyle(shrinkChild, { width: '200%', height: '200%' });
shrink.appendChild(shrinkChild);
element.resizeSensor.appendChild(expand);
element.resizeSensor.appendChild(shrink);
element.appendChild(element.resizeSensor);
var computedStyle = window.getComputedStyle(element);
var position = computedStyle ? computedStyle.getPropertyValue('position') : null;
if ('absolute' !== position && 'relative' !== position && 'fixed' !== position && 'sticky' !== position) {
element.style.position = 'relative';
}
var dirty = false;
//last request animation frame id used in onscroll event
var rafId = 0;
var size = getElementSize(element);
var lastWidth = 0;
var lastHeight = 0;
var initialHiddenCheck = true;
lastAnimationFrameForInvisibleCheck = 0;
var resetExpandShrink = function () {
var width = element.offsetWidth;
var height = element.offsetHeight;
expandChild.style.width = (width + 10) + 'px';
expandChild.style.height = (height + 10) + 'px';
expand.scrollLeft = width + 10;
expand.scrollTop = height + 10;
shrink.scrollLeft = width + 10;
shrink.scrollTop = height + 10;
};
var reset = function() {
// Check if element is hidden
if (initialHiddenCheck) {
var invisible = element.offsetWidth === 0 && element.offsetHeight === 0;
if (invisible) {
// Check in next frame
if (!lastAnimationFrameForInvisibleCheck){
lastAnimationFrameForInvisibleCheck = requestAnimationFrame(function(){
lastAnimationFrameForInvisibleCheck = 0;
reset();
});
}
return;
} else {
// Stop checking
initialHiddenCheck = false;
}
}
resetExpandShrink();
};
element.resizeSensor.resetSensor = reset;
var onResized = function() {
rafId = 0;
if (!dirty) return;
lastWidth = size.width;
lastHeight = size.height;
if (element.resizedAttached) {
element.resizedAttached.call(size);
}
};
var onScroll = function() {
size = getElementSize(element);
dirty = size.width !== lastWidth || size.height !== lastHeight;
if (dirty && !rafId) {
rafId = requestAnimationFrame(onResized);
}
reset();
};
var addEvent = function(el, name, cb) {
if (el.attachEvent) {
el.attachEvent('on' + name, cb);
} else {
el.addEventListener(name, cb);
}
};
addEvent(expand, 'scroll', onScroll);
addEvent(shrink, 'scroll', onScroll);
// Fix for custom Elements and invisible elements
lastAnimationFrameForInvisibleCheck = requestAnimationFrame(function(){
lastAnimationFrameForInvisibleCheck = 0;
reset();
});
}
forEachElement(element, function(elem){
attachResizeEvent(elem, callback);
});
this.detach = function(ev) {
// clean up the unfinished animation frame to prevent a potential endless requestAnimationFrame of reset
if (lastAnimationFrameForInvisibleCheck) {
cancelAnimationFrame(lastAnimationFrameForInvisibleCheck);
lastAnimationFrameForInvisibleCheck = 0;
}
ResizeSensor.detach(element, ev);
};
this.reset = function() {
//To prevent invoking element.resizeSensor.resetSensor if it's undefined
if (element.resizeSensor.resetSensor) {
element.resizeSensor.resetSensor();
}
};
};
ResizeSensor.reset = function(element) {
forEachElement(element, function(elem){
//To prevent invoking element.resizeSensor.resetSensor if it's undefined
if (element.resizeSensor.resetSensor) {
elem.resizeSensor.resetSensor();
}
});
};
ResizeSensor.detach = function(element, ev) {
forEachElement(element, function(elem){
if (!elem) return;
if(elem.resizedAttached && typeof ev === "function"){
elem.resizedAttached.remove(ev);
if(elem.resizedAttached.length()) return;
}
if (elem.resizeSensor) {
if (elem.contains(elem.resizeSensor)) {
elem.removeChild(elem.resizeSensor);
}
delete elem.resizeSensor;
delete elem.resizedAttached;
}
});
};
if (typeof MutationObserver !== "undefined") {
var observer = new MutationObserver(function (mutations) {
for (var i in mutations) {
if (mutations.hasOwnProperty(i)) {
var items = mutations[i].addedNodes;
for (var j = 0; j < items.length; j++) {
if (items[j].resizeSensor) {
ResizeSensor.reset(items[j]);
}
}
}
}
});
document.addEventListener("DOMContentLoaded", function (event) {
observer.observe(document.body, {
childList: true,
subtree: true,
});
});
}
return ResizeSensor;
}));
+54 -40
View File
@@ -708,6 +708,12 @@ ul.dropdown-menu li a {
object-fit: contain;
}
}
// Predict height of webcam test container for modal positioning
// height is 3/4 the fixed modal width, for 4:3 webcam stream.
// Yes it's hardcoded, but so is the modal width.
#webcamTestContainer {
min-height: 384px;
}
/** State sidebar panel */
@@ -815,8 +821,6 @@ ul.dropdown-menu li a {
/** Control tab */
#control {
overflow: hidden;
.jog-panel {
float: left;
margin-right: 19px;
@@ -1475,55 +1479,29 @@ textarea.monospace {
font-family: monospace;
}
// Progress bars with text
//
// .progress-text-front will also need to have the full width of the enclosing
// progress wrapper applied (e.g. via copyWidth knockout binding)
// Progress bars with text centered
.progress-text,
.progress-text-centered {
position: relative;
.progress-text-front,
.progress-text-back {
white-space: nowrap;
}
.progress-text-front {
box-sizing: border-box;
padding: 0 10px;
width: 100%;
display: block;
}
.progress-text-back {
position: absolute;
font-size: 12px;
line-height: 20px;
display: block;
box-sizing: border-box;
text-align: center;
padding: 0 10px;
}
.bar {
z-index: 1;
position: absolute;
overflow: hidden;
}
}
.progress-text-centered {
.progress-text-front {
.progress-text-front,
.progress-text-back {
position: absolute;
top: 0;
z-index: 2;
text-align: center;
width: 100%;
box-sizing: border-box;
padding: 0 10px;
font-size: 12px;
line-height: 20px;
display: block;
text-align: center;
color: #fff;
}
.progress-text-back {
width: 100%;
.progress-text-front {
color: #fff;
}
}
@@ -1660,3 +1638,39 @@ textarea.monospace {
}
}
}
/* Custom animations for the dialogs
* These animations override the default bootstrap 2 slow Javascript based animations.
* Usage: Add the class `fade-in` to any modal instead of the `fade` class
*/
@animationDuration: 0.3s;
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes backgroundFadeIn {
from {
opacity: 0;
}
to {
opacity: 0.7;
}
}
.fade-in {
animation-name: fadeIn;
animation-duration: @animationDuration;
}
.modal-backdrop:not(.fade) {
// Slightly fade in the backdrop when BS2 animation is disabled
// Breaks completely disabling animations, but the backdrop is generated by BS2
animation-name: backgroundFadeIn;
animation-duration: @animationDuration;
}
+1 -1
View File
@@ -1,4 +1,4 @@
<div id="about_dialog" class="modal hide fade large" tabindex="-1" role="dialog" aria-labelledby="about_dialog_label" aria-hidden="true">
<div id="about_dialog" class="modal hide fade-in large" tabindex="-1" role="dialog" aria-labelledby="about_dialog_label" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
<h3 id="about_dialog_label">{{ _('About OctoPrint') }}</h3>
+10 -4
View File
@@ -1,4 +1,4 @@
<div id="add_folder_dialog" class="modal hide fade">
<div id="add_folder_dialog" class="modal hide fade-in">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3>{{ _('Create Folder') }}</h3>
@@ -20,7 +20,7 @@
</div>
</div>
<div id="move_file_or_folder_dialog" class="modal hide fade">
<div id="move_file_or_folder_dialog" class="modal hide fade-in">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3>{{ _('Move File or Folder') }}</h3>
@@ -33,16 +33,22 @@
<select class="input-block-level" data-bind="value: moveDestination, options: folderList"></select>
<span class="help-block"><small class="text-error" data-bind="text: moveError, visible: moveError().length > 0" style="display: none"></small></span>
</div>
<label class="control-label">{{ _('Set destination filename ') }} ({{ _('Currently:') }} <span data-bind="text: moveSourceFilename()"></span>)</label>
<div class="controls">
<input class="input-block-level" data-bind="value: moveDestinationFilename" />
</div>
<p> {{ _('File/Folder will be moved to: ') }} <span data-bind="text: moveDestinationFullpath()"></span></p>
</div>
</form>
</div>
<div class="modal-footer">
<a href="#" class="btn" data-dismiss="modal" aria-hidden="true">{{ _('Cancel') }}</a>
<a href="#" class="btn btn-primary" data-bind="click: function() { if (moveSource() !== moveDestination() && !movingFileOrFolder()) { $root.moveFileOrFolder(moveEntry().path, moveDestination()) } else {} }, css: {disabled: moveSource() === moveDestination() || movingFileOrFolder()}"><i class="fas fa-spinner fa-spin" data-bind="visible: movingFileOrFolder"></i> {{ _('Move') }}</a>
<a href="#" class="btn btn-primary" data-bind="click: function() { if ((moveSource() !== moveDestination() || moveSourceFilename() !== moveDestinationFilename()) && !movingFileOrFolder()) { $root.moveFileOrFolder(moveEntry().path, moveDestinationFullpath()) } else {} }, css: {disabled: (moveSource() === moveDestination() && moveSourceFilename() === moveDestinationFilename()) || movingFileOrFolder()}"><i class="fas fa-spinner fa-spin" data-bind="visible: movingFileOrFolder"></i> {{ _('Move') }}</a>
</div>
</div>
<div id="upload_exists_dialog" class="modal hide fade">
<div id="upload_exists_dialog" class="modal hide fade-in">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3>{{ _('File already exists') }}</h3>
@@ -1,4 +1,4 @@
<div id="settings_dialog" data-test-id="settings-dialog" class="modal hide fade large" tabindex="-1" role="dialog" aria-labelledby="settings_dialog_label" aria-hidden="true">
<div id="settings_dialog" data-test-id="settings-dialog" class="modal hide fade-in large" tabindex="-1" role="dialog" aria-labelledby="settings_dialog_label" aria-hidden="true">
<div class="modal-header">
<button type="button" data-test-id="settings-close-x" class="close" data-dismiss="modal">&times;</button>
<h3 id="settings_dialog_label">{{ _('OctoPrint Settings') }} <i class="fas fa-spinner fa-spin" data-bind="visible: receiving"></i></h3>
@@ -74,7 +74,7 @@
</div>
</form>
<div id="settings_appearance_managelanguagesdialog" class="modal hide fade">
<div id="settings_appearance_managelanguagesdialog" class="modal hide fade-in">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3>{{ _('Manage Language Packs...') }}</h3>
@@ -52,7 +52,8 @@
<div class="control-group">
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: feature_g90InfluencesExtruder" id="settings-g90InfluencesExtruder"> {{ _('<code>G90</code>/<code>G91</code> overrides relative extruder mode') }} <span class="label">{{ _('Smoothieware') }}</span>
<input type="checkbox" data-bind="checked: feature_g90InfluencesExtruder" id="settings-g90InfluencesExtruder">
{{ _('<code>G90</code>/<code>G91</code> overrides relative extruder mode') }} <span class="label">{{ _('Smoothieware') }}</span> <span class="label">{{ _('Marlin 2+') }}
<span class="help-block">{{ _('This is used by the GCODE analysis in the backend and the viewer in the frontend to interpret your sliced files correctly.') }}</span>
</label>
</div>
@@ -53,16 +53,16 @@
</div>
</div>
<div class="control-group">
<label class="control-label">{{ _('After connection to printer is established') }}</label>
<label class="control-label">{{ _('After serial connection to printer is established') }}</label>
<div class="controls">
<textarea rows="8" class="block monospace" data-bind="value: scripts_gcode_afterPrinterConnected"></textarea>
</div>
</div>
<div class="control-group">
<label class="control-label">{{ _('Before connection to printer is closed') }}</label>
<label class="control-label">{{ _('Before serial connection to printer is closed') }}</label>
<div class="controls">
<textarea rows="8" class="block monospace" data-bind="value: scripts_gcode_beforePrinterDisconnected"></textarea>
<small>{{ _('Anything you put here will only be executed when closing the connection actively. If the connection to the printer is suddenly lost nothing will be sent.') }}</small>
<small>{{ _('Anything you put here will only be executed when closing the serial connection actively. If the serial connection to the printer is suddenly lost nothing will be sent.') }}</small>
</div>
</div>
</form>
@@ -69,6 +69,13 @@
</label>
</div>
</div>
<div class="control-group">
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: serial_lowLatency" id="settings-serialLowLatency"> {{ _('Request low latency mode on the serial port') }}
</label>
</div>
</div>
<div class="control-group">
<label class="control-label">{{ _('Apply parity double open workaround')}}</label>
<div class="controls">
@@ -14,6 +14,7 @@
<div><small><a href="#" class="muted" data-bind="toggleContent: { class: 'fa-caret-right fa-caret-down', parent: '.form-horizontal', container: '.hide' }"><i class="fas fa-caret-right"></i> {{ _('Advanced options') }}</a></small></div>
<div class="hide">
{% include "snippets/settings/webcam/webcamStreamTimeout.jinja2" %}
{% include "snippets/settings/webcam/webcamCacheBuster.jinja2" %}
</div>
</div>
</form>
@@ -1,4 +1,4 @@
<div id="slicing_configuration_dialog" class="modal hide fade">
<div id="slicing_configuration_dialog" class="modal hide fade-in">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3 data-bind="text: title"></h3>
@@ -1,4 +1,4 @@
<div id="change_offset_dialog" class="modal hide fade">
<div id="change_offset_dialog" class="modal hide fade-in">
<div class="modal-header">
<a href="javascript:void(0)" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3 data-bind="text: changingOffset.title"></h3>
@@ -1,4 +1,4 @@
<div id="timelapsePreviewModal" class="modal large hide fade">
<div id="timelapsePreviewModal" class="modal large hide fade-in">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3>{{ _('Timelapse Preview') }}</h3>
@@ -1,4 +1,4 @@
<div id="usersettings_dialog" class="modal hide fade">
<div id="usersettings_dialog" class="modal hide fade-in">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3>{{ _('User Settings') }}</h3>
@@ -1,4 +1,4 @@
<div id="wizard_dialog" class="modal hide fade large" data-backdrop="static" data-keyboard="false">
<div id="wizard_dialog" class="modal hide fade-in large" data-backdrop="static" data-keyboard="false">
<div class="modal-header">
<h3><i class="fas fa-magic"></i> {{ _('Setup Wizard') }}</h3>
</div>
+1 -1
View File
@@ -161,7 +161,7 @@
</div>
</div>
<div id="workdialog" class="modal hide fade">
<div id="workdialog" class="modal hide fade-in">
<div class="modal-header">
<h3 data-bind="text: workTitle"></h3>
</div>
+3 -6
View File
@@ -17,8 +17,7 @@
<script type="text/html" id="files_template_machinecode">
<div class="btn btn-mini toggleAdditionalData pull-right" data-bind="click: function() { if ($root.enableAdditionalData($data)) { $root.toggleAdditionalData($data); } else { return; } }, css: { disabled: !$root.enableAdditionalData($data) }" title="{{ _('Additional data')|edq }}"><i class="fas fa-chevron-down"></i></div>
<div class="title clickable" data-bind="click: function() { if ($root.enableSelect($data)) { $root.loadFile($data, false); } else { return; } }, css: $root.getSuccessClass($data), style: { 'font-weight': $root.listHelper.isSelected($data) ? 'bold' : 'normal' }, text: display"></div>
<div class="internal" data-bind="visible: display && name != display && $root.showInternalFilename">{{ _('Internal') }}: <span data-bind="text: name"></span>
<span data-bind="text: $root.showInternalFilename"></span> </div>
<div class="internal" data-bind="visible: display && name != display && $root.showInternalFilename">{{ _('Internal') }}: <span data-bind="text: name"></span></div>
<div class="uploaded">{{ _('Uploaded') }}: <span data-bind="text: formatTimeAgo(date), attr: {title: formatDate(date)}"></span></div>
<div class="size">{{ _('Size') }}: <span data-bind="text: formatSize(size)"></span></div>
<div class="additionalInfo hide" data-bind="html: $root.getAdditionalData($data)"></div>
@@ -84,10 +83,8 @@
{% endif %}
</div>
<div id="gcode_upload_progress" class="progress progress-text-centered">
<span class="progress-text-back" data-bind="text: uploadProgressText"></span>
<div class="bar">
<span class="progress-text-front" data-bind="copyWidth: ':parent :parent :parent :parent form', text: uploadProgressText"></span>
</div>
<div class="bar"></div>
<span class="progress-text-back" data-bind="css: { 'progress-text-front': (uploadProgressPercentage() >= 50), 'progress-text-back': (uploadProgressPercentage() < 50) }, text: uploadProgressText()"></span>
</div>
<div>
<small class="muted">{{ _('Hint: You can also drag and drop files on this page to upload them.') }}</small>
+2 -4
View File
@@ -21,10 +21,8 @@
<div class="progress progress-text-centered">
<span class="progress-text-back" data-bind="text: progressBarString()"></span>
<div class="bar" id="job_progressBar" data-bind="style: {width: progressString() + '%'}">
<span class="progress-text-front" data-bind="copyWidth: ':parent :parent', text: progressBarString()"></span>
</div>
<div class="bar" id="job_progressBar" data-bind="style: {width: progressString() + '%'}"></div>
<span class="progress-text-back" data-bind="css: { 'progress-text-front': (progressString() >= 50), 'progress-text-back': (progressString() < 50) }, text: progressBarString()"></span>
</div>
<div class="row-fluid print-control" data-bind="visible: $root.loginState.hasPermissionKo($root.access.permissions.PRINT)">
@@ -48,7 +48,7 @@
<!-- Modals for group management -->
<div id="settings-groupsEditorDialog" class="modal hide fade">
<div id="settings-groupsEditorDialog" class="modal hide fade-in">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3 data-bind="text: $root.access.groups.editor.header"></h3>
@@ -58,7 +58,7 @@
<!-- /ko -->
</script>
<div id="settings-usersEditorDialog" class="modal hide fade">
<div id="settings-usersEditorDialog" class="modal hide fade-in">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3 data-bind="text: $root.access.users.editor.header"></h3>
@@ -130,7 +130,7 @@
</div>
</div>
<div id="settings-usersDialogChangePassword" class="modal hide fade">
<div id="settings-usersDialogChangePassword" class="modal hide fade-in">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3>{{ _('Change password for user "%(user)s"', user='<span data-bind="text: $root.access.users.editor.name"></span>') }}</h3>
@@ -1,4 +1,4 @@
<div id="settings_printerProfiles_editDialog" class="modal hide fade">
<div id="settings_printerProfiles_editDialog" class="modal hide fade-in">
<div class="modal-header">
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
<h3 class="modal-title"></h3>
@@ -0,0 +1,13 @@
<div class="control-group" title="{{ _('Enable the cache buster on the webcam URl')|edq }}">
<div class="controls">
<label class="checkbox">
<input type="checkbox" data-bind="checked: webcam_cacheBuster" id="settings-webcamCacheBuster">
{{ _('Enable Cache buster') }}
<span class="help-block">
<span class="label label-warning">{{ _("Warning") }}</span>
{{ _("This may cause unpredictable caching behaviour. Only disable if your webcam server is incompatible and does not work in OctoPrint's UI") }}
</span>
</label>
</div>
</div>
@@ -5,6 +5,6 @@
<input type="text" class="input-block-level" data-bind="value: webcam_streamUrl, valueUpdate: 'afterkeydown'" id="settings-webcamStreamUrl">
<button class="btn" type="button" data-bind="click: testWebcamStreamUrl, enable: webcam_streamUrl() && !testWebcamStreamUrlBusy(), css: {disabled: !webcam_streamUrl() || testWebcamStreamUrlBusy()}"><i class="fas fa-spinner fa-spin" data-bind="visible: testWebcamStreamUrlBusy"></i> {{ _('Test') }}</button>
</div>
<span class="help-inline">{% trans %}Needs to be reachable from the browser displaying the OctoPrint UI, used to embed the webcam stream into the page.{% endtrans %}</span>
<span class="help-block">{% trans %}Needs to be reachable from the browser displaying the OctoPrint UI, used to embed the webcam stream into the page.{% endtrans %}</span>
</div>
</div>
@@ -104,10 +104,8 @@
<h1 data-bind="visible: renderProgressBarString">{{ _('Timelapse Render Progress') }}</h1>
<div id="render_progress" class="progress progress-text-centered" data-bind="visible: renderProgressBarString, css: { 'progress-striped' : renderAnimation, active : renderAnimation }">
<span class="progress-text-back" data-bind="text: renderProgressBarString"></span>
<div class="bar" data-bind="style: {width: renderProgressString() + '%'}">
<span class="progress-text-front" data-bind="copyWidth: ':parent :parent', text: renderProgressBarString"></span>
</div>
<div class="bar" data-bind="style: {width: renderProgressString() + '%'}"></div>
<span class="progress-text-back" data-bind="css: { 'progress-text-front': (renderProgressString() >= 50), 'progress-text-back': (renderProgressString() < 50) }, text: renderProgressBarString()"></span>
</div>
<h1>{{ _('Finished Timelapses') }}</h1>
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: OctoPrint\n"
"Report-Msgid-Bugs-To: i18n@octoprint.org\n"
"POT-Creation-Date: 2021-04-21 14:16+0200\n"
"PO-Revision-Date: 2021-04-21 14:18+0200\n"
"POT-Creation-Date: 2021-05-10 11:13+0200\n"
"PO-Revision-Date: 2021-05-10 11:14+0200\n"
"Last-Translator: Gina Häußge <osd@foosel.net>\n"
"Language: de\n"
"Language-Team: German (http://www.transifex.com/projects/p/octoprint/language/de/)\n"
@@ -199,7 +199,7 @@ msgid "Never"
msgstr "Nie"
#: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:19
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:80
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:81
#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:329
#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:82
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:207
@@ -1133,8 +1133,8 @@ msgid "<p>It looks like you are tracking an OctoPrint RC release channel. It wou
msgstr "<p>Es sieht so also, als hättest du einen OctoPrint RC Release Channel abonniert. Es wäre klasse, wenn du Fehlertracking einschalten würdest, so dass jedwede Art von Fehler, die mit diesem RC auftritt, einfacher untersucht werden kann. Danke!</p><p><small>Du kannst mehr zum Fehlertracking erfahren unter Einstellungen > Fehlertracking</p>"
#: src/octoprint/plugins/errortracking/static/js/errortracking.js:52
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:477
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:508
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:483
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:514
#: src/octoprint/static/js/app/viewmodels/loginstate.js:147
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:466
msgid "Ignore"
@@ -1227,48 +1227,48 @@ msgstr "Analysiere..."
msgid "Analyzed"
msgstr "Analysiert"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:649
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:656
#: src/octoprint/static/js/app/viewmodels/files.js:929
msgid "Model size"
msgstr "Modelgröße"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:659
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:666
msgid "Estimated layer height"
msgstr "Geschätzte Schichthöhe"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:662
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:669
#: src/octoprint/templates/tabs/timelapse.jinja2:69
msgid "mm"
msgstr "mm"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:665
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:672
msgid "Estimated total print time"
msgstr "Geschätzte Gesamtdauer"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:670
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:677
msgid "Layers with extrusion"
msgstr "Layer mit Extrusion"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:703
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:710
msgid "Layer number"
msgstr "Schichtnummer"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:704
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:711
msgid "Layer height"
msgstr "Schichthöhe"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:705
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:712
msgid "GCODE commands"
msgstr "GCODE Befehle"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:709
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:718
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:716
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:725
#: src/octoprint/static/js/app/viewmodels/files.js:944
#: src/octoprint/static/js/app/viewmodels/files.js:960
msgid "Filament"
msgstr "Filament"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:720
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:727
#: src/octoprint/static/js/app/viewmodels/control.js:85
#: src/octoprint/static/js/app/viewmodels/files.js:962
#: src/octoprint/static/js/app/viewmodels/printerstate.js:355
@@ -1278,7 +1278,7 @@ msgstr "Filament"
msgid "Tool"
msgstr "Tool"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:732
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:739
#: src/octoprint/static/js/app/viewmodels/files.js:972
msgid "Estimated print time"
msgstr "Geschätzte Dauer"
@@ -1376,40 +1376,44 @@ msgstr "Auch nächste Schicht anzeigen"
msgid "Reload"
msgstr "Neu laden"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:84
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:77
msgid "Reset viewport"
msgstr "Viewport zurücksetzen"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:85
msgid "Show visited bounding box"
msgstr "Boundingbox für besuchte Koordinaten anzeigen"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:87
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:88
msgid "Show printed bounding box"
msgstr "Boundingbox für bedruckte Koordinaten anzeigen"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:90
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:91
msgid "Show layer bounding box"
msgstr "Boundingbox für bedruckte Koordinaten der Schicht anzeigen"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:93
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:94
msgid "Show segment starts"
msgstr "Liniensegmentstarts anzeigen"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:98
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:99
msgid "Hide empty layers"
msgstr "Leere Schichten verstecken"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:98
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:101
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:99
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:102
msgid "Causes reload"
msgstr "Verursacht einen Reload"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:101
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:102
msgid "Sort layers"
msgstr "Schichten sortieren"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:105
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:106
msgid "Reset options"
msgstr "Optionen zurücksetzen"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:113
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:114
msgid "\n"
" Note that the time and usage values in this tab are <strong>estimated</strong> by the GCODE viewer in your\n"
" browser and might differ from the values <strong>estimated</strong> by the server that are displayed in the\n"
@@ -1425,7 +1429,7 @@ msgstr "\n"
" ungenau sein können, da sie nur auf Informationen aus den GCODE Dateien basieren.\n"
" "
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:123
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:124
#: src/octoprint/templates/dialogs/settings/folders.jinja2:73
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:94
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:466
@@ -1437,7 +1441,7 @@ msgstr "\n"
msgid "Warning"
msgstr "Warnung"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:124
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:125
msgid "<p>\n"
" You've selected <strong data-bind=\"text: selectedFile.name\"></strong> for printing which has a size of\n"
" <strong data-bind=\"text: formatSize(selectedFile.size())\"></strong>. Depending on your machine this\n"
@@ -1457,7 +1461,7 @@ msgstr "<p>\n"
" Bist Du sicher, dass du die Datei trotzdem visualisieren willst?\n"
" </p>"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:135
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:136
#, python-format
msgid "Yes, please visualize %(name)s regardless of its size"
msgstr "Ja, bitte visualisiere %(name)s unabhängig seiner Größe"
@@ -2380,227 +2384,227 @@ msgstr "OctoPrint"
msgid "Without this plugin OctoPrint will no longer be able to update itself or any of your installed plugins which might put your system at risk."
msgstr "Ohne dieses Plugin wird OctoPrint nicht länger in der Lage sein, sich selbst oder deine installierten Plugins zu aktualisierten. Das könnte dein System gefährden."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:232
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:238
msgid "Release"
msgstr "Release"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:233
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:239
msgid "Github Commit"
msgstr "Githubcommit"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:234
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:240
msgid "Local checkout"
msgstr "Lokaler Checkout"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:311
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:317
#, python-format
msgid "%(name)s: %(version)s"
msgstr "%(name)s: %(version)s"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:319
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:325
msgid "unknown"
msgstr "unbekannt"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:368
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:663
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:679
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:929
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:374
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:669
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:685
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:935
msgid "Updating..."
msgstr "Aktualisiere..."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:369
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:680
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:930
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:375
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:686
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:936
msgid "Updating, please wait."
msgstr "Aktualisiere gerade, bitte warten."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:385
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:391
msgid "There are updates available for the following components:"
msgstr "Es gibt Aktualisierungen für die folgenden Komponenten:"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:412
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:773
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:418
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:779
msgid "Release Notes"
msgstr "Release Notes"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:423
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:429
msgid "This version of the Python environment is not supported for direct updates."
msgstr "Diese Version der Pythonumgebung unterstützt keine direkten Aktualisierungen."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:430
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:436
msgid "There's currently not enough free disk space available for a direct update."
msgstr "Der Plattenplatz reicht aktuell nicht für ein Softwareupdate."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:437
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:443
msgid "Those components marked with <i class=\"fa fa-check\"></i> can be updated directly."
msgstr "Die mit <i class=\"fa fa-check\"></i> markierten Komponenten können direkt aktualisiert werden."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:450
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:456
msgid "To have updates applied, get in touch with an administrator of this OctoPrint instance."
msgstr "Um Updates durchzuführen wende dich bitte an einen Administrator dieser OctoPrint Instanz."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:459
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:465
msgid "Update Available"
msgstr "Aktualisierung verfügbar"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:481
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:487
msgid "You can make this message display again via \"Settings\" > \"Software Update\" > \"Check for update now\""
msgstr "Du kannst diese Nachricht erneut anzeigen lassen mittels \"Einstellungen\" > \"Software Update\" > \"Jetzt nach Aktualisierungen suchen\""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:488
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:494
msgid "Update now"
msgstr "Jetzt aktualisieren"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:532
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:538
msgid "Everything is up-to-date"
msgstr "Alles ist auf dem neusten Stand"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:561
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:567
msgid "No internet connection"
msgstr "Keine Onlineverbindung"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:565
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:571
msgid "Update not possible"
msgstr "Update nicht möglich"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:576
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:582
msgid "Unknown update check, configuration ok?"
msgstr "Unbekannter Updatechecktyp, Konfiguration in Ordnung?"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:579
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:585
msgid "Cannot check for update, need online connection"
msgstr "Updatecheck ist nicht möglich, benötige Onlineverbindung"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:582
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:588
msgid "Network error while checking for update"
msgstr "Netzwerkfehler bei Updatecheck"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:585
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:591
msgid "Rate limit exceeded while checking for update, please try again later"
msgstr "Ratelimit überschritten beim Updatecheck, bitte prüfe die Logs"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:590
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:596
msgid "Check internal error while checking for update"
msgstr "Interner Checkfehler bei Updatecheck"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:593
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:599
msgid "Unknown error while checking for update, please check the logs"
msgstr "Unbekannter Fehler beim Updatecheck, bitte prüfe die Logs"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:664
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:670
msgid "Now updating, please wait."
msgstr "Aktualisiere gerade, bitte warten."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:687
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:693
msgid "The update could not be started. Is it already active? Please consult octoprint.log for details."
msgstr "Die Aktualisierung konnte nicht gestartet werden. Läuft bereits eine? Bitte konsultiere octoprint.log für Details."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:695
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:701
msgid "Update not started!"
msgstr "Aktualisierung nicht gestartet!"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:731
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:737
msgid "Can't update while printing"
msgstr "Aktualisierung nicht möglich während gedruckt wird"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:732
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:738
msgid "A print job is currently in progress. Updating will be prevented until it is done."
msgstr "Ein Druckjob ist zur Zeit aktiv. Aktualisierungen werden unterbunden bis er fertig ist."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:743
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:749
msgid "Can't update while throttled"
msgstr "Aktualisierung nicht möglich bei reduzierter Systemleistung"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:744
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:750
msgid "Your system is currently throttled. OctoPrint refuses to run updates while in this state due to possible stability issues."
msgstr "Das System, auf dem OctoPrint läuft, ist aktuell leistungsbegrenzt. Um mögliche Probleme in Folge von dadurch\n"
"verursachter Systeminstabilität zu verhindern, ist es daher aktuell nicht möglich, Aktualisierungen durchzuführen."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:755
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:761
msgid "This will update the following components and restart the server:"
msgstr "Das wird die folgenden Komponenten aktualisieren und den Server neu starten:"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:781
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:787
msgid "Be sure to read through any linked release notes, especially those for OctoPrint since they might contain important information you need to know <strong>before</strong> upgrading."
msgstr "Bitte lies alle verlinkten Release Notes, insbesondere die von OctoPrint, da diese wichtige Informationen behinhalten könnten, die Du <strong>vor</strong> dem Softwareupdate wissen solltest."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:786
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:792
msgid "This action may disrupt any ongoing print jobs."
msgstr "Das könnte laufende Druckaufträge unterbrechen."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:789
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:795
msgid "Depending on your printer's controller and general setup, restarting OctoPrint may cause your printer to be reset."
msgstr "Abhängig von deinem Druckerkontroller und generellem Setup könnte ein Neustart von OctoPrint auch zum Neustart deines Druckers führen."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:794
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:800
#: src/octoprint/static/js/app/helpers.js:795
msgid "Are you sure you want to proceed?"
msgstr "Bist Du sicher, dass du fortfahren willst?"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:797
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:803
msgid "Are you sure you want to update now?"
msgstr "Bist Du sicher, dass du jetzt aktualisieren willst?"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:799
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:805
#: src/octoprint/static/js/app/helpers.js:802
msgid "Proceed"
msgstr "Fortfahren"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:946
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:952
#, python-format
msgid "Now updating %(name)s to %(version)s"
msgstr "Aktualisiere %(name)s auf %(version)s"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:972
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:978
msgid "Update successful, restarting!"
msgstr "Aktualisierung erfolgreich, starte neu!"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:973
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:979
msgid "The update finished successfully and the server will now be restarted."
msgstr "Die Aktualisierung wurde erfolgreich durchgeführt und der Server wird jetzt neu gestartet."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:992
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1049
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:998
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1055
msgid "Restart failed"
msgstr "Neustart fehlgeschlagen"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:993
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:999
msgid "The server apparently did not restart by itself, you'll have to do it manually. Please consult octoprint.log on what went wrong."
msgstr "Der Server hat anscheinend nicht von selbst neu gestartet, Du wirst das manuell tun müssen. Bitte konsultiere octoprint.log."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1015
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1021
msgid "The update finished successfully, please restart OctoPrint now."
msgstr "Die Aktualisierung wurde erfolgreich abgeschlossen, bitte starte OctoPrint jetzt neu."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1019
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1025
msgid "The update finished successfully, please reboot the server now."
msgstr "Die Aktualisierung wurde erfolgreich abgeschlossen, bitte reboote den Server jetzt."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1024
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1030
msgid "Update successful, restart required!"
msgstr "Aktualisierung erfolgreich, Neustart notwendig!"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1040
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1046
msgid "Restarting OctoPrint failed, please restart it manually. You might also want to consult octoprint.log on what went wrong here."
msgstr "Der Neustart von OctoPrint ist fehlgeschlagen, bitte starte es manuell neu. Du solltest auch octoprint.log konsultieren, um herauszufinden, was hier schief gelaufen ist."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1044
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1050
msgid "Rebooting the server failed, please reboot it manually. You might also want to consult octoprint.log on what went wrong here."
msgstr "Reboot des Servers fehlgeschlagen, bitte reboote ihn manuell. Du solltest auch octoprint.log konsultieren, um herauszufinden, was hier gerade schief gelaufen ist."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1065
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1071
msgid "Update successful!"
msgstr "Aktualisierung erfolgreich!"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1066
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1072
msgid "The update finished successfully."
msgstr "Die Aktualisierung wurde erfolgreich abgeschlossen."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1081
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1087
msgid "Update failed!"
msgstr "Aktualisierung fehlgeschlagen!"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1082
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1088
msgid "The update did not finish successfully. Please consult <code>octoprint.log</code> and <code>plugin_softwareupdate_console.log</code> for details."
msgstr "Die Aktualisierung wurde nicht erfolgreich abgeschlossen. Bitte konsultiere <code>octoprint.log</code> und <code>plugin_softwareupdate_console.log</code> für Details."
+14
View File
@@ -3663,6 +3663,20 @@ class MachineCom:
# noinspection PyProtectedMember
set_close_exec(serial_obj._port_handle)
if hasattr(serial_obj, "set_low_latency_mode"):
try:
serial_obj.set_low_latency_mode(
settings().getBoolean(["serial", "lowLatency"])
)
except Exception:
self._logger.exception(
"Could not set low latency mode on serial port, continuing without"
)
else:
self._logger.info(
"Platform doesn't support low latency mode on serial port"
)
return BufferedReadlineWrapper(serial_obj)
serial_factories = list(self._serial_factory_hooks.items()) + [
+2069 -19
View File
File diff suppressed because it is too large. Load diff
Binary file not shown.
+94 -90
View File
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: OctoPrint\n"
"Report-Msgid-Bugs-To: i18n@octoprint.org\n"
"POT-Creation-Date: 2021-04-21 14:16+0200\n"
"PO-Revision-Date: 2021-04-21 14:18+0200\n"
"POT-Creation-Date: 2021-05-10 11:13+0200\n"
"PO-Revision-Date: 2021-05-10 11:14+0200\n"
"Last-Translator: Gina Häußge <osd@foosel.net>\n"
"Language: de\n"
"Language-Team: German (http://www.transifex.com/projects/p/octoprint/language/de/)\n"
@@ -199,7 +199,7 @@ msgid "Never"
msgstr "Nie"
#: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:19
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:80
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:81
#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:329
#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:82
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:207
@@ -1133,8 +1133,8 @@ msgid "<p>It looks like you are tracking an OctoPrint RC release channel. It wou
msgstr "<p>Es sieht so also, als hättest du einen OctoPrint RC Release Channel abonniert. Es wäre klasse, wenn du Fehlertracking einschalten würdest, so dass jedwede Art von Fehler, die mit diesem RC auftritt, einfacher untersucht werden kann. Danke!</p><p><small>Du kannst mehr zum Fehlertracking erfahren unter Einstellungen > Fehlertracking</p>"
#: src/octoprint/plugins/errortracking/static/js/errortracking.js:52
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:477
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:508
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:483
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:514
#: src/octoprint/static/js/app/viewmodels/loginstate.js:147
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:466
msgid "Ignore"
@@ -1227,48 +1227,48 @@ msgstr "Analysiere..."
msgid "Analyzed"
msgstr "Analysiert"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:649
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:656
#: src/octoprint/static/js/app/viewmodels/files.js:929
msgid "Model size"
msgstr "Modelgröße"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:659
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:666
msgid "Estimated layer height"
msgstr "Geschätzte Schichthöhe"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:662
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:669
#: src/octoprint/templates/tabs/timelapse.jinja2:69
msgid "mm"
msgstr "mm"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:665
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:672
msgid "Estimated total print time"
msgstr "Geschätzte Gesamtdauer"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:670
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:677
msgid "Layers with extrusion"
msgstr "Layer mit Extrusion"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:703
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:710
msgid "Layer number"
msgstr "Schichtnummer"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:704
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:711
msgid "Layer height"
msgstr "Schichthöhe"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:705
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:712
msgid "GCODE commands"
msgstr "GCODE Befehle"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:709
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:718
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:716
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:725
#: src/octoprint/static/js/app/viewmodels/files.js:944
#: src/octoprint/static/js/app/viewmodels/files.js:960
msgid "Filament"
msgstr "Filament"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:720
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:727
#: src/octoprint/static/js/app/viewmodels/control.js:85
#: src/octoprint/static/js/app/viewmodels/files.js:962
#: src/octoprint/static/js/app/viewmodels/printerstate.js:355
@@ -1278,7 +1278,7 @@ msgstr "Filament"
msgid "Tool"
msgstr "Tool"
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:732
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:739
#: src/octoprint/static/js/app/viewmodels/files.js:972
msgid "Estimated print time"
msgstr "Geschätzte Dauer"
@@ -1376,40 +1376,44 @@ msgstr "Auch nächste Schicht anzeigen"
msgid "Reload"
msgstr "Neu laden"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:84
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:77
msgid "Reset viewport"
msgstr "Viewport zurücksetzen"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:85
msgid "Show visited bounding box"
msgstr "Boundingbox für besuchte Koordinaten anzeigen"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:87
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:88
msgid "Show printed bounding box"
msgstr "Boundingbox für bedruckte Koordinaten anzeigen"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:90
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:91
msgid "Show layer bounding box"
msgstr "Boundingbox für bedruckte Koordinaten der Schicht anzeigen"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:93
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:94
msgid "Show segment starts"
msgstr "Liniensegmentstarts anzeigen"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:98
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:99
msgid "Hide empty layers"
msgstr "Leere Schichten verstecken"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:98
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:101
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:99
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:102
msgid "Causes reload"
msgstr "Verursacht einen Reload"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:101
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:102
msgid "Sort layers"
msgstr "Schichten sortieren"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:105
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:106
msgid "Reset options"
msgstr "Optionen zurücksetzen"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:113
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:114
msgid "\n"
" Note that the time and usage values in this tab are <strong>estimated</strong> by the GCODE viewer in your\n"
" browser and might differ from the values <strong>estimated</strong> by the server that are displayed in the\n"
@@ -1425,7 +1429,7 @@ msgstr "\n"
" ungenau sein können, da sie nur auf Informationen aus den GCODE Dateien basieren.\n"
" "
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:123
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:124
#: src/octoprint/templates/dialogs/settings/folders.jinja2:73
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:94
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:466
@@ -1437,7 +1441,7 @@ msgstr "\n"
msgid "Warning"
msgstr "Warnung"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:124
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:125
msgid "<p>\n"
" You've selected <strong data-bind=\"text: selectedFile.name\"></strong> for printing which has a size of\n"
" <strong data-bind=\"text: formatSize(selectedFile.size())\"></strong>. Depending on your machine this\n"
@@ -1457,7 +1461,7 @@ msgstr "<p>\n"
" Bist Du sicher, dass du die Datei trotzdem visualisieren willst?\n"
" </p>"
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:135
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:136
#, python-format
msgid "Yes, please visualize %(name)s regardless of its size"
msgstr "Ja, bitte visualisiere %(name)s unabhängig seiner Größe"
@@ -2380,227 +2384,227 @@ msgstr "OctoPrint"
msgid "Without this plugin OctoPrint will no longer be able to update itself or any of your installed plugins which might put your system at risk."
msgstr "Ohne dieses Plugin wird OctoPrint nicht länger in der Lage sein, sich selbst oder deine installierten Plugins zu aktualisierten. Das könnte dein System gefährden."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:232
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:238
msgid "Release"
msgstr "Release"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:233
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:239
msgid "Github Commit"
msgstr "Githubcommit"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:234
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:240
msgid "Local checkout"
msgstr "Lokaler Checkout"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:311
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:317
#, python-format
msgid "%(name)s: %(version)s"
msgstr "%(name)s: %(version)s"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:319
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:325
msgid "unknown"
msgstr "unbekannt"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:368
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:663
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:679
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:929
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:374
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:669
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:685
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:935
msgid "Updating..."
msgstr "Aktualisiere..."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:369
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:680
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:930
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:375
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:686
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:936
msgid "Updating, please wait."
msgstr "Aktualisiere gerade, bitte warten."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:385
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:391
msgid "There are updates available for the following components:"
msgstr "Es gibt Aktualisierungen für die folgenden Komponenten:"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:412
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:773
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:418
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:779
msgid "Release Notes"
msgstr "Release Notes"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:423
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:429
msgid "This version of the Python environment is not supported for direct updates."
msgstr "Diese Version der Pythonumgebung unterstützt keine direkten Aktualisierungen."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:430
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:436
msgid "There's currently not enough free disk space available for a direct update."
msgstr "Der Plattenplatz reicht aktuell nicht für ein Softwareupdate."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:437
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:443
msgid "Those components marked with <i class=\"fa fa-check\"></i> can be updated directly."
msgstr "Die mit <i class=\"fa fa-check\"></i> markierten Komponenten können direkt aktualisiert werden."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:450
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:456
msgid "To have updates applied, get in touch with an administrator of this OctoPrint instance."
msgstr "Um Updates durchzuführen wende dich bitte an einen Administrator dieser OctoPrint Instanz."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:459
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:465
msgid "Update Available"
msgstr "Aktualisierung verfügbar"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:481
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:487
msgid "You can make this message display again via \"Settings\" > \"Software Update\" > \"Check for update now\""
msgstr "Du kannst diese Nachricht erneut anzeigen lassen mittels \"Einstellungen\" > \"Software Update\" > \"Jetzt nach Aktualisierungen suchen\""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:488
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:494
msgid "Update now"
msgstr "Jetzt aktualisieren"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:532
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:538
msgid "Everything is up-to-date"
msgstr "Alles ist auf dem neusten Stand"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:561
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:567
msgid "No internet connection"
msgstr "Keine Onlineverbindung"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:565
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:571
msgid "Update not possible"
msgstr "Update nicht möglich"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:576
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:582
msgid "Unknown update check, configuration ok?"
msgstr "Unbekannter Updatechecktyp, Konfiguration in Ordnung?"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:579
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:585
msgid "Cannot check for update, need online connection"
msgstr "Updatecheck ist nicht möglich, benötige Onlineverbindung"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:582
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:588
msgid "Network error while checking for update"
msgstr "Netzwerkfehler bei Updatecheck"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:585
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:591
msgid "Rate limit exceeded while checking for update, please try again later"
msgstr "Ratelimit überschritten beim Updatecheck, bitte prüfe die Logs"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:590
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:596
msgid "Check internal error while checking for update"
msgstr "Interner Checkfehler bei Updatecheck"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:593
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:599
msgid "Unknown error while checking for update, please check the logs"
msgstr "Unbekannter Fehler beim Updatecheck, bitte prüfe die Logs"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:664
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:670
msgid "Now updating, please wait."
msgstr "Aktualisiere gerade, bitte warten."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:687
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:693
msgid "The update could not be started. Is it already active? Please consult octoprint.log for details."
msgstr "Die Aktualisierung konnte nicht gestartet werden. Läuft bereits eine? Bitte konsultiere octoprint.log für Details."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:695
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:701
msgid "Update not started!"
msgstr "Aktualisierung nicht gestartet!"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:731
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:737
msgid "Can't update while printing"
msgstr "Aktualisierung nicht möglich während gedruckt wird"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:732
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:738
msgid "A print job is currently in progress. Updating will be prevented until it is done."
msgstr "Ein Druckjob ist zur Zeit aktiv. Aktualisierungen werden unterbunden bis er fertig ist."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:743
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:749
msgid "Can't update while throttled"
msgstr "Aktualisierung nicht möglich bei reduzierter Systemleistung"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:744
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:750
msgid "Your system is currently throttled. OctoPrint refuses to run updates while in this state due to possible stability issues."
msgstr "Das System, auf dem OctoPrint läuft, ist aktuell leistungsbegrenzt. Um mögliche Probleme in Folge von dadurch\n"
"verursachter Systeminstabilität zu verhindern, ist es daher aktuell nicht möglich, Aktualisierungen durchzuführen."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:755
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:761
msgid "This will update the following components and restart the server:"
msgstr "Das wird die folgenden Komponenten aktualisieren und den Server neu starten:"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:781
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:787
msgid "Be sure to read through any linked release notes, especially those for OctoPrint since they might contain important information you need to know <strong>before</strong> upgrading."
msgstr "Bitte lies alle verlinkten Release Notes, insbesondere die von OctoPrint, da diese wichtige Informationen behinhalten könnten, die Du <strong>vor</strong> dem Softwareupdate wissen solltest."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:786
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:792
msgid "This action may disrupt any ongoing print jobs."
msgstr "Das könnte laufende Druckaufträge unterbrechen."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:789
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:795
msgid "Depending on your printer's controller and general setup, restarting OctoPrint may cause your printer to be reset."
msgstr "Abhängig von deinem Druckerkontroller und generellem Setup könnte ein Neustart von OctoPrint auch zum Neustart deines Druckers führen."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:794
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:800
#: src/octoprint/static/js/app/helpers.js:795
msgid "Are you sure you want to proceed?"
msgstr "Bist Du sicher, dass du fortfahren willst?"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:797
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:803
msgid "Are you sure you want to update now?"
msgstr "Bist Du sicher, dass du jetzt aktualisieren willst?"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:799
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:805
#: src/octoprint/static/js/app/helpers.js:802
msgid "Proceed"
msgstr "Fortfahren"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:946
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:952
#, python-format
msgid "Now updating %(name)s to %(version)s"
msgstr "Aktualisiere %(name)s auf %(version)s"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:972
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:978
msgid "Update successful, restarting!"
msgstr "Aktualisierung erfolgreich, starte neu!"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:973
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:979
msgid "The update finished successfully and the server will now be restarted."
msgstr "Die Aktualisierung wurde erfolgreich durchgeführt und der Server wird jetzt neu gestartet."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:992
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1049
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:998
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1055
msgid "Restart failed"
msgstr "Neustart fehlgeschlagen"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:993
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:999
msgid "The server apparently did not restart by itself, you'll have to do it manually. Please consult octoprint.log on what went wrong."
msgstr "Der Server hat anscheinend nicht von selbst neu gestartet, Du wirst das manuell tun müssen. Bitte konsultiere octoprint.log."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1015
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1021
msgid "The update finished successfully, please restart OctoPrint now."
msgstr "Die Aktualisierung wurde erfolgreich abgeschlossen, bitte starte OctoPrint jetzt neu."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1019
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1025
msgid "The update finished successfully, please reboot the server now."
msgstr "Die Aktualisierung wurde erfolgreich abgeschlossen, bitte reboote den Server jetzt."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1024
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1030
msgid "Update successful, restart required!"
msgstr "Aktualisierung erfolgreich, Neustart notwendig!"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1040
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1046
msgid "Restarting OctoPrint failed, please restart it manually. You might also want to consult octoprint.log on what went wrong here."
msgstr "Der Neustart von OctoPrint ist fehlgeschlagen, bitte starte es manuell neu. Du solltest auch octoprint.log konsultieren, um herauszufinden, was hier schief gelaufen ist."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1044
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1050
msgid "Rebooting the server failed, please reboot it manually. You might also want to consult octoprint.log on what went wrong here."
msgstr "Reboot des Servers fehlgeschlagen, bitte reboote ihn manuell. Du solltest auch octoprint.log konsultieren, um herauszufinden, was hier gerade schief gelaufen ist."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1065
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1071
msgid "Update successful!"
msgstr "Aktualisierung erfolgreich!"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1066
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1072
msgid "The update finished successfully."
msgstr "Die Aktualisierung wurde erfolgreich abgeschlossen."
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1081
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1087
msgid "Update failed!"
msgstr "Aktualisierung fehlgeschlagen!"
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1082
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1088
msgid "The update did not finish successfully. Please consult <code>octoprint.log</code> and <code>plugin_softwareupdate_console.log</code> for details."
msgstr "Die Aktualisierung wurde nicht erfolgreich abgeschlossen. Bitte konsultiere <code>octoprint.log</code> und <code>plugin_softwareupdate_console.log</code> für Details."
+94 -90
View File
@@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: OctoPrint 1.6.0rc3.dev4+gd7e39288e\n"
"Project-Id-Version: OctoPrint 1.6.1.dev13+g0cb987a8b\n"
"Report-Msgid-Bugs-To: i18n@octoprint.org\n"
"POT-Creation-Date: 2021-04-21 14:16+0200\n"
"POT-Creation-Date: 2021-05-10 11:13+0200\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"
@@ -229,7 +229,7 @@ msgid "Never"
msgstr ""
#: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:19
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:80
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:81
#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:329
#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:82
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:207
@@ -1241,8 +1241,8 @@ msgid ""
msgstr ""
#: src/octoprint/plugins/errortracking/static/js/errortracking.js:52
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:477
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:508
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:483
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:514
#: src/octoprint/static/js/app/viewmodels/loginstate.js:147
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:466
msgid "Ignore"
@@ -1331,48 +1331,48 @@ msgstr ""
msgid "Analyzed"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:649
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:656
#: src/octoprint/static/js/app/viewmodels/files.js:929
msgid "Model size"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:659
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:666
msgid "Estimated layer height"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:662
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:669
#: src/octoprint/templates/tabs/timelapse.jinja2:69
msgid "mm"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:665
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:672
msgid "Estimated total print time"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:670
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:677
msgid "Layers with extrusion"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:703
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:710
msgid "Layer number"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:704
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:711
msgid "Layer height"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:705
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:712
msgid "GCODE commands"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:709
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:718
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:716
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:725
#: src/octoprint/static/js/app/viewmodels/files.js:944
#: src/octoprint/static/js/app/viewmodels/files.js:960
msgid "Filament"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:720
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:727
#: src/octoprint/static/js/app/viewmodels/control.js:85
#: src/octoprint/static/js/app/viewmodels/files.js:962
#: src/octoprint/static/js/app/viewmodels/printerstate.js:355
@@ -1382,7 +1382,7 @@ msgstr ""
msgid "Tool"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:732
#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:739
#: src/octoprint/static/js/app/viewmodels/files.js:972
msgid "Estimated print time"
msgstr ""
@@ -1487,40 +1487,44 @@ msgstr ""
msgid "Reload"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:84
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:77
msgid "Reset viewport"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:85
msgid "Show visited bounding box"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:87
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:88
msgid "Show printed bounding box"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:90
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:91
msgid "Show layer bounding box"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:93
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:94
msgid "Show segment starts"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:98
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:99
msgid "Hide empty layers"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:98
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:101
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:99
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:102
msgid "Causes reload"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:101
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:102
msgid "Sort layers"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:105
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:106
msgid "Reset options"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:113
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:114
msgid ""
"\n"
" Note that the time and usage values in this tab are "
@@ -1535,7 +1539,7 @@ msgid ""
" "
msgstr ""
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:123
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:124
#: src/octoprint/templates/dialogs/settings/folders.jinja2:73
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:94
#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:466
@@ -1547,7 +1551,7 @@ msgstr ""
msgid "Warning"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:124
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:125
msgid ""
"<p>\n"
" You've selected <strong data-bind=\"text: "
@@ -1564,7 +1568,7 @@ msgid ""
" </p>"
msgstr ""
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:135
#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:136
#, python-format
msgid "Yes, please visualize %(name)s regardless of its size"
msgstr ""
@@ -2544,253 +2548,253 @@ msgid ""
"any of your installed plugins which might put your system at risk."
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:232
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:238
msgid "Release"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:233
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:239
msgid "Github Commit"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:234
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:240
msgid "Local checkout"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:311
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:317
#, python-format
msgid "%(name)s: %(version)s"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:319
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:325
msgid "unknown"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:368
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:663
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:679
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:929
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:374
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:669
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:685
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:935
msgid "Updating..."
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:369
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:680
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:930
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:375
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:686
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:936
msgid "Updating, please wait."
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:385
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:391
msgid "There are updates available for the following components:"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:412
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:773
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:418
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:779
msgid "Release Notes"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:423
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:429
msgid ""
"This version of the Python environment is not supported for direct "
"updates."
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:430
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:436
msgid ""
"There's currently not enough free disk space available for a direct "
"update."
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:437
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:443
msgid ""
"Those components marked with <i class=\"fa fa-check\"></i> can be updated"
" directly."
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:450
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:456
msgid ""
"To have updates applied, get in touch with an administrator of this "
"OctoPrint instance."
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:459
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:465
msgid "Update Available"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:481
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:487
msgid ""
"You can make this message display again via \"Settings\" > \"Software "
"Update\" > \"Check for update now\""
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:488
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:494
msgid "Update now"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:532
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:538
msgid "Everything is up-to-date"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:561
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:567
msgid "No internet connection"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:565
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:571
msgid "Update not possible"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:576
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:582
msgid "Unknown update check, configuration ok?"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:579
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:585
msgid "Cannot check for update, need online connection"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:582
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:588
msgid "Network error while checking for update"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:585
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:591
msgid "Rate limit exceeded while checking for update, please try again later"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:590
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:596
msgid "Check internal error while checking for update"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:593
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:599
msgid "Unknown error while checking for update, please check the logs"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:664
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:670
msgid "Now updating, please wait."
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:687
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:693
msgid ""
"The update could not be started. Is it already active? Please consult "
"octoprint.log for details."
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:695
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:701
msgid "Update not started!"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:731
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:737
msgid "Can't update while printing"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:732
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:738
msgid ""
"A print job is currently in progress. Updating will be prevented until it"
" is done."
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:743
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:749
msgid "Can't update while throttled"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:744
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:750
msgid ""
"Your system is currently throttled. OctoPrint refuses to run updates "
"while in this state due to possible stability issues."
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:755
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:761
msgid "This will update the following components and restart the server:"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:781
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:787
msgid ""
"Be sure to read through any linked release notes, especially those for "
"OctoPrint since they might contain important information you need to know"
" <strong>before</strong> upgrading."
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:786
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:792
msgid "This action may disrupt any ongoing print jobs."
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:789
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:795
msgid ""
"Depending on your printer's controller and general setup, restarting "
"OctoPrint may cause your printer to be reset."
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:794
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:800
#: src/octoprint/static/js/app/helpers.js:795
msgid "Are you sure you want to proceed?"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:797
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:803
msgid "Are you sure you want to update now?"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:799
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:805
#: src/octoprint/static/js/app/helpers.js:802
msgid "Proceed"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:946
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:952
#, python-format
msgid "Now updating %(name)s to %(version)s"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:972
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:978
msgid "Update successful, restarting!"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:973
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:979
msgid "The update finished successfully and the server will now be restarted."
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:992
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1049
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:998
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1055
msgid "Restart failed"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:993
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:999
msgid ""
"The server apparently did not restart by itself, you'll have to do it "
"manually. Please consult octoprint.log on what went wrong."
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1015
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1021
msgid "The update finished successfully, please restart OctoPrint now."
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1019
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1025
msgid "The update finished successfully, please reboot the server now."
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1024
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1030
msgid "Update successful, restart required!"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1040
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1046
msgid ""
"Restarting OctoPrint failed, please restart it manually. You might also "
"want to consult octoprint.log on what went wrong here."
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1044
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1050
msgid ""
"Rebooting the server failed, please reboot it manually. You might also "
"want to consult octoprint.log on what went wrong here."
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1065
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1071
msgid "Update successful!"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1066
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1072
msgid "The update finished successfully."
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1081
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1087
msgid "Update failed!"
msgstr ""
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1082
#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:1088
msgid ""
"The update did not finish successfully. Please consult "
"<code>octoprint.log</code> and "