forked from qt-creator/qt-creator
Copilot: Fix UI text for proxy settings
Change-Id: I36854db711d697bd1cb0ffc8a646e00c97979e2f Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -87,7 +87,7 @@ CopilotSettings::CopilotSettings()
|
|||||||
"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 Request"));
|
||||||
autoComplete.setSettingsKey("Copilot.Autocomplete");
|
autoComplete.setSettingsKey("Copilot.Autocomplete");
|
||||||
autoComplete.setLabelText(Tr::tr("Auto request"));
|
autoComplete.setLabelText(Tr::tr("Auto request"));
|
||||||
autoComplete.setDefaultValue(true);
|
autoComplete.setDefaultValue(true);
|
||||||
@@ -97,7 +97,7 @@ CopilotSettings::CopilotSettings()
|
|||||||
|
|
||||||
useProxy.setDisplayName(Tr::tr("Use Proxy"));
|
useProxy.setDisplayName(Tr::tr("Use Proxy"));
|
||||||
useProxy.setSettingsKey("Copilot.UseProxy");
|
useProxy.setSettingsKey("Copilot.UseProxy");
|
||||||
useProxy.setLabelText(Tr::tr("Use Proxy"));
|
useProxy.setLabelText(Tr::tr("Use proxy"));
|
||||||
useProxy.setDefaultValue(false);
|
useProxy.setDefaultValue(false);
|
||||||
useProxy.setToolTip(Tr::tr("Use a proxy to connect to the Copilot servers."));
|
useProxy.setToolTip(Tr::tr("Use a proxy to connect to the Copilot servers."));
|
||||||
useProxy.setLabelPlacement(BoolAspect::LabelPlacement::InExtraLabel);
|
useProxy.setLabelPlacement(BoolAspect::LabelPlacement::InExtraLabel);
|
||||||
@@ -105,14 +105,14 @@ CopilotSettings::CopilotSettings()
|
|||||||
proxyHost.setDisplayName(Tr::tr("Proxy Host"));
|
proxyHost.setDisplayName(Tr::tr("Proxy Host"));
|
||||||
proxyHost.setDisplayStyle(StringAspect::LineEditDisplay);
|
proxyHost.setDisplayStyle(StringAspect::LineEditDisplay);
|
||||||
proxyHost.setSettingsKey("Copilot.ProxyHost");
|
proxyHost.setSettingsKey("Copilot.ProxyHost");
|
||||||
proxyHost.setLabelText(Tr::tr("Proxy Host"));
|
proxyHost.setLabelText(Tr::tr("Proxy host"));
|
||||||
proxyHost.setDefaultValue("");
|
proxyHost.setDefaultValue("");
|
||||||
proxyHost.setToolTip(Tr::tr("The host name of the proxy server."));
|
proxyHost.setToolTip(Tr::tr("The host name of the proxy server."));
|
||||||
proxyHost.setHistoryCompleter("Copilot.ProxyHost.History");
|
proxyHost.setHistoryCompleter("Copilot.ProxyHost.History");
|
||||||
|
|
||||||
proxyPort.setDisplayName(Tr::tr("Proxy Port"));
|
proxyPort.setDisplayName(Tr::tr("Proxy Port"));
|
||||||
proxyPort.setSettingsKey("Copilot.ProxyPort");
|
proxyPort.setSettingsKey("Copilot.ProxyPort");
|
||||||
proxyPort.setLabelText(Tr::tr("Proxy Port"));
|
proxyPort.setLabelText(Tr::tr("Proxy port"));
|
||||||
proxyPort.setDefaultValue(3128);
|
proxyPort.setDefaultValue(3128);
|
||||||
proxyPort.setToolTip(Tr::tr("The port of the proxy server."));
|
proxyPort.setToolTip(Tr::tr("The port of the proxy server."));
|
||||||
proxyPort.setRange(1, 65535);
|
proxyPort.setRange(1, 65535);
|
||||||
@@ -120,29 +120,29 @@ CopilotSettings::CopilotSettings()
|
|||||||
proxyUser.setDisplayName(Tr::tr("Proxy User"));
|
proxyUser.setDisplayName(Tr::tr("Proxy User"));
|
||||||
proxyUser.setDisplayStyle(StringAspect::LineEditDisplay);
|
proxyUser.setDisplayStyle(StringAspect::LineEditDisplay);
|
||||||
proxyUser.setSettingsKey("Copilot.ProxyUser");
|
proxyUser.setSettingsKey("Copilot.ProxyUser");
|
||||||
proxyUser.setLabelText(Tr::tr("Proxy User"));
|
proxyUser.setLabelText(Tr::tr("Proxy user"));
|
||||||
proxyUser.setDefaultValue("");
|
proxyUser.setDefaultValue("");
|
||||||
proxyUser.setToolTip(Tr::tr("The user name for the proxy server."));
|
proxyUser.setToolTip(Tr::tr("The user name to access the proxy server."));
|
||||||
proxyUser.setHistoryCompleter("Copilot.ProxyUser.History");
|
proxyUser.setHistoryCompleter("Copilot.ProxyUser.History");
|
||||||
|
|
||||||
saveProxyPassword.setDisplayName(Tr::tr("Save Proxy Password"));
|
saveProxyPassword.setDisplayName(Tr::tr("Save Proxy Password"));
|
||||||
saveProxyPassword.setSettingsKey("Copilot.SaveProxyPassword");
|
saveProxyPassword.setSettingsKey("Copilot.SaveProxyPassword");
|
||||||
saveProxyPassword.setLabelText(Tr::tr("Save Proxy Password"));
|
saveProxyPassword.setLabelText(Tr::tr("Save proxy password"));
|
||||||
saveProxyPassword.setDefaultValue(false);
|
saveProxyPassword.setDefaultValue(false);
|
||||||
saveProxyPassword.setToolTip(
|
saveProxyPassword.setToolTip(
|
||||||
Tr::tr("Save the password for the proxy server (Password is stored insecurely!)."));
|
Tr::tr("Save the password to access the proxy server. The password is stored insecurely."));
|
||||||
saveProxyPassword.setLabelPlacement(BoolAspect::LabelPlacement::InExtraLabel);
|
saveProxyPassword.setLabelPlacement(BoolAspect::LabelPlacement::InExtraLabel);
|
||||||
|
|
||||||
proxyPassword.setDisplayName(Tr::tr("Proxy Password"));
|
proxyPassword.setDisplayName(Tr::tr("Proxy Password"));
|
||||||
proxyPassword.setDisplayStyle(StringAspect::PasswordLineEditDisplay);
|
proxyPassword.setDisplayStyle(StringAspect::PasswordLineEditDisplay);
|
||||||
proxyPassword.setSettingsKey("Copilot.ProxyPassword");
|
proxyPassword.setSettingsKey("Copilot.ProxyPassword");
|
||||||
proxyPassword.setLabelText(Tr::tr("Proxy Password"));
|
proxyPassword.setLabelText(Tr::tr("Proxy password"));
|
||||||
proxyPassword.setDefaultValue("");
|
proxyPassword.setDefaultValue("");
|
||||||
proxyPassword.setToolTip(Tr::tr("The password for the proxy server."));
|
proxyPassword.setToolTip(Tr::tr("The password for the proxy server."));
|
||||||
|
|
||||||
proxyRejectUnauthorized.setDisplayName(Tr::tr("Reject Unauthorized"));
|
proxyRejectUnauthorized.setDisplayName(Tr::tr("Reject Unauthorized"));
|
||||||
proxyRejectUnauthorized.setSettingsKey("Copilot.ProxyRejectUnauthorized");
|
proxyRejectUnauthorized.setSettingsKey("Copilot.ProxyRejectUnauthorized");
|
||||||
proxyRejectUnauthorized.setLabelText(Tr::tr("Reject Unauthorized"));
|
proxyRejectUnauthorized.setLabelText(Tr::tr("Reject unauthorized"));
|
||||||
proxyRejectUnauthorized.setDefaultValue(true);
|
proxyRejectUnauthorized.setDefaultValue(true);
|
||||||
proxyRejectUnauthorized.setToolTip(Tr::tr("Reject unauthorized certificates from the proxy "
|
proxyRejectUnauthorized.setToolTip(Tr::tr("Reject unauthorized certificates from the proxy "
|
||||||
"server. This is a security risk."));
|
"server. This is a security risk."));
|
||||||
|
Reference in New Issue
Block a user