forked from qt-creator/qt-creator
L10n: tr()-Fixes
This commit is contained in:
@@ -238,7 +238,7 @@
|
|||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
<widget class="QRadioButton" name="verticalStretchRadioButton">
|
<widget class="QRadioButton" name="verticalStretchRadioButton">
|
||||||
<property name="toolTip">
|
<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>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string/>
|
<string/>
|
||||||
|
|||||||
@@ -74,8 +74,8 @@ public:
|
|||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
|
|
||||||
setDescription(QCoreApplication::tr("Add %1 declaration",
|
setDescription(QCoreApplication::translate("CppEditor::InsertDeclOperation",
|
||||||
"CppEditor::DeclFromDef").arg(type));
|
"Add %1 declaration").arg(type));
|
||||||
}
|
}
|
||||||
|
|
||||||
void performChanges(CppRefactoringFile *, CppRefactoringChanges *refactoring)
|
void performChanges(CppRefactoringFile *, CppRefactoringChanges *refactoring)
|
||||||
@@ -217,8 +217,8 @@ public:
|
|||||||
, m_decl(decl)
|
, m_decl(decl)
|
||||||
, m_loc(loc)
|
, m_loc(loc)
|
||||||
{
|
{
|
||||||
setDescription(QCoreApplication::tr("Add definition in %1",
|
setDescription(QCoreApplication::translate("CppEditor::InsertDefOperation",
|
||||||
"CppEditor::DefFromDecl")
|
"Add definition in %1")
|
||||||
.arg(m_loc.fileName()));
|
.arg(m_loc.fileName()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -221,7 +221,7 @@ void QmlEngine::connectionError(QAbstractSocket::SocketError socketError)
|
|||||||
|
|
||||||
void QmlEngine::serviceConnectionError(const QString &serviceName)
|
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()
|
void QmlEngine::runEngine()
|
||||||
|
|||||||
@@ -120,6 +120,7 @@ QString DebuggingHelperLibrary::build(const QString &directory, const QString &m
|
|||||||
const QString &qmakeCommand, const QString &mkspec,
|
const QString &qmakeCommand, const QString &mkspec,
|
||||||
const Utils::Environment &env, const QString &targetMode)
|
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);
|
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 QString &qmakeCommand, const QString &mkspec,
|
||||||
const Utils::Environment &env, const QString &targetMode)
|
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);
|
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 QString &qmakeCommand, const QString &mkspec,
|
||||||
const Utils::Environment &env, const QString &targetMode)
|
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);
|
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("")));
|
(tc->type() == ToolChain::GCC_MAEMO ? QLatin1String("-unix") : QLatin1String("")));
|
||||||
}
|
}
|
||||||
} else {
|
} 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);
|
future.setProgressValue(3);
|
||||||
}
|
}
|
||||||
@@ -1793,7 +1793,7 @@ QString QtVersion::buildDebuggingHelperLibrary(QFutureInterface<void> &future, b
|
|||||||
(tc->type() == ToolChain::GCC_MAEMO ? QLatin1String("-unix") : QLatin1String("")));
|
(tc->type() == ToolChain::GCC_MAEMO ? QLatin1String("-unix") : QLatin1String("")));
|
||||||
}
|
}
|
||||||
} else {
|
} 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);
|
future.setProgressValue(4);
|
||||||
|
|
||||||
|
|||||||
@@ -65,7 +65,7 @@
|
|||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<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>
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
||||||
|
|||||||
Reference in New Issue
Block a user