Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
76e85abf
Commit
76e85abf
authored
Jul 08, 2010
by
Friedemann Kleint
Browse files
Debugger: Fix some tr-errors.
parent
74861fa1
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/debuggerplugin.cpp
View file @
76e85abf
...
...
@@ -378,7 +378,7 @@ class DebugMode : public Core::BaseMode
public:
DebugMode
(
QObject
*
parent
=
0
)
:
BaseMode
(
parent
)
{
setDisplayName
(
tr
(
"Debug"
));
setDisplayName
(
QCoreApplication
::
translate
(
"Debugger::Internal::DebugMode"
,
"Debug"
));
setId
(
MODE_DEBUG
);
setIcon
(
QIcon
(
":/fancyactionbar/images/mode_Debug.png"
));
setPriority
(
P_MODE_DEBUG
);
...
...
@@ -535,7 +535,8 @@ static inline bool oxygenStyle()
}
class
DebuggingHelperOptionPage
:
public
Core
::
IOptionsPage
{
{
// Needs tr - context
Q_OBJECT
public:
DebuggingHelperOptionPage
()
{}
...
...
@@ -2689,17 +2690,21 @@ bool DebuggerListener::coreAboutToClose()
}
const
QString
question
=
cleanTermination
?
tr
(
"A debugging session is still in progress.
\n
"
QCoreApplication
::
translate
(
"Debugger::Internal::DebuggerListener"
,
"A debugging session is still in progress.
\n
"
"Would you like to terminate it?"
)
:
tr
(
"A debugging session is still in progress. "
QCoreApplication
::
translate
(
"Debugger::Internal::DebuggerListener"
,
"A debugging session is still in progress. "
"Terminating the session in the current"
" state (%1) can leave the target in an inconsistent state."
" Would you still like to terminate it?"
)
.
arg
(
_
(
DebuggerEngine
::
stateName
(
plugin
->
state
())));
QMessageBox
::
StandardButton
answer
=
const
QString
title
=
QCoreApplication
::
translate
(
"Debugger::Internal::DebuggerListener"
,
"Close Debugging Session"
);
QMessageBox
::
StandardButton
answer
=
QMessageBox
::
question
(
DebuggerUISwitcher
::
instance
()
->
mainWindow
(),
t
r
(
"Close Debugging Session"
)
,
question
,
t
itle
,
question
,
QMessageBox
::
Yes
|
QMessageBox
::
No
,
QMessageBox
::
Yes
);
if
(
answer
!=
QMessageBox
::
Yes
)
...
...
src/plugins/debugger/gdb/abstractplaingdbadapter.h
View file @
76e85abf
...
...
@@ -36,7 +36,8 @@ namespace Debugger {
namespace
Internal
{
class
AbstractPlainGdbAdapter
:
public
AbstractGdbAdapter
{
{
// Needs tr - context
Q_OBJECT
public:
AbstractPlainGdbAdapter
(
GdbEngine
*
engine
,
QObject
*
parent
=
0
);
...
...
src/plugins/debugger/moduleshandler.cpp
View file @
76e85abf
...
...
@@ -52,7 +52,8 @@ namespace Debugger {
namespace
Internal
{
class
ModulesModel
:
public
QAbstractItemModel
{
{
// Needs tr - context.
Q_OBJECT
public:
explicit
ModulesModel
(
ModulesHandler
*
parent
,
DebuggerEngine
*
engine
);
...
...
@@ -256,3 +257,5 @@ Modules ModulesHandler::modules() const
}
// namespace Internal
}
// namespace Debugger
#include "moduleshandler.moc"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment