Commit 28820807 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Tr()-Fixes

parent 07037d6b
......@@ -100,7 +100,7 @@ QString RunSettingsPanelFactory::id() const
QString RunSettingsPanelFactory::displayName() const
{
return QCoreApplication::tr("RunSettingsPanelFactory", "Run Settings");
return QCoreApplication::translate("RunSettingsPanelFactory", "Run Settings");
}
bool RunSettingsPanelFactory::supports(Project *project)
......
......@@ -57,7 +57,7 @@ QString TargetSettingsPanelFactory::id() const
QString TargetSettingsPanelFactory::displayName() const
{
return QCoreApplication::tr("Targets");
return QCoreApplication::translate("TargetSettingsPanelFactory", "Targets");
}
bool TargetSettingsPanelFactory::supports(Project *project)
......@@ -99,7 +99,7 @@ TargetSettingsPanel::~TargetSettingsPanel()
QString TargetSettingsPanel::displayName() const
{
return QCoreApplication::tr("Targets");
return QCoreApplication::translate("TargetSettingsPanel", "Targets");
}
QWidget *TargetSettingsPanel::widget() const
......
......@@ -158,7 +158,7 @@ QDialog *PluginManager::createAboutPluginDialog(QWidget *parent)
{
QDialog *rc = new QDialog(parent);
rc->setWindowFlags(rc->windowFlags() & ~Qt::WindowContextHelpButtonHint & Qt::Sheet);
rc->setWindowTitle(QCoreApplication::tr("About plugins"));
rc->setWindowTitle(QCoreApplication::translate("QmlDesigner::PluginManager", "About plugins"));
QTreeView *treeView = new QTreeView;
treeView->setModel(createModel(treeView));
treeView->expandAll();
......
......@@ -1391,13 +1391,13 @@ QString QtVersion::invalidReason() const
if (isValid())
return QString();
if (qmakeCommand().isEmpty())
return QApplication::translate("QtVersion", "No qmake path set");
return QCoreApplication::translate("QtVersion", "No qmake path set");
if (displayName().isEmpty())
return QApplication::translate("QtVersion", "Qt Version has no name");
return QCoreApplication::translate("QtVersion", "Qt Version has no name");
if (m_notInstalled)
return QApplication::translate("QtVersion", "Qt Version is not installed, please run make install");
return QCoreApplication::translate("QtVersion", "Qt Version is not installed, please run make install");
if (!m_versionInfo.contains("QT_INSTALL_BINS"))
return QApplication::translate("QtVersion", "Could not determine qt install binary, maybe the qmake path is wrong?");
return QCoreApplication::translate("QtVersion", "Could not determine qt install binary, maybe the qmake path is wrong?");
return QString();
}
......@@ -1503,7 +1503,7 @@ QString QtVersion::buildDebuggingHelperLibrary()
QList<QSharedPointer<ProjectExplorer::ToolChain> > alltc = toolChains();
ProjectExplorer::ToolChain *tc = alltc.isEmpty() ? 0 : alltc.first().data();
if (!tc)
return QApplication::tr("The Qt Version has no toolchain.");
return QCoreApplication::translate("QtVersion", "The Qt Version has no toolchain.");
tc->addToEnvironment(env);
QString output;
QString directory = DebuggingHelperLibrary::copyDebuggingHelperLibrary(qtInstallData, &output);
......
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