┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilipp Kiemle <[email protected]>2025-11-18 18:52:54 +0000
committerMéven Car <[email protected]>2025-11-18 18:52:54 +0000
commit8bfd6cbc9035a28864c2a2238a28d144f69da9d2 (patch)
treeb2fc15efae289e0ac4a95e9afa1ceb5a19a44016 /src
parent2c53dd09f0e019991e655271587046fd04ef9499 (diff)
dolphinviewactionhandler: Add context to translatable string
"Sort By field" could be understood as an extra field that contains a "Sort By" value
Diffstat (limited to 'src')
-rw-r--r--src/views/dolphinviewactionhandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/views/dolphinviewactionhandler.cpp b/src/views/dolphinviewactionhandler.cpp
index b1ea88d33..f85539e71 100644
--- a/src/views/dolphinviewactionhandler.cpp
+++ b/src/views/dolphinviewactionhandler.cpp
@@ -390,10 +390,10 @@ QActionGroup *DolphinViewActionHandler::createFileItemRolesActionGroup(const QSt
KActionCategory *category;
if (isSortGroup) {
connect(rolesActionGroup, &QActionGroup::triggered, this, &DolphinViewActionHandler::slotSortTriggered);
- category = new KActionCategory(i18nc("item:intable", "Sort By field"), m_actionCollection);
+ category = new KActionCategory(i18nc("@item:intable, Heading of a list of fields", "Sort by Field"), m_actionCollection);
} else {
connect(rolesActionGroup, &QActionGroup::triggered, this, &DolphinViewActionHandler::toggleVisibleRole);
- category = new KActionCategory(i18nc("item:intable", "Show Field"), m_actionCollection);
+ category = new KActionCategory(i18nc("@item:intable, Heading of a list of fields", "Show Field"), m_actionCollection);
}
QString groupName;
@@ -438,7 +438,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)
+ 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->setData(info.role);