UI text: fix VCS related strings

Fix capitalization and punctuation and a typo.

Change-Id: Ie974594878aad6dec558516b2d31b202e8c732d4
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
This commit is contained in:
Leena Miettinen
2013-05-14 16:13:29 +02:00
parent 1f62d7c90d
commit bc9bb4b93c
8 changed files with 18 additions and 18 deletions

View File

@@ -94,7 +94,7 @@ ReadOnlyFilesDialogPrivate::ReadOnlyFilesDialogPrivate(IDocument *document, bool
, document(document)
, mixedText(ReadOnlyFilesDialog::tr("Mixed"))
, makeWritableText(ReadOnlyFilesDialog::tr("Make Writable"))
, versionControlOpenText(ReadOnlyFilesDialog::tr("Open With VCS"))
, versionControlOpenText(ReadOnlyFilesDialog::tr("Open with VCS"))
, saveAsText(ReadOnlyFilesDialog::tr("Save As"))
{}
@@ -193,7 +193,7 @@ void ReadOnlyFilesDialog::promptFailWarning(const QStringList &files, ReadOnlyRe
case RO_OpenVCS: {
if (IVersionControl *vc = d->versionControls[file]) {
const QString openText = vc->vcsOpenText().remove(QLatin1Char('&'));
title = tr("Failed To: %1 File").arg(openText);
title = tr("Failed to %1 File").arg(openText);
message = tr("%1 file %2 from version control system %3 failed.\n")
.arg(openText)
.arg(QDir::toNativeSeparators(file))
@@ -225,7 +225,7 @@ void ReadOnlyFilesDialog::promptFailWarning(const QStringList &files, ReadOnlyRe
break;
}
} else {
title = tr("Could Not Change Permissions On Some Files");
title = tr("Could Not Change Permissions on Some Files");
message = d->failWarning;
message += tr("\nSee details for a complete list of files.");
details = files.join(QLatin1String("\n"));
@@ -434,8 +434,8 @@ void ReadOnlyFilesDialog::initDialog(const QStringList &fileNames)
ui->setAllLabel->setVisible(false);
ui->verticalLayout->removeItem(ui->setAllLayout);
if (d->useVCS)
ui->msgLabel->setText(tr("The following files are not checked out by now.\n"
"Do you want to check out these files now?"));
ui->msgLabel->setText(tr("The following files are not checked out yet.\n"
"Do you want to check them out now?"));
return;
}