From: Melanie Genz Date: Sun, 13 May 2018 11:23:58 +0000 (+0200) Subject: Add missing i18n call X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/2e1cc199c3c2ef2eea5abd630821f80dfc9e0b16?ds=sidebyside;hp=--cc Add missing i18n call The string was already part of dolphin but was not exposed for translation. BUG: 394194 --- 2e1cc199c3c2ef2eea5abd630821f80dfc9e0b16 diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index dc9b4538f..bf8ac8812 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -90,7 +90,7 @@ DolphinViewContainer::DolphinViewContainer(const QUrl& url, QWidget* parent) : KUrlComboBox* editor = m_urlNavigator->editor(); editor->setCompletionMode(KCompletion::CompletionMode(settings->urlCompletionMode())); - m_emptyTrashButton = new QPushButton(QIcon::fromTheme(QStringLiteral("user-trash")), "&Empty Trash", this); + m_emptyTrashButton = new QPushButton(QIcon::fromTheme(QStringLiteral("user-trash")), i18nc("@action:button", "Empty Trash"), this); m_emptyTrashButton->setFlat(true); connect(m_emptyTrashButton, &QPushButton::clicked, this, [this]() { Trash::empty(this); }); connect(&Trash::instance(), &Trash::emptinessChanged, m_emptyTrashButton, &QPushButton::setDisabled);