Commit cf233161 authored by Leena Miettinen's avatar Leena Miettinen

Doc - UI - Fix UI text capitalization to follow the KDE Style Guide rules.

Reviewed-by: ossi
parent cf250f26
......@@ -12,7 +12,7 @@
\title Qt Creator Manual
\section1 Version 1.3.84
\section1 Version 2.0 (Beta)
Qt Creator provides integrated tools for both application designers
and developers to create applications for multiple desktop and mobile device
......@@ -851,10 +851,10 @@
\section1 Using Update Code Model
To refresh the internal information in Qt Creator pertaining to your code,
select \gui{Tools} > \gui{C++} > \gui{Update code model}.
select \gui{Tools} > \gui{C++} > \gui{Update Code Model}.
\note In Qt Creator indexing updates the code automatically. Use
\gui{Update code model} only as an emergency command.
\gui{Update Code Model} only as an emergency command.
\section1 Pasting and Fetching Code Snippets
......@@ -894,7 +894,7 @@
In the \gui{FakeVim} mode, you can run the main editor in a manner similar
to the Vim editor. To run the editor in the \gui{FakeVim} mode, select
\gui{Edit} > \gui{Advanced} > \gui{Use vim-style editing} or press
\gui{Edit} > \gui{Advanced} > \gui{Use Vim-style Editing} or press
\key{Alt+V,Alt+V}.
In the \gui{FakeVim} mode, most keystrokes in the main editor will be
......@@ -1898,7 +1898,7 @@
{Complete Guide to Symbian Signed}.
When you have your own certificate and private key, you can specify them in
the \gui{Create sis Package} step in your build configuration.
the \gui{Create SIS Package} step in your build configuration.
\image qtcreator-qt4-symbian-signing.png
......@@ -2048,9 +2048,8 @@
\gui{Add clean step} and select the type of step you want to add.
By default, custom steps are disabled. Activate custom steps by
checking the \gui{Enable Custom Process Step} check-box.
\o To remove a clean step, click \gui{Remove clean step} and select the
step you want to remove.
checking the \gui{Enable custom process step} check-box.
\o To remove a clean step, click \gui{Remove Item}.
\o To change the order of steps, click
\inlineimage qtcreator-movestep.png
.
......@@ -2844,7 +2843,7 @@
\table
\row
\i \gui{Stash snapshot...}
\i \gui{Stash Snapshot...}
\i Allows you to save a snapshot of your current
work under a name for later reference. For example, if you
want to try out something and find out later that it does not work,
......@@ -2860,7 +2859,7 @@
a rebase operation while pulling.
\row
\i \gui{Clean repository.../Clean project...}
\i \gui{Clean Repository.../Clean Project...}
\i Collect all files that are not under version control
with the exception of patches and project files
and show them as a checkable list in a dialog
......@@ -2880,7 +2879,7 @@
\row
\i \gui{Stashes...}
\i Displays a dialog showing the stashes created by
\gui{Stash snapshots...} with options to restore,
\gui{Stash Snapshot...} with options to restore,
display or delete them.
\endtable
*/
......@@ -3416,7 +3415,7 @@
\section2 Terminal Mode
To launch the debugger in the terminal mode, select \gui {Projects > Run Settings}
and select the \gui {Run in Terminal} check box. Then click the
and select the \gui {Run in terminal} check box. Then click the
\gui {Start Debugging} button for the active project.
\section2 Attach Mode
......@@ -3889,7 +3888,7 @@
To enable Qt's basic objects data display feature:
\list
\o Select \gui Tools > \gui {Options...} > \gui Debugger >
\gui{Debugging Helper} and check the \gui{Use debugging helper}
\gui{Debugging Helper} and check the \gui{Use Debugging Helper}
checkbox.
\o The \gui{Locals and Watchers} view is reorganized to provide a
high-level view of the objects.
......@@ -5271,7 +5270,7 @@
\o In the \gui {Configuration name} field, enter a name for
the connection.
\o In the \gui {Device type} field, select \gui {Local simulator}.
\o In the \gui {Device type} field, select \gui {Maemo emulator}.
\o In the \gui {Authentication type} field, select \gui Password
for the initial connection.
......@@ -5856,7 +5855,7 @@
\list 1
\o Select \gui Tools > \gui Options... > \gui Debugger >
\gui{Debugging Helper}.
\o Uncheck the \gui{Use debugging helper} checkbox.
\o Uncheck the \gui{Use Debugging Helper} checkbox.
\endlist
*/
......
......@@ -171,13 +171,13 @@ void PathChooser::slotBrowse()
switch (m_d->m_acceptingKind) {
case PathChooser::Directory:
newPath = QFileDialog::getExistingDirectory(this,
makeDialogTitle(tr("Choose a directory")), predefined);
makeDialogTitle(tr("Choose Directory")), predefined);
break;
case PathChooser::File: // fall through
case PathChooser::Command:
newPath = QFileDialog::getOpenFileName(this,
makeDialogTitle(tr("Choose a file")), predefined,
makeDialogTitle(tr("Choose File")), predefined,
m_d->m_dialogFilter);
break;
......
......@@ -121,7 +121,7 @@ PathListEditor::PathListEditor(QWidget *parent) :
connect(m_d->toolButton, SIGNAL(clicked()), this, SLOT(slotInsert()));
addAction(tr("Add..."), this, SLOT(slotAdd()));
addAction(tr("Delete line"), this, SLOT(deletePathAtCursor()));
addAction(tr("Delete Line"), this, SLOT(deletePathAtCursor()));
addAction(tr("Clear"), this, SLOT(clear()));
}
......
......@@ -126,12 +126,12 @@ bool BookmarksPlugin::initialize(const QStringList & /*arguments*/, QString *)
mbm->addAction(cmd);
//Previous Doc
m_docPrevAction = new QAction(tr("Previous Bookmark In Document"), this);
m_docPrevAction = new QAction(tr("Previous Bookmark in Document"), this);
cmd = am->registerAction(m_docPrevAction, BOOKMARKS_PREVDOC_ACTION, globalcontext);
mbm->addAction(cmd);
//Next Doc
m_docNextAction = new QAction(tr("Next Bookmark In Document"), this);
m_docNextAction = new QAction(tr("Next Bookmark in Document"), this);
cmd = am->registerAction(m_docNextAction, BOOKMARKS_NEXTDOC_ACTION, globalcontext);
mbm->addAction(cmd);
......
......@@ -312,7 +312,7 @@ CMakeRunConfigurationWidget::CMakeRunConfigurationWidget(CMakeRunConfiguration *
m_workingDirectoryEdit = new Utils::PathChooser();
m_workingDirectoryEdit->setPath(m_cmakeRunConfiguration->workingDirectory());
m_workingDirectoryEdit->setExpectedKind(Utils::PathChooser::Directory);
m_workingDirectoryEdit->setPromptDialogTitle(tr("Select the working directory"));
m_workingDirectoryEdit->setPromptDialogTitle(tr("Select Working Directory"));
QToolButton *resetButton = new QToolButton();
resetButton->setToolTip(tr("Reset to default"));
......
......@@ -270,17 +270,17 @@
</property>
<item>
<property name="text">
<string>Always ask</string>
<string>Always Ask</string>
</property>
</item>
<item>
<property name="text">
<string>Reload all unchanged editors</string>
<string>Reload All Unchanged Editors</string>
</property>
</item>
<item>
<property name="text">
<string>Ignore modifications</string>
<string>Ignore Modifications</string>
</property>
</item>
</widget>
......
......@@ -97,7 +97,7 @@ p, li { white-space: pre-wrap; }
</sizepolicy>
</property>
<property name="title">
<string>Parts to send to server</string>
<string>Parts to Send to Server</string>
</property>
<property name="flat">
<bool>true</bool>
......
......@@ -27,14 +27,14 @@
<item row="4" column="0" colspan="2">
<widget class="QCheckBox" name="displayBox">
<property name="text">
<string>Display Output Pane after sending a post</string>
<string>Display Output pane after sending a post</string>
</property>
</widget>
</item>
<item row="3" column="0" colspan="2">
<widget class="QCheckBox" name="clipboardBox">
<property name="text">
<string>Copy Paste URL to clipboard</string>
<string>Copy-paste URL to clipboard</string>
</property>
</widget>
</item>
......
......@@ -275,7 +275,7 @@ bool CppPlugin::initialize(const QStringList & /*arguments*/, QString *errorMess
QList<int> globalContext;
globalContext.append(Core::Constants::C_GLOBAL_ID);
cppToolsMenu->addAction(createSeparator(am, this, globalContext, CppEditor::Constants::SEPARATOR2));
m_updateCodeModelAction = new QAction(tr("Update code model"), this);
m_updateCodeModelAction = new QAction(tr("Update Code Model"), this);
cmd = am->registerAction(m_updateCodeModelAction, QLatin1String(Constants::UPDATE_CODEMODEL), globalContext);
CppTools::CppModelManagerInterface *cppModelManager = CppTools::CppModelManagerInterface::instance();
connect(m_updateCodeModelAction, SIGNAL(triggered()), cppModelManager, SLOT(updateModifiedSourceFiles()));
......
......@@ -65,7 +65,7 @@
</item>
<item>
<property name="text">
<string>First letter</string>
<string>First Letter</string>
</property>
</item>
</widget>
......
......@@ -272,7 +272,7 @@ void CppFileSettingsWidget::slotEdit()
return;
}
// Pick a file name and write new template, edit with C++
path = QFileDialog::getSaveFileName(this, tr("Choose a location for the new license template file"));
path = QFileDialog::getSaveFileName(this, tr("Choose Location for New License Template File"));
if (path.isEmpty())
return;
QFile file(path);
......
......@@ -66,7 +66,7 @@
<item row="3" column="0" colspan="2">
<widget class="QCheckBox" name="describeByCommitIdCheckBox">
<property name="toolTip">
<string>When checked, all files touched by a commit will be displayed when clicking on a revision number in the annotation view (retrieved via commit id). Otherwise, only the respective file will be displayed.</string>
<string>When checked, all files touched by a commit will be displayed when clicking on a revision number in the annotation view (retrieved via commit ID). Otherwise, only the respective file will be displayed.</string>
</property>
<property name="text">
<string>Describe all files matching commit id</string>
......
......@@ -28,7 +28,7 @@
<item row="0" column="0">
<widget class="QLabel" name="pidLabel">
<property name="text">
<string>Attach to Process ID:</string>
<string>Attach to process ID:</string>
</property>
</widget>
</item>
......
......@@ -19,7 +19,7 @@
<string>These options take effect at the next start of Qt Creator.</string>
</property>
<property name="title">
<string extracomment="Placeholder">Cdb</string>
<string extracomment="Placeholder">CDB</string>
</property>
<property name="checkable">
<bool>true</bool>
......@@ -82,13 +82,13 @@
<item>
<widget class="QGroupBox" name="variousOptionsGroupBox">
<property name="title">
<string>Other options</string>
<string>Other Options</string>
</property>
<layout class="QFormLayout" name="formLayout_3">
<item row="0" column="0" colspan="2">
<widget class="QCheckBox" name="verboseSymbolLoadingCheckBox">
<property name="text">
<string>Verbose Symbol Loading</string>
<string>Verbose symbol loading</string>
</property>
</widget>
</item>
......
......@@ -33,7 +33,7 @@
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Gui behavior</string>
<string>GUI Behavior</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0" colspan="2">
......@@ -66,7 +66,7 @@
<string>Register Qt Creator for debugging crashed applications.</string>
</property>
<property name="text">
<string>Use Creator for post-mortem debugging</string>
<string>Use Qt Creator for post-mortem debugging</string>
</property>
</widget>
</item>
......
......@@ -21,7 +21,7 @@
<item>
<widget class="QGroupBox" name="debuggingHelperGroupBox">
<property name="title">
<string>Use debugging helper</string>
<string>Use Debugging Helper</string>
</property>
<property name="checkable">
<bool>true</bool>
......
......@@ -135,7 +135,7 @@ name in different directories.</string>
<item>
<widget class="QGroupBox" name="groupBoxPluginDebugging">
<property name="title">
<string>Behaviour of breakpoint setting in plugins</string>
<string>Behavior of Breakpoint Setting in Plugins</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
......
......@@ -32,7 +32,7 @@
<item>
<widget class="QRadioButton" name="multipleInheritanceButton">
<property name="text">
<string>Multiple Inheritance</string>
<string>Multiple inheritance</string>
</property>
</widget>
</item>
......
......@@ -445,22 +445,22 @@ void FormEditorW::setupActions()
m_toolActionIds.push_back(QLatin1String("FormEditor.WidgetEditor"));
createEditModeAction(m_actionGroupEditMode, m_contexts, am, medit,
tr("Edit widgets"), m_toolActionIds.back(),
tr("Edit Widgets"), m_toolActionIds.back(),
EditModeWidgetEditor, QLatin1String("widgettool.png"), tr("F3"));
m_toolActionIds.push_back(QLatin1String("FormEditor.SignalsSlotsEditor"));
createEditModeAction(m_actionGroupEditMode, m_contexts, am, medit,
tr("Edit signals/slots"), m_toolActionIds.back(),
tr("Edit Signals/Slots"), m_toolActionIds.back(),
EditModeSignalsSlotEditor, QLatin1String("signalslottool.png"), tr("F4"));
m_toolActionIds.push_back(QLatin1String("FormEditor.BuddyEditor"));
createEditModeAction(m_actionGroupEditMode, m_contexts, am, medit,
tr("Edit buddies"), m_toolActionIds.back(),
tr("Edit Buddies"), m_toolActionIds.back(),
EditModeBuddyEditor, QLatin1String("buddytool.png"));
m_toolActionIds.push_back(QLatin1String("FormEditor.TabOrderEditor"));
createEditModeAction(m_actionGroupEditMode, m_contexts, am, medit,
tr("Edit tab order"), m_toolActionIds.back(),
tr("Edit Tab Order"), m_toolActionIds.back(),
EditModeTabOrderEditor, QLatin1String("tabordertool.png"));
//tool actions
......
......@@ -118,7 +118,7 @@ FakeVimSettings *theFakeVimSettings()
const QString group = _("FakeVim");
item = new SavedAction(instance);
item->setText(QCoreApplication::translate("FakeVim::Internal",
"Use vim-style editing"));
"Use Vim-style Editing"));
item->setSettingsKey(group, _("UseFakeVim"));
item->setCheckable(true);
item->setValue(false);
......
......@@ -193,21 +193,21 @@
<item>
<widget class="QPushButton" name="pushButtonCopyTextEditorSettings">
<property name="text">
<string>Copy text editor settings</string>
<string>Copy Text Editor Settings</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonSetQtStyle">
<property name="text">
<string>Set Qt style</string>
<string>Set Qt Style</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonSetPlainStyle">
<property name="text">
<string>Set plain style</string>
<string>Set Plain Style</string>
</property>
</widget>
</item>
......
......@@ -42,7 +42,7 @@
<item>
<widget class="QGroupBox" name="remoteBranchGroupBox">
<property name="title">
<string>Remote branches</string>
<string>Remote Branches</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
......
......@@ -40,7 +40,7 @@ ChangeSelectionDialog::ChangeSelectionDialog(QWidget *parent)
{
m_ui.setupUi(this);
connect(m_ui.repositoryButton, SIGNAL(clicked()), this, SLOT(selectWorkingDirectory()));
setWindowTitle(tr("Select a Git commit"));
setWindowTitle(tr("Select a Git Commit"));
}
QString ChangeSelectionDialog::change() const
......@@ -62,7 +62,7 @@ void ChangeSelectionDialog::selectWorkingDirectory()
{
static QString location;
location = QFileDialog::getExistingDirectory(this,
tr("Select Git repository"),
tr("Select Git Repository"),
location);
if (location.isEmpty())
return;
......
......@@ -17,7 +17,7 @@
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Repository Location:</string>
<string>Repository location:</string>
</property>
</widget>
</item>
......
......@@ -841,7 +841,7 @@ QString GitClient::synchronousStash(const QString &workingDirectory,
do {
if ((flags & StashPromptDescription)) {
if (!inputText(Core::ICore::instance()->mainWindow(),
tr("Stash description"), tr("Description:"), &message))
tr("Stash Description"), tr("Description:"), &message))
break;
}
if (!executeSynchronousStash(workingDirectory, message))
......
......@@ -420,7 +420,7 @@ bool GitPlugin::initialize(const QStringList &arguments, QString *errorMessage)
ActionCommandPair actionCommand =
createRepositoryAction(actionManager, gitContainer,
tr("Stash snapshot..."), QLatin1String("Git.StashSnapshot"),
tr("Stash Snapshot..."), QLatin1String("Git.StashSnapshot"),
globalcontext, true, SLOT(stashSnapshot()));
actionCommand.first->setToolTip(tr("Saves the current state of your work."));
......
......@@ -17,7 +17,7 @@
<bool>true</bool>
</property>
<property name="title">
<string>Environment variables</string>
<string>Environment Variables</string>
</property>
<property name="checkable">
<bool>true</bool>
......@@ -38,7 +38,7 @@
<item>
<widget class="QPushButton" name="adoptButton">
<property name="text">
<string>From system</string>
<string>From System</string>
</property>
</widget>
</item>
......
......@@ -68,7 +68,7 @@ QString GeneralSettingsPage::id() const
QString GeneralSettingsPage::displayName() const
{
return tr("General settings");
return tr("General Settings");
}
QString GeneralSettingsPage::category() const
......
......@@ -156,17 +156,17 @@
</property>
<item>
<property name="text">
<string>Show side-by-side if possible</string>
<string>Show Side-by-Side if Possible</string>
</property>
</item>
<item>
<property name="text">
<string>Always show side-by-side</string>
<string>Always Show Side-by-Side</string>
</property>
</item>
<item>
<property name="text">
<string>Always start full help</string>
<string>Always Start Full Help</string>
</property>
</item>
</widget>
......@@ -194,17 +194,17 @@
</property>
<item>
<property name="text">
<string>Show my home page</string>
<string>Show My Home Page</string>
</property>
</item>
<item>
<property name="text">
<string>Show a blank page</string>
<string>Show a Blank Page</string>
</property>
</item>
<item>
<property name="text">
<string>Show my tabs from last session</string>
<string>Show My Tabs from Last Session</string>
</property>
</item>
</widget>
......
......@@ -145,7 +145,7 @@ bool DirectoryFilter::openConfigDialog(QWidget *parent, bool &needsRefresh)
void DirectoryFilter::addDirectory()
{
QString dir = QFileDialog::getExistingDirectory(m_dialog, tr("Choose a directory to add"));
QString dir = QFileDialog::getExistingDirectory(m_dialog, tr("Select Directory"));
if (!dir.isEmpty()) {
m_ui.directoryList->addItem(dir);
}
......@@ -156,7 +156,7 @@ void DirectoryFilter::editDirectory()
if (m_ui.directoryList->selectedItems().count() < 1)
return;
QListWidgetItem *currentItem = m_ui.directoryList->selectedItems().at(0);
QString dir = QFileDialog::getExistingDirectory(m_dialog, tr("Choose a directory to add"),
QString dir = QFileDialog::getExistingDirectory(m_dialog, tr("Select Directory"),
currentItem->text());
if (!dir.isEmpty()) {
currentItem->setText(dir);
......
......@@ -26,7 +26,7 @@
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>File Types:</string>
<string>File types:</string>
</property>
</widget>
</item>
......
......@@ -165,7 +165,7 @@ void SettingsPage::updateFilterList()
if (filter->isIncludedByDefault())
title = filter->displayName();
else
title = tr("%1 (Prefix: %2)").arg(filter->displayName()).arg(filter->shortcutString());
title = tr("%1 (prefix: %2)").arg(filter->displayName()).arg(filter->shortcutString());
QListWidgetItem *item = new QListWidgetItem(title);
item->setData(Qt::UserRole, qVariantFromValue(filter));
m_ui.filterList->addItem(item);
......
......@@ -62,7 +62,7 @@
<string>Email to use by default on commit.</string>
</property>
<property name="text">
<string>Default Email:</string>
<string>Default email:</string>
</property>
</widget>
</item>
......
......@@ -36,7 +36,7 @@
<bool>true</bool>
</property>
<property name="title">
<string>Environment variables</string>
<string>Environment Variables</string>
</property>
<property name="checkable">
<bool>true</bool>
......
......@@ -132,7 +132,7 @@ void BuildSettingsWidget::setupUi()
if (!m_target->buildConfigurationFactory()) {
QLabel * noSettingsLabel(new QLabel(this));
noSettingsLabel->setText(tr("No Build Settings available"));
noSettingsLabel->setText(tr("No build settings available"));
{
QFont f(noSettingsLabel->font());
f.setPointSizeF(f.pointSizeF() * 1.2);
......@@ -145,7 +145,7 @@ void BuildSettingsWidget::setupUi()
{ // Edit Build Configuration row
QHBoxLayout *hbox = new QHBoxLayout();
hbox->setContentsMargins(m_leftMargin, 0, 0, 0);
hbox->addWidget(new QLabel(tr("Edit Build Configuration:"), this));
hbox->addWidget(new QLabel(tr("Edit build configuration:"), this));
m_buildConfigurationComboBox = new QComboBox(this);
m_buildConfigurationComboBox->setSizeAdjustPolicy(QComboBox::AdjustToContents);
hbox->addWidget(m_buildConfigurationComboBox);
......
......@@ -302,7 +302,7 @@ void BuildStepsPage::setupUi()
QHBoxLayout *hboxLayout = new QHBoxLayout();
hboxLayout->setContentsMargins(m_leftMargin, 4, 0, 0);
m_addButton = new QPushButton(this);
m_addButton->setText(m_type == Clean ? tr("Add clean step") : tr("Add build step"));
m_addButton->setText(m_type == Clean ? tr("Add Clean Step") : tr("Add Build Step"));
m_addButton->setMenu(new QMenu(this));
hboxLayout->addWidget(m_addButton);
......
......@@ -14,7 +14,7 @@
<item row="0" column="0">
<widget class="QLabel" name="label">