VCS: Polish commit button label.

Pun intended.
This commit is contained in:
Friedemann Kleint
2010-08-19 10:12:20 +02:00
parent 817d4370d5
commit bbb6e8f256

View File

@@ -455,7 +455,7 @@ void SubmitEditorWidget::updateSubmitAction()
// Update button text.
const int fileCount = m_d->m_ui.fileView->model()->rowCount();
const QString msg = checkedCount ?
tr("Commit %1/%2 Files").arg(checkedCount).arg(fileCount) :
tr("Commit %1/%n Files", 0, fileCount).arg(checkedCount) :
tr("Commit");
emit submitActionTextChanged(msg);
}