Commit e0658273 authored by Leena Miettinen's avatar Leena Miettinen Committed by hjk

UI text: fix capitalization for debugger strings

Change-Id: If70418319529f75e893f3d5b60cb7dfa6a739dca
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent a791fee2
......@@ -88,7 +88,7 @@ void IDocument::setRestoredFrom(const QString &name)
m_restored = true;
InfoBarEntry info(QLatin1String(kRestoredAutoSave),
tr("File was restored from auto-saved copy. "
"Use <i>Save</i> to confirm, or <i>Revert to Saved</i> to discard changes."));
"Select Save to confirm or Revert to Saved to discard changes."));
infoBar()->addInfo(info);
}
......
......@@ -220,7 +220,7 @@ public:
QAction *createAction(QObject *parent) const
{
QAction *action = new QAction(DebuggerPlugin::tr("Install &Debug Information"), parent);
action->setToolTip(DebuggerPlugin::tr("This tries to install missing debug information."));
action->setToolTip(DebuggerPlugin::tr("Tries to install missing debug information."));
return action;
}
......@@ -301,7 +301,7 @@ QString GdbEngine::errorMessage(QProcess::ProcessError error)
switch (error) {
case QProcess::FailedToStart:
return tr("The gdb process failed to start. Either the "
"invoked program '%1' is missing, or you may have insufficient "
"invoked program \"%1\" is missing, or you may have insufficient "
"permissions to invoke the program.\n%2")
.arg(m_gdb, gdbProc()->errorString());
case QProcess::Crashed:
......@@ -1052,7 +1052,7 @@ void GdbEngine::commandTimeout()
"to a command within %n second(s). This could mean it is stuck "
"in an endless loop or taking longer than expected to perform "
"the operation.\nYou can choose between waiting "
"longer or abort debugging.", 0, timeOut / 1000);
"longer or aborting debugging.", 0, timeOut / 1000);
QMessageBox *mb = showMessageBox(QMessageBox::Critical,
tr("GDB not responding"), msg,
QMessageBox::Ok | QMessageBox::Cancel);
......@@ -2094,7 +2094,7 @@ int GdbEngine::currentFrame() const
static QString msgNoGdbBinaryForToolChain(const Abi &tc)
{
return GdbEngine::tr("There is no gdb binary available for binaries in format '%1'")
return GdbEngine::tr("There is no GDB binary available for binaries in format '%1'")
.arg(tc.toString());
}
......
......@@ -80,12 +80,12 @@ QVariant ModulesModel::headerData(int section,
{
if (orientation == Qt::Horizontal && role == Qt::DisplayRole) {
static QString headers[] = {
ModulesHandler::tr("Module name") + QLatin1String(" "),
ModulesHandler::tr("Module path") + QLatin1String(" "),
ModulesHandler::tr("Symbols read") + QLatin1String(" "),
ModulesHandler::tr("Symbols type") + QLatin1String(" "),
ModulesHandler::tr("Start address") + QLatin1String(" "),
ModulesHandler::tr("End address") + QLatin1String(" ")
ModulesHandler::tr("Module Name") + QLatin1String(" "),
ModulesHandler::tr("Module Path") + QLatin1String(" "),
ModulesHandler::tr("Symbols Read") + QLatin1String(" "),
ModulesHandler::tr("Symbols Type") + QLatin1String(" "),
ModulesHandler::tr("Start Address") + QLatin1String(" "),
ModulesHandler::tr("End Address") + QLatin1String(" ")
};
return headers[section];
}
......@@ -123,22 +123,22 @@ QVariant ModulesModel::data(const QModelIndex &index, int role) const
case 2:
if (role == Qt::DisplayRole)
switch (module.symbolsRead) {
case Module::UnknownReadState: return ModulesHandler::tr("unknown");
case Module::ReadFailed: return ModulesHandler::tr("no");
case Module::ReadOk: return ModulesHandler::tr("yes");
case Module::UnknownReadState: return ModulesHandler::tr("Unknown");
case Module::ReadFailed: return ModulesHandler::tr("No");
case Module::ReadOk: return ModulesHandler::tr("Yes");
}
break;
case 3:
if (role == Qt::DisplayRole)
switch (module.elfData.symbolsType) {
case UnknownSymbols:
return ModulesHandler::tr("unknown");
return ModulesHandler::tr("Unknown");
case NoSymbols:
return ModulesHandler::tr("none");
return ModulesHandler::tr("None");
case PlainSymbols:
return ModulesHandler::tr("plain");
return ModulesHandler::tr("Plain");
case FastSymbols:
return ModulesHandler::tr("fast");
return ModulesHandler::tr("Fast");
case LinkedSymbols:
return ModulesHandler::tr("debuglnk");
case BuildIdSymbols:
......
......@@ -59,8 +59,8 @@ QVariant SourceFilesHandler::headerData(int section,
{
if (orientation == Qt::Horizontal && role == Qt::DisplayRole) {
static QString headers[] = {
tr("Internal name") + QLatin1String(" "),
tr("Full name") + QLatin1String(" "),
tr("Internal Name") + QLatin1String(" "),
tr("Full Name") + QLatin1String(" "),
};
return headers[section];
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment