Commit ad12c392 authored by Leena Miettinen's avatar Leena Miettinen
Browse files

UI text: fix capitalization



Change-Id: I415abccffdcd1bccfe7270003caa95232706ba16
Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@nokia.com>
parent c9c9937b
......@@ -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 {
......
......@@ -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);
......
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment