Skip to content

Commit 2e34dc6

Browse files
authored
✂️ Remove repeating words (#4868)
1 parent 58305dc commit 2e34dc6

File tree

18 files changed

+23
-23
lines changed

18 files changed

+23
-23
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ existing ticket**:
142142
<!--
143143
READ THE FOLLOWING FIRST:
144144
145-
If not already done, please read the the Contribution Guidelines that
145+
If not already done, please read the Contribution Guidelines that
146146
are linked to the right under "Helpful resources" > "Contributing".
147147
148148
Also read the FAQ: https://faq.octoprint.org

docs/api/timelapse.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ Timelapse configuration
220220
* - ``save``
221221
- 1
222222
- bool
223-
- Optional flag to be included when when saving a configuration to make the configuration persist across restarts
223+
- Optional flag to be included when saving a configuration to make the configuration persist across restarts
224224

225225
Further fields are timelapse type specific, see below for details.
226226

docs/bundledplugins/softwareupdate.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ supported:
360360
* ``update_script``: (mandatory) The path of the script to run. May
361361
contain placeholders ``{target}`` (for the most recent version specified
362362
as retrieved from the update check), ``{branch}`` for the branch to switch
363-
to to access the release, ``{folder}`` for the working directory
363+
to access the release, ``{folder}`` for the working directory
364364
of the script and ``{python}`` for the python executable OctoPrint is
365365
running under. Presence implies ``method: update_script``.
366366
* ``update_folder`` or ``checkout_folder``: (mandatory) The working directory.

docs/configuration/config_yaml.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Use the following settings to enable access control:
5151
5252
# Whether to trust Basic Authentication headers. If you have setup Basic Authentication in front of
5353
# OctoPrint and the user names you use there match OctoPrint accounts, by setting this to true users will
54-
# be logged into OctoPrint as the user user during Basic Authentication. Your should ONLY ENABLE THIS if your
54+
# be logged into OctoPrint as the user during Basic Authentication. Your should ONLY ENABLE THIS if your
5555
# OctoPrint instance is only accessible through a connection locked down through Basic Authentication!
5656
trustBasicAuthentication: false
5757

docs/plugins/gettingstarted.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ like so:
677677
678678
Note how we did not add another entry to the return value of :func:`~octoprint.plugin.TemplatePlugin.get_template_configs`.
679679
Remember how we only added those since we wanted OctoPrint to use existing bindings on our navigation bar and settings
680-
menu entries? We don't want this this time, and we named our tab template such that OctoPrint will pick it up automatically
680+
menu entries? We don't want this time, and we named our tab template such that OctoPrint will pick it up automatically
681681
so we don't have to do anything here.
682682

683683
Then we'll create our custom `Knockout <http://knockoutjs.com/documentation/introduction.html>`_ view model in ``helloworld.js``

docs/plugins/hooks.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ octoprint.comm.transport.serial.factory
10251025
detection is to be performed.
10261026
:param int read_timeout: The read timeout to set on the serial port.
10271027
:return: The constructed serial object ready for use, or ``None`` if the handler could not construct the object.
1028-
:rtype: A serial instance implementing implementing the methods ``readline(...)``, ``write(...)``, ``close()`` and
1028+
:rtype: A serial instance implementing the methods ``readline(...)``, ``write(...)``, ``close()`` and
10291029
optionally ``baudrate`` and ``timeout`` attributes as described above.
10301030

10311031
.. _sec-plugins-hook-events-register_custom_events:

src/octoprint/schema/config/access_control.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class AccessControlConfig(BaseModel):
3737
"""The name of the user to automatically log on clients originating from `localNetworks` as. Must be the name of one of your configured users."""
3838

3939
trustBasicAuthentication: bool = False
40-
"""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!"""
40+
"""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!"""
4141

4242
checkBasicAuthenticationPassword: bool = True
4343
"""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."""

src/octoprint/schema/webcam/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class WebcamCompatibility(BaseModel):
2525
"""The WebRTC STUN and TURN servers"""
2626

2727
cacheBuster: bool = False
28-
"""Whether the the URL should be randomized to bust caches"""
28+
"""Whether the URL should be randomized to bust caches"""
2929

3030
stream: str
3131
"""The URL to get an MJPEG stream from"""

src/octoprint/server/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1373,7 +1373,7 @@ def shutdown_tornado():
13731373
pass
13741374
except Exception:
13751375
self._logger.fatal(
1376-
"Now that is embarrassing... Something really really went wrong here. Please report this including the stacktrace below in OctoPrint's bugtracker. Thanks!"
1376+
"Now that is embarrassing... Something went really really wrong here. Please report this including the stacktrace below in OctoPrint's bugtracker. Thanks!"
13771377
)
13781378
self._logger.exception("Stacktrace follows:")
13791379

src/octoprint/static/js/app/viewmodels/control.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ $(function () {
144144
};
145145

146146
self.onBrowserTabVisibilityChange = function (tabVisible) {
147-
// We also observe the the browser tab. If any webcam is currently visible, we will update
147+
// We also observe the browser tab. If any webcam is currently visible, we will update
148148
// it with the tab status as well.
149149
if (self._visibleWebcam !== undefined) {
150150
self._dispatchWebcamVisibilityChange(self._visibleWebcam, tabVisible);

src/octoprint/static/js/lib/bootstrap/bootstrap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@
686686

687687
if (!isActive) {
688688
if ('ontouchstart' in document.documentElement) {
689-
// if mobile we we use a backdrop because click events don't delegate
689+
// if mobile we use a backdrop because click events don't delegate
690690

691691
// PATCH by foosel based on CapnBry's suggestion - see OctoPrint/OctoPrint#2059 for details
692692
//$('<div class="dropdown-backdrop"/>').insertBefore($(this)).on('click', clearMenus)

src/octoprint/static/js/lib/jquery/jquery.flot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ Licensed under the MIT license.
298298
//
299299
// Each position after the first receives a clone of the original element.
300300
//
301-
// The idea is that that the width, height, and general 'identity' of the
301+
// The idea is that the width, height, and general 'identity' of the
302302
// text is constant no matter where it is placed; the placements are a
303303
// secondary property.
304304
//

src/octoprint/static/js/lib/less.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3228,7 +3228,7 @@
32283228
}
32293229
}
32303230
if (result !== null && result !== undefined) {
3231-
// Results that that are not nodes are cast as Anonymous nodes
3231+
// Results that are not nodes are cast as Anonymous nodes
32323232
// Falsy values or booleans are returned as empty nodes
32333233
if (!(result instanceof Node)) {
32343234
if (!result || result === true) {

src/octoprint/static/js/lib/lodash.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7599,7 +7599,7 @@
75997599
* `func` invocation.
76007600
*
76017601
* **Note:** If `leading` and `trailing` options are `true`, `func` is invoked
7602-
* on the trailing edge of the timeout only if the the debounced function is
7602+
* on the trailing edge of the timeout only if the debounced function is
76037603
* invoked more than once during the `wait` timeout.
76047604
*
76057605
* See [David Corbacho's article](http://drupalmotion.com/article/debounce-and-throttle-visual-explanation)
@@ -8212,7 +8212,7 @@
82128212
* result of the last `func` call.
82138213
*
82148214
* **Note:** If `leading` and `trailing` options are `true`, `func` is invoked
8215-
* on the trailing edge of the timeout only if the the throttled function is
8215+
* on the trailing edge of the timeout only if the throttled function is
82168216
* invoked more than once during the `wait` timeout.
82178217
*
82188218
* See [David Corbacho's article](http://drupalmotion.com/article/debounce-and-throttle-visual-explanation)

src/octoprint/translations/de/LC_MESSAGES/messages.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6274,7 +6274,7 @@ msgid "Site default"
62746274
msgstr "Seitenvoreinstellung"
62756275

62766276
#: src/octoprint/static/js/app/viewmodels/usersettings.js:157
6277-
msgid "This will delete the API Key. It will cease to to function immediately."
6277+
msgid "This will delete the API Key. It will cease to function immediately."
62786278
msgstr "Dies wird den API-Key löschen. Er wird sofort aufhören, zu funktionieren."
62796279

62806280
#: src/octoprint/templates/footer.jinja2:7
@@ -6731,7 +6731,7 @@ msgid ""
67316731
"Sharing a Systeminfo Bundle when requesting support on the forums or\n"
67326732
" when opening a new bug report is <strong>mandatory!</strong>"
67336733
msgstr ""
6734-
"Das Teilen eines Systeminfobundles bei Supportanfragen in den den Foren "
6734+
"Das Teilen eines Systeminfobundles bei Supportanfragen in den Foren "
67356735
"oder\n"
67366736
" beim Öffnen eines neuen Bugreports ist <strong>obligatorisch!</strong>"
67376737

@@ -8161,7 +8161,7 @@ msgid ""
81618161
msgstr ""
81628162
"Wenn das aktiviert ist, wird OctoPrint solche Tool-Befehle nicht zu "
81638163
"deinem Drucke senden, die über die Anzahl der im aktuellen Druckerprofile"
8164-
" konfigurierten Extruder hinausgehen oder für die die Firmware einen "
8164+
" konfigurierten Extruder hinausgehen oder für die Firmware einen "
81658165
"\"invalid extruder\" Fehler zurückgegeben hat. Deaktiviere diese Option "
81668166
"nur, wenn OctoPrint oder deine Firmware Tools fälschlicherweise als nicht"
81678167
" valide markieren, und stelle sicher, dass du auch die Ursache dafür "

tests/static/js/lib/qunit-1.18.0.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2861,7 +2861,7 @@ QUnit.diff = (function() {
28612861
var chars, lineStart, lineEnd, lineArrayLength, line;
28622862
chars = "";
28632863
// Walk the text, pulling out a substring for each line.
2864-
// text.split('\n') would would temporarily double our memory footprint.
2864+
// text.split('\n') would temporarily double our memory footprint.
28652865
// Modifying text would create many large strings to garbage collect.
28662866
lineStart = 0;
28672867
lineEnd = -1;

translations/de/LC_MESSAGES/messages.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6274,7 +6274,7 @@ msgid "Site default"
62746274
msgstr "Seitenvoreinstellung"
62756275

62766276
#: src/octoprint/static/js/app/viewmodels/usersettings.js:157
6277-
msgid "This will delete the API Key. It will cease to to function immediately."
6277+
msgid "This will delete the API Key. It will cease to function immediately."
62786278
msgstr "Dies wird den API-Key löschen. Er wird sofort aufhören, zu funktionieren."
62796279

62806280
#: src/octoprint/templates/footer.jinja2:7
@@ -6731,7 +6731,7 @@ msgid ""
67316731
"Sharing a Systeminfo Bundle when requesting support on the forums or\n"
67326732
" when opening a new bug report is <strong>mandatory!</strong>"
67336733
msgstr ""
6734-
"Das Teilen eines Systeminfobundles bei Supportanfragen in den den Foren "
6734+
"Das Teilen eines Systeminfobundles bei Supportanfragen in den Foren "
67356735
"oder\n"
67366736
" beim Öffnen eines neuen Bugreports ist <strong>obligatorisch!</strong>"
67376737

@@ -8161,7 +8161,7 @@ msgid ""
81618161
msgstr ""
81628162
"Wenn das aktiviert ist, wird OctoPrint solche Tool-Befehle nicht zu "
81638163
"deinem Drucke senden, die über die Anzahl der im aktuellen Druckerprofile"
8164-
" konfigurierten Extruder hinausgehen oder für die die Firmware einen "
8164+
" konfigurierten Extruder hinausgehen oder für die Firmware einen "
81658165
"\"invalid extruder\" Fehler zurückgegeben hat. Deaktiviere diese Option "
81668166
"nur, wenn OctoPrint oder deine Firmware Tools fälschlicherweise als nicht"
81678167
" valide markieren, und stelle sicher, dass du auch die Ursache dafür "

translations/messages.pot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5454,7 +5454,7 @@ msgid "Site default"
54545454
msgstr ""
54555455

54565456
#: src/octoprint/static/js/app/viewmodels/usersettings.js:157
5457-
msgid "This will delete the API Key. It will cease to to function immediately."
5457+
msgid "This will delete the API Key. It will cease to function immediately."
54585458
msgstr ""
54595459

54605460
#: src/octoprint/templates/footer.jinja2:7

0 commit comments

Comments
 (0)