From 3e8d7dc004f01336c91d62ce7b9712634b941ffe Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Tue, 12 Mar 2019 18:11:45 +0100 Subject: [PATCH] GUI index conf tool: improve messages. do not show wep page params under windows --- src/qtgui/confgui/confguiindex.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/qtgui/confgui/confguiindex.cpp b/src/qtgui/confgui/confguiindex.cpp index c767d71c..f94e533a 100644 --- a/src/qtgui/confgui/confguiindex.cpp +++ b/src/qtgui/confgui/confguiindex.cpp @@ -156,7 +156,7 @@ private: ConfIndexW::ConfIndexW(QWidget *parent, RclConfig *config) : QDialog(parent), m_rclconf(config) { - QString title("Recoll - Index Settings : "); + QString title(tr("Recoll - Index Settings: ")); title += QString::fromLocal8Bit(config->getConfDir().c_str()); setWindowTitle(title); tabWidget = new QTabWidget; @@ -221,10 +221,11 @@ void ConfIndexW::reloadPanels() m_widgets.push_back(w); tabWidget->addTab(w, QObject::tr("Local parameters")); +#ifndef _WIN32 w = new ConfBeaglePanelW(this, m_conf); m_widgets.push_back(w); tabWidget->addTab(w, QObject::tr("Web history")); - +#endif w = new ConfSearchPanelW(this, m_conf); m_widgets.push_back(w); tabWidget->addTab(w, QObject::tr("Search parameters")); @@ -518,12 +519,13 @@ ConfSubPanelW::ConfSubPanelW(QWidget *parent, ConfNull *config, vboxLayout->addWidget(line2); QLabel *explain = new QLabel(this); + explain->setWordWrap(true); explain->setText( QObject:: tr("The parameters that follow are set either at the " - "top level, if nothing
" + "top level, if nothing " "or an empty line is selected in the listbox above, " - "or for the selected subdirectory.
" + "or for the selected subdirectory. " "You can add or remove directories by clicking " "the +/- buttons.")); vboxLayout->addWidget(explain); @@ -673,7 +675,7 @@ ConfSubPanelW::ConfSubPanelW(QWidget *parent, ConfNull *config, ConfParamIntW *efiltmaxsecs = new ConfParamIntW( m_groupbox, ConfLink(new ConfLinkRclRep(config, "filtermaxseconds", &m_sk)), - tr("Max. filter exec. time (S)"), + tr("Max. filter exec. time (s)"), tr("External filters working longer than this will be " "aborted. This is for the rare case (ie: postscript) " "where a document could cause a filter to loop. "