}
if (!fi.isExecutable()) {
if (errorMessage)
- *errorMessage = tr("Can not execute '%1'.").arg(QDir::toNativeSeparators(expandedPath));
+ *errorMessage = tr("Cannot execute '%1'.").arg(QDir::toNativeSeparators(expandedPath));
return false;
}
break;
case PathChooser::Command: // fall through
if (fi.exists() && !fi.isExecutable()) {
if (errorMessage)
- *errorMessage = tr("Can not execute '%1'.").arg(QDir::toNativeSeparators(expandedPath));
+ *errorMessage = tr("Cannot execute '%1'.").arg(QDir::toNativeSeparators(expandedPath));
return false;
}
break;
d->m_startAction->setEnabled(startEnabled);
d->m_startAction->setToolTip(disabledReason);
if (currentTool() && !currentTool()->canRunRemotely())
- disabledReason = tr("Current analyzer tool can not be run remotely.");
+ disabledReason = tr("Current analyzer tool cannot be run remotely.");
d->m_startRemoteAction->setEnabled(!d->m_currentRunControl && currentTool()
&& currentTool()->canRunRemotely());
d->m_startRemoteAction->setToolTip(disabledReason);
QString fileName = cmd.args;
QFile file(fileName);
if (!file.open(QIODevice::ReadOnly)) {
- showRedMessage(FakeVimHandler::tr("Can't open file %1").arg(fileName));
+ showRedMessage(FakeVimHandler::tr("Cannot open file %1").arg(fileName));
return true;
}
connect(buttons.last(), SIGNAL(clicked()), this, SIGNAL(leftButtonClicked()));
buttons << new QToolButton();
buttons.last()->setIcon(QIcon(":/navigator/icon/arrowright.png"));
- buttons.last()->setToolTip(tr("Become child of first silbing (CTRL + Right)"));
+ buttons.last()->setToolTip(tr("Become child of first sibling (CTRL + Right)"));
buttons.last()->setShortcut(QKeySequence(Qt::Key_Right | Qt::CTRL));
connect(buttons.last(), SIGNAL(clicked()), this, SIGNAL(rightButtonClicked()));
if (!m_step->isQmlDebuggingLibrarySupported(&warningText))
;
else if (m_step->linkQmlDebuggingLibrary())
- warningText = tr("Might make your application vulnerable. Only use in a safe environment!");
+ warningText = tr("Might make your application vulnerable. Only use in a safe environment.");
m_ui->qmlDebuggingWarningText->setText(warningText);
m_ui->qmlDebuggingWarningIcon->setVisible(!warningText.isEmpty());
{
Qt4BuildConfiguration *qt4bc = m_step->qt4BuildConfiguration();
QtSupport::BaseQtVersion *qtVersion = qt4bc->qtVersion();
- QString program = tr("<No qtversion>");
+ QString program = tr("<No Qt version>");
if (qtVersion)
program = QFileInfo(qtVersion->qmakeCommand()).fileName();
m_ui->qmakeArgumentsEdit->setPlainText(program + QLatin1Char(' ') + m_step->allArguments());
ui->displayNameErrorLabel,
ui->displayNameErrorReasonLabel,
tr("This should be application's display name. <br>"
- "It can't' be empty.<br>"));
+ "It cannot be empty.<br>"));
const int visibleCharacters = 12;
if (ui->displayNameLineEdit->text().length() > visibleCharacters) {
if (BaseQtVersion *qtv = f->restore(qtversionMap)) {
if (m_versions.contains(qtv->uniqueId())) {
// This shouldn't happen, we are restoring the same id multiple times?
- qWarning() << "A qt version with id"<<qtv->uniqueId()<<"already exists";
+ qWarning() << "A Qt version with id"<<qtv->uniqueId()<<"already exists";
delete qtv;
} else {
m_versions.insert(qtv->uniqueId(), qtv);
}
}
if (!restored)
- qWarning("Warning: Unable to restore qtversion '%s' stored in %s.",
+ qWarning("Warning: Unable to restore Qt version '%s' stored in %s.",
qPrintable(type),
qPrintable(QDir::toNativeSeparators(settingsFileName())));
}
QVariantMap data = reader.restoreValues();
if (debug) {
- qDebug()<< "======= Existing qt versions =======";
+ qDebug()<< "======= Existing Qt versions =======";
foreach (BaseQtVersion *version, m_versions) {
qDebug() << version->qmakeCommand() << "id:"<<version->uniqueId();
qDebug() << " autodetection source:"<< version->autodetectionSource();
const Qt4BuildConfiguration * const bc
= qobject_cast<Qt4BaseTarget *>(target())->activeBuildConfiguration();
if (!bc) {
- addOutput(tr("Can't install to sysroot without build configuration."),
+ addOutput(tr("Cannot install to sysroot without build configuration."),
ErrorMessageOutput);
fi.reportResult(false);
return;
const AbstractMaemoPackageCreationStep * const pStep
= MaemoGlobal::earlierBuildStep<AbstractMaemoPackageCreationStep>(deployConfiguration(), this);
if (!pStep) {
- addOutput(tr("Can't install package to sysroot without packaging step."),
+ addOutput(tr("Cannot install package to sysroot without packaging step."),
ErrorMessageOutput);
fi.reportResult(false);
return;
}
if (!bc->qtVersion()) {
- addOutput(tr("Can't install package to sysroot without a qt version."),
+ addOutput(tr("Cannot install package to sysroot without a Qt version."),
ErrorMessageOutput);
fi.reportResult(false);
return;
const Qt4BuildConfiguration * const bc
= qobject_cast<Qt4BaseTarget *>(target())->activeBuildConfiguration();
if (!bc) {
- addOutput(tr("Can't copy to sysroot without build configuration."),
+ addOutput(tr("Cannot copy to sysroot without build configuration."),
ErrorMessageOutput);
fi.reportResult(false);
return;
const MaemoQtVersion * const qtVersion = dynamic_cast<MaemoQtVersion *>(bc->qtVersion());
if (!qtVersion) {
- addOutput(tr("Can't copy to sysroot without valid Qt version."),
+ addOutput(tr("Cannot copy to sysroot without valid Qt version."),
ErrorMessageOutput);
fi.reportResult(false);
return;
const Qt4BuildConfiguration * const bc
= qobject_cast<Qt4BuildConfiguration *>(target()->activeBuildConfiguration());
if (!bc) {
- addOutput("Can't deploy: No active build dconfiguration.",
+ addOutput("Cannot deploy: No active build dconfiguration.",
ErrorMessageOutput);
return false;
}
const QtSupport::BaseQtVersion * const qtVersion = bc->qtVersion();
if (!qtVersion) {
- addOutput("Can't deploy: Unusable build configuration.",
+ addOutput("Cannot deploy: Unusable build configuration.",
ErrorMessageOutput);
return false;
preparePackagingProcess(proc, qt4BuildConfiguration(), buildDirectory());
const QtSupport::BaseQtVersion * const qtVersion = qt4BuildConfiguration()->qtVersion();
if (!qtVersion) {
- raiseError(tr("Packaging failed."), tr("Packaging error: No qt version."));
+ raiseError(tr("Packaging failed."), tr("Packaging error: No Qt version."));
return false;
}
const QString madCommand = MaemoGlobal::madCommand(qtVersion->qmakeCommand());
+ AbstractMaemoPackageCreationStep::DefaultVersionNumber);
QtSupport::BaseQtVersion *lqt = activeBuildConfiguration()->qtVersion();
if (!lqt) {
- raiseError(tr("Unable to create Debian templates: No qt version set"));
+ raiseError(tr("Unable to create Debian templates: No Qt version set"));
return ActionFailed;
}
if (!MaemoGlobal::callMad(dh_makeProc, dh_makeArgs, lqt->qmakeCommand(), true)