From ad12c39206ad71902dad2c6867d39d4d968d4457 Mon Sep 17 00:00:00 2001 From: Leena Miettinen <riitta-leena.miettinen@nokia.com> Date: Mon, 2 Jan 2012 12:18:04 +0100 Subject: [PATCH] UI text: fix capitalization Change-Id: I415abccffdcd1bccfe7270003caa95232706ba16 Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com> --- src/plugins/coreplugin/editormanager/editormanager.cpp | 2 +- src/plugins/coreplugin/editortoolbar.cpp | 2 +- src/plugins/coreplugin/filemanager.cpp | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/plugins/coreplugin/editormanager/editormanager.cpp b/src/plugins/coreplugin/editormanager/editormanager.cpp index 7a6889125fd..9a4c4356ce2 100644 --- a/src/plugins/coreplugin/editormanager/editormanager.cpp +++ b/src/plugins/coreplugin/editormanager/editormanager.cpp @@ -1750,7 +1750,7 @@ void EditorManager::updateActions() } else { InfoBarEntry info(QLatin1String("Core.EditorManager.MakeWritable"), tr("<b>Warning:</b> You are changing a read-only file.")); - info.setCustomButtonInfo(tr("Make writable"), this, SLOT(makeCurrentEditorWritable())); + info.setCustomButtonInfo(tr("Make Writable"), this, SLOT(makeCurrentEditorWritable())); curEditor->file()->infoBar()->addInfo(info); } } else { diff --git a/src/plugins/coreplugin/editortoolbar.cpp b/src/plugins/coreplugin/editortoolbar.cpp index c30750b6100..a4eacd159a0 100644 --- a/src/plugins/coreplugin/editortoolbar.cpp +++ b/src/plugins/coreplugin/editortoolbar.cpp @@ -399,7 +399,7 @@ void EditorToolBar::updateEditorStatus(IEditor *editor) if (editor->file()->isReadOnly()) { d->m_lockButton->setIcon(QIcon(d->m_editorsListModel->lockedIcon())); d->m_lockButton->setEnabled(!editor->file()->fileName().isEmpty()); - d->m_lockButton->setToolTip(tr("Make writable")); + d->m_lockButton->setToolTip(tr("Make Writable")); } else { d->m_lockButton->setIcon(QIcon(d->m_editorsListModel->unlockedIcon())); d->m_lockButton->setEnabled(false); diff --git a/src/plugins/coreplugin/filemanager.cpp b/src/plugins/coreplugin/filemanager.cpp index daaee5da821..7e7417f03a0 100644 --- a/src/plugins/coreplugin/filemanager.cpp +++ b/src/plugins/coreplugin/filemanager.cpp @@ -800,7 +800,7 @@ FileManager::ReadOnlyAction } // Create message box. - QMessageBox msgBox(QMessageBox::Question, tr("File is Read Only"), + QMessageBox msgBox(QMessageBox::Question, tr("File Is Read Only"), tr("The file <i>%1</i> is read only.").arg(QDir::toNativeSeparators(fileName)), QMessageBox::Cancel, parent); @@ -808,11 +808,11 @@ FileManager::ReadOnlyAction if (promptVCS) vcsButton = msgBox.addButton(tr("Open with VCS (%1)").arg(versionControl->displayName()), QMessageBox::AcceptRole); - QPushButton *makeWritableButton = msgBox.addButton(tr("Make writable"), QMessageBox::AcceptRole); + QPushButton *makeWritableButton = msgBox.addButton(tr("Make Writable"), QMessageBox::AcceptRole); QPushButton *saveAsButton = 0; if (displaySaveAsButton) - saveAsButton = msgBox.addButton(tr("Save as..."), QMessageBox::ActionRole); + saveAsButton = msgBox.addButton(tr("Save As..."), QMessageBox::ActionRole); msgBox.setDefaultButton(vcsButton ? vcsButton : makeWritableButton); msgBox.exec(); -- GitLab