diff options
| author | Philipp Kiemle <[email protected]> | 2025-11-18 18:52:54 +0000 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2025-11-18 18:52:54 +0000 |
| commit | 8bfd6cbc9035a28864c2a2238a28d144f69da9d2 (patch) | |
| tree | b2fc15efae289e0ac4a95e9afa1ceb5a19a44016 /src/views | |
| parent | 2c53dd09f0e019991e655271587046fd04ef9499 (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/views')
| -rw-r--r-- | src/views/dolphinviewactionhandler.cpp | 6 |
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); |
