From 8eb9e9b72a47311b54060b312e2d37d67e1f1ce5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9ven=20Car?= Date: Fri, 31 Jan 2020 13:51:33 +0100 Subject: [PATCH] Solid-device-automounter/kcm: Improve width of columns Summary: Make the "automatic login on..." columns thinner to give more room to the Peripheral column Test Plan: Before: {F8045703} After: {F8045704} Reviewers: ngraham, ervin, #plasma Reviewed By: ngraham, ervin Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D27053 --- solid-device-automounter/kcm/DeviceAutomounterKCM.ui | 2 +- solid-device-automounter/kcm/DeviceModel.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/solid-device-automounter/kcm/DeviceAutomounterKCM.ui b/solid-device-automounter/kcm/DeviceAutomounterKCM.ui index 35a0dfb61..61dd271e6 100644 --- a/solid-device-automounter/kcm/DeviceAutomounterKCM.ui +++ b/solid-device-automounter/kcm/DeviceAutomounterKCM.ui @@ -87,7 +87,7 @@ - Device Overrides + Automatic mount diff --git a/solid-device-automounter/kcm/DeviceModel.cpp b/solid-device-automounter/kcm/DeviceModel.cpp index 6b8f2dc39..6a48f581f 100644 --- a/solid-device-automounter/kcm/DeviceModel.cpp +++ b/solid-device-automounter/kcm/DeviceModel.cpp @@ -61,8 +61,8 @@ QVariant DeviceModel::headerData(int section, Qt::Orientation orientation, int r if (orientation == Qt::Horizontal && role == Qt::DisplayRole) { switch(section) { case 0: return i18n("Device"); - case 1: return i18n("Automount on Login"); - case 2: return i18n("Automount on Attach"); + case 1: return i18nc("As in automount on login", "On Login"); + case 2: return i18nc("As in automoount on attach", "On Attach"); } } return QVariant(); -- GitLab