[MIRROR] Combined soundadd/sounddel and imageadd/imagedel [MDB IGNORE] (#20685)

* Combined soundadd/sounddel and imageadd/imagedel (#74865)

## About The Pull Request
Combines
```
soundadd: added a new sound thingy
sounddel: removed an old sound thingy
```
into "sound," and
```
imageadd: added some icons and images
imagedel: deleted some icons and images
```
into "image" in the changelog.

I don't think we need to have both; `sound` and `image` can represent
any kind of change to their respective medium.

---------

Co-authored-by: tattle <article.disaster@ gmail.com>

* Combined soundadd/sounddel and imageadd/imagedel

---------

Co-authored-by: tattle <66640614+dragomagol@users.noreply.github.com>
Co-authored-by: tattle <article.disaster@ gmail.com>
This commit is contained in:
SkyratBot
2023-04-21 22:43:04 +02:00
committed by GitHub
parent 3a6bf9763e
commit 3bffb503f0
3 changed files with 10 additions and 38 deletions

View File

@@ -708,17 +708,11 @@ function checkchangelog($payload) {
$tags[] = 'Quality of Life';
}
break;
case 'soundadd':
if($item != 'added a new sound thingy') {
case 'sound':
if($item != 'added/modified/removed audio or sound effects') {
$tags[] = 'Sound';
}
break;
case 'sounddel':
if($item != 'removed an old sound thingy') {
$tags[] = 'Sound';
$tags[] = 'Removal';
}
break;
case 'add':
case 'adds':
case 'rscadd':
@@ -733,17 +727,11 @@ function checkchangelog($payload) {
$tags[] = 'Removal';
}
break;
case 'imageadd':
if($item != 'added some icons and images') {
case 'image':
if($item != 'added/modified/removed some icons or images') {
$tags[] = 'Sprites';
}
break;
case 'imagedel':
if($item != 'deleted some icons and images') {
$tags[] = 'Sprites';
$tags[] = 'Removal';
}
break;
case 'typo':
case 'spellcheck':
if($item != 'fixed a few typos') {