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, target]() {
|
||||||
channel->addMessage(makeSystemMessage(
|
channel->addMessage(makeSystemMessage(
|
||||||
QString("User %1 could not be followed, an unknown "
|
QString("User %1 could not be followed, an unknown "
|
||||||
"error occured!")
|
"error occurred!")
|
||||||
.arg(target)));
|
.arg(target)));
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
|
@ -175,9 +175,10 @@ void TwitchAccount::ignoreByID(
|
||||||
.authorizeTwitchV5(this->getOAuthClient(), this->getOAuthToken())
|
.authorizeTwitchV5(this->getOAuthClient(), this->getOAuthToken())
|
||||||
.onError([=](NetworkResult result) {
|
.onError([=](NetworkResult result) {
|
||||||
onFinished(IgnoreResult_Failed,
|
onFinished(IgnoreResult_Failed,
|
||||||
"An unknown error occured while trying to ignore user " +
|
QString("An unknown error occurred while trying to "
|
||||||
targetName + " (" +
|
"ignore user %1 (%2)")
|
||||||
QString::number(result.status()) + ")");
|
.arg(targetName)
|
||||||
|
.arg(result.status()));
|
||||||
})
|
})
|
||||||
.onSuccess([=](auto result) -> Outcome {
|
.onSuccess([=](auto result) -> Outcome {
|
||||||
auto document = result.parseRapidJson();
|
auto document = result.parseRapidJson();
|
||||||
|
@ -253,7 +254,7 @@ void TwitchAccount::unignoreByID(
|
||||||
.onError([=](NetworkResult result) {
|
.onError([=](NetworkResult result) {
|
||||||
onFinished(
|
onFinished(
|
||||||
UnignoreResult_Failed,
|
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()) + ")");
|
targetName + " (" + QString::number(result.status()) + ")");
|
||||||
})
|
})
|
||||||
.onSuccess([=](auto result) -> Outcome {
|
.onSuccess([=](auto result) -> Outcome {
|
||||||
|
|
|
@ -93,7 +93,7 @@ namespace {
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
qCWarning(chatterinoStreamlink) << "Error occured" << err;
|
qCWarning(chatterinoStreamlink) << "Error occurred" << err;
|
||||||
}
|
}
|
||||||
|
|
||||||
p->deleteLater();
|
p->deleteLater();
|
||||||
|
|
|
@ -97,7 +97,7 @@ BasicLoginWidget::BasicLoginWidget()
|
||||||
this->ui_.unableToOpenBrowserHelper.setWordWrap(true);
|
this->ui_.unableToOpenBrowserHelper.setWordWrap(true);
|
||||||
this->ui_.unableToOpenBrowserHelper.hide();
|
this->ui_.unableToOpenBrowserHelper.hide();
|
||||||
this->ui_.unableToOpenBrowserHelper.setText(
|
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> " +
|
"'>the log in link (" + logInLink + ")</a> " +
|
||||||
" - open it manually in your browser and proceed from there.");
|
" - open it manually in your browser and proceed from there.");
|
||||||
this->ui_.unableToOpenBrowserHelper.setOpenExternalLinks(true);
|
this->ui_.unableToOpenBrowserHelper.setOpenExternalLinks(true);
|
||||||
|
|
|
@ -103,7 +103,7 @@ void FiltersPage::tableCellClicked(const QModelIndex &clicked,
|
||||||
{
|
{
|
||||||
popup.setIcon(QMessageBox::Icon::Warning);
|
popup.setIcon(QMessageBox::Icon::Warning);
|
||||||
popup.setWindowTitle("Invalid filter");
|
popup.setWindowTitle("Invalid filter");
|
||||||
popup.setText(QString("Parsing errors occured:"));
|
popup.setText(QString("Parsing errors occurred:"));
|
||||||
popup.setInformativeText(f.errors().join("\n"));
|
popup.setInformativeText(f.errors().join("\n"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue