Skip to content

Commit

Permalink
Merge pull request pbek#2624 from luzpaz/typos
Browse files Browse the repository at this point in the history
Fix various typos
  • Loading branch information
pbek authored Oct 11, 2022
2 parents 5f51eec + a0fff3a commit 94d3b65
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ jobs:
# Create AppImage (needs Ubuntu 18.04)
make INSTALL_ROOT=appdir -j 8 install ; find appdir/
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
wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
chmod a+x linuxdeployqt-continuous-x86_64.AppImage
Expand Down
2 changes: 1 addition & 1 deletion appveyor/unzip.vbs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ If NOT fso.FolderExists(extractTo) Then
fso.CreateFolder(extractTo)
End If

' Extract the contants of the zip file.
' Extract the contents of the zip file.
set objShell = CreateObject("Shell.Application")
set FilesInZip = objShell.NameSpace(zipFile).Items()
objShell.NameSpace(extractTo).CopyHere(FilesInZip)
Expand Down
2 changes: 1 addition & 1 deletion docs/scripting/examples/callback.qml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import QtQml 2.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.
* Visit http://docs.qownnotes.org/ for more information about scripting
*/
Expand Down
2 changes: 1 addition & 1 deletion docs/scripting/examples/note-text-from-5pm-mail.qml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ QtObject {
// add the headline of the task
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++) {
text += "=";
}
Expand Down
2 changes: 1 addition & 1 deletion src/dialogs/settingsdialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -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">
<widget class="QLabel" name="label_38">
<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 name="wordWrap">
<bool>true</bool>
Expand Down
2 changes: 1 addition & 1 deletion src/entities/script.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
6 changes: 3 additions & 3 deletions src/widgets/qownnotesmarkdowntextedit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1215,10 +1215,10 @@ bool QOwnNotesMarkdownTextEdit::eventFilter(QObject *obj, QEvent *event) {
if (mainWindow != nullptr) {
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
// 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.
// You may see: https://github.com/pbek/QOwnNotes/issues/2421
// This check is partially copied from utils/gui.cpp showMessage()
Expand All @@ -1227,7 +1227,7 @@ bool QOwnNotesMarkdownTextEdit::eventFilter(QObject *obj, QEvent *event) {
auto overrideButton = static_cast<QMessageBox::StandardButton>(
settings.value(settingsKey, QMessageBox::NoButton).toInt());
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);
}
}
Expand Down

0 comments on commit 94d3b65

Please sign in to comment.