Translations: Fix debugger messages

Reviewed-by: hjk
This commit is contained in:
Friedemann Kleint
2010-01-08 11:32:53 +01:00
parent a7684cac17
commit 945315173f
2 changed files with 11 additions and 11 deletions

View File

@@ -836,11 +836,11 @@ void GdbEngine::commandTimeout()
debugMessage(_("TIMED OUT WAITING FOR GDB REPLY. COMMANDS STILL IN PROGRESS:")); debugMessage(_("TIMED OUT WAITING FOR GDB REPLY. COMMANDS STILL IN PROGRESS:"));
int timeOut = m_commandTimer->interval(); int timeOut = m_commandTimer->interval();
//m_commandTimer->stop(); //m_commandTimer->stop();
QString msg = tr("The gdb process has not produced any response " const QString msg = tr("The gdb process has not responded "
"to a command within %1 seconds. This may been it is stuck " "to a command within %n seconds. 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 it was reqested.\nYou have a choice of waiting " "the operation.\nYou can choose between waiting "
"longer or abort debugging.").arg(timeOut); "longer or abort debugging.", 0, timeOut);
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);

View File

@@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>397</width> <width>480</width>
<height>322</height> <height>371</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
@@ -37,7 +37,7 @@
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
<widget class="Utils::PathChooser" name="gdbLocationChooser" native="true"/> <widget class="Utils::PathChooser" name="gdbLocationChooser"/>
</item> </item>
<item row="1" column="0"> <item row="1" column="0">
<widget class="QLabel" name="labelEnvironment"> <widget class="QLabel" name="labelEnvironment">
@@ -60,7 +60,7 @@
</widget> </widget>
</item> </item>
<item row="2" column="1"> <item row="2" column="1">
<widget class="Utils::PathChooser" name="scriptFileChooser" native="true"/> <widget class="Utils::PathChooser" name="scriptFileChooser"/>
</item> </item>
<item row="3" column="0" colspan="2"> <item row="3" column="0" colspan="2">
<widget class="QCheckBox" name="checkBoxUsePreciseBreakpoints"> <widget class="QCheckBox" name="checkBoxUsePreciseBreakpoints">
@@ -85,11 +85,11 @@ name in different directories.</string>
<item row="4" column="1"> <item row="4" column="1">
<widget class="QSpinBox" name="spinBoxGdbWatchdogTimeout"> <widget class="QSpinBox" name="spinBoxGdbWatchdogTimeout">
<property name="toolTip"> <property name="toolTip">
<string>This is the number of second Qt Creator will wait before <string>This is the number of seconds Qt Creator will wait before
it terminates non-reacting gdb process. The default value of 20 seconds it terminates non-responsive gdb process. The default value of 20 seconds
should be sufficient for most applications, but there are situations when should be sufficient for most applications, but there are situations when
loading big libraries or listing source files takes much longer than that loading big libraries or listing source files takes much longer than that
on slow machines. In this case the value should be increased.</string> on slow machines. In this case, the value should be increased.</string>
</property> </property>
<property name="layoutDirection"> <property name="layoutDirection">
<enum>Qt::LeftToRight</enum> <enum>Qt::LeftToRight</enum>