From 8827cc92c53422f2c3cf292557c998c9c8e26b57 Mon Sep 17 00:00:00 2001 From: Oliver Schramm Date: Wed, 7 Jan 2026 12:47:56 +0100 Subject: viewactionhandler: remove duplicate Sort by: text 222c8eb5 has accidentally reverted 4deeb7bc. This re-applies this. --- src/views/dolphinviewactionhandler.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/views/dolphinviewactionhandler.cpp b/src/views/dolphinviewactionhandler.cpp index 99d3e0111..7317ca79c 100644 --- a/src/views/dolphinviewactionhandler.cpp +++ b/src/views/dolphinviewactionhandler.cpp @@ -439,8 +439,7 @@ QActionGroup *DolphinViewActionHandler::createFileItemRolesActionGroup(const QSt action->setActionGroup(groupMenuGroup); groupMenu->addAction(action); } - action->setText(isSortGroup ? i18nc("@action:intoolbar as in sort by file attribute", "Sort by: %1", info.translation) - : i18nc("@action:intoolbar as in show field for file attribute", "Show Field: %1", info.translation)); + action->setText(info.translation); action->setData(info.role); const bool enable = (!info.requiresBaloo && !info.requiresIndexer) || (info.requiresBaloo) || (info.requiresIndexer && indexingEnabled); -- cgit v1.3