forked from qt-creator/qt-creator
Text Editor: Fix UI text capitalization
Change-Id: I888cfb4eb8c3b5934b45dcf80d751fb97d8f7624 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -84,10 +84,10 @@
|
||||
<item>
|
||||
<widget class="QCheckBox" name="useIndenter">
|
||||
<property name="toolTip">
|
||||
<string>If available, use a different margin. For example, the ColumnLimit from the clang-format plugin.</string>
|
||||
<string>If available, use a different margin. For example, the ColumnLimit from the ClangFormat plugin.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Use context specific margin</string>
|
||||
<string>Use context-specific margin</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -59,10 +59,10 @@
|
||||
<item>
|
||||
<widget class="QCheckBox" name="useIndenter">
|
||||
<property name="toolTip">
|
||||
<string>If available, use a different margin. For example, the ColumnLimit from the clang-format plugin.</string>
|
||||
<string>If available, use a different margin. For example, the ColumnLimit from the ClangFormat plugin.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Use context specific margin</string>
|
||||
<string>Use context-specific margin</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -272,7 +272,7 @@ void TextEditorActionHandlerPrivate::createActions()
|
||||
[] (TextEditorWidget *w) { w->circularPaste(); }, false, tr("Paste from Clipboard History"),
|
||||
QKeySequence(tr("Ctrl+Shift+V")), G_EDIT_COPYPASTE, editMenu);
|
||||
m_modifyingActions << registerAction(NO_FORMAT_PASTE,
|
||||
[] (TextEditorWidget *w) { w->pasteWithoutFormat(); }, false, tr("Paste without Formatting"),
|
||||
[] (TextEditorWidget *w) { w->pasteWithoutFormat(); }, false, tr("Paste Without Formatting"),
|
||||
QKeySequence(Core::useMacShortcuts ? tr("Cmd+Opt+Shift+V") : QString()), G_EDIT_COPYPASTE, editMenu);
|
||||
|
||||
// register "Edit -> Advanced" Menu Actions
|
||||
|
||||
@@ -104,11 +104,11 @@ FormatDescriptions TextEditorSettingsPrivate::initialFormats()
|
||||
formatDescr.emplace_back(C_SEARCH_RESULT, tr("Search Result"),
|
||||
tr("Highlighted search results inside the editor."),
|
||||
FormatDescription::ShowBackgroundControl);
|
||||
formatDescr.emplace_back(C_SEARCH_RESULT_ALT1, tr("Search Result (alternative 1)"),
|
||||
formatDescr.emplace_back(C_SEARCH_RESULT_ALT1, tr("Search Result (Alternative 1)"),
|
||||
tr("Highlighted search results inside the editor.\n"
|
||||
"Used to mark read accesses to C++ symbols."),
|
||||
FormatDescription::ShowBackgroundControl);
|
||||
formatDescr.emplace_back(C_SEARCH_RESULT_ALT2, tr("Search Result (alternative 2)"),
|
||||
formatDescr.emplace_back(C_SEARCH_RESULT_ALT2, tr("Search Result (Alternative 2)"),
|
||||
tr("Highlighted search results inside the editor.\n"
|
||||
"Used to mark write accesses to C++ symbols."),
|
||||
FormatDescription::ShowBackgroundControl);
|
||||
|
||||
Reference in New Issue
Block a user