From 77f1a5963dca0f06da3975e0e883255d41e885c0 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Tue, 25 Jun 2019 08:48:29 +0200 Subject: Project Explorer: Fix UI text Use book-style capitalization for dialog and button labels. Change-Id: I2c074d83d6a95ad348daacabd561c758e0a493f8 Reviewed-by: Christian Kandeler --- src/plugins/projectexplorer/projectmodels.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/plugins/projectexplorer/projectmodels.cpp') diff --git a/src/plugins/projectexplorer/projectmodels.cpp b/src/plugins/projectexplorer/projectmodels.cpp index c2c02b1d02..c3df0688ae 100644 --- a/src/plugins/projectexplorer/projectmodels.cpp +++ b/src/plugins/projectexplorer/projectmodels.cpp @@ -457,7 +457,7 @@ public: : m_buttonBox(new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel)), m_buttonGroup(new QButtonGroup(this)) { - setWindowTitle(tr("Please choose a drop action")); + setWindowTitle(tr("Choose Drop Action")); const bool offerFileIo = !defaultTargetDir.isEmpty(); auto * const layout = new QVBoxLayout(this); layout->addWidget(new QLabel(tr("You just dragged some files from one project node to " @@ -469,8 +469,8 @@ public: m_buttonGroup->addButton(moveButton, int(DropAction::Move)); layout->addWidget(moveButton); if (offerFileIo) { - copyButton->setText(tr("Copy only the file references")); - moveButton->setText(tr("Move only the file references")); + copyButton->setText(tr("Copy Only File References")); + moveButton->setText(tr("Move Only File References")); auto * const copyWithFilesButton = new QRadioButton(tr("Copy file references and files"), this); m_buttonGroup->addButton(copyWithFilesButton, int(DropAction::CopyWithFiles)); @@ -506,8 +506,8 @@ public: } }); } else { - copyButton->setText(tr("Copy the file references")); - moveButton->setText(tr("Move the file references")); + copyButton->setText(tr("Copy File References")); + moveButton->setText(tr("Move File References")); moveButton->setChecked(true); } connect(m_buttonBox, &QDialogButtonBox::accepted, this, &QDialog::accept); -- cgit v1.2.1