forked from qt-creator/qt-creator
UI text: fix capitalization for debugger strings
Change-Id: If70418319529f75e893f3d5b60cb7dfa6a739dca Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -88,7 +88,7 @@ void IDocument::setRestoredFrom(const QString &name)
|
|||||||
m_restored = true;
|
m_restored = true;
|
||||||
InfoBarEntry info(QLatin1String(kRestoredAutoSave),
|
InfoBarEntry info(QLatin1String(kRestoredAutoSave),
|
||||||
tr("File was restored from auto-saved copy. "
|
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);
|
infoBar()->addInfo(info);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -220,7 +220,7 @@ public:
|
|||||||
QAction *createAction(QObject *parent) const
|
QAction *createAction(QObject *parent) const
|
||||||
{
|
{
|
||||||
QAction *action = new QAction(DebuggerPlugin::tr("Install &Debug Information"), parent);
|
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;
|
return action;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -301,7 +301,7 @@ QString GdbEngine::errorMessage(QProcess::ProcessError error)
|
|||||||
switch (error) {
|
switch (error) {
|
||||||
case QProcess::FailedToStart:
|
case QProcess::FailedToStart:
|
||||||
return tr("The gdb process failed to start. Either the "
|
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")
|
"permissions to invoke the program.\n%2")
|
||||||
.arg(m_gdb, gdbProc()->errorString());
|
.arg(m_gdb, gdbProc()->errorString());
|
||||||
case QProcess::Crashed:
|
case QProcess::Crashed:
|
||||||
@@ -1052,7 +1052,7 @@ void GdbEngine::commandTimeout()
|
|||||||
"to a command within %n second(s). This could mean it is stuck "
|
"to a command within %n second(s). This could mean it is stuck "
|
||||||
"in an endless loop or taking longer than expected to perform "
|
"in an endless loop or taking longer than expected to perform "
|
||||||
"the operation.\nYou can choose between waiting "
|
"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,
|
QMessageBox *mb = showMessageBox(QMessageBox::Critical,
|
||||||
tr("GDB not responding"), msg,
|
tr("GDB not responding"), msg,
|
||||||
QMessageBox::Ok | QMessageBox::Cancel);
|
QMessageBox::Ok | QMessageBox::Cancel);
|
||||||
@@ -2094,7 +2094,7 @@ int GdbEngine::currentFrame() const
|
|||||||
|
|
||||||
static QString msgNoGdbBinaryForToolChain(const Abi &tc)
|
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());
|
.arg(tc.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -80,12 +80,12 @@ QVariant ModulesModel::headerData(int section,
|
|||||||
{
|
{
|
||||||
if (orientation == Qt::Horizontal && role == Qt::DisplayRole) {
|
if (orientation == Qt::Horizontal && role == Qt::DisplayRole) {
|
||||||
static QString headers[] = {
|
static QString headers[] = {
|
||||||
ModulesHandler::tr("Module name") + QLatin1String(" "),
|
ModulesHandler::tr("Module Name") + QLatin1String(" "),
|
||||||
ModulesHandler::tr("Module path") + QLatin1String(" "),
|
ModulesHandler::tr("Module Path") + QLatin1String(" "),
|
||||||
ModulesHandler::tr("Symbols read") + QLatin1String(" "),
|
ModulesHandler::tr("Symbols Read") + QLatin1String(" "),
|
||||||
ModulesHandler::tr("Symbols type") + QLatin1String(" "),
|
ModulesHandler::tr("Symbols Type") + QLatin1String(" "),
|
||||||
ModulesHandler::tr("Start address") + QLatin1String(" "),
|
ModulesHandler::tr("Start Address") + QLatin1String(" "),
|
||||||
ModulesHandler::tr("End address") + QLatin1String(" ")
|
ModulesHandler::tr("End Address") + QLatin1String(" ")
|
||||||
};
|
};
|
||||||
return headers[section];
|
return headers[section];
|
||||||
}
|
}
|
||||||
@@ -123,22 +123,22 @@ QVariant ModulesModel::data(const QModelIndex &index, int role) const
|
|||||||
case 2:
|
case 2:
|
||||||
if (role == Qt::DisplayRole)
|
if (role == Qt::DisplayRole)
|
||||||
switch (module.symbolsRead) {
|
switch (module.symbolsRead) {
|
||||||
case Module::UnknownReadState: return ModulesHandler::tr("unknown");
|
case Module::UnknownReadState: return ModulesHandler::tr("Unknown");
|
||||||
case Module::ReadFailed: return ModulesHandler::tr("no");
|
case Module::ReadFailed: return ModulesHandler::tr("No");
|
||||||
case Module::ReadOk: return ModulesHandler::tr("yes");
|
case Module::ReadOk: return ModulesHandler::tr("Yes");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
if (role == Qt::DisplayRole)
|
if (role == Qt::DisplayRole)
|
||||||
switch (module.elfData.symbolsType) {
|
switch (module.elfData.symbolsType) {
|
||||||
case UnknownSymbols:
|
case UnknownSymbols:
|
||||||
return ModulesHandler::tr("unknown");
|
return ModulesHandler::tr("Unknown");
|
||||||
case NoSymbols:
|
case NoSymbols:
|
||||||
return ModulesHandler::tr("none");
|
return ModulesHandler::tr("None");
|
||||||
case PlainSymbols:
|
case PlainSymbols:
|
||||||
return ModulesHandler::tr("plain");
|
return ModulesHandler::tr("Plain");
|
||||||
case FastSymbols:
|
case FastSymbols:
|
||||||
return ModulesHandler::tr("fast");
|
return ModulesHandler::tr("Fast");
|
||||||
case LinkedSymbols:
|
case LinkedSymbols:
|
||||||
return ModulesHandler::tr("debuglnk");
|
return ModulesHandler::tr("debuglnk");
|
||||||
case BuildIdSymbols:
|
case BuildIdSymbols:
|
||||||
|
@@ -59,8 +59,8 @@ QVariant SourceFilesHandler::headerData(int section,
|
|||||||
{
|
{
|
||||||
if (orientation == Qt::Horizontal && role == Qt::DisplayRole) {
|
if (orientation == Qt::Horizontal && role == Qt::DisplayRole) {
|
||||||
static QString headers[] = {
|
static QString headers[] = {
|
||||||
tr("Internal name") + QLatin1String(" "),
|
tr("Internal Name") + QLatin1String(" "),
|
||||||
tr("Full name") + QLatin1String(" "),
|
tr("Full Name") + QLatin1String(" "),
|
||||||
};
|
};
|
||||||
return headers[section];
|
return headers[section];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user