mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Fixed some spelling mistakes across files (#2367)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
parent
cfcac99ae6
commit
e48937e0aa
5 changed files with 9 additions and 8 deletions
|
@ -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)));
|
||||
});
|
||||
},
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -93,7 +93,7 @@ namespace {
|
|||
}
|
||||
else
|
||||
{
|
||||
qCWarning(chatterinoStreamlink) << "Error occured" << err;
|
||||
qCWarning(chatterinoStreamlink) << "Error occurred" << err;
|
||||
}
|
||||
|
||||
p->deleteLater();
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue