From 293b49aecba4807dfdce317938f06c2a9f4b86d0 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Date: Mon, 26 Oct 2009 19:59:16 +0100 Subject: [PATCH] improve messages --- src/plugins/debugger/debuggermanager.cpp | 11 +++++------ src/plugins/debugger/gdb/gdbengine.cpp | 2 +- src/plugins/debugger/watchutils.cpp | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/plugins/debugger/debuggermanager.cpp b/src/plugins/debugger/debuggermanager.cpp index a90cb2bbfbc..1091b031adf 100644 --- a/src/plugins/debugger/debuggermanager.cpp +++ b/src/plugins/debugger/debuggermanager.cpp @@ -1483,20 +1483,19 @@ void DebuggerManager::showQtDumperLibraryWarning(const QString &details) QMessageBox dialog(mainWindow()); QPushButton *qtPref = dialog.addButton(tr("Open Qt preferences"), QMessageBox::ActionRole); - QPushButton *helperOff = dialog.addButton(tr("Turn helper usage off"), + QPushButton *helperOff = dialog.addButton(tr("Turn off helper usage"), QMessageBox::ActionRole); QPushButton *justContinue = dialog.addButton(tr("Continue anyway"), QMessageBox::AcceptRole); dialog.setDefaultButton(justContinue); dialog.setWindowTitle(tr("Debugging helper missing")); - dialog.setText(tr("The debugger did not find the debugging helper library.")); + dialog.setText(tr("The debugger could not load the debugging helper library.")); dialog.setInformativeText(tr( "The debugging helper is used to nicely format the values of some Qt " "and Standard Library data types. " - "It must be compiled for each Qt version which " - "you can do in the Qt preferences page by selecting " - "a Qt installation and clicking on 'Rebuild' for the debugging " - "helper.")); + "It must be compiled for each used Qt version separately. " + "This can be done in the Qt preferences page by selecting a Qt installation " + "and clicking on 'Rebuild' in the 'Debugging Helper' row.")); if (!details.isEmpty()) dialog.setDetailedText(details); dialog.exec(); diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index 8980ccec838..88defc4e9d1 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -3785,7 +3785,7 @@ void GdbEngine::tryLoadDebuggingHelpers() const QFileInfo fi(lib); if (!fi.exists()) { const QString loc = locations.join(QLatin1String(", ")); - const QString msg = tr("The dumper library was not found at %1.").arg(loc); + const QString msg = tr("The debugging helper library was not found at %1.").arg(loc); debugMessage(msg); manager()->showQtDumperLibraryWarning(msg); return; diff --git a/src/plugins/debugger/watchutils.cpp b/src/plugins/debugger/watchutils.cpp index 3e18cd43f7d..1e1137694fd 100644 --- a/src/plugins/debugger/watchutils.cpp +++ b/src/plugins/debugger/watchutils.cpp @@ -755,7 +755,7 @@ void QtDumperHelper::clear() QString QtDumperHelper::msgDumperOutdated(double requiredVersion, double currentVersion) { return QCoreApplication::translate("QtDumperHelper", - "Found a too-old version of the debugging helper library (%1); version %2 is required."). + "Found an outdated version of the debugging helper library (%1); version %2 is required."). arg(currentVersion).arg(requiredVersion); } -- GitLab