Fixed some spelling mistakes across files (#2367)

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
Paweł 2021-01-17 20:19:10 +01:00 committed by GitHub
parent cfcac99ae6
commit e48937e0aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 8 deletions

View file

@ -337,7 +337,7 @@ void CommandController::initialize(Settings &, Paths &paths)
[channel, target]() {
channel->addMessage(makeSystemMessage(
QString("User %1 could not be followed, an unknown "
"error occured!")
"error occurred!")
.arg(target)));
});
},

View file

@ -175,9 +175,10 @@ void TwitchAccount::ignoreByID(
.authorizeTwitchV5(this->getOAuthClient(), this->getOAuthToken())
.onError([=](NetworkResult result) {
onFinished(IgnoreResult_Failed,
"An unknown error occured while trying to ignore user " +
targetName + " (" +
QString::number(result.status()) + ")");
QString("An unknown error occurred while trying to "
"ignore user %1 (%2)")
.arg(targetName)
.arg(result.status()));
})
.onSuccess([=](auto result) -> Outcome {
auto document = result.parseRapidJson();
@ -253,7 +254,7 @@ void TwitchAccount::unignoreByID(
.onError([=](NetworkResult result) {
onFinished(
UnignoreResult_Failed,
"An unknown error occured while trying to unignore user " +
"An unknown error occurred while trying to unignore user " +
targetName + " (" + QString::number(result.status()) + ")");
})
.onSuccess([=](auto result) -> Outcome {

View file

@ -93,7 +93,7 @@ namespace {
}
else
{
qCWarning(chatterinoStreamlink) << "Error occured" << err;
qCWarning(chatterinoStreamlink) << "Error occurred" << err;
}
p->deleteLater();

View file

@ -97,7 +97,7 @@ BasicLoginWidget::BasicLoginWidget()
this->ui_.unableToOpenBrowserHelper.setWordWrap(true);
this->ui_.unableToOpenBrowserHelper.hide();
this->ui_.unableToOpenBrowserHelper.setText(
"An error occured while attempting to open <a href='" + logInLink +
"An error occurred while attempting to open <a href='" + logInLink +
"'>the log in link (" + logInLink + ")</a> " +
" - open it manually in your browser and proceed from there.");
this->ui_.unableToOpenBrowserHelper.setOpenExternalLinks(true);

View file

@ -103,7 +103,7 @@ void FiltersPage::tableCellClicked(const QModelIndex &clicked,
{
popup.setIcon(QMessageBox::Icon::Warning);
popup.setWindowTitle("Invalid filter");
popup.setText(QString("Parsing errors occured:"));
popup.setText(QString("Parsing errors occurred:"));
popup.setInformativeText(f.errors().join("\n"));
}