diff --git a/src/plugins/coreplugin/editormanager/editormanager.cpp b/src/plugins/coreplugin/editormanager/editormanager.cpp index 7a6889125fdf495ce5880f61eaeb6b3ff34539bc..9a4c4356ce26215633d1e2d662980cd40e3cdbfe 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 c30750b6100001fc0f10b264b45fa67442ce6fad..a4eacd159a0f76e576442da07f7b81e27c8adff3 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 daaee5da821ddd2c1be9e8e78a8787539e236fc1..7e7417f03a0c1ef0440604e567c7557dc17d3d6f 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();