forked from qt-creator/qt-creator
Clangd: Edit tooltip text for "Header/source switch mode" field
Use the phrasing "tends to find false positives" instead of "has some bugs". Add </p> at the ends of paragraph elements. Change-Id: Ie524f2615625b52bf2de5b66b8938f49e3d0255f Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -20281,8 +20281,8 @@ Double-cliquez pour modifier l’élément.</translation>
|
||||
<translation>C++</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><p>If background indexing is enabled, global symbol searches will yield more accurate results, at the cost of additional CPU load when the project is first opened. The indexing result is persisted in the project's build directory. If you disable background indexing, a faster, but less accurate, built-in indexer is used instead. The thread priority for building the background index can be adjusted since clangd 15.</p><p>Background Priority: Minimum priority, runs on idle CPUs. May leave 'performance' cores unused.</p><p>Normal Priority: Reduced priority compared to interactive work.</p>Low Priority: Same priority as other clangd work.</source>
|
||||
<translation><p>Si l’indexation en arrière-plan est activée, les recherches globales de symboles donneront des résultats plus précis, au prix d’une charge de travail supplémentaire du CPU lors de la première ouverture du projet. Le résultat de l’indexation est conservé dans le répertoire de construction du projet. Si vous désactivez l’indexation en arrière-plan, un indexeur intégré plus rapide, mais moins précis, est utilisé à la place. La priorité des threads pour la construction de l’index d’arrière-plan peut être ajustée depuis clangd 15.</p><p>Priorité d’arrière-plan : priorité minimale, s’exécute sur les processeurs inactifs. Peut laisser les cœurs de « performance » inutilisés.</p><p>Priorité normale : priorité réduite par rapport au travail interactif.</p>Priorité basse : même priorité que les autres travaux de clangd.</translation>
|
||||
<source><p>If background indexing is enabled, global symbol searches will yield more accurate results, at the cost of additional CPU load when the project is first opened. The indexing result is persisted in the project's build directory. If you disable background indexing, a faster, but less accurate, built-in indexer is used instead. The thread priority for building the background index can be adjusted since clangd 15.</p><p>Background Priority: Minimum priority, runs on idle CPUs. May leave 'performance' cores unused.</p><p>Normal Priority: Reduced priority compared to interactive work.</p><p>Low Priority: Same priority as other clangd work.</p></source>
|
||||
<translation><p>Si l’indexation en arrière-plan est activée, les recherches globales de symboles donneront des résultats plus précis, au prix d’une charge de travail supplémentaire du CPU lors de la première ouverture du projet. Le résultat de l’indexation est conservé dans le répertoire de construction du projet. Si vous désactivez l’indexation en arrière-plan, un indexeur intégré plus rapide, mais moins précis, est utilisé à la place. La priorité des threads pour la construction de l’index d’arrière-plan peut être ajustée depuis clangd 15.</p><p>Priorité d’arrière-plan : priorité minimale, s’exécute sur les processeurs inactifs. Peut laisser les cœurs de « performance » inutilisés.</p><p>Priorité normale : priorité réduite par rapport au travail interactif.</p><p>Priorité basse : même priorité que les autres travaux de clangd.</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><p>Which C/C++ backend to use when switching between header and source file.<p>The clangd implementation has more capabilities, but also has some bugs not present in the built-in variant.<p>When "Try Both" is selected, clangd will be employed only if the built-in variant does not find anything.</source>
|
||||
|
||||
@@ -223,21 +223,21 @@ ClangdSettingsWidget::ClangdSettingsWidget(const ClangdSettings::Data &settingsD
|
||||
"<p>Background Priority: Minimum priority, runs on idle CPUs. May leave 'performance' "
|
||||
"cores unused.</p>"
|
||||
"<p>Normal Priority: Reduced priority compared to interactive work.</p>"
|
||||
"Low Priority: Same priority as other clangd work.");
|
||||
"<p>Low Priority: Same priority as other clangd work.</p>");
|
||||
const QString headerSourceSwitchToolTip = Tr::tr(
|
||||
"<p>Which C/C++ backend to use when switching between header and source file."
|
||||
"<p>The clangd implementation has more capabilities, but also has some bugs not present "
|
||||
"in the built-in variant."
|
||||
"<p>When \"Try Both\" is selected, clangd will be employed only if the built-in variant "
|
||||
"does not find anything.");
|
||||
"<p>The C/C++ backend to use for switching between header and source files.</p>"
|
||||
"<p>While the clangd implementation has more capabilities than the built-in "
|
||||
"code model, it tends to find false positives.</p>"
|
||||
"<p>When \"Try Both\" is selected, clangd is used only if the built-in variant "
|
||||
"does not find anything.</p>");
|
||||
using RankingModel = ClangdSettings::CompletionRankingModel;
|
||||
const QString completionRankingModelToolTip = Tr::tr(
|
||||
"<p>Which model clangd should use to rank possible completions."
|
||||
"<p>This determines the order of candidates in the combo box when doing code completion."
|
||||
"<p>Which model clangd should use to rank possible completions.</p>"
|
||||
"<p>This determines the order of candidates in the combo box when doing code completion.</p>"
|
||||
"<p>The \"%1\" model used by default results from (pre-trained) machine learning and "
|
||||
"provides superior results on average."
|
||||
"provides superior results on average.</p>"
|
||||
"<p>If you feel that its suggestions stray too much from your expectations for your "
|
||||
"code base, you can try switching to the hand-crafted \"%2\" model.").arg(
|
||||
"code base, you can try switching to the hand-crafted \"%2\" model.</p>").arg(
|
||||
ClangdSettings::rankingModelToDisplayString(RankingModel::DecisionForest),
|
||||
ClangdSettings::rankingModelToDisplayString(RankingModel::Heuristics));
|
||||
const QString workerThreadsToolTip = Tr::tr(
|
||||
|
||||
Reference in New Issue
Block a user