✂️ Remove repeating words (#4868)

This commit is contained in:
Miroslav Šedivý authored and GitHub committed 2023-08-07 11:54:53 +02:00
1 parent 58305dcacf
commit 2e34dc6f54
18 files changed
+23 -23

No files matched your search

+1 -1
View File
@@ -142,7 +142,7 @@ existing ticket**:
<!--
READ THE FOLLOWING FIRST:
If not already done, please read the the Contribution Guidelines that
If not already done, please read the Contribution Guidelines that
are linked to the right under "Helpful resources" > "Contributing".
Also read the FAQ: https://faq.octoprint.org
+1 -1
View File
@@ -220,7 +220,7 @@ Timelapse configuration
* - ``save``
- 1
- bool
- Optional flag to be included when when saving a configuration to make the configuration persist across restarts
- Optional flag to be included when saving a configuration to make the configuration persist across restarts
Further fields are timelapse type specific, see below for details.
+1 -1
View File
@@ -360,7 +360,7 @@ supported:
* ``update_script``: (mandatory) The path of the script to run. May
contain placeholders ``{target}`` (for the most recent version specified
as retrieved from the update check), ``{branch}`` for the branch to switch
to to access the release, ``{folder}`` for the working directory
to access the release, ``{folder}`` for the working directory
of the script and ``{python}`` for the python executable OctoPrint is
running under. Presence implies ``method: update_script``.
* ``update_folder`` or ``checkout_folder``: (mandatory) The working directory.
+1 -1
View File
@@ -51,7 +51,7 @@ Use the following settings to enable access control:
# Whether to trust Basic Authentication headers. If you have setup Basic Authentication in front of
# OctoPrint and the user names you use there match OctoPrint accounts, by setting this to true users will
# be logged into OctoPrint as the user user during Basic Authentication. Your should ONLY ENABLE THIS if your
# be logged into OctoPrint as the user during Basic Authentication. Your should ONLY ENABLE THIS if your
# OctoPrint instance is only accessible through a connection locked down through Basic Authentication!
trustBasicAuthentication: false
+1 -1
View File
@@ -677,7 +677,7 @@ like so:
Note how we did not add another entry to the return value of :func:`~octoprint.plugin.TemplatePlugin.get_template_configs`.
Remember how we only added those since we wanted OctoPrint to use existing bindings on our navigation bar and settings
menu entries? We don't want this this time, and we named our tab template such that OctoPrint will pick it up automatically
menu entries? We don't want this time, and we named our tab template such that OctoPrint will pick it up automatically
so we don't have to do anything here.
Then we'll create our custom `Knockout <http://knockoutjs.com/documentation/introduction.html>`_ view model in ``helloworld.js``
+1 -1
View File
@@ -1025,7 +1025,7 @@ octoprint.comm.transport.serial.factory
detection is to be performed.
:param int read_timeout: The read timeout to set on the serial port.
:return: The constructed serial object ready for use, or ``None`` if the handler could not construct the object.
:rtype: A serial instance implementing implementing the methods ``readline(...)``, ``write(...)``, ``close()`` and
:rtype: A serial instance implementing the methods ``readline(...)``, ``write(...)``, ``close()`` and
optionally ``baudrate`` and ``timeout`` attributes as described above.
.. _sec-plugins-hook-events-register_custom_events:
@@ -37,7 +37,7 @@ class AccessControlConfig(BaseModel):
"""The name of the user to automatically log on clients originating from `localNetworks` as. Must be the name of one of your configured users."""
trustBasicAuthentication: bool = False
"""Whether to trust Basic Authentication headers. If you have setup Basic Authentication in front of OctoPrint and the user names you use there match OctoPrint accounts, by setting this to true users will be logged into OctoPrint as the user user during Basic Authentication. **ONLY ENABLE THIS** if your OctoPrint instance is only accessible through a connection locked down through Basic Authentication!"""
"""Whether to trust Basic Authentication headers. If you have setup Basic Authentication in front of OctoPrint and the user names you use there match OctoPrint accounts, by setting this to true users will be logged into OctoPrint as the user during Basic Authentication. **ONLY ENABLE THIS** if your OctoPrint instance is only accessible through a connection locked down through Basic Authentication!"""
checkBasicAuthenticationPassword: bool = True
"""Whether to also check the password provided through Basic Authentication, if the Basic Authentication header is to be trusted. Disabling this will only match the user name in the Basic Authentication header and login the user without further checks, thus disable with caution."""
+1 -1
View File
@@ -25,7 +25,7 @@ class WebcamCompatibility(BaseModel):
"""The WebRTC STUN and TURN servers"""
cacheBuster: bool = False
"""Whether the the URL should be randomized to bust caches"""
"""Whether the URL should be randomized to bust caches"""
stream: str
"""The URL to get an MJPEG stream from"""
+1 -1
View File
@@ -1373,7 +1373,7 @@ class Server:
pass
except Exception:
self._logger.fatal(
"Now that is embarrassing... Something really really went wrong here. Please report this including the stacktrace below in OctoPrint's bugtracker. Thanks!"
"Now that is embarrassing... Something went really really wrong here. Please report this including the stacktrace below in OctoPrint's bugtracker. Thanks!"
)
self._logger.exception("Stacktrace follows:")
@@ -144,7 +144,7 @@ $(function () {
};
self.onBrowserTabVisibilityChange = function (tabVisible) {
// We also observe the the browser tab. If any webcam is currently visible, we will update
// We also observe the browser tab. If any webcam is currently visible, we will update
// it with the tab status as well.
if (self._visibleWebcam !== undefined) {
self._dispatchWebcamVisibilityChange(self._visibleWebcam, tabVisible);
+1 -1
View File
@@ -686,7 +686,7 @@
if (!isActive) {
if ('ontouchstart' in document.documentElement) {
// if mobile we we use a backdrop because click events don't delegate
// if mobile we use a backdrop because click events don't delegate
// PATCH by foosel based on CapnBry's suggestion - see OctoPrint/OctoPrint#2059 for details
//$('<div class="dropdown-backdrop"/>').insertBefore($(this)).on('click', clearMenus)
@@ -298,7 +298,7 @@ Licensed under the MIT license.
//
// Each position after the first receives a clone of the original element.
//
// The idea is that that the width, height, and general 'identity' of the
// The idea is that the width, height, and general 'identity' of the
// text is constant no matter where it is placed; the placements are a
// secondary property.
//
+1 -1
View File
@@ -3228,7 +3228,7 @@
}
}
if (result !== null && result !== undefined) {
// Results that that are not nodes are cast as Anonymous nodes
// Results that are not nodes are cast as Anonymous nodes
// Falsy values or booleans are returned as empty nodes
if (!(result instanceof Node)) {
if (!result || result === true) {
+2 -2
View File
@@ -7599,7 +7599,7 @@
* `func` invocation.
*
* **Note:** If `leading` and `trailing` options are `true`, `func` is invoked
* on the trailing edge of the timeout only if the the debounced function is
* on the trailing edge of the timeout only if the debounced function is
* invoked more than once during the `wait` timeout.
*
* See [David Corbacho's article](http://drupalmotion.com/article/debounce-and-throttle-visual-explanation)
@@ -8212,7 +8212,7 @@
* result of the last `func` call.
*
* **Note:** If `leading` and `trailing` options are `true`, `func` is invoked
* on the trailing edge of the timeout only if the the throttled function is
* on the trailing edge of the timeout only if the throttled function is
* invoked more than once during the `wait` timeout.
*
* See [David Corbacho's article](http://drupalmotion.com/article/debounce-and-throttle-visual-explanation)
@@ -6274,7 +6274,7 @@ msgid "Site default"
msgstr "Seitenvoreinstellung"
#: src/octoprint/static/js/app/viewmodels/usersettings.js:157
msgid "This will delete the API Key. It will cease to to function immediately."
msgid "This will delete the API Key. It will cease to function immediately."
msgstr "Dies wird den API-Key löschen. Er wird sofort aufhören, zu funktionieren."
#: src/octoprint/templates/footer.jinja2:7
@@ -6731,7 +6731,7 @@ msgid ""
"Sharing a Systeminfo Bundle when requesting support on the forums or\n"
" when opening a new bug report is <strong>mandatory!</strong>"
msgstr ""
"Das Teilen eines Systeminfobundles bei Supportanfragen in den den Foren "
"Das Teilen eines Systeminfobundles bei Supportanfragen in den Foren "
"oder\n"
" beim Öffnen eines neuen Bugreports ist <strong>obligatorisch!</strong>"
@@ -8161,7 +8161,7 @@ msgid ""
msgstr ""
"Wenn das aktiviert ist, wird OctoPrint solche Tool-Befehle nicht zu "
"deinem Drucke senden, die über die Anzahl der im aktuellen Druckerprofile"
" konfigurierten Extruder hinausgehen oder für die die Firmware einen "
" konfigurierten Extruder hinausgehen oder für die Firmware einen "
"\"invalid extruder\" Fehler zurückgegeben hat. Deaktiviere diese Option "
"nur, wenn OctoPrint oder deine Firmware Tools fälschlicherweise als nicht"
" valide markieren, und stelle sicher, dass du auch die Ursache dafür "
+1 -1
View File
@@ -2861,7 +2861,7 @@ QUnit.diff = (function() {
var chars, lineStart, lineEnd, lineArrayLength, line;
chars = "";
// Walk the text, pulling out a substring for each line.
// text.split('\n') would would temporarily double our memory footprint.
// text.split('\n') would temporarily double our memory footprint.
// Modifying text would create many large strings to garbage collect.
lineStart = 0;
lineEnd = -1;
+3 -3
View File
@@ -6274,7 +6274,7 @@ msgid "Site default"
msgstr "Seitenvoreinstellung"
#: src/octoprint/static/js/app/viewmodels/usersettings.js:157
msgid "This will delete the API Key. It will cease to to function immediately."
msgid "This will delete the API Key. It will cease to function immediately."
msgstr "Dies wird den API-Key löschen. Er wird sofort aufhören, zu funktionieren."
#: src/octoprint/templates/footer.jinja2:7
@@ -6731,7 +6731,7 @@ msgid ""
"Sharing a Systeminfo Bundle when requesting support on the forums or\n"
" when opening a new bug report is <strong>mandatory!</strong>"
msgstr ""
"Das Teilen eines Systeminfobundles bei Supportanfragen in den den Foren "
"Das Teilen eines Systeminfobundles bei Supportanfragen in den Foren "
"oder\n"
" beim Öffnen eines neuen Bugreports ist <strong>obligatorisch!</strong>"
@@ -8161,7 +8161,7 @@ msgid ""
msgstr ""
"Wenn das aktiviert ist, wird OctoPrint solche Tool-Befehle nicht zu "
"deinem Drucke senden, die über die Anzahl der im aktuellen Druckerprofile"
" konfigurierten Extruder hinausgehen oder für die die Firmware einen "
" konfigurierten Extruder hinausgehen oder für die Firmware einen "
"\"invalid extruder\" Fehler zurückgegeben hat. Deaktiviere diese Option "
"nur, wenn OctoPrint oder deine Firmware Tools fälschlicherweise als nicht"
" valide markieren, und stelle sicher, dass du auch die Ursache dafür "
+1 -1
View File
@@ -5454,7 +5454,7 @@ msgid "Site default"
msgstr ""
#: src/octoprint/static/js/app/viewmodels/usersettings.js:157
msgid "This will delete the API Key. It will cease to to function immediately."
msgid "This will delete the API Key. It will cease to function immediately."
msgstr ""
#: src/octoprint/templates/footer.jinja2:7