Commit 520c936a authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

L10n: tr()-Fixes

parent 4578e32f
......@@ -238,7 +238,7 @@
<item row="0" column="0">
<widget class="QRadioButton" name="verticalStretchRadioButton">
<property name="toolTip">
<string>Strech horizontally. Scales the image to fit to the available area.</string>
<string>Stretch horizontally. Scales the image to fit to the available area.</string>
</property>
<property name="text">
<string/>
......
......@@ -74,8 +74,8 @@ public:
default: break;
}
setDescription(QCoreApplication::tr("Add %1 declaration",
"CppEditor::DeclFromDef").arg(type));
setDescription(QCoreApplication::translate("CppEditor::InsertDeclOperation",
"Add %1 declaration").arg(type));
}
void performChanges(CppRefactoringFile *, CppRefactoringChanges *refactoring)
......@@ -217,8 +217,8 @@ public:
, m_decl(decl)
, m_loc(loc)
{
setDescription(QCoreApplication::tr("Add definition in %1",
"CppEditor::DefFromDecl")
setDescription(QCoreApplication::translate("CppEditor::InsertDefOperation",
"Add definition in %1")
.arg(m_loc.fileName()));
}
......
......@@ -221,7 +221,7 @@ void QmlEngine::connectionError(QAbstractSocket::SocketError socketError)
void QmlEngine::serviceConnectionError(const QString &serviceName)
{
plugin()->showMessage(tr("QML Debugger: Couldn't connect to service '%1'.").arg(serviceName), StatusBar);
plugin()->showMessage(tr("QML Debugger: Could not connect to service '%1'.").arg(serviceName), StatusBar);
}
void QmlEngine::runEngine()
......
......@@ -120,6 +120,7 @@ QString DebuggingHelperLibrary::build(const QString &directory, const QString &m
const QString &qmakeCommand, const QString &mkspec,
const Utils::Environment &env, const QString &targetMode)
{
return buildHelper(QCoreApplication::tr("GDB helper"), QLatin1String("gdbmacros.pro"), directory,
return buildHelper(QCoreApplication::translate("ProjectExplorer::DebuggingHelperLibrary",
"GDB helper"), QLatin1String("gdbmacros.pro"), directory,
makeCommand, qmakeCommand, mkspec, env, targetMode);
}
......@@ -208,7 +208,7 @@ QString QmlDumpTool::build(const QString &directory, const QString &makeCommand,
const QString &qmakeCommand, const QString &mkspec,
const Utils::Environment &env, const QString &targetMode)
{
return buildHelper(QCoreApplication::tr("qmldump"), QLatin1String("qmldump.pro"),
return buildHelper(QCoreApplication::translate("Qt4ProjectManager::QmlDumpTool", "qmldump"), QLatin1String("qmldump.pro"),
directory, makeCommand, qmakeCommand, mkspec, env, targetMode);
}
......
......@@ -103,7 +103,8 @@ QString QmlObserverTool::build(const QString &directory, const QString &makeComm
const QString &qmakeCommand, const QString &mkspec,
const Utils::Environment &env, const QString &targetMode)
{
return buildHelper(QCoreApplication::tr("QMLObserver"), QLatin1String("qmlobserver.pro"),
return buildHelper(QCoreApplication::translate("Qt4ProjectManager::QmlObserverTool", "QMLObserver"),
QLatin1String("qmlobserver.pro"),
directory, makeCommand, qmakeCommand, mkspec, env, targetMode);
}
......
......@@ -1780,7 +1780,7 @@ QString QtVersion::buildDebuggingHelperLibrary(QFutureInterface<void> &future, b
(tc->type() == ToolChain::GCC_MAEMO ? QLatin1String("-unix") : QLatin1String("")));
}
} else {
output += QCoreApplication::tr("Cannot build QMLObserver; Qt version must be 4.7.1 or higher.");
output += QCoreApplication::translate("Qt4ProjectManager::QtVersion", "Cannot build QMLObserver; Qt version must be 4.7.1 or higher.");
}
future.setProgressValue(3);
}
......@@ -1793,7 +1793,7 @@ QString QtVersion::buildDebuggingHelperLibrary(QFutureInterface<void> &future, b
(tc->type() == ToolChain::GCC_MAEMO ? QLatin1String("-unix") : QLatin1String("")));
}
} else {
output += QCoreApplication::tr("Cannot build qmldump; Qt version must be 4.7.1 or higher.");
output += QCoreApplication::translate("Qt4ProjectManager::QtVersion", "Cannot build qmldump; Qt version must be 4.7.1 or higher.");
}
future.setProgressValue(4);
......
......@@ -65,7 +65,7 @@
</sizepolicy>
</property>
<property name="text">
<string>Note: All files and directories which reside in the same directory as the Main QML File will be deployed. You can anytime modify the contents of that directory before deploying.</string>
<string>Note: All files and directories which reside in the same directory as the Main QML File will be deployed. You can modify the contents of that directory anytime before deploying.</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
......
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