add missing tr()s, etc., add some //: comments

This commit is contained in:
Oswald Buddenhagen
2009-04-17 21:11:52 +02:00
parent 9db13e3255
commit 6d5eeb7afb
35 changed files with 102 additions and 97 deletions

View File

@@ -207,7 +207,7 @@ ShadowBuildPage::ShadowBuildPage(CMakeOpenProjectWizard *cmakeWizard)
m_pc = new Core::Utils::PathChooser(this);
m_pc->setPath(m_cmakeWizard->buildDirectory());
connect(m_pc, SIGNAL(changed()), this, SLOT(buildDirectoryChanged()));
fl->addRow("Build directory:", m_pc);
fl->addRow(tr("Build directory:"), m_pc);
}
void ShadowBuildPage::buildDirectoryChanged()

View File

@@ -610,7 +610,7 @@ CMakeBuildSettingsWidget::CMakeBuildSettingsWidget(CMakeProject *project)
// and then cmake builds in that directory instead of shadow building
// We need our own generator for that to work
connect(m_pathChooser, SIGNAL(changed()), this, SLOT(buildDirectoryChanged()));
fl->addRow("Build directory:", m_pathChooser);
fl->addRow(tr("Build directory:"), m_pathChooser);
}
QString CMakeBuildSettingsWidget::displayName() const

View File

@@ -256,12 +256,12 @@ MakeStepConfigWidget::MakeStepConfigWidget(MakeStep *makeStep)
setLayout(fl);
m_additionalArguments = new QLineEdit(this);
fl->addRow("Additional arguments:", m_additionalArguments);
fl->addRow(tr("Additional arguments:"), m_additionalArguments);
connect(m_additionalArguments, SIGNAL(textEdited(const QString &)), this, SLOT(additionalArgumentsEdited()));
m_targetsList = new QListWidget;
fl->addRow("Targets:", m_targetsList);
fl->addRow(tr("Targets:"), m_targetsList);
// TODO update this list also on rescans of the CMakeLists.txt
CMakeProject *pro = m_makeStep->project();