Skip to content

Commit a0fff3a

Browse files
committed
Fix various typos
Found via `codespell -q 3 -S *.ts,./src/libraries,./webpage/src/??/*,./webpage/yarn.lock,./appveyor/OpenSSL/LICENSE -L ro,ser`
1 parent 5f51eec commit a0fff3a

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

.github/workflows/build-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ jobs:
163163
# Create AppImage (needs Ubuntu 18.04)
164164
make INSTALL_ROOT=appdir -j 8 install ; find appdir/
165165
mkdir -p appdir/usr/languages
166-
# mv tranlations to appdir (where QOwnNotes will find them)
166+
# mv translations to appdir (where QOwnNotes will find them)
167167
mv ./languages/*.qm appdir/usr/languages
168168
wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
169169
chmod a+x linuxdeployqt-continuous-x86_64.AppImage

appveyor/unzip.vbs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ If NOT fso.FolderExists(extractTo) Then
2727
fso.CreateFolder(extractTo)
2828
End If
2929

30-
' Extract the contants of the zip file.
30+
' Extract the contents of the zip file.
3131
set objShell = CreateObject("Shell.Application")
3232
set FilesInZip = objShell.NameSpace(zipFile).Items()
3333
objShell.NameSpace(extractTo).CopyHere(FilesInZip)

docs/scripting/examples/callback.qml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import QtQml 2.0
22
import QOwnNotesTypes 1.0
33

44
/**
5-
* This script is a short example of how to use detatched processes and callbacks
5+
* This script is a short example of how to use detached processes and callbacks
66
* to relieve the UI thread.
77
* Visit http://docs.qownnotes.org/ for more information about scripting
88
*/

docs/scripting/examples/note-text-from-5pm-mail.qml

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ QtObject {
6262
// add the headline of the task
6363
var text = headline + "\n";
6464

65-
// add "=" charactes so that the headline is really a headline
65+
// add "=" characters so that the headline is really a headline
6666
for (var i = 0; i < headline.length; i++) {
6767
text += "=";
6868
}

src/dialogs/settingsdialog.ui

+1-1
Original file line numberDiff line numberDiff line change
@@ -6554,7 +6554,7 @@ Just test yourself if you get sync conflicts and set a higher value if so.</stri
65546554
<item row="1" column="1" colspan="6">
65556555
<widget class="QLabel" name="label_38">
65566556
<property name="text">
6557-
<string>A web socket connetion to this server will be opened to act as bridge between the QOwnNotes web application and the QOwnNotes desktop application.</string>
6557+
<string>A web socket connection to this server will be opened to act as bridge between the QOwnNotes web application and the QOwnNotes desktop application.</string>
65586558
</property>
65596559
<property name="wordWrap">
65606560
<bool>true</bool>

src/entities/script.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ QString Script::scriptRepositoryPath(bool removeRecursively) const {
439439
}
440440

441441
/**
442-
* Checks if the script is a script from the sript repository
442+
* Checks if the script is a script from the script repository
443443
*
444444
* @return
445445
*/

src/widgets/qownnotesmarkdowntextedit.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1215,10 +1215,10 @@ bool QOwnNotesMarkdownTextEdit::eventFilter(QObject *obj, QEvent *event) {
12151215
if (mainWindow != nullptr) {
12161216
mainWindow->allowNoteEditing();
12171217
}
1218-
// If the answer is overriden to Yes ("Don't ask again" with "Yes"),
1218+
// If the answer is overridden to Yes ("Don't ask again" with "Yes"),
12191219
// what you type then only enables note editing, but is not typed in
12201220
// the editor. We need to re-send the event after enabling editing.
1221-
// BUT, we should do that only if the msgbox is overriden to Yes,
1221+
// BUT, we should do that only if the msgbox is overridden to Yes,
12221222
// not if manually answered.
12231223
// You may see: https://github.com/pbek/QOwnNotes/issues/2421
12241224
// This check is partially copied from utils/gui.cpp showMessage()
@@ -1227,7 +1227,7 @@ bool QOwnNotesMarkdownTextEdit::eventFilter(QObject *obj, QEvent *event) {
12271227
auto overrideButton = static_cast<QMessageBox::StandardButton>(
12281228
settings.value(settingsKey, QMessageBox::NoButton).toInt());
12291229
if (overrideButton == QMessageBox::Yes) {
1230-
// overriden to answer yes: re-send the event
1230+
// overridden to answer yes: re-send the event
12311231
return QMarkdownTextEdit::eventFilter(obj, event);
12321232
}
12331233
}

0 commit comments

Comments
 (0)