mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Added quotation marks in the permitted/blocked Automod messages (#3654)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
This commit is contained in:
parent
870aa74427
commit
bfb024b1e7
2 changed files with 5 additions and 4 deletions
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
## Unversioned
|
## Unversioned
|
||||||
|
|
||||||
|
- Minor: Added quotation marks in the permitted/blocked Automod messages for clarity. (#3654)
|
||||||
- Bugfix: Fixed live notifications for usernames containing uppercase characters. (#3646)
|
- Bugfix: Fixed live notifications for usernames containing uppercase characters. (#3646)
|
||||||
|
|
||||||
## 2.3.5
|
## 2.3.5
|
||||||
|
|
|
@ -403,25 +403,25 @@ MessageBuilder::MessageBuilder(const AutomodUserAction &action)
|
||||||
switch (action.type)
|
switch (action.type)
|
||||||
{
|
{
|
||||||
case AutomodUserAction::AddPermitted: {
|
case AutomodUserAction::AddPermitted: {
|
||||||
text = QString("%1 added %2 as a permitted term on AutoMod.")
|
text = QString("%1 added \"%2\" as a permitted term on AutoMod.")
|
||||||
.arg(action.source.login, action.message);
|
.arg(action.source.login, action.message);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case AutomodUserAction::AddBlocked: {
|
case AutomodUserAction::AddBlocked: {
|
||||||
text = QString("%1 added %2 as a blocked term on AutoMod.")
|
text = QString("%1 added \"%2\" as a blocked term on AutoMod.")
|
||||||
.arg(action.source.login, action.message);
|
.arg(action.source.login, action.message);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case AutomodUserAction::RemovePermitted: {
|
case AutomodUserAction::RemovePermitted: {
|
||||||
text = QString("%1 removed %2 as a permitted term on AutoMod.")
|
text = QString("%1 removed \"%2\" as a permitted term on AutoMod.")
|
||||||
.arg(action.source.login, action.message);
|
.arg(action.source.login, action.message);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case AutomodUserAction::RemoveBlocked: {
|
case AutomodUserAction::RemoveBlocked: {
|
||||||
text = QString("%1 removed %2 as a blocked term on AutoMod.")
|
text = QString("%1 removed \"%2\" as a blocked term on AutoMod.")
|
||||||
.arg(action.source.login, action.message);
|
.arg(action.source.login, action.message);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue