mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
Add missing i18n call
The string was already part of dolphin but was not exposed for translation. BUG: 394194
This commit is contained in:
parent
ac9e3f9295
commit
2e1cc199c3
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue