forked from qt-creator/qt-creator
VCS: Polish commit button label.
Pun intended.
This commit is contained in:
@@ -455,7 +455,7 @@ void SubmitEditorWidget::updateSubmitAction()
|
|||||||
// Update button text.
|
// Update button text.
|
||||||
const int fileCount = m_d->m_ui.fileView->model()->rowCount();
|
const int fileCount = m_d->m_ui.fileView->model()->rowCount();
|
||||||
const QString msg = checkedCount ?
|
const QString msg = checkedCount ?
|
||||||
tr("Commit %1/%2 Files").arg(checkedCount).arg(fileCount) :
|
tr("Commit %1/%n Files", 0, fileCount).arg(checkedCount) :
|
||||||
tr("Commit");
|
tr("Commit");
|
||||||
emit submitActionTextChanged(msg);
|
emit submitActionTextChanged(msg);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user