Please enter your comment:
You are about to commit the following files:"), - tr("
You are about to commit %1 files."), + cf, + tr("
%2").arg(cf) + .arg(tr("You are about to commit the following files:")), + tr("
%2").arg(cf) + .arg(tr("You are about to commit %n file(s):", "", reportFiles.size())), reportFiles, comment)) { @@ -518,12 +522,16 @@ QStringList files = hgTabs->getSelectedRevertableFiles(); if (files.empty()) files = hgTabs->getAllRevertableFiles(); + + QString rf(tr("Revert files")); if (ConfirmCommentDialog::confirmDangerousFilesAction (this, - tr("Revert files"), - tr("
You are about to revert the following files to their previous committed state.
This will throw away any changes that you have made to these files but have not committed:"),
- tr("
You are about to revert %1 files.
This will throw away any changes that you have made to these files but have not committed."),
+ rf,
+ tr("
%2").arg(rf)
+ .arg(tr("You are about to revert the following files to their previous committed state.
This will throw away any changes that you have made to these files but have not committed:")),
+ tr("
%2").arg(rf)
+ .arg(tr("You are about to revert %n file(s).
This will throw away any changes that you have made to these files but have not committed.", "", files.size())),
files)) {
if (files.empty()) {