Copilot: Fix UI text

- Change an external link to point to the English language version
- Fix capitalization of product names
- Add a period to the end of a tooltip

Change-Id: Ia46709db9911c0a3bfad252db2ffe0b3f7e5f2d7
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Leena Miettinen
2023-05-30 16:28:37 +02:00
parent 361eb17fbf
commit 0b5123cd74

View File

@@ -53,7 +53,7 @@ CopilotSettings::CopilotSettings()
nodeJsPath.setHistoryCompleter("Copilot.NodePath.History"); nodeJsPath.setHistoryCompleter("Copilot.NodePath.History");
nodeJsPath.setDisplayName(Tr::tr("Node.js Path")); nodeJsPath.setDisplayName(Tr::tr("Node.js Path"));
nodeJsPath.setToolTip( nodeJsPath.setToolTip(
Tr::tr("Select path to node.js executable. See https://nodejs.org/de/download/" Tr::tr("Select path to node.js executable. See https://nodejs.org/en/download/"
"for installation instructions.")); "for installation instructions."));
distPath.setExpectedKind(PathChooser::File); distPath.setExpectedKind(PathChooser::File);
@@ -63,7 +63,7 @@ CopilotSettings::CopilotSettings()
distPath.setHistoryCompleter("Copilot.DistPath.History"); distPath.setHistoryCompleter("Copilot.DistPath.History");
distPath.setDisplayName(Tr::tr("Agent.js path")); distPath.setDisplayName(Tr::tr("Agent.js path"));
distPath.setToolTip(Tr::tr( distPath.setToolTip(Tr::tr(
"Select path to agent.js in copilot neovim plugin. See " "Select path to agent.js in Copilot Neovim plugin. See "
"https://github.com/github/copilot.vim#getting-started for installation instructions.")); "https://github.com/github/copilot.vim#getting-started for installation instructions."));
autoComplete.setDisplayName(Tr::tr("Auto Complete")); autoComplete.setDisplayName(Tr::tr("Auto Complete"));
@@ -71,7 +71,7 @@ CopilotSettings::CopilotSettings()
autoComplete.setLabelText(Tr::tr("Request completions automatically")); autoComplete.setLabelText(Tr::tr("Request completions automatically"));
autoComplete.setDefaultValue(true); autoComplete.setDefaultValue(true);
autoComplete.setToolTip(Tr::tr("Automatically request suggestions for the current text cursor " autoComplete.setToolTip(Tr::tr("Automatically request suggestions for the current text cursor "
"position after changes to the document")); "position after changes to the document."));
initEnableAspect(enableCopilot); initEnableAspect(enableCopilot);
} }