[pim/kmail] src: Add i18n
Laurent Montel <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 5f51b9d87521347061a0c58c458920aa20317099 by Laurent Montel.
Committed on 24/07/2026 at 06:48.
Pushed by mlaurent into branch 'master'.
Add i18n
M +1 -2 src/undostack.cpp
M +1 -0 src/undostack.h
https://invent.kde.org/pim/kmail/-/commit/5f51b9d87521347061a0c58c458920aa20317099
diff --git a/src/undostack.cpp b/src/undostack.cpp
index f81b6ada0..a9eb3ad99 100644
--- a/src/undostack.cpp
+++ b/src/undostack.cpp
@@ -126,8 +126,7 @@ UndoInfoChangeStatusItems::~UndoInfoChangeStatusItems() = default;
QString UndoInfoChangeStatusItems::undoInfo() const
{
- // TODO
- return {};
+ return i18n("Change Message Status");
}
void UndoInfoChangeStatusItems::undo()
diff --git a/src/undostack.h b/src/undostack.h
index 4c0ae6619..f42652427 100644
--- a/src/undostack.h
+++ b/src/undostack.h
@@ -38,6 +38,7 @@ public:
~UndoInfoChangeStatusItems() override;
[[nodiscard]] QString undoInfo() const override;
void undo() override;
+ Akonadi::Item::List items;
};
/** A class for storing Undo information. */