diff --git a/resources/i18n/en.json b/resources/i18n/en.json index 96f5142..39063ed 100644 --- a/resources/i18n/en.json +++ b/resources/i18n/en.json @@ -10,6 +10,7 @@ "local-kiwix-server":"Local Kiwix Server", "random-article":"Random Article", "home-page":"Home page", + "main-menu":"Main menu", "print":"Print", "new-tab":"New tab", "close-tab":"Close tab", diff --git a/src/searchbar.cpp b/src/searchbar.cpp index eca5c6d..e7d53dc 100644 --- a/src/searchbar.cpp +++ b/src/searchbar.cpp @@ -65,6 +65,7 @@ SearchBar::SearchBar(QWidget *parent) : mp_typingTimer = new QTimer(this); mp_typingTimer->setSingleShot(true); setPlaceholderText(gt("search")); + setToolTip(gt("search")); m_completer.setCompletionMode(QCompleter::UnfilteredPopupCompletion); m_completer.setCaseSensitivity(Qt::CaseInsensitive); m_completer.setMaxVisibleItems(16); diff --git a/src/topwidget.cpp b/src/topwidget.cpp index dff4b5f..c3945c1 100644 --- a/src/topwidget.cpp +++ b/src/topwidget.cpp @@ -42,6 +42,7 @@ TopWidget::TopWidget(QWidget *parent) : QAction* menuAction = new QAction(this); menuAction->setIcon(QIcon(":/icons/more.svg")); menuAction->setMenu(menu); + menuAction->setToolTip(gt("main-menu")); addAction(menuAction); setContextMenuPolicy( Qt::PreventContextMenu );