]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/admin/bar.cpp
Use m-dash instead of a hyphen
[dolphin.git] / src / admin / bar.cpp
index 2b65127f6336c4ec184d742d1336b643dddfe88b..f2e7250ada999d2ddf3f74418ab297e132df0269 100644 (file)
@@ -32,7 +32,7 @@ Bar::Bar(QWidget *parent)
 
     QWidget *contenntsContainer = prepareContentsContainer();
 
-    m_fullLabelString = i18nc("@info label above the view explaining the state", "Acting as an Administrator â\80\93 Be careful!");
+    m_fullLabelString = i18nc("@info label above the view explaining the state", "Acting as an Administrator â\80\94 Be careful!");
     m_shortLabelString = i18nc("@info label above the view explaining the state, keep short", "Acting as Admin");
     m_label = new QLabel(contenntsContainer);
     m_label->setMinimumWidth(0);
@@ -41,8 +41,10 @@ Bar::Bar(QWidget *parent)
     m_warningButton = new KContextualHelpButton(warningMessage(), nullptr, contenntsContainer);
     m_warningButton->setIcon(QIcon::fromTheme(QStringLiteral("emblem-warning")));
 
-    m_closeButton = new QPushButton(QIcon::fromTheme(QStringLiteral("window-close-symbolic")), "", contenntsContainer);
-    m_closeButton->setToolTip(i18nc("@action:button", "Stop Acting as an Administrator"));
+    m_closeButton = new QPushButton(QIcon::fromTheme(QStringLiteral("window-close-symbolic")),
+                                    i18nc("@action:button Finish/Stop/Done acting as an admin", "Finish"),
+                                    contenntsContainer);
+    m_closeButton->setToolTip(i18nc("@info:tooltip", "Finish acting as an administrator"));
     m_closeButton->setFlat(true);
     connect(m_closeButton, &QAbstractButton::clicked, this, &Bar::activated); // Make sure the view connected to this bar is active before exiting admin mode.
     connect(m_closeButton, &QAbstractButton::clicked, this, &WorkerIntegration::exitAdminMode);