Fix various typos

Found via `codespell -q 3 -S *.ts,./src/libraries,./webpage/src/??/*,./webpage/yarn.lock,./appveyor/OpenSSL/LICENSE  -L ro,ser`
This commit is contained in:
luz paz 2022-10-11 07:22:29 -04:00
parent 5f51eec11e
commit a0fff3a4f2
7 changed files with 9 additions and 9 deletions

View file

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

View file

@ -27,7 +27,7 @@ If NOT fso.FolderExists(extractTo) Then
fso.CreateFolder(extractTo) fso.CreateFolder(extractTo)
End If End If
' Extract the contants of the zip file. ' Extract the contents of the zip file.
set objShell = CreateObject("Shell.Application") set objShell = CreateObject("Shell.Application")
set FilesInZip = objShell.NameSpace(zipFile).Items() set FilesInZip = objShell.NameSpace(zipFile).Items()
objShell.NameSpace(extractTo).CopyHere(FilesInZip) objShell.NameSpace(extractTo).CopyHere(FilesInZip)

View file

@ -2,7 +2,7 @@ import QtQml 2.0
import QOwnNotesTypes 1.0 import QOwnNotesTypes 1.0
/** /**
* This script is a short example of how to use detatched processes and callbacks * This script is a short example of how to use detached processes and callbacks
* to relieve the UI thread. * to relieve the UI thread.
* Visit http://docs.qownnotes.org/ for more information about scripting * Visit http://docs.qownnotes.org/ for more information about scripting
*/ */

View file

@ -62,7 +62,7 @@ QtObject {
// add the headline of the task // add the headline of the task
var text = headline + "\n"; var text = headline + "\n";
// add "=" charactes so that the headline is really a headline // add "=" characters so that the headline is really a headline
for (var i = 0; i < headline.length; i++) { for (var i = 0; i < headline.length; i++) {
text += "="; text += "=";
} }

View file

@ -6554,7 +6554,7 @@ Just test yourself if you get sync conflicts and set a higher value if so.</stri
<item row="1" column="1" colspan="6"> <item row="1" column="1" colspan="6">
<widget class="QLabel" name="label_38"> <widget class="QLabel" name="label_38">
<property name="text"> <property name="text">
<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> <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>
</property> </property>
<property name="wordWrap"> <property name="wordWrap">
<bool>true</bool> <bool>true</bool>

View file

@ -439,7 +439,7 @@ QString Script::scriptRepositoryPath(bool removeRecursively) const {
} }
/** /**
* Checks if the script is a script from the sript repository * Checks if the script is a script from the script repository
* *
* @return * @return
*/ */

View file

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