From f1889864db05a7944d0c62db8c8477fcc2bc7d33 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Tue, 21 Jun 2011 17:07:45 +0200 Subject: [PATCH] UI text: check capitalization and tooltips Change-Id: I3686ac83e5fdc009b03e84ab3c7b24a052d119c4 Reviewed-on: http://codereview.qt.nokia.com/569 Reviewed-by: Qt Sanity Bot Reviewed-by: Friedemann Kleint --- src/libs/extensionsystem/pluginspec.cpp | 2 +- src/plugins/analyzerbase/startremotedialog.ui | 8 ++++---- src/plugins/bazaar/bazaarcommitpanel.ui | 2 +- src/plugins/bazaar/cloneoptionspanel.ui | 12 ++++++------ src/plugins/bazaar/optionspage.ui | 2 +- src/plugins/bazaar/pullorpushdialog.ui | 12 ++++++------ src/plugins/coreplugin/editormanager/editormanager.cpp | 4 ++-- src/plugins/coreplugin/generalsettings.ui | 8 ++++---- src/plugins/coreplugin/mimetypemagicdialog.ui | 2 +- src/plugins/coreplugin/mimetypesettingspage.ui | 2 +- src/plugins/cpptools/completionsettingspage.ui | 2 +- src/plugins/debugger/cdb/cdboptionspage.cpp | 4 ++-- src/plugins/debugger/commonoptionspage.ui | 10 +++++----- src/plugins/debugger/dumperoptionpage.ui | 2 +- src/plugins/debugger/gdb/abstractgdbadapter.cpp | 2 +- src/plugins/debugger/startremotedialog.ui | 2 +- src/plugins/fakevim/fakevimoptions.ui | 2 +- src/plugins/help/generalsettingspage.cpp | 2 +- src/plugins/perforce/perforceplugin.cpp | 2 +- src/plugins/qt4projectmanager/makestep.cpp | 6 +++--- src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp | 10 +++++----- .../qt-s60/s60publishingbuildsettingspageovi.cpp | 4 ++-- src/plugins/qt4projectmanager/qt4nodes.cpp | 4 ++-- src/plugins/qt4projectmanager/qt4target.cpp | 6 +++--- src/plugins/remotelinux/maemopublisherfremantlefree.cpp | 12 ++++++------ src/plugins/valgrind/callgrindconfigwidget.ui | 12 ++++++------ src/plugins/vcsbase/vcsbasesubmiteditor.cpp | 2 +- 27 files changed, 69 insertions(+), 69 deletions(-) diff --git a/src/libs/extensionsystem/pluginspec.cpp b/src/libs/extensionsystem/pluginspec.cpp index 0344940596..8ae4914c97 100644 --- a/src/libs/extensionsystem/pluginspec.cpp +++ b/src/libs/extensionsystem/pluginspec.cpp @@ -490,7 +490,7 @@ bool PluginSpecPrivate::read(const QString &fileName) dependencies.clear(); QFile file(fileName); if (!file.open(QIODevice::ReadOnly)) - return reportError(tr("Could not open file %1 for read: %2") + return reportError(tr("Cannot open file %1 for reading: %2") .arg(QDir::toNativeSeparators(file.fileName()), file.errorString())); QFileInfo fileInfo(file); location = fileInfo.absolutePath(); diff --git a/src/plugins/analyzerbase/startremotedialog.ui b/src/plugins/analyzerbase/startremotedialog.ui index aab423947d..d141317428 100644 --- a/src/plugins/analyzerbase/startremotedialog.ui +++ b/src/plugins/analyzerbase/startremotedialog.ui @@ -52,7 +52,7 @@ - You need to pass either a password or a SSH Key. + You need to pass either a password or an SSH key. Password: @@ -95,10 +95,10 @@ - You need to pass either a password or a SSH Key. + You need to pass either a password or an SSH key. - Private Key: + Private key: @@ -137,7 +137,7 @@ - Working Directory: + Working directory: diff --git a/src/plugins/bazaar/bazaarcommitpanel.ui b/src/plugins/bazaar/bazaarcommitpanel.ui index dc07abe9e9..1a57ceffa7 100644 --- a/src/plugins/bazaar/bazaarcommitpanel.ui +++ b/src/plugins/bazaar/bazaarcommitpanel.ui @@ -38,7 +38,7 @@ Perform a local commit in a bound branch. -Local commits are not pushed to the master branch until a normal commit is performed +Local commits are not pushed to the master branch until a normal commit is performed. Local commit diff --git a/src/plugins/bazaar/cloneoptionspanel.ui b/src/plugins/bazaar/cloneoptionspanel.ui index 55ae024b6d..2d08db91e6 100644 --- a/src/plugins/bazaar/cloneoptionspanel.ui +++ b/src/plugins/bazaar/cloneoptionspanel.ui @@ -39,7 +39,7 @@ By default, branch will fail if the target directory exists, but does not already have a control directory. -This flag will allow branch to proceed +This flag will allow branch to proceed. Use existing directory @@ -50,7 +50,7 @@ This flag will allow branch to proceed Create a stacked branch referring to the source branch. -The new branch will depend on the availability of the source branch for all operations +The new branch will depend on the availability of the source branch for all operations. Stacked @@ -60,7 +60,7 @@ The new branch will depend on the availability of the source branch for all oper - Do not use a shared repository, even if available + Do not use a shared repository, even if available. Standalone @@ -77,7 +77,7 @@ The new branch will depend on the availability of the source branch for all oper - Switch the checkout in the current directory to the new branch + Switch the checkout in the current directory to the new branch. Switch checkout @@ -87,7 +87,7 @@ The new branch will depend on the availability of the source branch for all oper - Hard-link working tree files where possible + Hard-link working tree files where possible. Hardlink @@ -97,7 +97,7 @@ The new branch will depend on the availability of the source branch for all oper - Create a branch without a working-tree + Create a branch without a working-tree. No working-tree diff --git a/src/plugins/bazaar/optionspage.ui b/src/plugins/bazaar/optionspage.ui index d1a0c0dca3..069cfdb538 100644 --- a/src/plugins/bazaar/optionspage.ui +++ b/src/plugins/bazaar/optionspage.ui @@ -92,7 +92,7 @@ - The number of recent commit logs to show, choose 0 to see all enteries + The number of recent commit logs to show. Choose 0 to see all entries. 1000 diff --git a/src/plugins/bazaar/pullorpushdialog.ui b/src/plugins/bazaar/pullorpushdialog.ui index 4bae81b36b..624265764e 100644 --- a/src/plugins/bazaar/pullorpushdialog.ui +++ b/src/plugins/bazaar/pullorpushdialog.ui @@ -47,7 +47,7 @@ - for example https://[user[:pass]@]host[:port]/[path] + For example: https://[user[:pass]@]host[:port]/[path] Specify URL: @@ -60,7 +60,7 @@ false - for example https://[user[:pass]@]host[:port]/[path] + For example: https://[user[:pass]@]host[:port]/[path] @@ -87,7 +87,7 @@ Ignore differences between branches and overwrite -unconditionally +unconditionally. Overwrite @@ -98,7 +98,7 @@ unconditionally By default, push will fail if the target directory exists, but does not already have a control directory. -This flag will allow push to proceed +This flag will allow push to proceed. Use existing directory @@ -108,7 +108,7 @@ This flag will allow push to proceed - Create the path leading up to the branch if it does not already exist + Create the path leading up to the branch if it does not already exist. Create prefix @@ -129,7 +129,7 @@ This flag will allow push to proceed Perform a local pull in a bound branch. -Local pulls are not applied to the master branch +Local pulls are not applied to the master branch. Local diff --git a/src/plugins/coreplugin/editormanager/editormanager.cpp b/src/plugins/coreplugin/editormanager/editormanager.cpp index 0460f37ee7..bb471a2f29 100644 --- a/src/plugins/coreplugin/editormanager/editormanager.cpp +++ b/src/plugins/coreplugin/editormanager/editormanager.cpp @@ -1469,7 +1469,7 @@ EditorManager::makeFileWritable(IFile *file) switch (FileManager::promptReadOnlyFile(fileName, versionControl, m_d->m_core->mainWindow(), file->isSaveAsAllowed())) { case FileManager::RO_OpenVCS: if (!versionControl->vcsOpen(fileName)) { - QMessageBox::warning(m_d->m_core->mainWindow(), tr("Failed!"), tr("Could not open the file for editing with SCC.")); + QMessageBox::warning(m_d->m_core->mainWindow(), tr("Cannot Open File"), tr("Cannot open the file for editing with SCC.")); return Failed; } file->checkPermissions(); @@ -1477,7 +1477,7 @@ EditorManager::makeFileWritable(IFile *file) case FileManager::RO_MakeWriteable: { const bool permsOk = QFile::setPermissions(fileName, QFile::permissions(fileName) | QFile::WriteUser); if (!permsOk) { - QMessageBox::warning(m_d->m_core->mainWindow(), tr("Failed!"), tr("Could not set permissions to writable.")); + QMessageBox::warning(m_d->m_core->mainWindow(), tr("Cannot Set Permissions"), tr("Cannot set permissions to writable.")); return Failed; } } diff --git a/src/plugins/coreplugin/generalsettings.ui b/src/plugins/coreplugin/generalsettings.ui index 52b386b1bb..82398e3e19 100644 --- a/src/plugins/coreplugin/generalsettings.ui +++ b/src/plugins/coreplugin/generalsettings.ui @@ -78,7 +78,7 @@ - Reset to default + Reset to default. Reset @@ -196,7 +196,7 @@ - Reset to default + Reset to default. Reset @@ -206,7 +206,7 @@ - Reset to default + Reset to default. Reset @@ -218,7 +218,7 @@ - If checked, temporary copies of modified files will be created automatically. If Qt Creator is restarted after a crash or power failure, it will ask whether the auto-saved content should be recovered. + Automatically create temporary copies of modified files. If Qt Creator is restarted after a crash or power failure, it asks whether to recover the auto-saved content. Auto-save modified files diff --git a/src/plugins/coreplugin/mimetypemagicdialog.ui b/src/plugins/coreplugin/mimetypemagicdialog.ui index 3da4ddbeaf..0976d1ad27 100644 --- a/src/plugins/coreplugin/mimetypemagicdialog.ui +++ b/src/plugins/coreplugin/mimetypemagicdialog.ui @@ -149,7 +149,7 @@ false - <i>Note: Wide range values might impact on Qt Creator's performance when opening files.</i> + <i>Note: Wide range values might impact Qt Creator's performance when opening files.</i> Qt::RichText diff --git a/src/plugins/coreplugin/mimetypesettingspage.ui b/src/plugins/coreplugin/mimetypesettingspage.ui index 29dab60049..dce4311631 100644 --- a/src/plugins/coreplugin/mimetypesettingspage.ui +++ b/src/plugins/coreplugin/mimetypesettingspage.ui @@ -33,7 +33,7 @@ - Reset all to default + Reset all to default. Reset All diff --git a/src/plugins/cpptools/completionsettingspage.ui b/src/plugins/cpptools/completionsettingspage.ui index d2ec0b0817..8570db4d0d 100644 --- a/src/plugins/cpptools/completionsettingspage.ui +++ b/src/plugins/cpptools/completionsettingspage.ui @@ -107,7 +107,7 @@ - Automatically insert (, ) and ; when appropriate. + Automatically insert brackets and semicolons when appropriate. &Automatically insert brackets diff --git a/src/plugins/debugger/cdb/cdboptionspage.cpp b/src/plugins/debugger/cdb/cdboptionspage.cpp index c6f95806f9..ae243a53cf 100644 --- a/src/plugins/debugger/cdb/cdboptionspage.cpp +++ b/src/plugins/debugger/cdb/cdboptionspage.cpp @@ -62,9 +62,9 @@ const EventsDescription eventDescriptions[] = {"et", false, QT_TRANSLATE_NOOP("Debugger::Cdb::CdbBreakEventWidget", "Thread exit")}, {"ld", true, QT_TRANSLATE_NOOP("Debugger::Cdb::CdbBreakEventWidget", - "Load Module:")}, + "Load module:")}, {"ud", true, QT_TRANSLATE_NOOP("Debugger::Cdb::CdbBreakEventWidget", - "Unload Module:")}, + "Unload module:")}, {"out", true, QT_TRANSLATE_NOOP("Debugger::Cdb::CdbBreakEventWidget", "Output:")} }; diff --git a/src/plugins/debugger/commonoptionspage.ui b/src/plugins/debugger/commonoptionspage.ui index 2051f59f5a..3e40c11c90 100644 --- a/src/plugins/debugger/commonoptionspage.ui +++ b/src/plugins/debugger/commonoptionspage.ui @@ -26,12 +26,12 @@ + + Change the font size in the debugger views when the font size in the main editor changes. + Debugger font size follows main editor - - Selecting this results in font size changes in the debugger views whenever the font size in the main editor changes. - @@ -44,7 +44,7 @@ - Checking this will populate the source file view automatically but might slow down debugger startup considerably. + Populate the source file view automatically. This might slow down debugger startup considerably. Populate source file view automatically @@ -90,7 +90,7 @@ - Maximal stack depth: + Maximum stack depth: diff --git a/src/plugins/debugger/dumperoptionpage.ui b/src/plugins/debugger/dumperoptionpage.ui index ff71eb9f69..eb8c227ff4 100644 --- a/src/plugins/debugger/dumperoptionpage.ui +++ b/src/plugins/debugger/dumperoptionpage.ui @@ -15,7 +15,7 @@ <html><head/><body> -<p>The debugging helper is only used to produce a nice display of objects of certain types like QString or std::map in the &quot;Locals and Watchers&quot; view. It is not strictly necessary for debugging with Qt Creator. </p></body></html> +<p>The debugging helper is only used to produce a nice display of objects of certain types like QString or std::map in the &quot;Locals and Expressions&quot; view. It is not strictly necessary for debugging with Qt Creator. </p></body></html> Qt::AutoText diff --git a/src/plugins/debugger/gdb/abstractgdbadapter.cpp b/src/plugins/debugger/gdb/abstractgdbadapter.cpp index aa7fc7e02d..d465eb3e22 100644 --- a/src/plugins/debugger/gdb/abstractgdbadapter.cpp +++ b/src/plugins/debugger/gdb/abstractgdbadapter.cpp @@ -90,7 +90,7 @@ bool AbstractGdbAdapter::prepareCommand() // perr == BadQuoting is never returned on Windows // FIXME? QTCREATORBUG-2809 m_engine->handleAdapterStartFailed(QCoreApplication::translate("DebuggerEngine", // Same message in CdbEngine - "Debugging complex command lines is currently not supported under Windows"), QString()); + "Debugging complex command lines is currently not supported on Windows."), QString()); return false; } #endif diff --git a/src/plugins/debugger/startremotedialog.ui b/src/plugins/debugger/startremotedialog.ui index 12e03cd4bb..d975dab15e 100644 --- a/src/plugins/debugger/startremotedialog.ui +++ b/src/plugins/debugger/startremotedialog.ui @@ -109,7 +109,7 @@ - Override S&tart script: + Override s&tart script: overrideStartScriptPathChooser diff --git a/src/plugins/fakevim/fakevimoptions.ui b/src/plugins/fakevim/fakevimoptions.ui index 3142a28de4..9045b3f9f3 100644 --- a/src/plugins/fakevim/fakevimoptions.ui +++ b/src/plugins/fakevim/fakevimoptions.ui @@ -83,7 +83,7 @@ - Checking this box passes key sequences like Ctrl-S to the Creator core instead of interpreting them in FakeVim. This gives easier access to Creator core functionality at the price of losing some features of FakeVim. + Pass key sequences like Ctrl-S to Qt Creator core instead of interpreting them in FakeVim. This gives easier access to Qt Creator core functionality at the price of losing some features of FakeVim. Pass control key diff --git a/src/plugins/help/generalsettingspage.cpp b/src/plugins/help/generalsettingspage.cpp index 214ce8449f..cb1b90ea04 100644 --- a/src/plugins/help/generalsettingspage.cpp +++ b/src/plugins/help/generalsettingspage.cpp @@ -255,7 +255,7 @@ void GeneralSettingsPage::importBookmarks() } m_ui->errorLabel->setVisible(true); - m_ui->errorLabel->setText(tr("There was an error while importing bookmarks!")); + m_ui->errorLabel->setText(tr("Cannot import bookmarks.")); } void GeneralSettingsPage::exportBookmarks() diff --git a/src/plugins/perforce/perforceplugin.cpp b/src/plugins/perforce/perforceplugin.cpp index c793f77a74..554a3c5d5a 100644 --- a/src/plugins/perforce/perforceplugin.cpp +++ b/src/plugins/perforce/perforceplugin.cpp @@ -1356,7 +1356,7 @@ bool PerforcePlugin::submitEditorAboutToClose(VCSBase::VCSBaseSubmitEditor *subm const VCSBase::VCSBaseSubmitEditor::PromptSubmitResult answer = perforceEditor->promptSubmit(tr("Closing p4 Editor"), tr("Do you want to submit this change list?"), - tr("The commit message check failed. Do you want to submit this change list"), + tr("The commit message check failed. Do you want to submit this change list?"), &wantsPrompt, !m_submitActionTriggered); m_submitActionTriggered = false; diff --git a/src/plugins/qt4projectmanager/makestep.cpp b/src/plugins/qt4projectmanager/makestep.cpp index 44b195471b..5da804a96a 100644 --- a/src/plugins/qt4projectmanager/makestep.cpp +++ b/src/plugins/qt4projectmanager/makestep.cpp @@ -133,7 +133,7 @@ bool MakeStep::init() m_tasks.clear(); if (!bc->toolChain()) { m_tasks.append(ProjectExplorer::Task(ProjectExplorer::Task::Error, - tr("Qt Creator needs a tool chain set up to build. Please configure a tool chain in Project mode."), + tr("Qt Creator needs a tool chain set up to build. Configure a tool chain in Project mode."), QString(), -1, QLatin1String(ProjectExplorer::Constants::TASK_CATEGORY_BUILDSYSTEM))); } @@ -229,7 +229,7 @@ void MakeStep::run(QFutureInterface & fi) if (!QFileInfo(m_makeFileToCheck).exists()) { if (!m_clean) - emit addOutput(tr("Makefile not found. Please check your build settings"), BuildStep::MessageOutput); + emit addOutput(tr("Cannot find Makefile. Check your build settings."), BuildStep::MessageOutput); fi.reportResult(m_clean); return; } @@ -242,7 +242,7 @@ void MakeStep::run(QFutureInterface & fi) canContinue = false; } if (!canContinue) { - emit addOutput(tr("Configuration is faulty, please check the Build Issues view for details."), BuildStep::MessageOutput); + emit addOutput(tr("Configuration is faulty. Check the Build Issues view for details."), BuildStep::MessageOutput); fi.reportResult(false); return; } diff --git a/src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp b/src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp index a2151e3154..6c443b55ed 100644 --- a/src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp +++ b/src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp @@ -163,7 +163,7 @@ bool S60DeployStep::init() m_channel = deployConfiguration->communicationChannel(); if (m_signedPackages.isEmpty()) { - appendMessage(tr("No package has been found. Please specify at least one installation package."), true); + appendMessage(tr("No package has been found. Specify at least one installation package."), true); return false; } @@ -238,13 +238,13 @@ void S60DeployStep::start() bool serialConnection = m_channel == S60DeployConfiguration::CommunicationCodaSerialConnection; if (serialConnection && m_serialPortName.isEmpty()) { - errorMessage = tr("No device is connected. Please connect a device and try again."); + errorMessage = tr("No device is connected. Connect a device and try again."); reportError(errorMessage); return; } QTC_ASSERT(!m_codaDevice.data(), return); if (m_address.isEmpty() && !serialConnection) { - errorMessage = tr("No address for a device has been defined. Please define an address and try again."); + errorMessage = tr("No address for a device has been defined. Define an address and try again."); reportError(errorMessage); return; } @@ -444,7 +444,7 @@ void S60DeployStep::initFileInstallation() } else { m_codaDevice->sendSymbianInstallUIInstallCommand(Coda::CodaCallback(this, &S60DeployStep::handleSymbianInstall), remoteFileLocation.toAscii()); - appendMessage(tr("Please continue the installation on your device."), false); + appendMessage(tr("Continue the installation on your device."), false); emit manualInstallation(); } } @@ -586,7 +586,7 @@ void S60DeployStep::checkForTimeout() void S60DeployStep::showManualInstallationInfo() { const QString title = tr("Installation"); - const QString text = tr("Please continue the installation on your device."); + const QString text = tr("Continue the installation on your device."); QMessageBox *mb = new QMessageBox(QMessageBox::Information, title, text, QMessageBox::Ok, Core::ICore::instance()->mainWindow()); connect(this, SIGNAL(allFilesInstalled()), mb, SLOT(close())); diff --git a/src/plugins/qt4projectmanager/qt-s60/s60publishingbuildsettingspageovi.cpp b/src/plugins/qt4projectmanager/qt-s60/s60publishingbuildsettingspageovi.cpp index 86ed6fdb67..fb7b986f52 100644 --- a/src/plugins/qt4projectmanager/qt-s60/s60publishingbuildsettingspageovi.cpp +++ b/src/plugins/qt4projectmanager/qt-s60/s60publishingbuildsettingspageovi.cpp @@ -88,9 +88,9 @@ S60PublishingBuildSettingsPageOvi::S60PublishingBuildSettingsPageOvi(S60Publishe m_ui->buildConfigInfoLabel->setVisible(list.isEmpty()); m_ui->buildConfigInfoLabel->setToolTip(tr("No valid build configuration has been detected.
" - "Please define a correct build configuration in \"Options > Qt4\"")); + "Define a correct build configuration in \"Options > Qt4\"")); m_ui->toolchainInfoIconLabel->setToolTip(tr("No valid tool chain has been detected.
" - "Please define a correct tool chain in \"Options > Tool Chains\"")); + "Define a correct tool chain in \"Options > Tool Chains\"")); populateToolchainList(m_bc); //change the build configuration if the user changes it diff --git a/src/plugins/qt4projectmanager/qt4nodes.cpp b/src/plugins/qt4projectmanager/qt4nodes.cpp index a1640debb8..2d51465872 100644 --- a/src/plugins/qt4projectmanager/qt4nodes.cpp +++ b/src/plugins/qt4projectmanager/qt4nodes.cpp @@ -975,14 +975,14 @@ bool Qt4PriFileNode::priFileWritable(const QString &path) switch (Core::FileManager::promptReadOnlyFile(path, versionControl, core->mainWindow(), false)) { case Core::FileManager::RO_OpenVCS: if (!versionControl->vcsOpen(path)) { - QMessageBox::warning(core->mainWindow(), tr("Failed!"), tr("Could not open the file for edit with VCS.")); + QMessageBox::warning(core->mainWindow(), tr("Cannot Open File"), tr("Cannot open the file for edit with VCS.")); return false; } break; case Core::FileManager::RO_MakeWriteable: { const bool permsOk = QFile::setPermissions(path, QFile::permissions(path) | QFile::WriteUser); if (!permsOk) { - QMessageBox::warning(core->mainWindow(), tr("Failed!"), tr("Could not set permissions to writable.")); + QMessageBox::warning(core->mainWindow(), tr("Cannot Set Permissions"), tr("Cannot set permissions to writable.")); return false; } break; diff --git a/src/plugins/qt4projectmanager/qt4target.cpp b/src/plugins/qt4projectmanager/qt4target.cpp index 5b2e1e445d..5cd90d4613 100644 --- a/src/plugins/qt4projectmanager/qt4target.cpp +++ b/src/plugins/qt4projectmanager/qt4target.cpp @@ -199,7 +199,7 @@ QString Qt4BaseTargetFactory::msgBuildConfigurationName(const BuildConfiguration return (info.buildConfig & QtSupport::BaseQtVersion::DebugBuild) ? //: Name of a debug build configuration to created by a project wizard, %1 being the Qt version name. We recommend not translating it. tr("%1 Debug").arg(qtVersionName) : - //: Name of a release build configuration to created by a project wizard, %1 being the Qt version name. We recommend not translating it. + //: Name of a release build configuration to be created by a project wizard, %1 being the Qt version name. We recommend not translating it. tr("%1 Release").arg(qtVersionName); } @@ -709,14 +709,14 @@ void Qt4DefaultTargetSetupWidget::addImportClicked() if (!info.isValid()) { QMessageBox::critical(this, tr("No build found"), - tr("No Build found in %1 matching project %2.").arg(m_importLinePath->path()).arg(m_proFilePath)); + tr("No build found in %1 matching project %2.").arg(m_importLinePath->path()).arg(m_proFilePath)); return; } if (!info.version->supportsTargetId(m_id)) { QMessageBox::critical(this, tr("Incompatible build found"), - tr("The Build found in %1 is incompatible with this target").arg(m_importLinePath->path())); + tr("The build found in %1 is incompatible with this target").arg(m_importLinePath->path())); return; } diff --git a/src/plugins/remotelinux/maemopublisherfremantlefree.cpp b/src/plugins/remotelinux/maemopublisherfremantlefree.cpp index 432e777ba5..edfbd264c4 100644 --- a/src/plugins/remotelinux/maemopublisherfremantlefree.cpp +++ b/src/plugins/remotelinux/maemopublisherfremantlefree.cpp @@ -140,12 +140,12 @@ void MaemoPublisherFremantleFree::createPackage() return; } if (!copyRecursively(m_project->projectDirectory(), m_tmpProjectDir)) { - finishWithFailure(tr("Error: Could not copy project directory"), + finishWithFailure(tr("Error: Could not copy project directory."), tr("Publishing failed: Could not create source package.")); return; } if (!fixNewlines()) { - finishWithFailure(tr("Error: Could not fix newlines"), + finishWithFailure(tr("Error: Could not fix newlines."), tr("Publishing failed: Could not create source package.")); return; } @@ -367,7 +367,7 @@ void MaemoPublisherFremantleFree::runDpkgBuildPackage() QtSupport::BaseQtVersion *lqt = m_buildConfig->qtVersion(); if (!lqt) - finishWithFailure(QString(), tr("No Qt version set")); + finishWithFailure(QString(), tr("No Qt version set.")); if (m_state == Inactive) return; @@ -421,7 +421,7 @@ void MaemoPublisherFremantleFree::handleUploadJobFinished(int exitStatus) || m_uploader->process()->exitCode() != 0)) { QString error; if (exitStatus != SshRemoteProcess::ExitedNormally) { - error = tr("Error uploading file: %1") + error = tr("Error uploading file: %1.") .arg(m_uploader->process()->errorString()); } else { error = tr("Error uploading file."); @@ -459,7 +459,7 @@ void MaemoPublisherFremantleFree::sendFile() const QString filePath = m_filesToUpload.takeFirst(); QFile file(filePath); if (!file.open(QIODevice::ReadOnly)) { - finishWithFailure(tr("Cannot open file for reading: %1") + finishWithFailure(tr("Cannot open file for reading: %1.") .arg(file.errorString()), tr("Upload failed.")); return; } @@ -506,7 +506,7 @@ void MaemoPublisherFremantleFree::handleScpStdOut(const QByteArray &output) const QByteArray error = m_scpOutput.mid(1, m_scpOutput.count() - 2); QString progressError; if (!error.isEmpty()) { - progressError = tr("Error uploading file: %1") + progressError = tr("Error uploading file: %1.") .arg(QString::fromUtf8(error)); } else { progressError = tr("Error uploading file."); diff --git a/src/plugins/valgrind/callgrindconfigwidget.ui b/src/plugins/valgrind/callgrindconfigwidget.ui index 077a4af750..877c88a525 100644 --- a/src/plugins/valgrind/callgrindconfigwidget.ui +++ b/src/plugins/valgrind/callgrindconfigwidget.ui @@ -26,7 +26,7 @@ - This option limits the amount of results the profiler will give you. A lower limit will likely increase performance. + Limits the amount of results the profiler gives you. A lower limit will likely increase performance. Result view: Show events with inclusive costs higher than: @@ -65,7 +65,7 @@ <html><head/><body> -<p>Specify if you want to do full cache simulation.</p> +<p>Does full cache simulation.</p> <p>By default, only instruction read accesses will be counted ("Ir").</p> <p> With cache simulation, further event counters are enabled: @@ -74,7 +74,7 @@ With cache simulation, further event counters are enabled: <li>Data write accesses ("Dw") and related cache misses ("D1mw"/"D2mw")</li></ul> </p> -For more information, see ???.</p></body></html> +</body></html> Enable cache simulation @@ -85,7 +85,7 @@ For more information, see ???.</p></body></html> <html><head/><body> -<p>Specify if you want to do branch prediction simulation.</p> +<p>Do branch prediction simulation.</p> <p>Further event counters are enabled: </p> <ul><li>Number of executed conditional branches and related predictor misses ( "Bc"/"Bcm")</li> @@ -100,7 +100,7 @@ For more information, see ???.</p></body></html> - This specifies whether information for system call times should be collected. + Collect information for system call times. Collect system call time @@ -110,7 +110,7 @@ For more information, see ???.</p></body></html> - This specifies whether the number of global bus events executed should be collected. The event type "Ge" is used for these events. + Collect the number of global bus events that are executed. The event type "Ge" is used for these events. Collect global bus events diff --git a/src/plugins/vcsbase/vcsbasesubmiteditor.cpp b/src/plugins/vcsbase/vcsbasesubmiteditor.cpp index 86c5dd16c9..8b4431fe2a 100644 --- a/src/plugins/vcsbase/vcsbasesubmiteditor.cpp +++ b/src/plugins/vcsbase/vcsbasesubmiteditor.cpp @@ -640,7 +640,7 @@ bool VCSBaseSubmitEditor::runSubmitMessageCheckScript(const QString &checkScript return false; } if (checkProcess.exitStatus() != QProcess::NormalExit) { - *errorMessage = tr("The check script '%1' crashed"). + *errorMessage = tr("The check script '%1' crashed."). arg(QDir::toNativeSeparators(checkScript)); return false; } -- 2.11.0