forked from qt-creator/qt-creator
UI text: edit custom compiler messages
There is no good solution for %n entry(ies). Change-Id: Ideaa5686c8efd0bb70e54a76f00dfca2e26c7bb0 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -395,7 +395,7 @@ public:
|
|||||||
void updateSummaryText()
|
void updateSummaryText()
|
||||||
{
|
{
|
||||||
int count = entryCount();
|
int count = entryCount();
|
||||||
setSummaryText(count ? tr("%n entry(ies)", "", count) : tr("Empty"));
|
setSummaryText(count ? tr("%n entries)", "", count) : tr("Empty"));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -420,9 +420,9 @@ CustomToolChainConfigWidget::CustomToolChainConfigWidget(CustomToolChain *tc) :
|
|||||||
m_predefinedMacros->setTabChangesFocus(true);
|
m_predefinedMacros->setTabChangesFocus(true);
|
||||||
m_predefinedMacros->setToolTip(tr("Each line defines a macro. Format is MACRO[=VALUE]"));
|
m_predefinedMacros->setToolTip(tr("Each line defines a macro. Format is MACRO[=VALUE]"));
|
||||||
m_headerPaths->setTabChangesFocus(true);
|
m_headerPaths->setTabChangesFocus(true);
|
||||||
m_headerPaths->setToolTip(tr("Each line adds a global header lookup path"));
|
m_headerPaths->setToolTip(tr("Each line adds a global header lookup path."));
|
||||||
m_cxx11Flags->setToolTip(tr("Comma-separated list of flags that turn on C++11 support"));
|
m_cxx11Flags->setToolTip(tr("Comma-separated list of flags that turn on C++11 support."));
|
||||||
m_mkspecs->setToolTip(tr("Comma-separated list of mkspecs"));
|
m_mkspecs->setToolTip(tr("Comma-separated list of mkspecs."));
|
||||||
m_compilerCommand->setExpectedKind(PathChooser::ExistingCommand);
|
m_compilerCommand->setExpectedKind(PathChooser::ExistingCommand);
|
||||||
m_makeCommand->setExpectedKind(PathChooser::ExistingCommand);
|
m_makeCommand->setExpectedKind(PathChooser::ExistingCommand);
|
||||||
m_mainLayout->addRow(tr("&Compiler path:"), m_compilerCommand);
|
m_mainLayout->addRow(tr("&Compiler path:"), m_compilerCommand);
|
||||||
|
|||||||
Reference in New Issue
Block a user