Fix capitalization of group box titles

Consistently use book case

Change-Id: Ia0e382255fe2f311a1bd9a380f4bf8af2320c215
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Eike Ziller
2024-05-14 14:54:45 +02:00
parent df96d78e68
commit 3a60ab1c91
23 changed files with 77 additions and 69 deletions

View File

@@ -68,7 +68,7 @@
To specify the position where the annotations are displayed, go to
\preferences > \uicontrol {Text Editor} >
\uicontrol Display > \uicontrol {Line annotations}, and then select
\uicontrol Display > \uicontrol {Line Annotations}, and then select
whether to display the annotations directly next to the code, aligned
to the right of the code, or in the right margin. Showing annotations
between lines can be useful if there is usually not enough space to

View File

@@ -747,7 +747,7 @@
\li Re-run tests, as determined by \uicontrol {Repetition mode}. Set the
maximum number of times for repeating a test in \uicontrol {Count}.
\row
\li \uicontrol {Run in parallel}
\li \uicontrol {Run in Parallel}
\li Run the tests in parallel using the specified number of
\uicontrol {Jobs}. In \uicontrol {Test load}, limit the parallel
execution. CTest will not start a new test if it would cause the

View File

@@ -63,7 +63,7 @@
\li To determine whether the keywords in the whole project, in the
current file, or in a subproject are displayed by default, select
the appropriate option in the \uicontrol {Scanning scope} group.
the appropriate option in the \uicontrol {Scanning Scope} group.
\endlist

View File

@@ -764,7 +764,7 @@
<translation type="obsolete">Automaticky vkládat středníky a uzavírající závorky, kulaté závorky, složené závorky a uvozovky, když je to vhodné.</translation>
</message>
<message>
<source>&amp;Automatically insert matching characters</source>
<source>&amp;Automatically Insert Matching Characters</source>
<translation type="obsolete">&amp;Automaticky vložit odpovídající znaky</translation>
</message>
<message>
@@ -2008,7 +2008,7 @@ Chcete je nechat přepsat?</translation>
<translation>Když je to vhodné, automaticky vkládat středníky a uzavírající závorky, kulaté závorky, složené závorky a uvozovky.</translation>
</message>
<message>
<source>&amp;Automatically insert matching characters</source>
<source>&amp;Automatically Insert Matching Characters</source>
<translation>&amp;Automaticky vložit odpovídající znaky</translation>
</message>
<message>
@@ -40550,7 +40550,7 @@ Určuje chování odsazení se zřetelem k navazujícím řádkům.
<translation>Nastavit znovu</translation>
</message>
<message>
<source>Scanning scope</source>
<source>Scanning Scope</source>
<translation>Oblast prohledávání</translation>
</message>
<message>

View File

@@ -33804,7 +33804,7 @@ Derudover indsætter Skift+Enter et undvigetegn ved markørens placering og flyt
<translation>Opdel strenge automatisk</translation>
</message>
<message>
<source>&amp;Automatically insert matching characters</source>
<source>&amp;Automatically Insert Matching Characters</source>
<translation>&amp;Indsæt automatisk matchende tegn</translation>
</message>
<message>
@@ -33984,7 +33984,7 @@ Derudover indsætter Skift+Enter et undvigetegn ved markørens placering og flyt
<translation>Justeret til højre side</translation>
</message>
<message>
<source>Line annotations</source>
<source>Line Annotations</source>
<translation>Linjeannotationer</translation>
</message>
<message>
@@ -35591,7 +35591,7 @@ Vil blive anvendt på blanktegn i kommentarer og strenge.</translation>
<translation>Nulstil</translation>
</message>
<message>
<source>Scanning scope</source>
<source>Scanning Scope</source>
<translation>Skanningsområde</translation>
</message>
<message>

View File

@@ -10495,7 +10495,7 @@ Locked components cannot be modified or selected.</source>
<translation>Pfad des JDK existiert und ist schreibbar.</translation>
</message>
<message>
<source>Android OpenSSL settings (Optional)</source>
<source>Android OpenSSL Settings (Optional)</source>
<translation>OpenSSL-Einstellungen für Android (optional)</translation>
</message>
<message>
@@ -13108,7 +13108,7 @@ Dies könnte Probleme während der Ausführung verursachen.
<translation>Tests wiederholen</translation>
</message>
<message>
<source>Run in parallel</source>
<source>Run in Parallel</source>
<translation>Parallel ausführen</translation>
</message>
<message>
@@ -16992,8 +16992,8 @@ Das integrierte Codemodell übernimmt das Einrücken.</translation>
<translation>Beachten Sie, dass das aktuelle Projekt eine .clang-format-Datei enthält, welche für das Einrücken und die Formatierung von Code verwendet werden wird.</translation>
</message>
<message>
<source>ClangFormat settings:</source>
<translation>Einstellungen für ClangFormat:</translation>
<source>ClangFormat Settings</source>
<translation>Einstellungen für ClangFormat</translation>
</message>
<message>
<source>Indenting only</source>
@@ -23349,9 +23349,9 @@ Diese Präfixe werden zusätzlich zum Dateinamen beim Wechseln zwischen Header-
<translation>Normalerweise werden Argumente als konstante Referenz übergeben. Das Argument wird als Wert übergeben, wenn der Typ einer der folgenden ist. Namensräume und Vorlagenargumente werden entfernt. Der wirkliche Typ muss den angegebenen Typ enthalten. Zum Beispiel passt &quot;int&quot; zu &quot;int32_t&quot;, aber nicht zu &quot;vector&lt;int&gt;&quot;. &quot;vector&quot; passt zu &quot;std::pmr::vector&lt;int&gt;&quot;, aber nicht zu &quot;std::optional&lt;vector&lt;int&gt;&gt;&quot;</translation>
</message>
<message>
<source>Value types:</source>
<source>Value Types</source>
<translatorcomment>https://learn.microsoft.com/de-de/cpp/cpp/value-types-modern-cpp</translatorcomment>
<translation>Werttypen:</translation>
<translation>Werttypen</translation>
</message>
<message>
<source>Return non-value types by const reference</source>
@@ -23725,7 +23725,7 @@ Das integrierte Codemodell übernimmt Syntaxhervorhebung, Code-Vervollständigun
<translation>Zeitabstand für das Aktualisieren von Dokumenten:</translation>
</message>
<message>
<source>Sessions with a single clangd instance</source>
<source>Sessions with a Single Clangd Instance</source>
<translation>Sitzungen mit einer einzigen Clangd-Instanz</translation>
</message>
<message>
@@ -53709,7 +53709,7 @@ Gibt an, wie sich die Rücktaste bezüglich Einrückung verhält.
<translation>Rechtsbündig</translation>
</message>
<message>
<source>Line annotations</source>
<source>Line Annotations</source>
<translation>Zeilenannotationen</translation>
</message>
<message>
@@ -54643,7 +54643,7 @@ Drücken Sie zusätzlich die Umschalttaste, wird ein Escape-Zeichen an der aktue
<translation>Zeichenketten automatisch teilen</translation>
</message>
<message>
<source>&amp;Automatically insert matching characters</source>
<source>&amp;Automatically Insert Matching Characters</source>
<translation>&amp;Passende Zeichen automatisch einfügen</translation>
</message>
<message>
@@ -55682,7 +55682,7 @@ Außer Leerzeichen innerhalb von Kommentaren und Zeichenketten.</translation>
<translation>Zurücksetzen</translation>
</message>
<message>
<source>Scanning scope</source>
<source>Scanning Scope</source>
<translation>Suchbereich</translation>
</message>
<message>

View File

@@ -10730,7 +10730,7 @@ dans le navigateur système pour un téléchargement manuel.</translation>
<translation>Liste des NDK Android&#xa0;:</translation>
</message>
<message>
<source>Android OpenSSL settings (Optional)</source>
<source>Android OpenSSL Settings (Optional)</source>
<translation>Paramètres Android d&apos;OpenSSL (optionnel)</translation>
</message>
<message>
@@ -12712,7 +12712,7 @@ Exécutable&#xa0;: %2</translation>
<translation>Répétition des tests</translation>
</message>
<message>
<source>Run in parallel</source>
<source>Run in Parallel</source>
<translation>Exécuter en parallèle</translation>
</message>
<message>
@@ -22228,7 +22228,7 @@ Le modèle de code intégré gèrera le surlignage, la complétion, etc.</transl
<translation>Seuil de mise à jour du document :</translation>
</message>
<message>
<source>Sessions with a single clangd instance</source>
<source>Sessions with a Single Clangd Instance</source>
<translation>Sessions avec une seule instance de clangd</translation>
</message>
<message>
@@ -22982,8 +22982,8 @@ p.ex. nom = «&#xa0;m_test_toto_&#xa0;» :
<translation>Modèles de getters et setters personnalisés</translation>
</message>
<message>
<source>Value types:</source>
<translation>Types de valeur :</translation>
<source>Value Types</source>
<translation>Types de valeur</translation>
</message>
<message>
<source>Projects only</source>
@@ -52717,7 +52717,7 @@ si le commentaire débute avec «&#xa0;/*!&#xa0;» ou «&#xa0;//!&#xa0;».</tran
<translation>À la demande</translation>
</message>
<message>
<source>&amp;Automatically insert matching characters</source>
<source>&amp;Automatically Insert Matching Characters</source>
<translation>Insérer &amp;automatiquement les caractères correspondants</translation>
</message>
<message>
@@ -54974,7 +54974,7 @@ francis : en effet, une erreur de ma part --&gt; validé.</translatorcomment>
<translation>Entre les lignes</translation>
</message>
<message>
<source>Line annotations</source>
<source>Line Annotations</source>
<translation>Annotations de ligne</translation>
</message>
<message>
@@ -55417,7 +55417,7 @@ Influence lindentation des lignes de continuation.
<translation>Scanner le sous-projet actuel</translation>
</message>
<message>
<source>Scanning scope</source>
<source>Scanning Scope</source>
<translation>Portée de la recherche</translation>
</message>
<message>

View File

@@ -8025,7 +8025,7 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
<translation>Automatski rastavi znakovne nizove</translation>
</message>
<message>
<source>&amp;Automatically insert matching characters</source>
<source>&amp;Automatically Insert Matching Characters</source>
<translation>&amp;Automatski umetni poklapajuće znakove</translation>
</message>
<message>
@@ -8193,7 +8193,7 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
<translation>Označi promjene u &amp;tekstu</translation>
</message>
<message>
<source>Line annotations</source>
<source>Line Annotations</source>
<translation>Napomene za retke</translation>
</message>
<message>
@@ -8443,7 +8443,7 @@ Utječe na uvlačenje neprekinutih redaka.
<translation>Resetiraj</translation>
</message>
<message>
<source>Scanning scope</source>
<source>Scanning Scope</source>
<translation>Raspon pretrage</translation>
</message>
<message>

View File

@@ -785,7 +785,7 @@
<translation>SDK </translation>
</message>
<message>
<source>Android OpenSSL settings (Optional)</source>
<source>Android OpenSSL Settings (Optional)</source>
<translation>Android OpenSSL ()</translation>
</message>
<message>
@@ -1895,7 +1895,7 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
<translation></translation>
</message>
<message>
<source>&amp;Automatically insert matching characters</source>
<source>&amp;Automatically Insert Matching Characters</source>
<translation>(&amp;A)</translation>
</message>
<message>
@@ -6322,7 +6322,7 @@ Backspace キーが押された時のインデントの動作を指定します
<translation></translation>
</message>
<message>
<source>Line annotations</source>
<source>Line Annotations</source>
<translation></translation>
</message>
<message>
@@ -6678,7 +6678,7 @@ Influences the indentation of continuation lines.
<translation></translation>
</message>
<message>
<source>Scanning scope</source>
<source>Scanning Scope</source>
<translation></translation>
</message>
<message>

View File

@@ -9917,7 +9917,7 @@ in the system&apos;s browser for manual download.</source>
<translation>Lista Android NDK:</translation>
</message>
<message>
<source>Android OpenSSL settings (Optional)</source>
<source>Android OpenSSL Settings (Optional)</source>
<translation>Ustawienia Android OpenSSL (opcjonalne)</translation>
</message>
<message>
@@ -12496,7 +12496,7 @@ See also Google Test settings.</source>
<translation>Powtarzanie testów</translation>
</message>
<message>
<source>Run in parallel</source>
<source>Run in Parallel</source>
<translation>Uruchomianie równoległe</translation>
</message>
<message>
@@ -15958,8 +15958,8 @@ tylko przez wbudowane narzędzie.</translation>
<translation>Użyj globalnych ustawień</translation>
</message>
<message>
<source>ClangFormat settings:</source>
<translation>Ustawienia ClangFormat:</translation>
<source>ClangFormat Settings</source>
<translation>Ustawienia ClangFormat</translation>
</message>
<message>
<source>Indenting only</source>
@@ -21384,7 +21384,7 @@ The built-in code model will handle highlighting, completion and so on.</source>
<translation>Próg uaktualniania dokumentu:</translation>
</message>
<message>
<source>Sessions with a single clangd instance</source>
<source>Sessions with a Single Clangd Instance</source>
<translation>Sesje z pojedynczą instancją clangd</translation>
</message>
<message>
@@ -22069,8 +22069,8 @@ e.g. name = &quot;m_test_foo_&quot;:
<translation>Własne szablony pobieraczy i ustawiaczy</translation>
</message>
<message>
<source>Value types:</source>
<translation>Typy wartości:</translation>
<source>Value Types</source>
<translation>Typy wartości</translation>
</message>
<message>
<source>Projects only</source>
@@ -52771,7 +52771,7 @@ Ustala, jak klawisz &quot;Backspace&quot; reaguje na wcięcia.
<translation>Pomiędzy liniami</translation>
</message>
<message>
<source>Line annotations</source>
<source>Line Annotations</source>
<translation>Adnotacje linii</translation>
</message>
<message>
@@ -53749,7 +53749,7 @@ po naciśnięciu klawisza Enter</translation>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Automatically insert matching characters</source>
<source>&amp;Automatically Insert Matching Characters</source>
<translation>&amp;Automatyczne wstawianie znaków</translation>
</message>
<message>
@@ -54144,7 +54144,7 @@ if the comment starts with &quot;/*!&quot; or &quot;//!&quot;.</source>
<translation>Zresetuj</translation>
</message>
<message>
<source>Scanning scope</source>
<source>Scanning Scope</source>
<translation>Zakres skanowania</translation>
</message>
<message>

View File

@@ -2169,7 +2169,7 @@ To hide a sticky splash screen, invoke QtAndroid::hideSplashScreen().</source>
<translation>Настроить SDK</translation>
</message>
<message>
<source>Android OpenSSL settings (Optional)</source>
<source>Android OpenSSL Settings (Optional)</source>
<translation>Настройки Android OpenSSL (опционально)</translation>
</message>
<message>
@@ -43125,7 +43125,7 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
<translation>Автоматически разделять строки</translation>
</message>
<message>
<source>&amp;Automatically insert matching characters</source>
<source>&amp;Automatically Insert Matching Characters</source>
<translation>&amp;Автоматически вставлять парные символы</translation>
</message>
<message>
@@ -43309,7 +43309,7 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
<translation>Прижать к правому краю</translation>
</message>
<message>
<source>Line annotations</source>
<source>Line Annotations</source>
<translation>Построчная аннотация</translation>
</message>
<message>
@@ -45131,7 +45131,7 @@ The trace data is lost.</source>
<translation>Сбросить</translation>
</message>
<message>
<source>Scanning scope</source>
<source>Scanning Scope</source>
<translation>Область поиска</translation>
</message>
<message>

View File

@@ -3153,7 +3153,7 @@ to version control (%2)
<translation type="vanished">Автоматично вставляти крапки з комами, закриваючі квадратні, круглі, фігурні дужки та лапки, коли необхідно.</translation>
</message>
<message>
<source>&amp;Automatically insert matching characters</source>
<source>&amp;Automatically Insert Matching Characters</source>
<translation>&amp;Автоматично вставляти парні символи</translation>
</message>
<message>
@@ -21894,7 +21894,7 @@ Influences the indentation of continuation lines.
<translation>Скинути</translation>
</message>
<message>
<source>Scanning scope</source>
<source>Scanning Scope</source>
<translation>Область пошуку</translation>
</message>
<message>

View File

@@ -1900,7 +1900,7 @@ in the system&apos;s browser for manual download.</source>
<translation> NDK </translation>
</message>
<message>
<source>Android OpenSSL settings (Optional)</source>
<source>Android OpenSSL Settings (Optional)</source>
<translation> OpenSSL </translation>
</message>
<message>
@@ -2714,7 +2714,7 @@ Executable: %2</source>
<translation></translation>
</message>
<message>
<source>Run in parallel</source>
<source>Run in Parallel</source>
<translation></translation>
</message>
<message>
@@ -11600,7 +11600,7 @@ The built-in code model will handle highlighting, completion and so on.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sessions with a single clangd instance</source>
<source>Sessions with a Single Clangd Instance</source>
<translation type="unfinished"></translation>
</message>
<message>
@@ -12767,7 +12767,7 @@ Flags: %3</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Value types:</source>
<source>Value Types:</source>
<translation type="unfinished"></translation>
</message>
<message>
@@ -42591,7 +42591,7 @@ Specifies how backspace interacts with indentation.
<translation type="unfinished"></translation>
</message>
<message>
<source>Line annotations</source>
<source>Line Annotations</source>
<translation type="unfinished"></translation>
</message>
<message>
@@ -42978,7 +42978,7 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Automatically insert matching characters</source>
<source>&amp;Automatically Insert Matching Characters</source>
<translation type="unfinished"></translation>
</message>
<message>
@@ -44774,7 +44774,7 @@ Will not be applied to whitespace in comments and strings.</source>
<translation></translation>
</message>
<message>
<source>Scanning scope</source>
<source>Scanning Scope</source>
<translation></translation>
</message>
<message>

View File

@@ -1715,7 +1715,7 @@
<translation></translation>
</message>
<message>
<source>&amp;Automatically insert matching characters</source>
<source>&amp;Automatically Insert Matching Characters</source>
<translation>(&amp;A)</translation>
</message>
<message>
@@ -25376,7 +25376,7 @@ Influences the indentation of continuation lines.
<translation></translation>
</message>
<message>
<source>Scanning scope</source>
<source>Scanning Scope</source>
<translation></translation>
</message>
<message>

View File

@@ -435,7 +435,7 @@ AndroidSettingsWidget::AndroidSettingsWidget()
}
},
Group {
title(Tr::tr("Android OpenSSL settings (Optional)")),
title(Tr::tr("Android OpenSSL Settings (Optional)")),
Grid {
Tr::tr("OpenSSL binaries location:"),
m_openSslPathChooser,

View File

@@ -34,6 +34,7 @@ CTestTool::CTestTool()
setId("AutoTest.Framework.CTest");
setDisplayName(Tr::tr("CTest"));
// clang-format off
setLayouter([this] {
return Row { Form {
outputOnFail, br,
@@ -41,12 +42,12 @@ CTestTool::CTestTool()
stopOnFailure, br,
outputMode, br,
Group {
title(Tr::tr("Repeat tests")),
title(Tr::tr("Repeat Tests")),
repeat.groupChecker(),
Row { repetitionMode, repetitionCount},
}, br,
Group {
title(Tr::tr("Run in parallel")),
title(Tr::tr("Run in Parallel")),
parallel.groupChecker(),
Column {
Row { jobs }, br,
@@ -55,6 +56,7 @@ CTestTool::CTestTool()
}
}, st };
});
// clang-format on
outputOnFail.setSettingsKey("OutputOnFail");
outputOnFail.setLabelText(Tr::tr("Output on failure"));

View File

@@ -106,9 +106,10 @@ ClangFormatGlobalConfigWidget::ClangFormatGlobalConfigWidget(ICodeStylePreferenc
QWidget *globalSettingsGroupBoxWidget = nullptr;
// clang-format off
Group globalSettingsGroupBox {
bindTo(&globalSettingsGroupBoxWidget),
title(Tr::tr("ClangFormat settings:")),
title(Tr::tr("ClangFormat Settings:")),
Column {
m_useGlobalSettings,
Form {
@@ -127,6 +128,7 @@ ClangFormatGlobalConfigWidget::ClangFormatGlobalConfigWidget(ICodeStylePreferenc
globalSettingsGroupBox,
noMargin
}.attachTo(this);
// clang-format on
initCheckBoxes();
initIndentationOrFormattingCombobox();

View File

@@ -770,7 +770,7 @@ ClangdSettingsWidget::ClangdSettingsWidget(const ClangdSettings::Data &settingsD
if (!isForProject) {
m_sessionsModel.setStringList(settingsData.sessionsWithOneClangd);
m_sessionsModel.sort(0);
m_sessionsGroupBox = new QGroupBox(Tr::tr("Sessions with a single clangd instance"));
m_sessionsGroupBox = new QGroupBox(Tr::tr("Sessions with a Single Clangd Instance"));
const auto sessionsView = new Utils::ListView;
sessionsView->setModel(&m_sessionsModel);
sessionsView->setToolTip(

View File

@@ -246,10 +246,12 @@ public:
m_statementMacros->setToolTip(
Tr::tr("Macros that can be used as statements without a trailing semicolon."));
m_statementMacros->setSizePolicy(sizePolicy);
// clang-format off
const Group statementMacrosGroup {
title(Tr::tr("Statement macros")),
title(Tr::tr("Statement Macros")),
Column { m_statementMacros}
};
// clang-format on
QObject::connect(m_statementMacros, &QPlainTextEdit::textChanged, q, [this] {
m_handlingStatementMacroChange = true;
q->slotCodeStyleSettingsChanged();

View File

@@ -215,6 +215,7 @@ e.g. name = "m_test_foo_":
using namespace Layouting;
// clang-format off
Grid {
empty, ulLabel(Tr::tr("Generate Setters")), ulLabel(Tr::tr("Generate Getters")), br,
Tr::tr("Inside class:"), Tr::tr("Default"), Tr::tr("Default"), br,
@@ -274,7 +275,7 @@ e.g. name = "m_test_foo_":
},
},
Group {
title(Tr::tr("Value types:")),
title(Tr::tr("Value Types")),
Row {
m_valueTypes,
Column { pushButton_addValueType, pushButton_removeValueType, st, },
@@ -282,6 +283,7 @@ e.g. name = "m_test_foo_":
},
m_returnByConstRefCheckBox,
}.attachTo(this);
// clang-format on
// connect controls to settingsChanged signal
auto then = [this] {

View File

@@ -214,7 +214,7 @@ CompletionSettingsPageWidget::CompletionSettingsPageWidget(CompletionSettingsPag
}
},
Group {
title(Tr::tr("&Automatically insert matching characters")),
title(Tr::tr("&Automatically Insert Matching Characters")),
Row {
Column {
m_insertBrackets,

View File

@@ -108,7 +108,7 @@ public:
rightAligned->setChecked(true);
betweenLines = new QRadioButton(Tr::tr("Between lines"));
displayAnnotations = new QGroupBox(Tr::tr("Line annotations")),
displayAnnotations = new QGroupBox(Tr::tr("Line Annotations")),
displayAnnotations->setCheckable(true);
using namespace Layouting;

View File

@@ -212,7 +212,7 @@ OptionsDialog::OptionsDialog()
}
},
Group {
title(Tr::tr("Scanning scope")),
title(Tr::tr("Scanning Scope")),
Column {
m_scanInProjectRadioButton,
m_scanInCurrentFileRadioButton,