Make message about unchanged translation status info instead of success #3029
Labels
🍼 good first issue
Good for newcomers
🔨 enhancement
This improves an existing feature
⁉️ prio: low
Not urgent, can be resolved in the distant future.
☺️ effort: low
Should be doable in <4h
Milestone
This issue is non-critical and as simple a one line change as it can get. We should reserve it for introducing newcomers to Integreat CMS and teaching about our core concepts and development and PR workflows. Please refrain from working on this if you already have an inkling about how any of this works.
Describe the Bug
In #2865, we added a bulk action to reset translations which are Currently in translation. Any of the translations that already didn't have that status before are reported to the user as a
success
message, since their intention has been reached. However, it is followed by anothersuccess
message about the translations whose status was changed, making it a bit confusing to read.It would be clearer if the message about the unchanged translations was only of the
info
type (displayed in blue).Steps to Reproduce
.zip
file will be downloaded. We can abort the download or delete itExpected Behavior
An
info
message (blue) about pages that weren't Currently in translation, followed by asuccess
message (green) about pages were the translation process was successfully cancelledActual Behavior
The first message about pages that weren't Currently in translation in the first place is also a
success
message and thus green, which makes it difficult to recognize both messages as separate.Additional Information
The text was updated successfully, but these errors were encountered: