[pim/akonadi/release/26.08] src/core/jobs: Clarify ambiguous trash collection message

Allen Winter <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 8f9dfcdc185efbee836285c4fa9ad86b1b61dfd4 by Allen Winter, on behalf of Iñigo Salvador Azurmendi.
Committed on 27/07/2026 at 15:05.
Pushed by winterz into branch 'release/26.08'.

Clarify ambiguous trash collection message

## Summary

Backport the `TrashJob` message clarification to `release/26.08`.

## Context

The same ambiguous message exists in the stable branch:

> Move to trash collection failed, aborting trash operation

It can be interpreted either as moving a collection to the trash, or as moving an item or collection to the trash collection.

## Change

Reword the message as:

> Failed to move to the trash collection; aborting the trash operation

This matches the change already merged into `master`.

M  +1    -1    src/core/jobs/trashjob.cpp

https://invent.kde.org/pim/akonadi/-/commit/8f9dfcdc185efbee836285c4fa9ad86b1b61dfd4

diff --git a/src/core/jobs/trashjob.cpp b/src/core/jobs/trashjob.cpp
index c2a1cd62e..d7fcd1644 100644
--- a/src/core/jobs/trashjob.cpp
+++ b/src/core/jobs/trashjob.cpp
@@ -152,7 +152,7 @@ void TrashJobPrivate::setAttribute(KJob *job)
         qCWarning(AKONADICORE_LOG) << job->objectName();
         qCWarning(AKONADICORE_LOG) << job->errorString();
         q->setError(Job::Unknown);
-        q->setErrorText(i18n("Move to trash collection failed, aborting trash operation"));
+        q->setErrorText(i18n("Failed to move to the trash collection; aborting the trash operation"));
         return;
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.