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("Warning: 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 %1 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();